 
#nav-planning-toggle,#nav-landscape-menu,#nav-routes-quick{display:none}
#nav-planning-toggle{width:100%;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--tg-border,#b6cfbf);border-radius:10px;background:var(--tg-field,#eaf3e7);color:var(--tg-text,#183e32);font:800 13px/1.3 "DM Sans",Arial,sans-serif;min-height:41px;padding:9px 12px;text-align:left;cursor:pointer}
#nav-planning-toggle:focus-visible,#nav-landscape-menu:focus-visible,#nav-routes-quick:focus-visible{outline:3px solid var(--tg-focus,#e0af51)!important;outline-offset:2px}
#nav-routes-quick{align-items:center;justify-content:center;flex:0 0 37px;min-width:37px;height:40px;padding:0!important;font-size:20px!important;line-height:1;border:1px solid var(--tg-border,#b6cfbf)!important;background:var(--tg-field,#eaf3e7)!important;color:var(--tg-text,#183e32)!important;border-radius:9px}
#nav-landscape-menu{align-items:center;justify-content:center;flex:0 0 35px;min-width:35px;height:35px;padding:0;border:1px solid var(--tg-border,#b6cfbf);border-radius:9px;background:var(--tg-field,#eaf3e7);color:var(--tg-text,#183e32);font-size:19px}
@media screen and (max-width:700px) and (orientation:portrait){
 body.tg-nav-route:not(.driving) .topline{
  left:8px!important;right:8px!important;
  top:env(safe-area-inset-top,0px)!important;
  margin-top:5px!important;min-height:46px!important;max-height:48px!important;
  height:46px!important;padding:5px 8px 5px 55px!important;gap:4px!important;
  border-radius:11px!important
 }
 body.tg-nav-route:not(.driving) .topline .brand{font-size:19px!important}
 body.tg-nav-route:not(.driving) .topline .touring-language{max-width:100px!important;min-width:70px!important;font-size:11px!important}
 body.tg-nav-route:not(.driving) #touring-global-toggle{
  top:calc(11px + env(safe-area-inset-top,0px))!important;bottom:auto!important;
  left:calc(15px + env(safe-area-inset-left,0px))!important;
  width:34px!important;min-width:34px!important;max-width:34px!important;
  height:34px!important;min-height:34px!important;
  border-radius:8px!important;padding:3px!important
 }
 body.tg-nav-route:not(.driving) .chapter{
  top:calc(58px + env(safe-area-inset-top,0px))!important;
  left:8px!important;right:8px!important;
  padding:6px 7px!important;margin:0!important;border-radius:11px!important;
  max-height:calc(100dvh - 130px)!important;overflow-y:auto!important
 }
 body.tg-nav-route:not(.driving) .chapter .dest-search{margin:0!important}
 body.tg-nav-route:not(.driving) .chapter .dest-search label,
 body.tg-nav-route:not(.driving) .chapter .dest-help,
 body.tg-nav-route:not(.driving) .chapter .nav-shortcuts,
 body.tg-nav-route:not(.driving) .chapter #nav-route-library-open{display:none!important}
 body.tg-nav-route:not(.driving) .chapter .dest-search-row{display:flex!important;gap:6px!important;align-items:center}
 body.tg-nav-route:not(.driving) .chapter .dest-search-row input{
  font-size:16px!important;height:40px!important;min-height:40px!important;
  padding:7px 9px!important;min-width:0!important;flex:1 1 auto!important
 }
 body.tg-nav-route:not(.driving) .chapter .dest-search-row #nav-dest-go{
  min-height:40px!important;height:40px!important;min-width:60px!important;
  padding:5px 7px!important;font-size:12px!important
 }
 body.tg-nav-route:not(.driving) #nav-routes-quick{display:flex!important}
 body.tg-nav-route:not(.driving) .chapter .nav-search-cancel{display:none!important}
 body.tg-nav-route:not(.driving) .float-controls{
  top:calc(116px + env(safe-area-inset-top,0px))!important;right:9px!important;gap:6px!important
 }
 body.tg-nav-route:not(.driving).nav-route-ready:not(.nav-search-expanded) .chapter{
  top:calc(58px + env(safe-area-inset-top,0px))!important;
  width:min(296px,calc(100vw - 85px))!important;max-width:calc(100vw - 85px)!important;
  left:8px!important;right:auto!important;padding:6px 7px!important
 }
 body.tg-nav-route:not(.driving).nav-route-ready:not(.nav-search-expanded) .float-controls{top:calc(115px + env(safe-area-inset-top,0px))!important}
 body.tg-nav-route:not(.driving) .actions{
  position:fixed!important;left:8px!important;right:8px!important;
  bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;
  z-index:800!important;width:auto!important;min-height:0!important;
  max-height:min(60dvh,440px)!important;overflow-y:auto!important;
  border:1px solid var(--tg-border,#bcd2c0)!important;
  border-radius:12px!important;margin:0!important;
  padding:6px 7px!important;box-shadow:0 6px 24px #061b1b59!important
 }
 body.tg-nav-route:not(.driving) #nav-planning-toggle{display:flex!important}
 body.tg-nav-route:not(.driving):not(.nav-planning-open) .actions>:not(#nav-planning-toggle){display:none!important}
 body.tg-nav-route:not(.driving).nav-planning-open .actions>:not(#nav-planning-toggle){margin-top:6px}
 body.tg-nav-route:not(.driving).nav-planning-open .actions #nav-mobile-start-row{display:grid!important}
 body.tg-nav-route:not(.driving) .leaflet-control-zoom{display:none!important}
}
@media screen and (orientation:landscape) and (max-height:560px) and (max-width:1100px){
 body.tg-nav-route.tg-global-nav-enabled:not(.driving){padding:0!important;margin:0!important}
 body.tg-nav-route:not(.driving) .shell{
  display:block!important;position:fixed!important;inset:0!important;
  width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;overflow:hidden!important;grid-template-columns:none!important
 }
 body.tg-nav-route:not(.driving) .shell>.side{
  display:contents!important;overflow:visible!important;height:auto!important;min-height:0!important
 }
 body.tg-nav-route:not(.driving) .shell>.mapshell{
  position:fixed!important;inset:0!important;
  width:100vw!important;height:100dvh!important;min-height:0!important;
  margin:0!important;padding:0!important;z-index:1!important
 }
 body.tg-nav-route:not(.driving) #map{width:100%!important;height:100%!important}
 body.tg-nav-route:not(.driving) .topline{display:none!important}
 body.tg-nav-route:not(.driving) .chapter{
  display:block!important;position:fixed!important;
  top:calc(7px + env(safe-area-inset-top,0px))!important;
  left:calc(8px + env(safe-area-inset-left,0px))!important;right:auto!important;
  width:min(405px,51vw)!important;max-width:min(405px,51vw)!important;
  max-height:calc(100dvh - 60px)!important;overflow-y:auto!important;
  padding:6px 7px!important;margin:0!important;
  border:1px solid var(--tg-border,#c6dacb)!important;
  border-radius:12px!important;box-shadow:0 6px 20px #0b242950!important;
  background:var(--tg-surface,#fff)!important;color:var(--tg-text,#173a2d)!important;
  z-index:850!important
 }
 body.tg-nav-route:not(.driving) .chapter>:not(.nav-search-compact):not(.dest-search){display:none!important}
 body.tg-nav-route:not(.driving) .chapter .nav-search-compact{
  display:flex!important;align-items:center;gap:6px;min-width:0;min-height:35px;
  background:transparent!important;color:inherit!important;padding:0!important
 }
 body.tg-nav-route:not(.driving) .chapter .nav-search-compact .nav-search-place{
  min-width:0;flex:1 1 auto;display:flex;align-items:center;gap:4px;overflow:hidden
 }
 body.tg-nav-route:not(.driving) .chapter .nav-search-compact .nav-search-place>strong{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:800 12px/1.25 "DM Sans",Arial,sans-serif;color:var(--tg-text,#19392f)!important
 }
 body.tg-nav-route:not(.driving) .chapter #nav-landscape-menu{display:flex!important}
 body.tg-nav-route:not(.driving) .chapter #nav-route-library-mini{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-width:32px;width:32px;height:35px;min-height:35px!important;
  padding:3px!important;flex:0 0 32px;border-radius:8px!important
 }
 body.tg-nav-route:not(.driving) .chapter #nav-search-expand{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:35px!important;height:35px!important;padding:5px 9px!important;
  background:var(--tg-field,#edf4e9)!important;color:var(--tg-text,#214b3a)!important;
  border:1px solid var(--tg-border,#c5d8c7)!important;
  font-size:12px!important;flex-shrink:0;border-radius:9px!important
 }
 body.tg-nav-route:not(.driving) .chapter .dest-search{display:none!important;margin:9px 0 0!important}
 body.tg-nav-route:not(.driving).nav-search-expanded .chapter .dest-search{display:block!important}
 body.tg-nav-route:not(.driving).nav-search-expanded .chapter .nav-search-cancel{
  display:inline-flex!important;float:right;margin-bottom:6px;
  font-size:11px!important;background:var(--tg-field,#edf4e9);color:var(--tg-text,#224636);
  padding:5px 9px;border-radius:7px;border:1px solid var(--tg-border,#cbdccc)
 }
 body.tg-nav-route:not(.driving) .chapter .dest-search label{display:block!important;font-size:10px!important;margin:4px 0 5px!important}
 body.tg-nav-route:not(.driving) .chapter .dest-search-row{display:flex!important;align-items:center;gap:6px!important}
 body.tg-nav-route:not(.driving) .chapter .dest-search-row input{font-size:16px!important;height:40px!important;min-height:40px!important;padding:6px 8px!important;min-width:0!important;flex:1 1 auto!important}
 body.tg-nav-route:not(.driving) .chapter .dest-search-row #nav-dest-go{min-height:40px!important;height:40px!important;min-width:60px!important;font-size:12px!important;padding:4px 8px!important}
 body.tg-nav-route:not(.driving) .chapter .dest-help{display:none!important}
 body.tg-nav-route:not(.driving) .chapter .nav-shortcuts{
  display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;
  gap:5px!important;margin:7px 0 0!important
 }
 body.tg-nav-route:not(.driving) .chapter .nav-shortcuts button{flex:0 0 auto!important;font-size:10px!important;padding:5px 7px!important}
 body.tg-nav-route:not(.driving) .chapter #nav-route-library-open{display:none!important}
 body.tg-nav-route:not(.driving) .section,
 body.tg-nav-route:not(.driving) .restriction,
 body.tg-nav-route:not(.driving) .status,
 body.tg-nav-route:not(.driving) .small-print,
 body.tg-nav-route:not(.driving) .maneuver{display:none!important}
 body.tg-nav-route:not(.driving) .float-controls{
  position:fixed!important;right:calc(8px + env(safe-area-inset-right,0px))!important;
  top:calc(7px + env(safe-area-inset-top,0px))!important;
  display:flex!important;flex-direction:row!important;gap:5px!important;z-index:740!important
 }
 body.tg-nav-route:not(.driving) .float-controls button{
  min-width:34px!important;width:34px!important;min-height:35px!important;height:35px!important;
  padding:3px!important;border-radius:8px!important;font-size:16px!important
 }
 body.tg-nav-route:not(.driving) .alt-route-badge,
 body.tg-nav-route:not(.driving) .map-caption{display:none!important}
 body.tg-nav-route:not(.driving) .leaflet-control-zoom{display:none!important}
 body.tg-nav-route:not(.driving) .actions{
  display:block!important;position:fixed!important;
  left:calc(8px + env(safe-area-inset-left,0px))!important;
  right:auto!important;bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;
  width:min(355px,45vw)!important;min-width:230px;max-width:min(355px,45vw)!important;
  max-height:calc(100dvh - 65px)!important;overflow-y:auto!important;
  z-index:830!important;margin:0!important;padding:6px 7px!important;
  border:1px solid var(--tg-border,#bed1c4)!important;
  border-radius:11px!important;background:var(--tg-surface,#fff)!important;
  box-shadow:0 7px 24px #081c2059!important
 }
 body.tg-nav-route:not(.driving) #nav-planning-toggle{display:flex!important}
 body.tg-nav-route:not(.driving):not(.nav-planning-open) .actions>:not(#nav-planning-toggle){display:none!important}
 body.tg-nav-route:not(.driving) .actions .mobile-steps{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;font-size:11px;margin:7px 0 5px!important}
 body.tg-nav-route:not(.driving) .actions .mobile-steps>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}
 body.tg-nav-route:not(.driving) .actions #nav-mobile-start-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px!important;margin:5px 0!important}
 body.tg-nav-route:not(.driving) .actions #nav-mobile-start-row button{min-height:38px!important;padding:5px!important;font-size:11px!important}
 body.tg-nav-route:not(.driving) .actions #nav-mobile-status{display:block!important;font-size:10px!important;line-height:1.3!important;margin:4px 0 6px!important;max-height:32px;overflow:auto}
 body.tg-nav-route:not(.driving) .actions .buttons{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px!important;margin:4px 0!important}
 body.tg-nav-route:not(.driving) .actions .buttons .btn{min-height:38px!important;padding:5px 6px!important;font-size:11px!important}
 body.tg-nav-route:not(.driving) .actions .hint{display:none!important}
 body.tg-nav-route:not(.driving) .actions #nav-more-options{display:block!important;margin:6px 0 0!important;font-size:11px;max-height:min(30dvh,170px);overflow-y:auto}
 body.tg-nav-route:not(.driving) .actions #nav-more-options:not([open]){overflow:visible}
 body.tg-nav-route:not(.driving) .actions #nav-more-options summary{display:flex!important;align-items:center;justify-content:center;font:800 11px/1.3 Arial,sans-serif;min-height:31px;padding:4px 7px;border:1px solid var(--tg-border,#bed1c4);border-radius:8px;cursor:pointer;background:var(--tg-field,#eaf3e7);color:var(--tg-text,#214b3a)}
 body.tg-nav-route:not(.driving) .actions #nav-more-options .nav-extra-content{display:block!important;margin:7px 0 0}
 body.tg-nav-route:not(.driving) .actions #nav-more-options .touring-route-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:6px}
 body.tg-nav-route:not(.driving) .actions #nav-more-options .touring-route-options{position:static!important;max-height:115px;overflow-y:auto}
 body.tg-nav-route:not(.driving) .actions #nav-more-options .altlinks{display:flex!important;flex-wrap:wrap;gap:7px;justify-content:flex-start;font-size:10px}
 body.tg-nav-route:not(.driving) .settings-panel{
  display:none!important;position:fixed!important;
  top:calc(7px + env(safe-area-inset-top,0px))!important;
  left:calc(7px + env(safe-area-inset-left,0px))!important;
  right:auto!important;bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;
  width:min(455px,calc(100vw - 14px))!important;
  max-height:calc(100dvh - 14px)!important;
  z-index:900!important;overflow-y:auto!important;
  border-radius:12px!important;box-shadow:0 10px 42px #051c1a8c!important
 }
 body.tg-nav-route:not(.driving) .settings-panel.show{display:block!important}
 body.tg-nav-route:not(.driving) #touring-global-toggle{display:none!important}
 body.tg-nav-route:not(.driving) #touring-global-sidebar{
  width:min(300px,82vw)!important;max-width:82vw!important;
  transform:translateX(-110%)!important;visibility:hidden!important;
  z-index:30002!important;box-shadow:8px 0 34px #06181972!important
 }
 body.tg-nav-route:not(.driving).tg-menu-open #touring-global-sidebar{transform:translateX(0)!important;visibility:visible!important}
 body.tg-nav-route:not(.driving) #touring-global-sidebar .tg-close{
  display:grid!important;place-items:center!important;
  position:absolute!important;right:12px!important;
  top:calc(13px + env(safe-area-inset-top,0px))!important;
  width:38px!important;height:38px!important;
  border:1px solid #769788!important;border-radius:8px!important;
  background:#244844!important;color:white!important;font-size:22px!important
 }
 body.tg-nav-route:not(.driving).tg-menu-open #touring-global-shade{
  display:block!important;position:fixed!important;inset:0!important;
  background:#071e1fcc!important;z-index:30000!important
 }
}
