/* Tourora NAV immersive browser layout. The route engine remains authoritative. */
html:has(body.tn-nav-v2){height:100%;overflow:hidden!important}
body.tn-nav-v2,body.tn-nav-v2.tg-global-nav-enabled{width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#e4eeeb!important;color:#173d36!important}
body.tn-nav-v2 .shell,body.tn-nav-v2.tg-nav-route>.shell,body.tn-nav-v2.driving>.shell{position:fixed!important;inset:0!important;z-index:100!important;display:block!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#e3eeeb!important}
body.tn-nav-v2 .shell>.mapshell,body.tn-nav-v2.driving .shell>.mapshell{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important}
body.tn-nav-v2 .shell>.side,body.tn-nav-v2.driving .shell>.side{display:contents!important}
body.tn-nav-v2 .shell>.side>:not(.settings-panel):not(.chapter){display:none!important}
body.tn-nav-v2 .shell>.side>.chapter,body.tn-nav-v2 .shell>.side>.settings-panel{display:none!important}
body.tn-nav-v2 #map,body.tn-nav-v2 .map{width:100%!important;height:100%!important;min-height:0!important}
body.tn-nav-v2 #touring-drive-dock,body.tn-nav-v2 #drive-hud,body.tn-nav-v2 #satnav-speed,body.tn-nav-v2 #route-choice,body.tn-nav-v2 #map-caption,body.tn-nav-v2 .float-controls{display:none!important}
body.tn-nav-v2 #touring-global-toggle{display:none!important}
body.tn-nav-v2 #touring-global-sidebar{visibility:hidden!important;transform:translateX(-110%)!important;z-index:30005!important;width:min(315px,86vw)!important;max-width:86vw!important;transition:transform .2s!important}
body.tn-nav-v2.tg-menu-open #touring-global-sidebar{visibility:visible!important;transform:translateX(0)!important}
body.tn-nav-v2.tg-menu-open #touring-global-shade{display:block!important;position:fixed!important;inset:0!important;z-index:30004!important;background:#071c25b4!important}
body.tn-nav-v2 #touring-global-sidebar .tg-close{display:grid!important;position:absolute!important;right:11px!important;top:12px!important}
body.tn-nav-v2 .leaflet-control-attribution{font-size:9px!important;opacity:.87}
body.tn-nav-v2:not(.tn-night) .leaflet-tile-pane{filter:brightness(1.08) saturate(1.13) contrast(1.04)!important}
body.tn-nav-v2.tn-night .leaflet-tile-pane{filter:brightness(.64) saturate(.72) contrast(1.22)!important}
body.tn-nav-v2 .leaflet-control-zoom{margin-right:12px!important;margin-bottom:153px!important;border:0!important}
body.tn-nav-v2 .leaflet-control-zoom a{border-radius:8px!important;background:#fff!important;color:#163e36!important;border:1px solid #d5e4e4!important;box-shadow:0 5px 15px #0003}
body.tn-nav-v2 .tn-ui{position:absolute;inset:0;z-index:750;pointer-events:none;display:block!important;color:#183d36;font-family:'DM Sans',Arial,sans-serif}
body.tn-nav-v2 .tn-ui button,body.tn-nav-v2 .tn-ui a{pointer-events:auto;touch-action:manipulation}
body.tn-nav-v2 .tn-topbar{pointer-events:auto;position:absolute;z-index:5;left:12px;right:12px;top:calc(9px + env(safe-area-inset-top,0px));height:65px;display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:16px;background:linear-gradient(110deg,#112c2e,#183f39);border:1px solid #518476;color:#f9fff8;box-shadow:0 8px 28px #0a24314a}
body.tn-nav-v2 .tn-brand{flex:0 0 auto;display:flex;align-items:center;gap:6px;color:#fff;font:850 20px/1 'Outfit',Arial,sans-serif;letter-spacing:-.5px;margin-right:5px}
body.tn-nav-v2 .tn-brand b{color:#b8f46f}
body.tn-nav-v2 .tn-brand-icon{width:37px;height:37px;display:grid;place-items:center;flex:0 0 37px;background:#c6f678;color:#163c31;border:2px solid #e8ffc5;border-radius:50%;font-size:23px}
body.tn-nav-v2 .tn-top-tools{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;overflow-x:auto;scrollbar-width:none;min-width:0;padding:3px 1px}
body.tn-nav-v2 .tn-top-tools::-webkit-scrollbar{display:none}
body.tn-nav-v2 .tn-tool{flex:0 0 auto;min-width:69px;min-height:47px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 8px;border:1px solid #6b9a8d75;background:#2a544eaa;color:#f5fffb;border-radius:9px;font:800 10px/1.1 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer}
body.tn-nav-v2 .tn-tool .ti{font-size:22px;line-height:1}
body.tn-nav-v2 .tn-tool:hover,body.tn-nav-v2 .tn-tool:focus-visible,body.tn-nav-v2 .tn-tool[aria-pressed='true']{background:#d5f8ad;color:#143c30;outline:0;border-color:#c0ef83}
body.tn-nav-v2 .tn-provider{flex:0 0 auto;max-width:206px;padding:10px 12px;color:#ecfcf4;background:#ffffff14;border:1px solid #add9bb42;border-radius:10px;text-align:center;font:850 10px/1.35 'DM Sans',sans-serif;letter-spacing:.35px}
body.tn-nav-v2 .tn-guide{pointer-events:auto;position:absolute;left:17px;top:calc(86px + env(safe-area-inset-top,0px));width:min(460px,calc(100vw - 116px));min-height:118px;display:flex;align-items:center;gap:15px;padding:15px 19px;border:1px solid #d9e6e1;border-radius:17px;background:linear-gradient(115deg,#fff,#f1f9f5);box-shadow:0 12px 32px #102a354c}
body.tn-nav-v2 .tn-turn{flex:0 0 78px;height:82px;display:grid;place-items:center;border-radius:14px;background:#f3e4f7;color:#b31cbd;font:950 62px/1 Arial,sans-serif}
body.tn-nav-v2 .tn-guide-body{min-width:0;flex:1}
body.tn-nav-v2 .tn-kicker{display:block;margin-bottom:5px;color:#547065;font:900 10px/1.1 'DM Sans',sans-serif;letter-spacing:1.5px}
body.tn-nav-v2 .tn-guide-body strong{display:block;font:850 clamp(17px,2vw,25px)/1.14 'Outfit',Arial,sans-serif;color:#153d33;overflow-wrap:anywhere}
body.tn-nav-v2 .tn-guide-body small{display:block;margin-top:7px;color:#61796c;font:750 12px 'DM Sans',sans-serif}
body.tn-nav-v2 .tn-next-stop{pointer-events:auto;position:absolute;right:18px;top:calc(88px + env(safe-area-inset-top,0px));max-width:min(275px,26vw);padding:13px 15px;background:#fffffff2;border-radius:14px;border:1px solid #d6e3df;box-shadow:0 7px 24px #152a2d35}
body.tn-nav-v2 .tn-next-stop small{display:block;color:#608378;font:850 10px 'DM Sans',sans-serif;letter-spacing:1px}
body.tn-nav-v2 .tn-next-stop strong{display:block;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:850 18px 'Outfit',sans-serif;color:#183d35}
body.tn-nav-v2 .tn-next-stop span{font-size:10px;color:#617e70;font-weight:750}
body.tn-nav-v2 .tn-speed{pointer-events:auto;position:absolute;left:19px;bottom:156px;display:flex;gap:9px;align-items:center;padding:8px 12px;background:#fff;border-radius:13px;border:1px solid #d0ded8;box-shadow:0 7px 23px #081d2b48;min-width:124px}
body.tn-nav-v2 .tn-limit{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:4px solid #d94444;font:850 18px 'Outfit',sans-serif;color:#6f7675}
body.tn-nav-v2 .tn-speed-value{min-width:33px;text-align:center;font:850 27px/1 'Outfit',sans-serif;color:#213936}
body.tn-nav-v2 .tn-speed small{font-size:10px;font-weight:800;color:#576c67;line-height:1.3}
body.tn-nav-v2 .tn-bottom{pointer-events:auto;position:absolute;z-index:2;left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-height:102px;display:flex;align-items:center;gap:13px;padding:12px 15px;background:#fffffff5;border-radius:16px;border:1px solid #d7e2df;box-shadow:0 11px 37px #0a23345a}
body.tn-nav-v2 .tn-bottom-name{flex:1;min-width:120px;max-width:25%}
body.tn-nav-v2 .tn-bottom-name small{display:block;margin-bottom:4px;font:850 10px 'DM Sans',sans-serif;letter-spacing:1px;color:#71877d}
body.tn-nav-v2 .tn-bottom-name strong{display:block;font:850 20px/1.2 'Outfit',sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#163c33}
body.tn-nav-v2 .tn-stats{display:flex;flex:1.1;justify-content:center;gap:4px;min-width:0}
body.tn-nav-v2 .tn-stat{flex:1;min-width:74px;max-width:160px;text-align:center;padding:4px 9px;border-right:1px solid #d8e4de}
body.tn-nav-v2 .tn-stat:last-child{border:0}
body.tn-nav-v2 .tn-stat strong{display:block;font:850 25px/1.1 'Outfit',sans-serif;color:#223936;white-space:nowrap}
body.tn-nav-v2 .tn-stat small{display:block;margin-top:5px;color:#70857c;font:750 10px 'DM Sans',sans-serif}
body.tn-nav-v2 .tn-bottom-buttons{display:flex;align-items:center;gap:8px}
body.tn-nav-v2 .tn-primary,body.tn-nav-v2 .tn-secondary{min-height:52px;min-width:118px;border-radius:11px;border:0;padding:10px 13px;background:#c6f577;color:#193c30;font:900 13px 'DM Sans',sans-serif;cursor:pointer}
body.tn-nav-v2 .tn-secondary{background:#184942;color:white;min-width:68px}
body.tn-nav-v2 .tn-primary:disabled{background:#e2ece7;color:#758b83;cursor:not-allowed}
body.tn-nav-v2 .tn-disclaimer{pointer-events:auto;position:absolute;left:18px;right:18px;bottom:calc(123px + env(safe-area-inset-bottom,0px));padding:7px 12px;border-radius:10px;background:#183637ea;color:#fff7e5;border:1px solid #6b8981;box-shadow:0 4px 14px #0003;font:750 11px/1.35 'DM Sans',sans-serif;display:flex;gap:6px;align-items:center}
body.tn-nav-v2 .tn-disclaimer a{color:#d5ff9b;text-decoration:underline;font-weight:850;white-space:nowrap}
body.tn-nav-v2 .tn-disclaimer.critical{background:#84252ce8;border-color:#ffb3b5}
body.tn-nav-v2 .tn-toast{pointer-events:none;position:absolute;left:18px;top:calc(225px + env(safe-area-inset-top,0px));max-width:min(390px,calc(100% - 36px));padding:11px 13px;border-radius:11px;background:#193d3bee;color:white;box-shadow:0 6px 22px #0004;font-weight:800;font-size:12px;opacity:0;transition:opacity .2s,transform .2s;transform:translateY(-6px)}
body.tn-nav-v2 .tn-toast.show{opacity:1;transform:none}
body.tn-nav-v2 .tn-backdrop{position:fixed;inset:0;z-index:20010;background:#071c289c;display:none;pointer-events:auto}
body.tn-nav-v2.tn-search-open .tn-backdrop,body.tn-nav-v2.tn-settings-open .tn-backdrop{display:block}
body.tn-nav-v2 .shell>.side>.settings-panel.show{display:block!important;position:fixed!important;z-index:20100!important;top:calc(84px + env(safe-area-inset-top,0px))!important;left:14px!important;right:auto!important;bottom:calc(13px + env(safe-area-inset-bottom,0px))!important;width:min(455px,calc(100vw - 28px))!important;max-width:none!important;max-height:none!important;overflow:auto!important;padding:17px!important;background:#1a2d30!important;color:#f3f9f3!important;border:1px solid #547673!important;border-radius:16px!important;box-shadow:0 17px 58px #071925ab!important}
body.tn-nav-v2 #touring-settings .settings-heading,body.tn-nav-v2 #touring-settings .settings-heading h3,body.tn-nav-v2 #touring-settings .section-title{color:#f5fcf1!important}
body.tn-nav-v2 #touring-settings .eyebrow,body.tn-nav-v2 #touring-settings .settings-disclaimer,body.tn-nav-v2 #touring-settings .vfield,body.tn-nav-v2 #touring-settings .confirm-row{color:#cde2d8!important}
body.tn-nav-v2 #touring-settings .vfield input,body.tn-nav-v2 #touring-settings .vfield select{background:#294449!important;color:white!important;border:1px solid #76918d!important;min-height:44px!important}
body.tn-nav-v2 #touring-settings #nav-vehicle-save{background:#c8f67b!important;color:#133d30!important}
body.tn-nav-v2 #touring-settings .tt-eval,body.tn-nav-v2 #touring-settings .traffic-card{display:none!important}
body.tn-nav-v2 #touring-settings .fuel-result{background:#2b4847!important;color:#e7f5e8!important}
body.tn-nav-v2.tn-search-open .shell>.side>.chapter{display:block!important;position:fixed!important;z-index:20110!important;top:calc(83px + env(safe-area-inset-top,0px))!important;left:14px!important;right:auto!important;bottom:auto!important;width:min(495px,calc(100vw - 28px))!important;max-width:none!important;min-height:0!important;margin:0!important;padding:14px!important;border-radius:15px!important;background:white!important;border:1px solid #cbded3!important;box-shadow:0 12px 37px #08192577!important}
body.tn-nav-v2.tn-search-open .shell>.side>.chapter>:not(.dest-search){display:none!important}
body.tn-nav-v2.tn-search-open .shell>.side>.chapter .dest-search{display:block!important;margin:0!important}
body.tn-nav-v2.tn-search-open .shell>.side>.chapter #nav-search-cancel{display:inline-flex!important}
body.tn-nav-v2 #touring-route-options{position:fixed!important;z-index:20115!important;top:calc(82px + env(safe-area-inset-top,0px))!important;right:14px!important;left:auto!important;bottom:auto!important;width:min(375px,calc(100vw - 28px))!important;max-height:70dvh!important;overflow:auto!important;background:white!important;border:1px solid #ceddd5!important;border-radius:15px!important;padding:13px!important;box-shadow:0 12px 40px #081e2965!important;pointer-events:auto}
body.tn-nav-v2 #touring-route-options[hidden]{display:none!important}
@media(max-width:850px){
 body.tn-nav-v2 .tn-brand{font-size:16px;margin-right:0}body.tn-nav-v2 .tn-brand-icon{width:32px;height:32px;flex-basis:32px;font-size:20px}
 body.tn-nav-v2 .tn-topbar{height:61px;gap:5px;padding:5px 7px}body.tn-nav-v2 .tn-tool{min-width:53px;padding:5px 7px}body.tn-nav-v2 .tn-provider{display:none}
 body.tn-nav-v2 .tn-next-stop{display:none}body.tn-nav-v2 .tn-guide{width:min(400px,calc(100vw - 30px));top:calc(84px + env(safe-area-inset-top,0px));min-height:96px;padding:11px 13px;gap:11px}
 body.tn-nav-v2 .tn-turn{height:70px;flex-basis:65px;font-size:51px}body.tn-nav-v2 .tn-guide-body strong{font-size:20px}
}
@media(max-width:600px){
 body.tn-nav-v2 .tn-topbar{left:6px;right:6px;top:calc(4px + env(safe-area-inset-top,0px));height:57px;padding:4px 6px;border-radius:12px}
 body.tn-nav-v2 .tn-brand{font-size:14px;gap:3px}body.tn-nav-v2 .tn-brand-icon{width:30px;height:30px;flex-basis:30px}
 body.tn-nav-v2 .tn-top-tools{justify-content:flex-start;gap:3px}body.tn-nav-v2 .tn-tool{min-width:42px;min-height:45px;padding:3px 5px;font-size:8px}body.tn-nav-v2 .tn-tool .ti{font-size:19px}
 body.tn-nav-v2 .tn-guide{left:7px;right:7px;top:calc(68px + env(safe-area-inset-top,0px));width:auto;min-height:75px;max-height:112px;padding:8px 11px;border-radius:12px}
 body.tn-nav-v2 .tn-turn{height:61px;flex-basis:52px;font-size:40px;border-radius:10px}body.tn-nav-v2 .tn-guide-body strong{font-size:17px}body.tn-nav-v2 .tn-kicker{font-size:9px}body.tn-nav-v2 .tn-guide-body small{font-size:10px;margin-top:3px}
 body.tn-nav-v2 .tn-speed{left:8px;bottom:calc(147px + env(safe-area-inset-bottom,0px));min-width:93px;padding:5px 7px;gap:5px;border-radius:10px}body.tn-nav-v2 .tn-limit{flex-basis:30px;width:30px;height:30px;border-width:3px;font-size:13px}body.tn-nav-v2 .tn-speed-value{font-size:19px;min-width:22px}body.tn-nav-v2 .tn-speed small{font-size:8px}
 body.tn-nav-v2 .tn-disclaimer{left:7px;right:7px;bottom:calc(114px + env(safe-area-inset-bottom,0px));padding:6px 8px;font-size:9px;border-radius:9px}
 body.tn-nav-v2 .tn-bottom{left:7px;right:7px;bottom:calc(5px + env(safe-area-inset-bottom,0px));min-height:103px;flex-wrap:wrap;padding:7px 9px;gap:6px;border-radius:12px}
 body.tn-nav-v2 .tn-bottom-name{min-width:0;max-width:calc(100% - 135px);flex:1}body.tn-nav-v2 .tn-bottom-name strong{font-size:15px}body.tn-nav-v2 .tn-bottom-name small{font-size:8px;margin-bottom:2px}
 body.tn-nav-v2 .tn-stats{flex:1 1 100%;order:2;gap:3px;justify-content:space-around}body.tn-nav-v2 .tn-stat{min-width:0;flex:1;padding:2px 3px}body.tn-nav-v2 .tn-stat strong{font-size:17px}body.tn-nav-v2 .tn-stat small{font-size:9px;margin-top:1px}
 body.tn-nav-v2 .tn-bottom-buttons{flex:0 0 auto;order:1}body.tn-nav-v2 .tn-primary,body.tn-nav-v2 .tn-secondary{min-width:90px;min-height:36px;padding:6px 8px;font-size:11px;border-radius:9px}body.tn-nav-v2 .tn-secondary{min-width:45px}
 body.tn-nav-v2 .shell>.side>.settings-panel.show{top:calc(64px + env(safe-area-inset-top,0px))!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;left:6px!important;width:calc(100vw - 12px)!important;padding:14px!important}
 body.tn-nav-v2.tn-search-open .shell>.side>.chapter{top:calc(65px + env(safe-area-inset-top,0px))!important;left:6px!important;width:calc(100vw - 12px)!important}
 body.tn-nav-v2 #touring-route-options{top:calc(66px + env(safe-area-inset-top,0px))!important;right:6px!important;width:calc(100vw - 12px)!important}
 body.tn-nav-v2 .leaflet-control-zoom{margin-right:7px!important;margin-bottom:155px!important}
}
@media(orientation:landscape) and (max-height:520px){
 body.tn-nav-v2 .tn-topbar{top:3px;height:49px}body.tn-nav-v2 .tn-tool{height:39px;min-height:39px}
 body.tn-nav-v2 .tn-guide{top:58px;min-height:60px;max-width:344px;padding:5px 9px}body.tn-nav-v2 .tn-turn{height:50px;flex-basis:48px;font-size:35px}
 body.tn-nav-v2 .tn-guide-body strong{font-size:15px}body.tn-nav-v2 .tn-guide-body small{display:none}
 body.tn-nav-v2 .tn-bottom{min-height:57px;flex-wrap:nowrap}body.tn-nav-v2 .tn-disclaimer{bottom:calc(70px + env(safe-area-inset-bottom,0px));padding:4px 8px;font-size:9px}
 body.tn-nav-v2 .tn-speed{bottom:calc(94px + env(safe-area-inset-bottom,0px))}body.tn-nav-v2 .tn-stats{order:0;margin:0;flex:1}body.tn-nav-v2 .tn-stat strong{font-size:17px}
 body.tn-nav-v2 .tn-bottom-buttons{order:0}body.tn-nav-v2 .tn-bottom-name{max-width:26%}
}
