/* Map-first product shell. Route and analysis logic remains in index.html. */
:root{--ctc-ink:#102536;--ctc-panel:#102638;--ctc-border:rgba(174,204,222,.20);--ctc-coral:#ff6b5f}
#header{height:72px!important;padding:0 22px!important;background:linear-gradient(110deg,#101b2a,#0b2637 70%,#103347)!important;border-bottom:1px solid var(--ctc-border)!important;box-shadow:0 8px 28px rgba(3,18,31,.22)!important}
#header:after{display:none}
#header h1{font-size:20px!important;letter-spacing:-.045em!important}
.brand-mark{background:rgba(255,107,95,.12)!important;border-color:rgba(255,107,95,.28)!important;color:#ff8074!important}
.brand-kicker,.route-direction-header{display:none!important}
.brand-tagline .ctc-pill{color:#b8cbd8!important;font-weight:650!important}
.header-badges .header-badge{background:rgba(15,38,51,.72);border-color:rgba(166,210,222,.22);font-size:11px}
.gps-status-text{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.gps-button{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.2)!important}
#map{height:calc(100vh - 72px)!important}

.product-rail{position:absolute;z-index:19;left:0;top:72px;bottom:0;width:78px;display:flex;flex-direction:column;gap:7px;align-items:center;padding:19px 8px;background:linear-gradient(180deg,#101d2c,#0b2031);border-right:1px solid var(--ctc-border);box-shadow:7px 0 24px rgba(5,19,31,.13)}
.rail-action{width:62px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:15px;background:transparent;color:#b6c9d6;font:inherit;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}
.rail-action>span{font-size:24px;line-height:1;font-weight:500}.rail-action small{font-size:10px;font-weight:700}
.rail-action:hover,.rail-action:focus-visible{background:rgba(255,255,255,.08);color:#fff;outline:none;transform:translateY(-1px)}
.rail-action.active,.rail-action[aria-expanded="true"]{color:#fff;background:linear-gradient(135deg,#f46a60,#e65a50);border-color:rgba(255,181,174,.45);box-shadow:0 7px 18px rgba(239,91,80,.26)}
.rail-action#simulator-button{margin-top:auto}

#info-panel{left:92px!important;top:85px!important;bottom:16px!important;width:min(378px,calc(100vw - 560px))!important;max-height:none!important;padding:17px!important;overflow:hidden!important;z-index:18!important;background:rgba(248,251,253,.97)!important;border:1px solid rgba(217,230,238,.92)!important;border-radius:22px!important;box-shadow:0 22px 58px rgba(6,23,38,.27)!important;transform:none!important;transition:transform .28s ease,opacity .28s ease!important}
#info-panel.collapsed{transform:translateX(calc(-100% - 110px))!important;opacity:0!important;pointer-events:none!important}
#info-panel #spatial-panel-content{max-height:calc(100% - 12px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:2px 3px 4px!important}
#spatial-panel-toggle{position:absolute!important;right:16px!important;left:auto!important;top:15px!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:10px!important;z-index:3!important;transform:none!important;background:#e9f0f4!important;color:#3e5668!important;box-shadow:none!important}
#info-panel.collapsed #spatial-panel-toggle{display:none!important}
#spatial-panel-toggle .spatial-panel-toggle-icon,#spatial-panel-toggle .spatial-panel-toggle-label{display:none!important}
#spatial-panel-toggle .spatial-panel-toggle-chevron{display:block!important;font-size:0!important;transform:none!important}
#spatial-panel-toggle .spatial-panel-toggle-chevron:after{content:"×";font-size:22px;line-height:24px}

#route-search-dock{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0 0 16px!important;padding:6px!important;border-radius:16px!important;box-shadow:none!important;background:#edf3f6!important;border:1px solid #dbe7ec!important;z-index:2!important}
#route-search-dock.location-dock-collapsed,#route-search-dock:not(.location-dock-collapsed){width:100%!important;min-width:0!important;max-width:none!important;transform:none!important}
#route-search-dock .location-dock-toggle{background:#fff!important;border:1px solid #e0eaf0!important;min-height:52px!important}
#route-search-dock .location-dock-label b{font-size:11px!important;color:#152b3d!important}
#route-search-dock .location-dock-label small{font-size:9px!important;color:#667b89!important}
#route-search-dock .location-dock-details{max-height:350px!important}
#route-search-dock.location-dock-collapsed .location-dock-details{max-height:0!important}
.journey-builder{background:#fff!important;border:1px solid #e2ebf0!important;border-radius:16px!important}
.journey-builder-head{padding-right:34px}.journey-builder-head strong{font-size:14px!important;color:#142f40!important}
.journey-builder-head span{color:#ee6b5f!important;background:#fff1ef!important}
#mode-hero{box-shadow:none!important;border-radius:14px!important}
#mode-hero.car{background:linear-gradient(125deg,#193b50,#25576d)!important}
#mode-hero.transit{background:linear-gradient(125deg,#125650,#159377)!important}
#mode-hero.park_ride{background:linear-gradient(125deg,#704b2d,#c4774c)!important}
#mode-hero.comparison{background:linear-gradient(125deg,#394875,#6475a6)!important}

.route-overview{position:absolute;z-index:17;left:94px;right:18px;bottom:16px;padding:12px 14px 14px;border:1px solid rgba(167,201,219,.27);border-radius:20px;background:linear-gradient(120deg,rgba(11,30,44,.97),rgba(15,39,56,.96));box-shadow:0 16px 42px rgba(2,15,27,.32);color:#fff;backdrop-filter:blur(18px);transition:max-height .25s ease,padding .25s ease}
body.spatial-open .route-overview{left:486px}
.route-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 1px 10px}
.route-overview-heading>div{display:flex;align-items:baseline;gap:13px;min-width:0}.route-overview-heading strong{font-size:13px;white-space:nowrap}.route-overview-heading span{font-size:10px;color:#a9c1cf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#overview-collapse{width:28px;height:27px;border:1px solid var(--ctc-border);border-radius:9px;background:rgba(255,255,255,.05);color:#bcd2de;cursor:pointer;font-size:18px;line-height:20px}
.overview-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.overview-card{min-width:0;min-height:102px;display:flex;flex-direction:column;text-align:left;padding:12px 14px;border:1px solid rgba(164,201,220,.24);border-radius:14px;background:rgba(255,255,255,.045);color:#fff;cursor:pointer;font:inherit;transition:border-color .2s,background .2s,transform .2s}
.overview-card:hover,.overview-card:focus-visible{border-color:rgba(255,151,139,.82);background:rgba(255,255,255,.09);outline:none;transform:translateY(-2px)}
.overview-card.selected{border-color:#ff766b;box-shadow:inset 0 0 0 1px rgba(255,118,107,.28)}
.overview-card-top,.overview-card-main,.overview-card-foot{display:flex;justify-content:space-between;align-items:center;gap:8px}
.overview-card-top{font-size:11px;font-weight:750;color:#e4f0f5}.overview-card-top em{font-size:9px;font-style:normal;color:#ffaaa0}
.overview-card-main{margin-top:7px;align-items:baseline}.overview-card-main strong{font-size:25px;line-height:1;letter-spacing:-.04em}.overview-card-main small{font-size:10px;color:#bdcdd6}
.overview-card-foot{margin-top:8px;color:#a8c2d1;font-size:10px}.overview-card-foot span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-card-action{display:block;margin-top:auto;padding:7px 8px 0;text-align:center;color:#ffaaa1;font-size:10px;font-weight:750}
.route-overview.is-collapsed{padding-bottom:4px}.route-overview.is-collapsed .overview-cards{display:none}.route-overview.is-collapsed #overview-collapse{transform:rotate(180deg)}

.basemap-switcher{left:auto!important;right:70px!important;top:85px!important;bottom:auto!important;transform:none!important;background:rgba(13,34,48,.92)!important;border-color:var(--ctc-border)!important;box-shadow:0 12px 26px rgba(3,19,31,.22)!important}
.basemap-switcher-label,.basemap-choice{color:#c6d7df!important}.basemap-choice:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}.basemap-choice.active{background:var(--ctc-coral)!important;color:#fff!important}
#traffic-map-panel{right:16px!important;top:225px!important;z-index:16!important}
#route-tools-panel{right:16px!important;top:320px!important;z-index:16!important}
#traffic-map-panel:not(.traffic-collapsed) ~ #route-tools-panel{top:440px!important}
#route-tools-panel.collapsed .route-tools-drawer-toggle{display:none!important}
#route-tools-panel:not(.collapsed) .route-tools-drawer-toggle{left:auto!important;right:12px!important;top:12px!important;width:30px!important;height:30px!important;border:1px solid #d7e6ed!important;border-radius:9px!important;background:#eef5f8!important;color:#214254!important;box-shadow:none!important}
#route-tools-panel:not(.collapsed) .route-tools-drawer-toggle:after{display:none}
#route-tools-panel:not(.collapsed) .route-tools-drawer-toggle svg{width:17px!important;height:17px!important}
#route-tools-panel:not(.collapsed) .route-tools-head{padding-right:32px}
.gis-assistant{bottom:187px!important;right:17px!important}
.maplibregl-ctrl-top-right{top:12px!important;right:16px!important}
.maplibregl-ctrl-bottom-right{bottom:165px!important}

@media(max-width:1100px){#info-panel{width:min(360px,calc(100vw - 210px))!important}.route-overview{left:90px}body.spatial-open .route-overview{left:465px}.route-overview-heading span{display:none}}
@media(max-width:900px){
  #header{height:62px!important;padding:0 12px!important}#header h1{font-size:17px!important}.brand-kicker,.route-direction-header{display:none!important}
  #map{height:calc(100vh - 62px)!important}
  .product-rail{top:auto;right:0;bottom:0;width:100%;height:66px;flex-direction:row;justify-content:space-around;gap:1px;padding:4px 5px;border-top:1px solid var(--ctc-border);border-right:0}
  .rail-action{width:auto;flex:1;min-height:56px;border-radius:12px}.rail-action>span{font-size:19px}.rail-action small{font-size:9px}.rail-action#simulator-button{margin-top:0}
  #info-panel{left:8px!important;right:8px!important;top:auto!important;bottom:72px!important;width:auto!important;max-height:68vh!important;border-radius:20px 20px 12px 12px!important;transform:none!important}
  #info-panel.collapsed{transform:translateY(calc(100% + 90px))!important}
  #info-panel #spatial-panel-content{max-height:calc(68vh - 37px)!important}
  .route-overview,body.spatial-open .route-overview{left:8px;right:8px;bottom:74px;padding:10px;max-height:177px}.overview-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:2px}.overview-card{min-width:190px;min-height:96px;scroll-snap-align:start}
  .route-overview-heading{padding-bottom:6px}.route-overview-heading span{display:none}
  .basemap-switcher{top:69px!important;right:8px!important;bottom:auto!important}
  #traffic-map-panel{top:121px!important;right:8px!important;bottom:auto!important}
  #route-tools-panel{top:205px!important;right:8px!important;bottom:auto!important}
  #traffic-map-panel:not(.traffic-collapsed) ~ #route-tools-panel{top:340px!important}
  .gis-assistant{right:9px!important;bottom:252px!important}
  .maplibregl-ctrl-top-right{top:121px!important;bottom:auto!important;left:8px!important;right:auto!important}.maplibregl-ctrl-bottom-right{bottom:245px!important}
}
@media(max-width:520px){.header-badges{display:none!important}.brand-mark{width:38px!important;height:38px!important;flex-basis:38px!important}.brand-tagline{display:none!important}.gps-button{height:34px}.route-overview{max-height:164px}.overview-card{min-width:176px}.basemap-choice{padding:0 5px!important;font-size:8px!important}.basemap-switcher-label{display:none!important}}
@media(prefers-reduced-motion:reduce){.rail-action,.overview-card,#info-panel,.route-overview{transition:none!important}}

/* Journey planner interior: compact decisions first, detailed route report second. */
body.product-layout #info-panel{background:linear-gradient(155deg,#142a3c,#0d2637)!important;border-color:rgba(164,197,217,.28)!important;color:#edf5f8!important}
body.product-layout #info-panel #spatial-panel-content{max-height:100%!important;padding:0 2px 8px!important}
body.product-layout #spatial-panel-toggle{background:#264053!important;border-color:rgba(197,220,231,.19)!important;color:#e4f2f7!important}
.product-planning{padding:2px 0 0}
.product-panel-intro{padding:2px 38px 16px 4px}
.product-panel-intro>span{color:#ff978e;font-size:9px;font-weight:850;letter-spacing:.16em}
.product-panel-intro h2{margin:5px 0 4px!important;color:#fff!important;font-size:21px!important;letter-spacing:-.035em}
.product-panel-intro p{margin:0;color:#a9bfcc;font-size:11px;line-height:1.45}
.product-section-label{margin:14px 2px 8px;font-size:11px;font-weight:750;color:#cbdde5}
body.product-layout #route-search-dock{margin:0 0 10px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
body.product-layout #route-search-dock .location-dock-toggle{display:none!important}
body.product-layout #route-search-dock .location-dock-details{max-height:none!important;opacity:1!important;margin:0!important;overflow:visible!important;pointer-events:auto!important}
body.product-layout #route-search-dock .route-search-stack{display:grid!important;gap:8px!important;border:0!important;background:transparent!important}
body.product-layout #route-search-dock .route-search-field{min-height:56px!important;padding:6px 10px!important;border:1px solid rgba(178,209,224,.34)!important;border-radius:13px!important;background:rgba(255,255,255,.055)!important}
body.product-layout #route-search-dock .route-search-divider{display:none!important}
body.product-layout #route-search-dock .route-search-pin{background:rgba(255,106,95,.13)!important;border-color:rgba(255,135,126,.35)!important;color:#ff9288!important}
body.product-layout #route-search-dock .route-search-pin.destination{background:rgba(82,174,208,.13)!important;border-color:rgba(113,195,225,.34)!important;color:#87d5ef!important}
body.product-layout #route-search-dock .route-search-caption{display:block;margin:1px 0 0 2px;color:#a7bfcc;font-size:9px;line-height:1}
body.product-layout #route-search-dock .route-search-input{background:transparent!important;color:#fff!important;font-size:11px!important;font-weight:650!important}
body.product-layout #route-search-dock .route-search-input::placeholder{color:#9fb6c5!important}
body.product-layout #route-search-dock .route-search-clear{color:#a7bfcc!important}
body.product-layout #route-search-dock .route-search-results{z-index:30!important}
body.product-layout #journey-builder{margin:0 0 12px!important;padding:7px 9px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(174,204,222,.17)!important;border-radius:13px!important;box-shadow:none!important}
body.product-layout #journey-builder .journey-builder-head{padding:0 0 5px!important;margin:0!important}
body.product-layout #journey-builder .journey-builder-head strong{font-size:10px!important;color:#b9cfda!important}
body.product-layout #journey-builder .journey-builder-head span{display:none!important}
body.product-layout #journey-builder .point-row{display:inline-flex!important;width:49%!important;margin:0!important;padding:3px!important;border:0!important;background:transparent!important;gap:5px!important}
body.product-layout #journey-builder .point-copy{display:none!important}
body.product-layout #journey-builder .point-dot{width:20px!important;height:20px!important;min-width:20px!important;font-size:9px!important}
body.product-layout #journey-builder .point-pick{margin:0!important;padding:5px!important;width:auto!important;min-height:28px!important;border-radius:8px!important;background:#213a4d!important;border:1px solid rgba(178,209,224,.25)!important;color:#e7f1f5!important;font-size:9px!important}
body.product-layout #journey-builder .journey-builder-actions{display:inline-flex!important;margin:0!important;gap:0!important;vertical-align:middle}
body.product-layout #journey-builder .journey-analyze{display:none!important}
body.product-layout #journey-builder .journey-reset{padding:5px!important;color:#a9c4d3!important;background:transparent!important;border:0!important;font-size:9px!important}
body.product-layout #journey-builder .journey-builder-status{margin:4px 0 0!important;color:#8da7b5!important;font-size:9px!important}
body.product-layout .direction-choice{margin:0 0 10px!important}
body.product-layout .direction-choice .choice-block-label{display:none!important}
body.product-layout .direction-choice select{display:none!important}
body.product-layout .direction-choice .choice-grid{gap:0!important;padding:3px;border:1px solid rgba(178,209,224,.21);border-radius:12px;background:rgba(255,255,255,.04)}
body.product-layout .direction-choice .choice-btn{justify-content:center!important;min-height:33px!important;padding:4px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#b9cfda!important}
body.product-layout .direction-choice .choice-btn[aria-pressed="true"]{background:#ff7064!important;color:#fff!important;box-shadow:0 4px 10px rgba(238,98,87,.2)!important}
body.product-layout .direction-choice .choice-btn-icon,body.product-layout .direction-choice .choice-btn-copy small{display:none!important}
body.product-layout .direction-choice .choice-btn-copy strong{font-size:10px!important}
body.product-layout #direction-note{color:#a8c0cd!important;font-size:9px!important}
.product-departure{display:flex;align-items:center;gap:9px;margin:8px 0 12px;padding:9px 12px;border:1px solid rgba(178,209,224,.2);border-radius:12px;background:rgba(255,255,255,.045)}
.product-departure>span{font-size:22px;color:#9cdae9}.product-departure strong{display:block;font-size:11px}.product-departure small{display:block;color:#adc4d0!important;font-size:9px;margin-top:2px}
body.product-layout #mode-picker{margin:0 0 10px!important}
body.product-layout #mode-hero{display:none!important}
body.product-layout #mode-menu,body.product-layout #mode-menu[hidden]{position:static!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
/* Travel-mode palette v2: each option retains its identity on hover and selection. */
body.product-layout #mode-menu .mode-choice{min-width:0!important;min-height:78px!important;padding:7px 3px!important;border:1px solid var(--mode-border)!important;border-radius:12px!important;background:var(--mode-idle)!important;color:#eaf4f8!important;box-shadow:none!important;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s!important;cursor:pointer}
body.product-layout #mode-menu .mode-choice[data-mode="car"]{--mode-border:#aa595b;--mode-idle:rgba(237,101,94,.13);--mode-hover:rgba(244,105,96,.31);--mode-start:#f4786b;--mode-end:#dc554e;--mode-glow:rgba(244,105,96,.35)}
body.product-layout #mode-menu .mode-choice[data-mode="transit"]{--mode-border:#348f81;--mode-idle:rgba(42,179,149,.13);--mode-hover:rgba(45,197,165,.31);--mode-start:#24b596;--mode-end:#118a83;--mode-glow:rgba(45,197,165,.35)}
body.product-layout #mode-menu .mode-choice[data-mode="park_ride"]{--mode-border:#b88439;--mode-idle:rgba(227,162,66,.14);--mode-hover:rgba(246,183,73,.32);--mode-start:#eda84b;--mode-end:#c87b29;--mode-glow:rgba(246,183,73,.35)}
body.product-layout #mode-menu .mode-choice[data-mode="comparison"]{--mode-border:#7971b8;--mode-idle:rgba(145,127,224,.14);--mode-hover:rgba(157,137,241,.33);--mode-start:#9d82e9;--mode-end:#665bbd;--mode-glow:rgba(157,137,241,.36)}
body.product-layout #mode-menu .mode-choice:hover{background:var(--mode-hover)!important;border-color:var(--mode-start)!important;color:#fff!important;box-shadow:0 5px 15px var(--mode-glow)!important;transform:translateY(-2px)}
body.product-layout #mode-menu .mode-choice[aria-selected="true"]{background:linear-gradient(145deg,var(--mode-start),var(--mode-end))!important;border-color:var(--mode-start)!important;color:#fff!important;box-shadow:0 6px 17px var(--mode-glow)!important}
body.product-layout #mode-menu .mode-choice[aria-selected="true"]:hover{background:linear-gradient(145deg,var(--mode-end),var(--mode-start))!important;box-shadow:0 8px 22px var(--mode-glow)!important}
body.product-layout #mode-menu .mode-choice:focus-visible{outline:2px solid #fff!important;outline-offset:2px}
body.product-layout #mode-menu .mode-choice:disabled{opacity:.4;box-shadow:none!important;transform:none!important;cursor:not-allowed}
body.product-layout #mode-menu .mode-choice-icon{width:32px!important;height:32px!important;margin:0 auto 4px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;color:inherit!important}
body.product-layout #mode-menu .mode-choice-icon svg{width:23px!important;height:23px!important}
body.product-layout #mode-menu .mode-choice-icon .split-mode-icon svg{width:15px!important;height:15px!important}
body.product-layout #mode-menu .mode-choice strong{font-size:9px!important;line-height:1.1!important;overflow-wrap:anywhere}
.priority-presets{margin:0 0 10px}.priority-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.priority-tiles button{min-height:65px;padding:7px 3px;border:1px solid rgba(174,204,222,.25);border-radius:12px;background:rgba(255,255,255,.045);color:#c4d7e0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:700 9px/1.1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.priority-tiles button span{font-size:22px;font-weight:500}.priority-tiles button:hover{border-color:#ff958b;color:#fff}.priority-tiles button[aria-pressed="true"]{color:#fff;background:linear-gradient(145deg,#f46d62,#e85e53);border-color:#ffaaa0;box-shadow:0 5px 14px rgba(244,104,93,.22)}
.priority-presets>small{display:block;margin:7px 2px 0!important;color:#97b0bd!important;font-size:9px!important}
body[data-travel-mode="car"] .priority-tiles [data-preset="comfort"]{display:none}
body[data-travel-mode="car"] .priority-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-travel-mode="transit"] .priority-presets,body[data-travel-mode="park_ride"] .priority-presets{display:none}
body.product-layout #route-search-analyze{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;min-height:44px!important;margin:12px 0 9px!important;padding:10px!important;border:0!important;border-radius:12px!important;background:#ff6d62!important;color:#fff!important;font-size:12px!important;font-weight:800!important;box-shadow:0 7px 18px rgba(239,100,88,.25)!important;cursor:pointer}
body.product-layout #route-search-analyze .route-search-analyze-icon{order:2}
body.product-layout #route-search-analyze:hover{background:#f65c51!important}
.panel-nearby-open{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;margin-bottom:12px;border:1px solid rgba(174,204,222,.25);border-radius:12px;background:rgba(255,255,255,.04);color:#ecf5f8;text-align:left;font:inherit;cursor:pointer}
.panel-nearby-open>span:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#244458;font-size:20px}.panel-nearby-open>span:nth-child(2){flex:1;min-width:0}.panel-nearby-open b{display:block;font-size:10px}.panel-nearby-open small{display:block;font-size:9px;color:#a8beca!important;margin-top:2px}.panel-nearby-open>span:last-child{font-size:17px;color:#ff8f84}
.product-details{margin:8px 0 0;padding:12px 10px;background:#f7fafc;color:#203b4d;border-radius:14px;border:1px solid #e2ebf0}
.product-details-title{padding:0 2px 9px;border-bottom:1px solid #e1ebf0;margin-bottom:10px}.product-details-title strong{display:block;font-size:12px;color:#193447}.product-details-title small{display:block;margin-top:3px;font-size:9px;color:#6e8390}
.product-details .advanced-priority{margin-bottom:10px;padding:8px;border:1px solid #e0e9ee;border-radius:10px;background:#fff;font-size:10px;color:#4a6371}.product-details .advanced-priority summary{cursor:pointer;font-weight:700}.product-details .advanced-priority label{display:block;margin-top:8px}

.overview-heading-actions{display:flex;align-items:center;gap:8px}#overview-ctc{padding:6px 10px;border:1px solid rgba(255,148,138,.45);border-radius:9px;background:rgba(255,110,98,.13);color:#ffb0a8;font:750 10px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.overview-estimate-note{display:inline-block;margin-top:3px;color:#a8bfcb;font-size:9px;line-height:1.25}
.overview-card-metrics{margin-top:10px;padding-top:9px;border-top:1px solid rgba(174,204,222,.17);display:grid;gap:5px}
.overview-metric{display:grid;grid-template-columns:43px minmax(0,1fr) 22px;align-items:center;gap:6px;color:#b9ced8;font-size:9px}.overview-metric i{height:5px;display:block;overflow:hidden;border-radius:9px;background:rgba(255,255,255,.12)}.overview-metric i b{display:block;height:100%;border-radius:9px;background:#68d8e2}.overview-metric:nth-child(2) i b{background:#83d8a3}.overview-metric:nth-child(3) i b{background:#ff9c8b}.overview-metric small{text-align:right;color:#dceaf0;font-size:9px}
.overview-score-card{display:flex;flex-direction:column;min-width:0;padding:12px 14px;border:1px solid rgba(164,201,220,.24);border-radius:14px;background:linear-gradient(150deg,rgba(47,83,103,.28),rgba(18,42,58,.84));color:#fff;text-align:left;font:inherit;cursor:pointer;transition:border-color .2s,transform .2s}
.overview-score-card:hover,.overview-score-card:focus-visible{border-color:#ff958b;transform:translateY(-2px);outline:none}
.overview-score-card>strong{font-size:12px}.overview-score-content{display:flex;align-items:center;gap:14px;margin:10px 0 8px}
.overview-score-ring{--score-progress:0%;position:relative;flex:0 0 74px;width:74px;height:74px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:conic-gradient(from -90deg,#66d6e7 0%,#71dba9 var(--score-progress),rgba(255,255,255,.13) var(--score-progress) 100%)}
.overview-score-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#142d3f}.overview-score-ring span,.overview-score-ring small{position:relative;z-index:1}.overview-score-ring span{font-size:27px;line-height:1;font-weight:850}.overview-score-ring small{font-size:8px;color:#aec4d0}
.overview-score-breakdown{flex:1;min-width:0;display:grid;gap:7px}.overview-score-breakdown div{display:flex;justify-content:space-between;gap:8px;color:#bcd1db;font-size:9px}.overview-score-breakdown span:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#66d6e7}.overview-score-breakdown div:nth-child(2) span:before{background:#8bdca4}.overview-score-breakdown div:nth-child(3) span:before{background:#ff9b8d}.overview-score-breakdown b{color:#fff;font-size:10px}
.overview-score-card p{margin:0 0 8px;color:#bcd0da;font-size:9px;line-height:1.35}.overview-score-action{display:block;margin-top:auto;padding:7px 8px;border-radius:9px;background:#ff6d62;color:#fff;text-align:center;font-size:10px;font-weight:750}
body.has-overview-scores #info-panel{bottom:16px!important}
@media(max-width:900px){body.has-overview-scores #info-panel{bottom:72px!important}.overview-card-metrics{display:none}.overview-heading-actions{gap:4px}#overview-ctc{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.overview-score-card{min-width:200px}.overview-score-ring{flex-basis:58px;width:58px;height:58px}.overview-score-ring span{font-size:21px}.overview-score-card p,.overview-score-action{display:none}body.product-layout.location-dock-open #traffic-map-panel{top:121px!important}body.product-layout.location-dock-open .maplibregl-ctrl-top-right{top:121px!important;bottom:auto!important;left:8px!important;right:auto!important}}
@media(min-width:901px) and (max-width:1100px){.overview-cards{display:flex;overflow-x:auto}.overview-card{min-width:185px}}
@media(max-width:640px){
  body.product-layout.spatial-open #route-search-dock:not(.location-dock-collapsed){max-height:none!important;overflow:visible!important}
}

/* Reference-inspired journey presentation; route geometry and numbers remain data-driven. */
@media(min-width:901px){
  #header{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(220px,460px) minmax(155px,1fr)!important;gap:18px!important}
  #header .header-actions{justify-self:end}
}
#header{background:linear-gradient(100deg,rgba(15,24,39,.97),rgba(11,35,52,.96))!important;backdrop-filter:blur(16px)}
#header .brand-mark{width:49px;height:49px;flex-basis:49px;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
#header .brand-mark:before{display:none}
#header .brand-mark svg{width:42px;height:42px;filter:drop-shadow(0 0 8px rgba(255,111,100,.2))}
#header .brand-tagline{margin-top:2px}
#header .brand-tagline .ctc-pill{font-size:11px!important;letter-spacing:.035em}
.header-place-search{display:flex;align-items:center;gap:11px;min-width:0;height:40px;padding:0 12px;border:1px solid rgba(222,237,248,.48);border-radius:22px;background:linear-gradient(105deg,#e8f0fa,#dce6f2);color:#526679;font:500 11px Inter,ui-sans-serif,system-ui,sans-serif;text-align:left;box-shadow:0 5px 20px rgba(0,0,0,.14);cursor:pointer;transition:box-shadow .2s,transform .2s}
.header-place-search:hover,.header-place-search:focus-visible{box-shadow:0 0 0 3px rgba(255,115,103,.24),0 6px 22px rgba(0,0,0,.2);transform:translateY(-1px);outline:none}
.header-place-search>span:first-child{color:#1b3144;font-size:23px;line-height:1}.header-place-search>span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-place-search kbd{border:1px solid #c3cfda;border-radius:6px;padding:1px 5px;color:#687c8d;font-size:11px}
.overview-card{min-height:212px;background:linear-gradient(150deg,rgba(46,76,96,.26),rgba(12,34,51,.7));border-color:rgba(164,201,220,.22)}
.overview-card.selected{border-color:#ff8f83;box-shadow:inset 0 0 0 1px rgba(255,118,107,.28),0 0 20px rgba(255,105,94,.15)}
.overview-card-top{align-items:flex-start;min-height:28px}.overview-card-top>span{line-height:1.25}.overview-card-top em{white-space:nowrap}
.overview-card-main{margin-top:9px}.overview-card-main strong{font-size:27px}.overview-card-main small{font-size:11px}
.overview-card-foot{min-height:27px;align-items:flex-start}.overview-card-foot span{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.35}
.overview-card-metrics{margin-top:8px;gap:6px}.overview-metric{grid-template-columns:43px minmax(0,1fr) 25px}.overview-metric i{height:6px}.overview-card-action{margin-top:auto;padding:8px 6px;border:1px solid rgba(255,141,131,.52);border-radius:20px;color:#ffb6ad}
.overview-card:hover .overview-card-action,.overview-card:focus-visible .overview-card-action{background:#ff6d62;color:#fff}
.route-overview-heading>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}.route-overview-heading .overview-estimate-note{font-size:9px;color:#9eb7c7}
.marker.origin-marker,.marker.destination-marker{width:26px;height:26px;border:3px solid #fff;border-radius:50% 50% 50% 5px;rotate:-45deg;box-shadow:0 0 0 7px rgba(255,111,100,.16),0 4px 16px rgba(7,17,29,.4)}
.marker.origin-marker:after,.marker.destination-marker:after{content:"";position:absolute;top:7px;left:7px;width:7px;height:7px;border-radius:50%;background:#fff}
.marker.origin-marker{background:#ff786b}.marker.destination-marker{background:#f26459}
.journey-location-popup .maplibregl-popup-content,.journey-road-popup .maplibregl-popup-content,.line-hover-popup .maplibregl-popup-content{padding:11px 14px;border:1px solid rgba(183,211,225,.32);border-radius:13px;background:#142a3d;color:#f2f8fb;box-shadow:0 10px 28px rgba(1,17,31,.34);font:500 11px/1.45 Inter,ui-sans-serif,system-ui,sans-serif}
.journey-location-popup .maplibregl-popup-tip,.journey-road-popup .maplibregl-popup-tip,.line-hover-popup .maplibregl-popup-tip{border-top-color:#142a3d}
.journey-popup-eyebrow{font-size:8px;font-weight:800;letter-spacing:.14em;color:#ff9f96;margin-bottom:3px}.journey-road-popup strong{font-size:13px}.journey-popup-data{display:flex;gap:14px;margin-top:8px;padding-top:7px;border-top:1px solid rgba(195,218,229,.18)}.journey-popup-data span{display:grid;gap:2px;color:#aac2cf;font-size:9px}.journey-popup-data b{color:#fff;font-size:11px}
@media(max-width:900px){.header-place-search{display:none}.overview-card-metrics{display:grid!important}.route-overview,body.spatial-open .route-overview{max-height:245px}.overview-card{min-width:190px;min-height:196px}.overview-card-action{font-size:9px}.route-overview-heading .overview-estimate-note{display:none}}
@media(max-width:520px){.route-overview{max-height:228px}.overview-card{min-width:178px}.overview-card-main strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){.header-place-search{transition:none}.marker.origin-marker,.marker.destination-marker{box-shadow:0 3px 10px rgba(7,17,29,.4)}}

/* Raw journey bars: length represents amount, not a relative 100-point score. */
.overview-card .overview-metric{grid-template-columns:43px minmax(0,1fr) 60px}
.overview-card .overview-metric small{font-variant-numeric:tabular-nums;white-space:nowrap}
.overview-card .overview-metric:nth-child(2) i b{background:#74b8f8}
.overview-card .overview-metric:nth-child(3) i b{background:#ffad79}
.park-alt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0 10px}
.park-alt-card{min-width:0;padding:10px;border:1px solid #dce7ed;border-radius:11px;background:#fff;color:#263e50;text-align:left;font:inherit;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.park-alt-card strong{display:block;font-size:10px;line-height:1.3}.park-alt-card small{display:block;margin-top:4px;color:#68808d;font-size:9px;line-height:1.25}
.park-alt-card:hover,.park-alt-card:focus-visible{border-color:#f48a7e;background:#fff5f3;transform:translateY(-1px);outline:none}
.park-alt-card.active{border-color:#ef6d60;background:#fff1ee;box-shadow:inset 3px 0 #ef6d60}
body.product-layout #park-option{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.alternative-note{margin:7px 0 3px;color:#567082;font-size:10px;line-height:1.4}


/* === v23: Search Nearby position + modern toggles + warmer journey palette === */

/* Search Nearby: keep it high on the right, below header, instead of near the bottom. */
#route-tools-panel{
  top:96px!important;
  right:18px!important;
  bottom:auto!important;
  left:auto!important;
  width:min(360px,calc(100vw - 36px))!important;
  max-height:calc(100dvh - 118px)!important;
  border-radius:18px!important;
  transform:none!important;
  overflow:visible!important;
  z-index:58!important;
}
#route-tools-panel.collapsed{
  transform:translateX(calc(100% + 24px))!important;
}
#route-tools-content{
  max-height:calc(100dvh - 145px)!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
}

/* Compact floating circular toggle, inspired by the user's reference. */
.route-tools-drawer-toggle,
.spatial-panel-toggle{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.22)!important;
  background:rgba(229,232,234,.82)!important;
  color:#66788a!important;
  box-shadow:0 7px 20px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(12px)!important;
  display:grid!important;
  place-items:center!important;
}
.route-tools-drawer-toggle{
  position:absolute!important;
  left:-50px!important;
  right:auto!important;
  top:0!important;
}
.route-tools-drawer-toggle::before{display:none!important;content:none!important}
.route-tools-drawer-toggle svg{width:18px!important;height:18px!important;order:initial!important}
#route-tools-panel.collapsed .route-tools-drawer-toggle svg{transform:rotate(0deg)}
#route-tools-panel:not(.collapsed) .route-tools-drawer-toggle svg{transform:rotate(180deg)}
.spatial-panel-toggle-label,.spatial-panel-toggle-chevron{display:none!important}
.spatial-panel-toggle-icon{width:19px!important;height:19px!important}

/* Journey planner: reduce the blue-on-blue feeling with neutral charcoal + warm coral. */
body.product-layout #info-panel{
  background:linear-gradient(155deg,rgba(34,43,49,.97),rgba(24,34,40,.97))!important;
  border-color:rgba(220,205,190,.20)!important;
}
body.product-layout #spatial-panel-toggle{
  background:rgba(232,229,224,.84)!important;
  color:#65717b!important;
  border-color:rgba(255,255,255,.24)!important;
}
body.product-layout .product-panel-intro>span,
body.product-layout .product-section-label{
  color:#e5d5c8!important;
}
body.product-layout .product-panel-intro p{color:#b8c0c2!important}
body.product-layout .location-dock-content,
body.product-layout .location-dock-body,
body.product-layout .route-search-field,
body.product-layout .point-pick-panel,
body.product-layout .journey-direction-switch,
body.product-layout .live-departure-card{
  background:rgba(62,66,66,.56)!important;
  border-color:rgba(221,211,200,.18)!important;
}
body.product-layout .route-search-field:first-of-type{
  box-shadow:inset 3px 0 0 rgba(255,111,99,.55)!important;
}
body.product-layout .route-search-field:nth-of-type(2){
  box-shadow:inset 3px 0 0 rgba(193,178,156,.48)!important;
}
body.product-layout .point-pick-btn,
body.product-layout .nearby-scope-btn{
  background:rgba(75,75,71,.70)!important;
  border-color:rgba(221,211,198,.20)!important;
  color:#f1ece7!important;
}
body.product-layout .point-pick-btn:hover,
body.product-layout .nearby-scope-btn:hover{
  border-color:rgba(255,126,113,.55)!important;
  background:rgba(88,75,70,.78)!important;
}
body.product-layout .journey-direction-btn.active{
  background:linear-gradient(135deg,#ff7166,#e95f57)!important;
  color:#fff!important;
}
body.product-layout .route-search-label{color:#d4c5ba!important}
body.product-layout .route-search-input{color:#f7f3ef!important}
body.product-layout .route-search-input::placeholder{color:#a8aaa8!important}

/* A/B chips: coral + warm stone rather than coral + cyan. */
body.product-layout .route-search-field:first-of-type::before,
body.product-layout .point-pick-row:first-child .point-pick-badge{
  color:#ff8c82!important;
}
body.product-layout .route-search-field:nth-of-type(2)::before,
body.product-layout .point-pick-row:nth-child(2) .point-pick-badge{
  color:#d5bda6!important;
}

/* Phone: Search Nearby becomes a top-right drawer and no longer lives at the bottom. */
@media(max-width:900px){
  #route-tools-panel{
    top:78px!important;
    right:8px!important;
    left:auto!important;
    bottom:auto!important;
    width:min(330px,calc(100vw - 58px))!important;
    max-height:calc(100dvh - 158px)!important;
    border-radius:18px!important;
  }
  #route-tools-panel.collapsed{
    transform:translateX(calc(100% + 16px))!important;
  }
  #route-tools-content{
    max-height:calc(100dvh - 184px)!important;
    overflow-y:auto!important;
  }
  .route-tools-drawer-toggle{
    left:-48px!important;
    top:4px!important;
    width:40px!important;height:40px!important;
  }
}

/* Transparent map-first header and mobile interaction cleanup. Keep this after
   the legacy overrides so one set of rules owns the final responsive layout. */
#header{
  position:absolute!important;
  inset:0 0 auto 78px!important;
  width:auto!important;
  height:72px!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(180px,360px) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:8px 18px!important;
  background:rgba(7,20,31,.08)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  z-index:65!important;
}
#header:after,.top-header::after{display:none!important}
#header .brand{min-width:0!important;overflow:hidden!important}
#header .brand{
  width:max-content;max-width:100%;padding:3px 9px 3px 4px;
  border-radius:14px;background:rgba(8,27,40,.54);
}
#header .brand-copy{min-width:0!important;overflow:hidden!important}
#header h1{color:#fff!important;text-shadow:0 2px 12px rgba(0,12,25,.9)}
#header .brand-mark{filter:drop-shadow(0 3px 9px rgba(0,14,28,.75))}
#header .header-actions{min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:8px!important}
#header .header-gis-assistant,#header .gps-button,#header .header-badge{
  background:rgba(10,29,43,.50)!important;
  border:1px solid rgba(220,239,250,.30)!important;
  box-shadow:0 4px 16px rgba(0,13,25,.18)!important;
}
#header .header-gis-assistant{width:auto!important;max-width:360px!important;margin:0!important}
#map{height:100vh!important;height:100dvh!important}

/* A and B remain anchored by MapLibre at the SVG tip; only the SVG animates. */
.marker.journey-pin-v18,
.marker.journey-pin-v18.origin-marker,
.marker.journey-pin-v18.destination-marker{
  width:44px!important;height:58px!important;rotate:0deg!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;overflow:visible!important;
}
.marker.journey-pin-v18::after{display:none!important}
.marker.journey-pin-v18 svg{
  display:block!important;width:44px!important;height:58px!important;
  filter:drop-shadow(0 7px 8px rgba(0,14,30,.48));
  transition:scale .18s ease,filter .18s ease;
}
.marker.journey-pin-v18:hover svg,
.marker.journey-pin-v18:focus-visible svg{
  scale:1.12;filter:drop-shadow(0 0 10px rgba(255,255,255,.6)) drop-shadow(0 8px 10px rgba(0,14,30,.45));
}
.marker.journey-pin-v18.origin-marker .jp-shell{fill:url(#ctc-pin-origin)!important}
.marker.journey-pin-v18.destination-marker .jp-shell{fill:url(#ctc-pin-destination)!important}
.marker.journey-pin-v18 .jp-shell{stroke:rgba(255,255,255,.96)!important;stroke-width:2!important}
.marker.journey-pin-v18 .jp-ring{fill:rgba(255,255,255,.23);stroke:rgba(255,255,255,.75);stroke-width:1}
.marker.journey-pin-v18 .jp-core{fill:#fff!important}
.marker.journey-pin-v18 .jp-letter{fill:#17364a!important;font:800 12px Inter,system-ui,sans-serif}
.marker.journey-pin-v18 .jp-label{
  display:block!important;visibility:hidden;opacity:0;left:48px!important;top:7px!important;
  transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;
  background:rgba(9,29,43,.88)!important;
}
.marker.journey-pin-v18:hover .jp-label,
.marker.journey-pin-v18:focus-visible .jp-label{visibility:visible;opacity:1;transform:translateY(0)}

@media(max-width:900px){
  html,body{max-width:100vw;overflow-x:clip!important}
  .welcome-screen{width:100vw;max-width:100vw;overflow-x:hidden}
  .welcome-shell{width:calc(100% - 24px)!important;max-width:560px;min-width:0;padding:20px 0 28px}
  .welcome-hero{display:block;width:100%;min-width:0;padding:34px 0 24px}
  .welcome-intro{width:100%;min-width:0;margin:0 auto 22px}
  .welcome-intro h1{font-size:clamp(34px,9vw,54px);line-height:1.04}
  .welcome-intro p{font-size:13px;line-height:1.5;margin-top:14px}
  .welcome-actions{width:100%;max-width:360px;min-width:0;grid-template-columns:minmax(0,1fr);gap:12px;margin:auto}
  .welcome-action{width:100%;min-width:0;min-height:172px;padding:18px;border-radius:20px;backdrop-filter:none}
  .welcome-action-icon{width:44px;height:44px;margin-bottom:14px;border-radius:13px}
  .welcome-action strong{font-size:18px}.welcome-action small{font-size:11px;margin-top:5px}
  .welcome-action-arrow{margin-top:12px}
  .welcome-feature-grid{grid-template-columns:minmax(0,1fr)}
  #header{
    inset:env(safe-area-inset-top,0px) 0 auto 0!important;
    height:60px!important;
    min-height:60px!important;
    grid-template-columns:minmax(0,1fr) 42px 42px!important;
    grid-template-areas:"brand assistant actions"!important;
    gap:6px!important;padding:6px 10px!important;
    background:transparent!important;
  }
  #header .brand{grid-area:brand!important;gap:5px!important}
  #header .brand-mark{width:34px!important;height:34px!important;flex-basis:34px!important}
  #header .brand-mark svg{width:31px!important;height:31px!important}
  #header h1{font-size:clamp(11px,3.4vw,15px)!important;line-height:1.05!important}
  #header .brand-tagline,#header .brand-kicker,#header .route-direction-header,#header .gps-status-text,#header .header-badges{display:none!important}
  #header .header-gis-assistant{grid-area:assistant!important;width:42px!important;height:42px!important;padding:4px!important;order:initial!important}
  #header .header-actions{grid-area:actions!important;width:42px!important;gap:0!important}
  #header .gps-button{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;justify-content:center!important}
  #header .gps-label{display:none!important}
  #route-tools-panel.collapsed{
    right:8px!important;left:auto!important;width:40px!important;height:40px!important;
    min-width:40px!important;min-height:40px!important;max-height:40px!important;
    padding:0!important;transform:none!important;background:transparent!important;
    border:0!important;box-shadow:none!important;pointer-events:none!important;
  }
  #route-tools-panel.collapsed #route-tools-content{display:none!important}
  #route-tools-panel.collapsed .route-tools-drawer-toggle{
    left:0!important;right:auto!important;top:0!important;pointer-events:auto!important;
  }
  .product-rail{bottom:0!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;height:calc(66px + env(safe-area-inset-bottom,0px))!important}
  .route-overview,body.spatial-open .route-overview{bottom:calc(74px + env(safe-area-inset-bottom,0px))!important}
  body.spatial-open .route-overview{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  #info-panel{bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;max-height:min(68dvh,620px)!important}
  #info-panel #spatial-panel-content{max-height:calc(min(68dvh,620px) - 42px)!important}
  .gis-assistant{top:calc(66px + env(safe-area-inset-top,0px))!important}
  .maplibregl-ctrl-top-right{top:66px!important}
  .marker.journey-pin-v18 .jp-label{display:none!important}
  /* Large translucent sheets and continuously blurred layers cause touch lag. */
  #info-panel,.route-overview,#route-tools-panel,#traffic-map-panel,.gis-assistant-card,.basemap-switcher{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  #info-panel{background:rgba(29,37,42,.97)!important}
  .route-overview{background:rgba(12,31,44,.97)!important}
  .overview-cards{touch-action:pan-x!important;overscroll-behavior-x:contain!important}
  #spatial-panel-content,#route-tools-content{overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important}
}
@media(max-width:360px){
  #header{grid-template-columns:minmax(0,1fr) 38px 38px!important;padding-inline:7px!important}
  #header .header-gis-assistant,#header .gps-button{width:38px!important;height:38px!important;min-width:38px!important}
  #header .brand-mark{width:30px!important;height:30px!important;flex-basis:30px!important}
}
@media(prefers-reduced-motion:reduce){.marker.journey-pin-v18 svg,.marker.journey-pin-v18 .jp-label{transition:none!important}}

/* Reference-style header: floating brand, useful search entry, live status. */
#header{
  grid-template-columns:minmax(175px,1fr) minmax(240px,440px) minmax(190px,1fr)!important;
  gap:18px!important;
  background:transparent!important;
}
#header .brand{background:rgba(8,27,40,.26);padding:4px 10px 4px 4px}
#header h1{font-size:22px!important;letter-spacing:-.04em!important}
#header .brand-tagline .ctc-pill{font-size:10px!important;font-weight:600!important;color:#dceaf3!important;letter-spacing:.04em}
#header .route-direction-header{display:none!important}
#header .header-place-search{
  display:flex!important;align-items:center!important;gap:12px!important;
  width:100%!important;max-width:440px!important;height:46px!important;
  padding:0 16px!important;margin:0!important;
  border:1px solid rgba(255,255,255,.78)!important;border-radius:999px!important;
  background:linear-gradient(110deg,rgba(244,249,255,.96),rgba(224,236,249,.94))!important;
  color:#536b7b!important;box-shadow:0 6px 20px rgba(4,18,32,.16)!important;
  text-align:left!important;font:500 12px Inter,ui-sans-serif,system-ui,sans-serif!important;
  cursor:pointer;
}
#header .header-place-search:hover,#header .header-place-search:focus-visible{
  background:#fff!important;box-shadow:0 0 0 3px rgba(255,115,103,.20),0 8px 24px rgba(4,18,32,.22)!important;
  outline:none!important;
}
#header .header-place-search svg{width:20px;height:20px;flex:none;color:#1d3548}
#header .header-place-search span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#header .header-place-search kbd{font:700 12px Inter,system-ui,sans-serif;color:#698092;border:0;background:transparent}
#header .header-actions{justify-self:end!important;gap:10px!important}
#header .header-badge.live{
  display:flex;flex-direction:column;justify-content:center;position:relative;
  min-width:114px;min-height:44px;padding:6px 12px 6px 33px;
  border:1px solid rgba(217,235,248,.28)!important;border-radius:14px;
  background:rgba(10,29,43,.50)!important;
  color:#f7fbff;font-size:11px;font-weight:650;
}
#header .header-badge.live:before{position:absolute;left:14px;top:17px;margin:0}
#header .header-badge.live:not(.is-live):before{background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.13)}
#header .header-badge.live strong{font-size:11px;line-height:1.15}
#header .header-badge.live small{font-size:9px;font-weight:500;color:#a9c2d0;margin-top:2px}
#header .header-assistant-shortcut,#header .gps-button{
  flex:none;display:grid!important;place-items:center!important;
  width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;
  border:1px solid rgba(217,235,248,.27)!important;border-radius:14px!important;
  background:rgba(10,29,43,.50)!important;color:#e8f5fb!important;
  box-shadow:0 5px 17px rgba(0,14,27,.18)!important;cursor:pointer;
}
#header .header-assistant-shortcut{font:700 21px/1 Inter,system-ui,sans-serif}
#header .header-assistant-shortcut:hover,#header .gps-button:hover{background:rgba(31,61,78,.76)!important;border-color:rgba(255,255,255,.5)!important}
#header .gps-button svg{width:18px;height:18px}
#header .gps-label,#header .gps-status-text{display:none!important}

@media(max-width:1100px) and (min-width:901px){
  #header{grid-template-columns:minmax(165px,1fr) minmax(220px,380px) auto!important;gap:10px!important;padding-inline:12px!important}
  #header .brand-mark{width:40px!important;height:40px!important;flex-basis:40px!important}
  #header h1{font-size:18px!important}
  #header .header-badge.live{min-width:100px}
}
@media(max-width:900px){
  #header{
    grid-template-columns:minmax(0,1fr) 42px 88px!important;
    grid-template-areas:"brand search actions"!important;
    gap:5px!important;
  }
  #header .brand{grid-area:brand!important;min-width:0;background:rgba(8,27,40,.38)}
  #header h1{font-size:clamp(12px,3.5vw,16px)!important}
  #header .header-place-search{
    grid-area:search!important;width:42px!important;height:42px!important;min-width:42px!important;
    padding:0!important;justify-content:center!important;border-radius:14px!important;
    background:rgba(231,243,251,.94)!important;
  }
  #header .header-place-search svg{width:19px;height:19px}
  #header .header-place-search span,#header .header-place-search kbd{display:none!important}
  #header .header-actions{grid-area:actions!important;width:88px!important;gap:4px!important}
  #header .header-badges{display:none!important}
  #header .header-assistant-shortcut,#header .gps-button{width:42px!important;height:42px!important;min-width:42px!important}
}
@media(max-width:360px){
  #header{grid-template-columns:minmax(0,1fr) 38px 80px!important;gap:4px!important}
  #header .header-place-search{width:38px!important;height:38px!important;min-width:38px!important}
  #header .header-actions{width:80px!important;gap:4px!important}
  #header .header-assistant-shortcut,#header .gps-button{width:38px!important;height:38px!important;min-width:38px!important}
}

/* v24: location search lives only in Rotalar > A/B */
#header{grid-template-columns:minmax(250px,1fr) auto!important;column-gap:18px!important}
#header .brand{min-width:0!important}
#header .header-actions{margin-left:auto!important;justify-self:end!important}
.header-place-search,#header-place-search{display:none!important}
@media(max-width:900px){#header{grid-template-columns:minmax(0,1fr) auto!important;column-gap:8px!important}}


/* === v25: stable route pins + subtle glass navigation chrome === */

/* Left navigation rail only: same glass family as header, more transparent. */
.product-rail{
  background:
    linear-gradient(180deg,rgba(12,31,46,.76),rgba(9,27,42,.72))!important;
  border-right:1px solid rgba(190,216,230,.16)!important;
  box-shadow:7px 0 26px rgba(3,16,28,.10)!important;
  backdrop-filter:blur(15px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(15px) saturate(112%)!important;
}

/* Header: only a very light smoky/aged veil; keep readability and hierarchy. */
#header{
  background:
    radial-gradient(circle at 18% 20%,rgba(255,255,255,.035),transparent 28%),
    radial-gradient(circle at 78% 70%,rgba(151,178,191,.025),transparent 34%),
    linear-gradient(105deg,rgba(15,28,42,.88),rgba(10,34,50,.86))!important;
  border-bottom:1px solid rgba(190,216,230,.16)!important;
  box-shadow:0 8px 28px rgba(3,18,31,.16)!important;
  backdrop-filter:blur(14px) saturate(108%)!important;
  -webkit-backdrop-filter:blur(14px) saturate(108%)!important;
}

/* Do not let CSS transforms move MapLibre's marker container.
   MapLibre owns transform for geographic screen positioning. */
.maplibregl-marker.marker.journey-pin-v18{
  position:absolute!important;
  top:0!important;
  left:0!important;
  translate:none!important;
  rotate:0deg!important;
  transform-origin:center bottom!important;
}

/* During live navigation the selected 3D model is the origin indicator. */
.maplibregl-marker.marker.journey-pin-v18.navigation-origin-hidden{
  visibility:hidden!important;
  pointer-events:none!important;
}
.maplibregl-marker.marker.journey-pin-v18 svg{
  transform:none!important;
  transform-origin:center bottom!important;
}
.maplibregl-marker.marker.journey-pin-v18:hover svg,
.maplibregl-marker.marker.journey-pin-v18:focus-visible svg{
  transform:scale(1.08)!important;
}



/* === v27: tighter header + minimalist route pins === */
#header{
  left:0!important;
  right:0!important;
  top:0!important;
  width:100%!important;
  padding-left:18px!important;
  background:
    linear-gradient(105deg,rgba(15,28,42,.93),rgba(10,34,50,.91))!important;
  border-bottom:1px solid rgba(190,216,230,.07)!important;
  box-shadow:0 5px 18px rgba(3,18,31,.08)!important;
  backdrop-filter:blur(12px) saturate(106%)!important;
  -webkit-backdrop-filter:blur(12px) saturate(106%)!important;
}
#header .brand{margin-left:0!important;padding-left:0!important}
#header .brand-logo{margin-left:0!important}

/* Smaller pins; anchor stays bottom so the exact tip remains the coordinate. */
.marker.journey-pin-v18,
.marker.journey-pin-v18.origin-marker,
.marker.journey-pin-v18.destination-marker,
.maplibregl-marker.marker.journey-pin-v18{
  width:30px!important;
  height:40px!important;
}
.marker.journey-pin-v18 svg,
.maplibregl-marker.marker.journey-pin-v18 svg{
  width:30px!important;
  height:40px!important;
}
.journey-pin-v18 .jp-shell{stroke-width:1.8!important}
.journey-pin-v18 .jp-ring{stroke-width:1.4!important}
.journey-pin-v18 .jp-letter{font-size:10px!important}
.journey-pin-v18 .jp-label{
  left:34px!important;
  top:3px!important;
  font-size:9px!important;
  padding:5px 7px!important;
}
@media(max-width:760px){
  #header{padding-left:10px!important}
  .marker.journey-pin-v18,
  .maplibregl-marker.marker.journey-pin-v18{width:28px!important;height:37px!important}
  .marker.journey-pin-v18 svg,
  .maplibregl-marker.marker.journey-pin-v18 svg{width:28px!important;height:37px!important}
}


/* === v29: GTFS map layers panel === */
.map-layers-panel{
  position:absolute;z-index:22;left:92px;top:88px;width:330px;
  padding:16px;border-radius:18px;
  background:rgba(12,28,42,.91);border:1px solid rgba(190,216,230,.13);
  box-shadow:0 18px 42px rgba(2,14,25,.22);
  backdrop-filter:blur(16px) saturate(110%);-webkit-backdrop-filter:blur(16px) saturate(110%);
  color:#edf6fb;transition:opacity .18s ease,transform .18s ease;
}
.map-layers-panel.collapsed{opacity:0;pointer-events:none;transform:translateX(-12px)}
.map-layers-head{display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:13px}
.map-layers-head>div{flex:1}.map-layers-head span{font-size:9px;letter-spacing:1.5px;color:#89a5b6}
.map-layers-head h3{margin:4px 0 4px;font-size:18px}.map-layers-head p{margin:0;color:#9eb2bf;font-size:11px;line-height:1.45}
.map-layers-head button{width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:#dceaf2;font-size:18px;cursor:pointer}
.map-layer-list{display:grid;gap:8px;margin-top:13px}.map-layer-row{position:relative;display:grid;grid-template-columns:36px 1fr auto auto;align-items:center;gap:10px;padding:11px;border-radius:13px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.055);cursor:pointer}
.layer-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;font-size:11px;font-weight:900}
.layer-symbol.metro{background:rgba(125,211,252,.13);color:#8edcff;border:1px solid rgba(125,211,252,.24)}
.layer-symbol.bus{background:rgba(255,139,120,.12);color:#ff9d8d;border:1px solid rgba(255,139,120,.22)}
.layer-copy{display:flex;flex-direction:column;gap:3px}.layer-copy b{font-size:12px}.layer-copy small{font-size:9px;color:#8ea5b4}
.map-layer-row input{position:absolute;opacity:0}.layer-switch{width:34px;height:19px;border-radius:12px;background:#344657;position:relative;transition:.18s}
.layer-switch:after{content:"";position:absolute;width:13px;height:13px;border-radius:50%;background:#d8e5ec;left:3px;top:3px;transition:.18s}
.map-layer-row input:checked+.layer-switch{background:#4e93ad}.map-layer-row input:checked+.layer-switch:after{transform:translateX(15px);background:white}
.map-layer-row:has(input:checked){background:rgba(92,180,214,.10);border-color:rgba(111,205,236,.22);box-shadow:inset 0 0 18px rgba(48,170,211,.055)}
.layer-map-legend{--legend:#ff756b;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--legend) 38%,transparent);color:rgba(248,253,255,.94);font:800 8px/1 Inter,system-ui,sans-serif;box-shadow:0 0 7px color-mix(in srgb,var(--legend) 48%,transparent),0 0 14px color-mix(in srgb,var(--legend) 24%,transparent);justify-self:end}
.layer-map-legend.marmaray{--legend:#6f83ff}.layer-map-legend.tram{--legend:#facc15}.layer-map-legend.metrobus{--legend:#ff7a66}.layer-map-legend.bus{--legend:#ff8b78}.layer-map-legend.ferry{--legend:#22d3ee}.layer-map-legend.minibus{--legend:#fb923c}.layer-map-legend.dolmus{--legend:#f472b6}.layer-map-legend.cable{--legend:#34d399}
.map-layers-note{margin-top:11px;font-size:9px;line-height:1.45;color:#7f98a8}
.stop-popup{min-width:160px}.stop-popup small{display:block;font-size:8px;letter-spacing:1px;opacity:.6}.stop-popup strong{display:block;margin:4px 0;font-size:13px}.stop-popup em{font-style:normal;font-size:9px;opacity:.65}
.stop-popup-lines{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.stop-popup-lines span{font-size:8px;padding:3px 5px;border-radius:5px;background:rgba(72,125,155,.12)}
.amenity-action-popup .maplibregl-popup-content{min-width:230px;padding:15px;border:1px solid rgba(230,83,69,.18);border-radius:18px;background:rgba(255,252,250,.98);box-shadow:0 18px 42px rgba(39,18,16,.24);color:#351b19}
.amenity-popup-eyebrow{font-size:8px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#d64e43}
.amenity-popup-title{display:block;margin-top:5px;font-size:14px}.amenity-popup-address{margin-top:4px;font-size:9px;line-height:1.4;color:#7c625e}.amenity-popup-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding-top:8px;border-top:1px solid #f2dfdc;font-size:9px;color:#76504c}.amenity-popup-meta .walk-time-pill{margin-top:0;white-space:nowrap}
.amenity-popup-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:7px;margin-top:10px}.amenity-popup-actions button{min-height:34px;border:1px solid #f2b9b2;border-radius:10px;background:#fff;color:#b83d34;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.amenity-popup-actions button:last-child{border-color:transparent;background:linear-gradient(135deg,#e65345,#ff7969);color:#fff;box-shadow:0 6px 14px rgba(230,83,69,.22)}.amenity-popup-actions button:disabled{opacity:.72;cursor:default}

/* Unified CTC Balance brand artwork. */
#header .brand-mark,.welcome-brand-mark,.map-entry-mark{overflow:hidden;background:#061424!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 8px 24px rgba(0,0,0,.28),0 0 18px rgba(255,91,85,.12)!important}
#header .brand-mark img,.welcome-brand-mark img,.map-entry-mark img{display:block;width:100%;height:100%;object-fit:cover}
#header .brand-mark img{border-radius:12px}
.welcome-brand-mark img{border-radius:13px}
.map-entry-mark img{border-radius:16px}
.welcome-nav{min-height:176px}
.welcome-brand-mark{width:220px!important;height:220px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.welcome-brand-mark img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important;filter:drop-shadow(0 14px 24px rgba(0,0,0,.26))}
@media(max-width:760px){.welcome-nav{min-height:126px}.welcome-brand-mark{width:154px!important;height:154px!important}}
@media(max-width:760px){.map-layers-panel{left:72px;top:76px;width:min(310px,calc(100vw - 84px));max-height:calc(100dvh - 100px);overflow:auto}}

/* Symbol-only header, transition mark and navigation-style GPS pointer. */
#header .brand{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#header .brand-mark{width:76px!important;height:48px!important;flex:0 0 76px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 5px 10px rgba(0,0,0,.32))!important;overflow:visible!important}
#header .brand-mark img,.map-entry-mark img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important}
.header-wordmark{display:flex;min-width:168px;flex-direction:column;align-items:flex-start;color:#f7fbff;white-space:nowrap;text-shadow:0 2px 10px rgba(0,0,0,.32)}
.header-wordmark-title{font-size:18px;font-weight:400;line-height:.94;letter-spacing:-.045em}.header-wordmark-title strong{font-weight:900}
.header-wordmark-values{display:flex;align-items:center;gap:7px;margin-top:5px;color:#c9d5df;font-size:6.5px;font-weight:650;letter-spacing:.28em;text-transform:uppercase}
.header-wordmark-values i{width:4px;height:4px;border-radius:50%;background:#ff6258;box-shadow:none}
.header-wordmark-rule{width:26px;height:2px;margin:4px 0 3px 58px;border-radius:2px;background:#ff6258}
.header-wordmark small{color:#b6c5d0;font-size:6.5px;font-weight:500;line-height:1;letter-spacing:.18em}
.map-entry-mark{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.gps-user-marker{position:relative;width:34px!important;height:40px!important;border:0!important;border-radius:0!important;background:transparent!important;filter:drop-shadow(0 5px 7px rgba(2,10,20,.46));box-shadow:none!important}
.gps-user-marker:before{content:"";position:absolute;z-index:-1;inset:8px 5px 3px;border-radius:50%;background:rgba(255,92,82,.28);filter:blur(7px);animation:gpsArrowPulse 1.8s ease-in-out infinite}
.gps-user-marker svg{display:block;width:34px;height:40px;overflow:visible}
.gps-arrow-shell{fill:#ff5f56;stroke:#fff;stroke-width:1.5;stroke-linejoin:round}
.gps-arrow-face{fill:#fff;stroke:#ff8a80;stroke-width:.7;stroke-linejoin:round}
.gps-arrow-spine{fill:none;stroke:#d83f38;stroke-width:1.2;stroke-linecap:round;opacity:.8}
.gps-anchor-point{fill:#ff5f56;stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke}
.gps-user-marker{transition:opacity .18s ease,visibility .18s ease}
.gps-user-marker.journey-model-primary{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.origin-use-gps{position:absolute;right:25px;top:4px;width:23px;height:23px;padding:0;border:0;border-radius:7px;display:grid;place-items:center;background:transparent;color:#75d9f2;cursor:pointer;transition:.16s ease}
.origin-use-gps svg{width:14px;height:14px}.origin-use-gps:hover{background:rgba(77,190,220,.14);color:#b7effb}.origin-use-gps.locating svg{animation:gpsOriginPulse .8s ease-in-out infinite}.origin-use-gps:disabled{cursor:wait;opacity:.8}
#origin-search-input{padding-right:53px!important}
@keyframes gpsOriginPulse{50%{transform:scale(.76);opacity:.45}}
#header .navigation-start-button{flex:none!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border:1px solid rgba(217,235,248,.27)!important;border-radius:14px!important;background:rgba(10,29,43,.50)!important;color:#e8f5fb!important;box-shadow:0 5px 17px rgba(0,14,27,.18)!important;cursor:pointer!important;overflow:hidden!important}
#header .navigation-start-button svg{display:block!important;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}
#header .navigation-start-button span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
#header .navigation-start-button:hover{background:rgba(31,61,78,.76)!important;border-color:rgba(255,255,255,.5)!important}
#header .navigation-start-button.active{color:#fff!important;background:linear-gradient(135deg,rgba(255,95,86,.94),rgba(222,68,63,.88))!important;border-color:rgba(255,190,184,.8)!important;box-shadow:0 0 0 1px rgba(255,117,106,.2),0 0 22px rgba(255,91,82,.3)!important}
#header .navigation-start-button.paused{background:rgba(20,47,64,.9)!important;border-color:rgba(255,184,112,.7)!important;color:#ffd8ae!important}
@media(max-width:900px){#header .header-actions{width:auto!important}}
@media(max-width:360px){#header .navigation-start-button{width:38px!important;height:38px!important;min-width:38px!important}}
@keyframes gpsArrowPulse{0%,100%{transform:scale(.85);opacity:.45}50%{transform:scale(1.2);opacity:.9}}
@media(max-width:760px){#header .brand-mark{width:54px!important;height:38px!important;flex-basis:54px!important}.header-wordmark{min-width:132px}.header-wordmark-title{font-size:14px}.header-wordmark-values{gap:4px;margin-top:3px;font-size:4.8px;letter-spacing:.2em}.header-wordmark-values i{width:3px;height:3px}.header-wordmark-rule{width:20px;height:1.5px;margin:3px 0 2px 43px}.header-wordmark small{font-size:4.7px;letter-spacing:.12em}}
@media(max-width:390px){.header-wordmark{min-width:112px}.header-wordmark-title{font-size:12px}.header-wordmark-values{font-size:4.2px;gap:3px}.header-wordmark small{font-size:4.1px}}

/* v30 extended Istanbul transit layers */
.layer-symbol.marmaray{background:rgba(96,165,250,.13);color:#7fb4ff;border:1px solid rgba(96,165,250,.24)}
.layer-symbol.tram{background:rgba(250,204,21,.12);color:#f8d64d;border:1px solid rgba(250,204,21,.22)}
.layer-symbol.metrobus{background:rgba(255,122,102,.13);color:#ff8e7c;border:1px solid rgba(255,122,102,.28);font-size:17px}
.layer-symbol.ferry{background:rgba(34,211,238,.12);color:#63dceb;border:1px solid rgba(34,211,238,.22)}
.layer-symbol.minibus{background:rgba(251,146,60,.12);color:#ffa45f;border:1px solid rgba(251,146,60,.22)}
.layer-symbol.dolmus{background:rgba(244,114,182,.12);color:#f58fbe;border:1px solid rgba(244,114,182,.22)}
.layer-symbol.cable{background:rgba(52,211,153,.12);color:#66d9a8;border:1px solid rgba(52,211,153,.22)}
.map-layers-panel{max-height:calc(100vh - 118px);overflow:auto;scrollbar-width:thin}

/* Map amenity pins: a shared shape with a subtle category accent. */
.poi-marker:is(.coffee,.bakery,.gift){
    --pin-ink:#ce5549;
    --pin-tint:#fff0ed;
    position:relative;
    width:42px;
    height:42px;
    border:2px solid rgba(255,255,255,.98);
    border-radius:15px;
    background:#fffaf8!important;
    color:var(--pin-ink)!important;
    box-shadow:0 3px 0 rgba(132,60,53,.12),0 9px 24px rgba(66,32,29,.24);
    isolation:isolate;
    /* MapLibre owns the marker element transform used for exact positioning. */
    transition:box-shadow .18s ease;
}
.poi-marker:is(.coffee,.bakery,.gift)::before{
    content:"";
    position:absolute;
    inset:5px;
    z-index:0;
    border-radius:10px;
    background:var(--pin-tint);
}
.poi-marker:is(.coffee,.bakery,.gift)::after{
    content:"";
    position:absolute;
    left:calc(50% - 5px);
    bottom:-6px;
    width:10px;
    height:10px;
    z-index:-1;
    border-right:2px solid #fff;
    border-bottom:2px solid #fff;
    border-radius:0 0 3px 0;
    background:#fffaf8;
    transform:rotate(45deg);
    box-shadow:3px 3px 6px rgba(66,32,29,.10);
}
.poi-marker:is(.coffee,.bakery,.gift) svg{
    width:22px;
    height:22px;
    display:block;
    overflow:visible;
    position:relative;
    z-index:1;
    transition:transform .18s ease;
}
.poi-marker.coffee{--pin-ink:#905245;--pin-tint:#f7e9e4;color:var(--pin-ink)!important}
.poi-marker.bakery{--pin-ink:#a8613c;--pin-tint:#fff0df;color:var(--pin-ink)!important}
.poi-marker.gift{--pin-ink:#c85259;--pin-tint:#ffeaec;color:var(--pin-ink)!important}
.poi-marker:is(.coffee,.bakery,.gift):hover,
.poi-marker:is(.coffee,.bakery,.gift):focus-visible{
    box-shadow:0 3px 0 rgba(132,60,53,.12),0 14px 30px rgba(66,32,29,.29);
}
.poi-marker:is(.coffee,.bakery,.gift):hover svg,
.poi-marker:is(.coffee,.bakery,.gift):focus-visible svg{transform:scale(1.08)}
.poi-marker:is(.coffee,.bakery,.gift):focus-visible{outline:3px solid #22b8a6;outline-offset:3px}
@media(prefers-reduced-motion:reduce){
    .poi-marker:is(.coffee,.bakery,.gift),
    .poi-marker:is(.coffee,.bakery,.gift) svg{transition:none}
}

/* MapLibre owns the absolute-positioned outer marker; style only its child. */
.amenity-marker-anchor{width:42px;height:42px}

/* v31 mobile journey sheet: use the full safe viewport and keep the primary
   action reachable while the planner body scrolls behind it. */
@media(max-width:900px){
  body.product-layout #info-panel{
    top:calc(66px + env(safe-area-inset-top,0px))!important;
    bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;
    max-height:none!important;
    height:auto!important;
    padding-bottom:10px!important;
    overflow:hidden!important;
  }
  body.product-layout #info-panel #spatial-panel-content{
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    scroll-padding-top:8px;
    scroll-padding-bottom:76px;
  }
  body.product-layout .product-planning{
    min-height:0;
    padding-bottom:4px;
  }
  body.product-layout #route-search-analyze{
    position:sticky!important;
    z-index:12!important;
    bottom:0!important;
    min-height:48px!important;
    margin:10px 0 8px!important;
    box-shadow:0 -9px 18px rgba(25,34,40,.82),0 8px 20px rgba(239,100,88,.30)!important;
  }
  body.product-layout #route-search-analyze.mobile-ready{
    animation:mobileAnalyzeReady .7s ease-out 1;
  }
  @keyframes mobileAnalyzeReady{
    0%{transform:scale(.96);filter:brightness(1.35)}
    60%{transform:scale(1.02)}
    100%{transform:scale(1);filter:none}
  }
}

/* v55 — approved Grasshopper-inspired parametric header surface. */
body.product-layout #header{
  overflow:hidden!important;
  background-color:#111e2b!important;
  background-image:linear-gradient(90deg,rgba(8,20,31,.18),rgba(8,20,31,.02)),url('/static/images/ctc-header-parametric.svg?v=1')!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;
  border-bottom:1px solid rgba(180,193,202,.15)!important;
  box-shadow:0 7px 24px rgba(0,10,20,.24)!important
}
body.product-layout #header>.brand,
body.product-layout #header>.header-actions{position:relative!important;z-index:1!important}
body.product-layout #header .brand{background:rgba(10,23,34,.12)!important}
body.product-layout #header .header-wordmark-title,
body.product-layout #header .header-wordmark-title strong{color:#c2c8cd!important;text-shadow:0 2px 12px rgba(0,0,0,.42)!important}
body.product-layout #header .header-wordmark-values{color:#aeb5ba!important}
body.product-layout #header .header-wordmark-values span{color:#aeb5ba!important}
body.product-layout #header .header-wordmark small{color:#929ba2!important}
body.product-layout #header .header-wordmark-rule{background:#d86f68!important}
body.product-layout .product-rail .rail-action small{color:#aeb5ba!important}
body.product-layout .product-rail .rail-action.active small,
body.product-layout .product-rail .rail-action:hover small{color:#d6dadd!important}

/* v56 — route-network atmosphere for the opening experience. */
.welcome-screen{
  background-color:#091724!important;
  background-image:
    radial-gradient(circle at 14% 18%,rgba(45,212,191,.17),transparent 27%),
    radial-gradient(circle at 86% 78%,rgba(216,111,104,.17),transparent 30%),
    linear-gradient(142deg,rgba(7,17,31,.82),rgba(16,35,56,.80) 50%,rgba(23,32,51,.84)),
    url('/static/images/ctc-welcome-route-network.svg?v=2')!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;
  background-attachment:fixed!important
}
.welcome-screen .welcome-shell{position:relative!important;z-index:1!important}
.welcome-screen .welcome-intro{text-shadow:0 3px 24px rgba(0,0,0,.28)}
.welcome-screen .welcome-action{box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 24px 60px rgba(0,0,0,.28)!important}
@media(max-width:760px){.welcome-screen{background-attachment:scroll!important;background-position:48% center!important}}

/* v38 — compact journey cards matching the approved visual mockup. */
.route-overview{padding:14px 16px 16px!important;border-color:rgba(143,184,207,.22)!important;background:linear-gradient(180deg,rgba(12,36,53,.96),rgba(9,30,46,.97))!important}
.overview-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.overview-card,.overview-score-card{min-width:0!important;min-height:338px!important;padding:15px!important;border-radius:17px!important;background:linear-gradient(155deg,rgba(27,59,78,.78),rgba(11,34,51,.94))!important;box-shadow:0 13px 32px rgba(0,10,21,.18)!important}
.overview-card{--card-accent:#ff766b;--card-soft:rgba(255,118,107,.14)}
.overview-card-transit{--card-accent:#58d5c1;--card-soft:rgba(88,213,193,.13)}
.overview-card-park_ride{--card-accent:#f6b85e;--card-soft:rgba(246,184,94,.13)}
.overview-card.selected{border-color:var(--card-accent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--card-accent) 45%,transparent),0 12px 32px rgba(0,10,21,.28)!important}
.overview-card-top{min-height:35px!important;align-items:flex-start!important}
.overview-card-title{font-size:12px!important;color:#f4f8fa!important;letter-spacing:-.01em}
.overview-alternative-count{padding:4px 8px!important;border-color:color-mix(in srgb,var(--card-accent) 58%,transparent)!important;background:var(--card-soft)!important;color:var(--card-accent)!important;font-size:8px!important}
.overview-card-top em{padding-top:3px;color:var(--card-accent)!important;font-size:8px!important}
.overview-card-main{margin-top:5px!important}.overview-card-main strong{font-size:30px!important;letter-spacing:-.045em!important}.overview-card-main small{font-size:11px!important;color:#d4e4eb!important}
.overview-card-foot{min-height:31px!important;margin-top:6px!important;color:#9fb9c7!important}
.overview-alternatives{display:grid!important;gap:7px!important;margin-top:8px!important;padding:9px 0 0!important;border-top:1px solid rgba(177,207,222,.15)!important}
.overview-alternative-row{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"name time cost" "bar badge badge"!important;gap:5px 9px!important;min-height:52px!important;padding:8px 9px!important;border:1px solid rgba(164,201,220,.11)!important;border-radius:11px!important;background:rgba(255,255,255,.035)!important}
.overview-alternative-row:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;border-radius:0 4px 4px 0;background:var(--card-accent);opacity:.55}
.overview-alternative-row.active{border-color:color-mix(in srgb,var(--card-accent) 62%,transparent)!important;background:var(--card-soft)!important}
.overview-alternative-name{grid-area:name;font-size:9px!important;line-height:1.25!important;color:#eef6f8!important}
.overview-alternative-row>i{grid-area:bar;height:5px!important;align-self:center;background:rgba(138,176,196,.17)!important}.overview-alternative-row>i b{background:linear-gradient(90deg,var(--card-accent),#77cbe9)!important}
.overview-alternative-row>small:nth-of-type(1){grid-area:time}.overview-alternative-row>small:nth-of-type(2){grid-area:cost}.overview-alternative-row small{font-size:9px!important;color:#c8d9e1!important;font-variant-numeric:tabular-nums}
.overview-alternative-row em{grid-area:badge!important;justify-self:end!important;margin:0!important;padding:2px 6px!important;background:var(--card-soft)!important;color:var(--card-accent)!important;font-size:7px!important}
.overview-card-metrics{margin-top:9px!important;padding-top:9px!important}.overview-card .overview-metric{grid-template-columns:45px minmax(0,1fr) 48px!important}.overview-card .overview-metric i b{background:var(--card-accent)!important}
.overview-card-action{min-height:34px!important;margin-top:auto!important;padding:8px 10px!important;border-color:color-mix(in srgb,var(--card-accent) 62%,transparent)!important;color:var(--card-accent)!important;background:transparent!important}
.overview-card:hover .overview-card-action,.overview-card:focus-visible .overview-card-action,.overview-card.selected .overview-card-action{background:var(--card-accent)!important;border-color:var(--card-accent)!important;color:#092033!important}
@media(max-width:1180px){.overview-cards{display:flex!important;overflow-x:auto!important;padding-bottom:8px!important;scroll-snap-type:x mandatory}.overview-card,.overview-score-card{flex:0 0 268px!important;min-width:268px!important;scroll-snap-align:start}}
@media(max-width:760px){.route-overview,body.spatial-open .route-overview{max-height:min(68dvh,560px)!important;padding:11px!important}.overview-card,.overview-score-card{flex-basis:min(84vw,292px)!important;min-width:min(84vw,292px)!important;min-height:338px!important}.overview-alternative-row em{grid-column:auto!important}}

@media(max-width:520px){
  body.product-layout #info-panel{
    left:5px!important;
    right:5px!important;
    border-radius:17px 17px 10px 10px!important;
  }
}

/* v32 mobile accessibility: larger readable type and forgiving touch targets. */
@media(max-width:760px){
  :root{--mobile-touch:48px}
  button,a,input,select,[role="button"]{touch-action:manipulation}
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role="button"]:focus-visible{
    outline:3px solid #67e8f9!important;outline-offset:2px!important
  }
  #header{height:68px!important;min-height:68px!important;padding:8px 9px!important}
  #header .header-assistant-shortcut,#header .gps-button,#header .navigation-start-button{
    width:48px!important;height:48px!important;min-width:48px!important;border-radius:15px!important
  }
  #header .header-actions{gap:6px!important}
  #header .header-assistant-shortcut{font-size:23px!important}
  #header .gps-button svg,#header .navigation-start-button svg{width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important}

  .product-rail{height:calc(76px + env(safe-area-inset-bottom,0px))!important;padding:5px 4px env(safe-area-inset-bottom,0px)!important}
  .rail-action{min-height:64px!important;border-radius:14px!important;gap:5px!important}
  .rail-action>span{font-size:23px!important}.rail-action small{font-size:11px!important;line-height:1.15!important}
  #info-panel{bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
  .route-overview,body.spatial-open .route-overview{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}

  body.product-layout #route-search-dock .route-search-field{min-height:66px!important;padding:8px 10px!important;border-color:rgba(193,222,236,.48)!important}
  body.product-layout #route-search-dock .route-search-pin{width:36px!important;height:36px!important;border-radius:11px!important;font-size:12px!important}
  body.product-layout #route-search-dock .route-search-caption{font-size:11px!important;line-height:1.2!important;color:#c5dce7!important}
  body.product-layout #route-search-dock .route-search-input{height:34px!important;font-size:14px!important;line-height:1.25!important}
  body.product-layout #route-search-dock .route-search-clear,
  body.product-layout #route-search-dock .origin-use-gps{top:7px!important;width:34px!important;height:34px!important;border-radius:10px!important}
  body.product-layout #route-search-dock .origin-use-gps{right:36px!important}
  body.product-layout #route-search-dock .origin-use-gps svg{width:19px!important;height:19px!important}
  body.product-layout #route-search-dock .route-search-clear{font-size:20px!important}
  #origin-search-input{padding-right:74px!important}

  body.product-layout .product-section-label{font-size:13px!important;color:#e1edf3!important;margin-top:17px!important}
  body.product-layout .direction-choice .choice-btn{min-height:48px!important;padding:8px!important}
  body.product-layout .direction-choice .choice-btn-copy strong{font-size:13px!important}
  body.product-layout #mode-menu{gap:9px!important}
  body.product-layout #mode-menu .mode-choice{min-height:94px!important;padding:10px 5px!important}
  body.product-layout #mode-menu .mode-choice-icon{width:39px!important;height:39px!important;margin-bottom:7px!important}
  body.product-layout #mode-menu .mode-choice-icon svg{width:27px!important;height:27px!important}
  body.product-layout #mode-menu .mode-choice strong{font-size:12px!important;line-height:1.2!important}
  body.product-layout #route-search-analyze{min-height:54px!important;font-size:15px!important;border-radius:14px!important;margin:14px 0 10px!important}

  .transit-leg-toggle{min-height:58px!important;padding:11px 10px!important}
  .transit-leg-title{font-size:13px!important;line-height:1.35!important}
  .transit-leg-meta{font-size:11px!important;line-height:1.35!important}
  .transit-line-pill{min-width:44px!important;padding:7px 8px!important;font-size:11px!important}
  .transit-leg-chevron{width:32px!important;height:32px!important}
  .transit-leg-detail{font-size:12px!important;line-height:1.55!important}
  .choice-btn,.overview-card-action,#overview-ctc,.live-bus-refresh{min-height:44px}
  .overview-card{min-width:205px!important}.overview-card-title{font-size:12px!important}.overview-card-main strong{font-size:27px!important}
  .overview-card-metrics span,.overview-card-subtitle{font-size:11px!important}
  .location-result{min-height:58px!important;padding:10px!important}.location-result-name{font-size:13px!important}.location-result-address{font-size:11px!important;line-height:1.35!important}
}

@media(max-width:380px){
  #header .header-assistant-shortcut,#header .gps-button,#header .navigation-start-button{width:44px!important;height:44px!important;min-width:44px!important}
  #header .header-actions{gap:4px!important}
  .rail-action small{font-size:10px!important}
  body.product-layout #mode-menu .mode-choice{min-height:88px!important}
}

/* v33 mobile journey choices: keep cards visible and genuinely swipeable. */
@media(max-width:760px){
  .route-overview,
  body.spatial-open .route-overview{
    z-index:32!important;
    left:7px!important;
    right:7px!important;
    bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    max-width:none!important;
    max-height:min(44dvh,330px)!important;
    padding:11px!important;
    display:flex!important;
    flex-direction:column!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    overflow:hidden!important;
  }
  .route-overview.is-collapsed{max-height:58px!important;padding-bottom:7px!important}
  .route-overview-heading{flex:0 0 auto!important;min-height:40px!important;padding-bottom:8px!important}
  .route-overview-heading strong{font-size:14px!important}
  .overview-heading-actions{flex:0 0 auto!important}
  #overview-collapse{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  .overview-cards{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    gap:10px!important;
    padding:2px 2px 12px!important;
    overflow-x:scroll!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:2px!important;
    scrollbar-width:auto!important;
    scrollbar-color:#ff766b rgba(255,255,255,.12)!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
  }
  .overview-cards::-webkit-scrollbar{height:7px}
  .overview-cards::-webkit-scrollbar-track{background:rgba(255,255,255,.10);border-radius:999px}
  .overview-cards::-webkit-scrollbar-thumb{background:#ff766b;border-radius:999px}
  .overview-card,
  .overview-score-card{
    flex:0 0 min(82vw,285px)!important;
    min-width:min(82vw,285px)!important;
    min-height:208px!important;
    scroll-snap-align:start!important;
    scroll-snap-stop:always!important;
  }
}

/* v34 clearer mobile brand and coral navigation feedback. */
@media(max-width:760px){
  #header .brand{gap:8px!important}
  #header .header-wordmark{min-width:145px!important}
  #header .header-wordmark-title{
    font-size:17px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
  }
  #header .header-wordmark-values{
    gap:6px!important;
    margin-top:6px!important;
    font-size:6.5px!important;
    font-weight:750!important;
    letter-spacing:.20em!important;
    color:#e2edf3!important;
  }
  #header .header-wordmark-values i{width:4px!important;height:4px!important}
  #header .header-wordmark-rule,
  #header .header-wordmark small{display:none!important}

  .product-rail .rail-action:hover,
  .product-rail .rail-action:focus-visible,
  .product-rail .rail-action:active{
    color:#fff!important;
    background:rgba(255,107,95,.24)!important;
    border-color:rgba(255,133,122,.58)!important;
    box-shadow:inset 0 0 0 1px rgba(255,139,129,.10),0 5px 16px rgba(255,84,71,.18)!important;
  }
  .product-rail .rail-action.active,
  .product-rail .rail-action[aria-expanded="true"]{
    color:#fff!important;
    background:rgba(255,107,95,.82)!important;
    border-color:rgba(255,181,174,.72)!important;
  }
}

@media(max-width:390px){
  #header .header-wordmark{min-width:128px!important}
  #header .header-wordmark-title{font-size:15px!important}
  #header .header-wordmark-values{font-size:5.7px!important;gap:4px!important;letter-spacing:.15em!important}
}

/* v35 expose basemap selection from the mobile bottom navigation. */
.mobile-basemap-action{display:none!important}
.mobile-basemap-action svg{display:block;width:23px;height:23px}
@media(max-width:760px){
  .mobile-basemap-action{display:flex!important}
  .product-rail{gap:2px!important}
  .product-rail .rail-action{min-width:0!important;padding:3px 2px!important}
  .product-rail .rail-action>span{display:grid;place-items:center;width:27px;height:27px;font-size:21px!important}
  .product-rail .rail-action small{font-size:9px!important}
  .basemap-switcher{
    position:fixed!important;
    z-index:45!important;
    left:auto!important;
    right:8px!important;
    top:auto!important;
    bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;
    transform:translateY(10px) scale(.97)!important;
    display:flex!important;
    padding:7px!important;
    gap:5px!important;
    border-radius:15px!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .18s ease,transform .18s ease,visibility .18s!important;
  }
  .basemap-switcher.mobile-open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0) scale(1)!important;
  }
  .basemap-switcher-label{display:none!important}
  .basemap-choice{min-height:46px!important;padding:0 10px!important;font-size:11px!important;border-radius:11px!important;gap:6px!important}
  .basemap-preview{width:25px!important;height:18px!important}
}

@media(max-width:390px){
  .product-rail .rail-action small{font-size:8px!important}
  .basemap-choice{padding:0 8px!important;font-size:10px!important}
}

/* v36 mobile traffic bottom sheet and correctly docked map attribution. */
@media(max-width:760px){
  #traffic-map-panel,
  body.location-dock-open #traffic-map-panel,
  body.product-layout.location-dock-open #traffic-map-panel,
  #traffic-map-panel:not(.traffic-collapsed){
    position:fixed!important;
    z-index:44!important;
    left:7px!important;
    right:7px!important;
    top:auto!important;
    bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    max-height:min(48dvh,360px)!important;
    padding:14px!important;
    border-radius:20px 20px 15px 15px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
    transform-origin:center bottom!important;
    transition:transform .24s ease,opacity .2s ease,visibility .2s!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #traffic-map-panel.traffic-collapsed,
  body.location-dock-open #traffic-map-panel.traffic-collapsed,
  body.product-layout.location-dock-open #traffic-map-panel.traffic-collapsed{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(calc(100% + 100px))!important;
  }
  #traffic-map-panel .traffic-panel-head,
  #traffic-map-panel:not(.traffic-collapsed) .traffic-panel-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
    min-height:48px!important;
  }
  #traffic-map-panel .traffic-panel-expand{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
  }
  #traffic-map-panel .traffic-panel-heading{gap:4px!important}
  #traffic-map-panel .traffic-panel-title{font-size:14px!important;line-height:1.15!important;gap:8px!important}
  #traffic-map-panel .traffic-compact-status{max-width:none!important;font-size:11px!important;line-height:1.3!important}
  #traffic-map-panel .traffic-panel-chevron{width:25px!important;height:25px!important;flex-basis:25px!important}
  #traffic-map-panel .network-toggle{font-size:10px!important;gap:6px!important}
  #traffic-map-panel:not(.traffic-collapsed) .traffic-panel-details{
    width:100%!important;
    max-height:none!important;
    margin-top:10px!important;
    overflow:visible!important;
  }
  #traffic-map-panel:not(.traffic-collapsed) #traffic-map-detail{font-size:11px!important;line-height:1.45!important}
  #traffic-map-panel:not(.traffic-collapsed) .traffic-legend{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    font-size:10px!important;
  }
  .maplibregl-ctrl-bottom-right{
    right:4px!important;
    bottom:calc(79px + env(safe-area-inset-bottom,0px))!important;
  }
  .maplibregl-ctrl-attrib{font-size:9px!important;line-height:1.15!important;max-width:calc(100vw - 12px)!important}
}

/* v37 real alternative summaries inside each journey option card. */
.route-overview{max-height:none!important}
.overview-cards{grid-template-columns:repeat(4,minmax(245px,1fr))!important}
.overview-card{min-height:356px!important;padding:13px!important}
.overview-card-title{display:flex!important;align-items:center;gap:7px;min-width:0}
.overview-alternative-count{
  display:inline-flex;align-items:center;flex:0 0 auto;padding:3px 7px;border:1px solid rgba(255,118,107,.48);
  border-radius:999px;background:rgba(255,107,95,.14);color:#ffaaa1;font-size:8px;font-weight:800;white-space:nowrap
}
.overview-alternatives{display:grid;gap:5px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(174,204,222,.17)}
.overview-alternative-row{
  display:grid;grid-template-columns:minmax(70px,1.35fr) minmax(34px,.75fr) 34px 38px auto;
  align-items:center;gap:6px;min-height:29px;padding:5px 6px;border:1px solid transparent;border-radius:8px;
  background:rgba(255,255,255,.025);color:#d6e6ee
}
.overview-alternative-row.active{border-color:rgba(255,118,107,.72);background:rgba(255,107,95,.075)}
.overview-alternative-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:750}
.overview-alternative-row>i{display:block;height:6px;overflow:hidden;border-radius:999px;background:rgba(138,176,196,.18)}
.overview-alternative-row>i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#64d9d4,#74b8f8)}
.overview-alternative-row.active>i b{background:linear-gradient(90deg,#ff766b,#ffaaa1)}
.overview-alternative-row small{font-size:8px;color:#bed0da;white-space:nowrap}
.overview-alternative-row em{padding:3px 5px;border-radius:999px;background:rgba(53,205,171,.15);color:#76e5ca;font-size:7px;font-style:normal;font-weight:800;white-space:nowrap}
.overview-card.selected .overview-card-action{background:#ff6d62;color:#fff;border-color:#ff8f84}

@media(max-width:1100px){.overview-cards{display:flex!important;overflow-x:auto!important}.overview-card{flex:0 0 270px!important;min-width:270px!important}}
@media(max-width:760px){
  .route-overview,body.spatial-open .route-overview{max-height:min(62dvh,500px)!important}
  .overview-card{flex:0 0 min(88vw,310px)!important;min-width:min(88vw,310px)!important;min-height:365px!important}
  .overview-alternative-row{grid-template-columns:minmax(76px,1.35fr) minmax(38px,.7fr) 36px 38px!important}
  .overview-alternative-row em{grid-column:1/-1;justify-self:start;margin-top:1px}
  .overview-alternative-name{font-size:10px}.overview-alternative-row small{font-size:9px}
}

/* v38 cascade lock: keep the approved compact card hierarchy above v37 legacy rules. */
.overview-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.overview-card,.overview-score-card{min-width:0!important;min-height:338px!important;padding:15px!important;border-radius:17px!important}
.overview-card{--card-accent:#ff766b;--card-soft:rgba(255,118,107,.14)}
.overview-card-transit{--card-accent:#58d5c1;--card-soft:rgba(88,213,193,.13)}
.overview-card-park_ride{--card-accent:#f6b85e;--card-soft:rgba(246,184,94,.13)}
.overview-alternative-row{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"name time cost" "bar badge badge"!important;gap:5px 9px!important;min-height:52px!important;padding:8px 9px!important;border-radius:11px!important}
.overview-alternative-name{grid-area:name!important}.overview-alternative-row>i{grid-area:bar!important}.overview-alternative-row>small:nth-of-type(1){grid-area:time!important}.overview-alternative-row>small:nth-of-type(2){grid-area:cost!important}.overview-alternative-row em{grid-area:badge!important;grid-column:auto!important;justify-self:end!important;margin:0!important}
@media(max-width:1180px){.overview-cards{display:flex!important;overflow-x:auto!important}.overview-card,.overview-score-card{flex:0 0 268px!important;min-width:268px!important}}
@media(max-width:760px){.overview-card,.overview-score-card{flex:0 0 min(84vw,292px)!important;min-width:min(84vw,292px)!important;min-height:338px!important}}

/* v39 — three-card comparison layout from the selected reference. */
.overview-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.overview-score-card{display:none!important}
.overview-card{min-height:315px!important;padding:12px!important;border-radius:13px!important;background:linear-gradient(160deg,rgba(20,54,75,.96),rgba(10,34,52,.98))!important}
.overview-card.selected{border-width:2px!important;padding:11px!important}
.overview-card-top{min-height:27px!important;align-items:center!important}
.overview-card-title{gap:6px!important;font-size:10px!important;white-space:nowrap}
.overview-mode-icon{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:7px;background:var(--card-soft);color:var(--card-accent);font-size:13px;font-style:normal;font-weight:900}
.overview-alternative-count{padding:3px 6px!important;font-size:7px!important}
.overview-card-top>em{margin-left:auto;padding:4px 7px!important;border-radius:6px;background:var(--card-soft);font-size:7px!important;font-weight:850}
.overview-card-main{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:end!important;gap:15px!important;margin:7px 0 0!important}
.overview-primary-stat{display:grid;gap:1px}.overview-primary-stat strong{font-size:25px!important;line-height:1!important;color:#fff}.overview-primary-stat small{font-size:7px!important;color:#a9bfca!important}
.overview-cost-stat{justify-items:end;text-align:right}.overview-cost-stat strong{font-size:20px!important;font-weight:760!important}
.overview-card-foot{min-height:18px!important;margin:4px 0 3px!important;font-size:8px!important}.overview-card-foot span{-webkit-line-clamp:1!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.overview-alternatives{gap:4px!important;margin-top:4px!important;padding-top:6px!important}
.overview-alternative-row{grid-template-columns:minmax(70px,1.4fr) minmax(38px,.75fr) 31px 34px auto!important;grid-template-areas:"name bar time cost badge"!important;gap:5px!important;min-height:29px!important;padding:4px 6px!important;border-radius:6px!important;background:rgba(255,255,255,.025)!important}
.overview-alternative-row:before{top:6px;bottom:6px}.overview-alternative-name{font-size:7px!important}.overview-alternative-row>i{height:4px!important}.overview-alternative-row small{font-size:7px!important}.overview-alternative-row em{font-size:6px!important;padding:2px 4px!important}
.overview-card-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:7px!important;padding-top:7px!important}
.overview-card .overview-metric{display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"label value" "track track"!important;gap:3px 5px!important;color:#a9c0cc!important;font-size:7px!important}
.overview-metric>span{grid-area:label;display:flex;align-items:center;gap:3px}.overview-metric>span b{display:grid;place-items:center;width:14px;height:14px;border-radius:4px;background:var(--card-soft);color:var(--card-accent);font-size:9px}.overview-metric>i{grid-area:track;height:4px!important}.overview-metric>small{grid-area:value;font-size:7px!important}
.overview-card-action{min-height:29px!important;margin-top:7px!important;padding:6px 8px!important;border-radius:6px!important;background:#2176c9!important;border-color:#348ddd!important;color:#fff!important;font-size:8px!important}
.overview-card.selected .overview-card-action,.overview-card:hover .overview-card-action{background:var(--card-accent)!important;border-color:var(--card-accent)!important;color:#fff!important}
@media(max-width:1180px){.overview-cards{display:flex!important}.overview-card{flex:0 0 300px!important;min-width:300px!important;min-height:315px!important}}
@media(max-width:760px){.overview-card{flex:0 0 min(88vw,310px)!important;min-width:min(88vw,310px)!important}.overview-alternative-row{grid-template-columns:minmax(70px,1.4fr) minmax(38px,.75fr) 31px 34px auto!important;grid-template-areas:"name bar time cost badge"!important}.overview-alternative-row em{grid-area:badge!important}}

/* v40 — aligned card rows and larger comparison content. */
.overview-card{
  display:grid!important;
  grid-template-rows:34px 54px 24px 116px 47px 34px!important;
  gap:5px!important;
  min-height:355px!important;
  height:355px!important;
}
.overview-card-top,.overview-card-main,.overview-card-foot,.overview-alternatives,.overview-card-metrics,.overview-card-action{margin:0!important;min-height:0!important;box-sizing:border-box!important}
.overview-card-title{font-size:11px!important}.overview-mode-icon{width:28px;height:28px;flex-basis:28px;font-size:14px}.overview-alternative-count{font-size:8px!important}
.overview-card-top>em{font-size:8px!important}
.overview-primary-stat strong{font-size:29px!important}.overview-cost-stat strong{font-size:24px!important}.overview-primary-stat small{font-size:8px!important;margin-top:2px}
.overview-card-foot{display:flex!important;align-items:center!important;font-size:9px!important;padding-bottom:3px!important}
.overview-alternatives{align-content:start!important;height:116px!important;padding-top:7px!important;overflow:hidden!important}
.overview-alternative-row{min-height:32px!important;padding:5px 7px!important}.overview-alternative-name{font-size:8px!important}.overview-alternative-row small{font-size:8px!important}.overview-alternative-row em{font-size:7px!important}
.overview-alternatives-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px;border:1px dashed rgba(246,184,94,.35);border-radius:8px;background:rgba(246,184,94,.05);text-align:center;color:#9fb5c1}
.overview-alternatives-empty b{color:#f6c371;font-size:9px}.overview-alternatives-empty span{max-width:220px;font-size:8px;line-height:1.35}
.overview-card-metrics{height:47px!important;padding-top:6px!important;align-self:stretch!important}.overview-card .overview-metric{align-content:start!important}.overview-metric>span{font-size:8px!important}.overview-metric>span b{width:16px;height:16px;font-size:10px}.overview-metric>small{font-size:8px!important}.overview-metric>i{height:5px!important}
.overview-card-action{display:flex!important;align-items:center!important;justify-content:center!important;height:34px!important;padding:7px 9px!important;font-size:9px!important;align-self:end!important}
@media(max-width:1180px){.overview-card{min-height:355px!important;height:355px!important}}
@media(max-width:760px){.overview-card{grid-template-rows:36px 57px 25px 122px 49px 38px!important;min-height:377px!important;height:377px!important}.overview-card-title{font-size:12px!important}.overview-primary-stat strong{font-size:30px!important}.overview-alternative-name,.overview-alternative-row small{font-size:8px!important}}

/* v41 — reliable journey drawer collapse and future parking tracker affordance. */
.route-overview-heading{cursor:pointer;user-select:none}
.route-overview.is-collapsed{max-height:52px!important;min-height:52px!important;padding:8px 14px!important;overflow:hidden!important}
.route-overview.is-collapsed .route-overview-heading{height:36px!important;min-height:36px!important;padding:0!important}
.route-overview.is-collapsed .overview-cards{display:none!important}
.route-overview.is-collapsed .overview-estimate-note{display:none!important}
.route-overview.is-collapsed #overview-collapse{transform:rotate(180deg)!important}
.route-tool-future{position:relative;border-color:rgba(246,184,94,.45)!important;background:linear-gradient(145deg,rgba(246,184,94,.13),rgba(255,255,255,.035))!important}
.route-tool-future .tool-icon{background:rgba(246,184,94,.2)!important;color:#f7c46f!important;font-weight:900}
.route-tool-mvp{position:absolute;right:7px;top:6px;padding:2px 5px;border:1px solid rgba(246,184,94,.55);border-radius:999px;background:rgba(246,184,94,.13);color:#f7c46f;font-size:7px;font-weight:900;letter-spacing:.06em}
.route-tool-future-note{display:grid;gap:4px;padding:9px!important;border:1px solid rgba(246,184,94,.35)!important;border-radius:9px;background:rgba(246,184,94,.08);color:#7b5b24!important}
.route-tool-future-note span{font-size:9px;line-height:1.4;color:#765b31}
@media(max-width:760px){.route-overview.is-collapsed{max-height:54px!important;min-height:54px!important;padding:7px 10px!important}.route-overview.is-collapsed .route-overview-heading{height:40px!important;min-height:40px!important}}

/* v42 — route detail surfaces share the dark glass product atmosphere. */
body.product-layout .product-details{
  margin-top:10px!important;padding:13px 11px 16px!important;
  border:1px solid rgba(151,194,216,.20)!important;border-radius:16px!important;
  background:linear-gradient(155deg,rgba(20,52,71,.94),rgba(9,31,47,.98))!important;
  color:#edf6f9!important;box-shadow:0 14px 32px rgba(0,13,25,.20)!important
}
body.product-layout .product-details-title{padding:1px 2px 11px!important;margin-bottom:11px!important;border-bottom:1px solid rgba(166,203,221,.16)!important}
body.product-layout .product-details-title strong{color:#f3f8fa!important;font-size:13px!important}
body.product-layout .product-details-title small{color:#91adbb!important;font-size:9px!important}
body.product-layout .product-details .advanced-priority{padding:9px 10px!important;border-color:rgba(164,201,220,.18)!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;color:#c7dae3!important}
body.product-layout .product-details .advanced-priority summary{color:#dceaf0!important}
body.product-layout .product-details .advanced-priority select{width:100%;margin-top:7px;padding:8px;border:1px solid rgba(164,201,220,.24);border-radius:8px;background:#15364b;color:#f1f7f9}
body.product-layout #recommendation{margin:0 0 11px!important;padding:10px 11px!important;border:1px solid rgba(85,211,181,.25)!important;border-radius:10px!important;background:rgba(65,201,170,.11)!important;color:#79e2c7!important;font-size:10px!important}
body.product-layout #route-list>p{margin:9px 0 13px!important;padding:12px!important;border:1px dashed rgba(142,185,207,.26);border-radius:10px;background:rgba(255,255,255,.025);color:#a9c0cc;font-size:10px;line-height:1.45}
body.product-layout .route-info,body.product-layout .traffic-status{align-items:center;min-height:36px;margin:0!important;padding:7px 1px;border-bottom:1px solid rgba(165,202,220,.11)}
body.product-layout .route-info span,body.product-layout .traffic-status span{color:#9db6c4!important;font-size:10px}
body.product-layout .route-info strong,body.product-layout .traffic-status strong{color:#f1f7f9!important;font-size:11px;font-variant-numeric:tabular-nums}
body.product-layout .real-time-note{margin:7px 0 9px!important;padding:7px 9px!important;border-left:3px solid #43cfad;background:rgba(67,207,173,.08);color:#73dfc4!important;font-size:9px!important}
body.product-layout #traffic-source{margin-top:8px!important;color:#829eac!important;font-size:9px!important}
body.product-layout #arrival-time{margin:9px 0!important;padding:9px 10px!important;border:1px solid rgba(255,118,107,.22);background:rgba(255,118,107,.10)!important;color:#ffaaa1!important;font-size:10px}
body.product-layout #car-panel>small:last-child{margin-top:10px!important;color:#7f9ba9!important;font-size:9px!important}
body.product-layout .route-card{position:relative;margin:8px 0!important;padding:11px!important;border-color:rgba(164,201,220,.17)!important;border-radius:11px!important;background:rgba(255,255,255,.035)!important;color:#e9f3f6!important;box-shadow:none!important}
body.product-layout .route-card:hover{border-color:rgba(255,141,131,.65)!important;background:rgba(255,118,107,.08)!important}
body.product-layout .route-card.selected{border-color:#ff766b!important;background:rgba(255,118,107,.11)!important;box-shadow:inset 3px 0 #ff766b!important}
body.product-layout .route-card h3{color:#fff!important;font-size:11px!important}body.product-layout .route-card p{color:#9fb8c5!important;font-size:9px!important}body.product-layout .route-card p strong{color:#f5f9fa!important}
body.product-layout .choice-block-label{color:#dceaf0!important;font-size:10px!important}
body.product-layout .transit-alt-grid{gap:8px!important}
body.product-layout .transit-alt-card{padding:11px 12px!important;border-color:rgba(164,201,220,.16)!important;border-radius:12px!important;background:rgba(255,255,255,.035)!important;color:#eaf4f7!important;box-shadow:none!important}
body.product-layout .transit-alt-card:hover{border-color:rgba(88,213,193,.7)!important;background:rgba(88,213,193,.07)!important;box-shadow:0 9px 22px rgba(0,12,23,.18)!important}
body.product-layout .transit-alt-card.active{border-color:#58d5c1!important;background:linear-gradient(135deg,rgba(88,213,193,.14),rgba(255,255,255,.035))!important;box-shadow:inset 3px 0 #58d5c1,0 0 0 1px rgba(88,213,193,.09)!important}
body.product-layout .transit-alt-title{color:#f2f8fa!important;font-size:11px!important}body.product-layout .transit-alt-time{color:#fff!important;font-size:13px!important}
body.product-layout .transit-alt-meta{color:#9bb5c2!important;font-size:9px!important;line-height:1.4}
body.product-layout .transit-alt-line{padding:4px 7px!important;background:rgba(116,184,248,.12)!important;color:#a8d2f8!important;font-size:8px!important}
body.product-layout .transit-alt-badge{padding:4px 7px!important;border-color:rgba(255,118,107,.35)!important;background:rgba(255,118,107,.11)!important;color:#ffaaa1!important;font-size:7px!important}
body.product-layout .alternative-note{color:#91aebb!important}
body.product-layout .product-details::-webkit-scrollbar,#info-panel #spatial-panel-content::-webkit-scrollbar{width:6px}body.product-layout .product-details::-webkit-scrollbar-thumb,#info-panel #spatial-panel-content::-webkit-scrollbar-thumb{background:#456579;border-radius:999px}

/* v43 — user-selected turquoise route-detail palette (#58D5C1). */
body.product-layout .product-details{
  border-color:rgba(31,126,113,.24)!important;
  background:linear-gradient(155deg,#58d5c1,#70decd)!important;
  color:#183b38!important;
  box-shadow:0 14px 32px rgba(24,95,85,.18)!important
}
body.product-layout .product-details-title{border-bottom-color:rgba(22,91,82,.20)!important}
body.product-layout .product-details-title strong{color:#153a36!important}body.product-layout .product-details-title small{color:#356a64!important}
body.product-layout .product-details .advanced-priority{border-color:rgba(29,112,101,.22)!important;background:rgba(245,255,252,.72)!important;color:#244e49!important}
body.product-layout .product-details .advanced-priority summary{color:#234d48!important}body.product-layout .product-details .advanced-priority select{border-color:rgba(29,112,101,.24)!important;background:#effcf8!important;color:#193e39!important}
body.product-layout #recommendation{border-color:rgba(29,112,101,.22)!important;background:rgba(239,252,248,.76)!important;color:#176d61!important}
body.product-layout #route-list>p{border-color:rgba(28,105,95,.28)!important;background:rgba(247,255,252,.65)!important;color:#315e58!important}
body.product-layout .route-info,body.product-layout .traffic-status{border-bottom-color:rgba(24,101,91,.16)!important;background:rgba(250,255,253,.18)!important}
body.product-layout .route-info span,body.product-layout .traffic-status span{color:#315f59!important}body.product-layout .route-info strong,body.product-layout .traffic-status strong{color:#163a36!important}
body.product-layout .real-time-note{border-left-color:#ef7165!important;background:rgba(255,245,241,.72)!important;color:#9d4038!important}
body.product-layout #traffic-source,body.product-layout #car-panel>small:last-child{color:#376a63!important}
body.product-layout #arrival-time{border-color:rgba(239,113,101,.38)!important;background:rgba(255,244,240,.72)!important;color:#9c4038!important}
body.product-layout .route-card,body.product-layout .transit-alt-card{border-color:rgba(31,111,101,.18)!important;background:rgba(250,255,253,.78)!important;color:#1e4641!important;box-shadow:0 5px 14px rgba(24,95,85,.08)!important}
body.product-layout .route-card:hover,body.product-layout .transit-alt-card:hover{border-color:#ef7165!important;background:#fff8f4!important;box-shadow:0 8px 20px rgba(153,68,59,.12)!important}
body.product-layout .route-card.selected,body.product-layout .transit-alt-card.active{border-color:#ef7165!important;background:linear-gradient(135deg,#fff4ef,#fffaf7)!important;box-shadow:inset 3px 0 #ef7165,0 5px 15px rgba(153,68,59,.10)!important}
body.product-layout .route-card h3,body.product-layout .route-card p strong,body.product-layout .transit-alt-title,body.product-layout .transit-alt-time{color:#213f3b!important}
body.product-layout .route-card p,body.product-layout .transit-alt-meta{color:#52736e!important}
body.product-layout .choice-block-label{color:#183f3a!important}
body.product-layout .transit-alt-line{background:#d9f2ec!important;color:#28675e!important}
body.product-layout .transit-alt-badge{border-color:rgba(239,113,101,.42)!important;background:#fff0ec!important;color:#aa443b!important}
body.product-layout .alternative-note{color:#35685f!important}
body.product-layout .product-details::-webkit-scrollbar-thumb,#info-panel #spatial-panel-content::-webkit-scrollbar-thumb{background:#2a9b8b!important}

/* v44 — parking tracker MVP shortcut lives in the primary left rail. */
.rail-parking-action{position:relative!important;color:#73dfcf!important}
.rail-parking-action>span{border:1px solid rgba(88,213,193,.38);border-radius:9px;background:rgba(88,213,193,.12);font-weight:900!important}
.rail-parking-action:after{content:"MVP";position:absolute;right:2px;top:2px;padding:1px 3px;border-radius:999px;background:#58d5c1;color:#123d38;font-size:6px;font-weight:950;letter-spacing:.04em}
.rail-parking-action:hover,.rail-parking-action:focus-visible{background:rgba(88,213,193,.16)!important;color:#dffff9!important}
.parking-tracker-notice{position:absolute;z-index:45;left:92px;top:390px;width:260px;padding:12px 13px;border:1px solid rgba(88,213,193,.48);border-radius:13px;background:rgba(241,253,249,.97);color:#214c46;box-shadow:0 14px 32px rgba(7,45,40,.20);opacity:0;transform:translateX(-10px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.parking-tracker-notice.show{opacity:1;transform:translateX(0)}.parking-tracker-notice b{display:block;color:#17685d;font-size:11px}.parking-tracker-notice span{display:block;margin-top:4px;font-size:9px;line-height:1.4}
@media(max-width:760px){.product-rail{overflow-x:auto!important;justify-content:flex-start!important}.product-rail .rail-action{flex:1 0 58px!important}.parking-tracker-notice{left:10px;right:10px;top:auto;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto}.rail-parking-action:after{right:1px;top:1px}}

/* v45 — satellite/imagery basemap preview. */
.basemap-choice[data-basemap="imagery"] .basemap-preview{background:linear-gradient(145deg,#315b45 0 35%,#7e8d55 35% 54%,#b59d70 54% 68%,#486f82 68%);border-color:#709080}
.basemap-choice[data-basemap="imagery"] .basemap-preview:after{height:1px;top:7px;background:rgba(255,255,255,.78);box-shadow:0 0 0 1px rgba(25,55,48,.24)}
.basemap-choice[data-basemap="imagery"].active{background:#2d7568!important;color:#fff!important;box-shadow:inset 0 0 0 1px #74d7c7,0 5px 12px rgba(27,93,82,.18)!important}

/* v46 — expanded “Sistemi İncele” product story. */
.welcome-details{width:min(1060px,100%)!important;padding-bottom:36px!important}
.welcome-analysis-chain{position:relative;margin:22px 0 20px;padding:18px;border:1px solid rgba(116,202,195,.24);border-radius:22px;background:radial-gradient(circle at 8% 0,rgba(88,213,193,.13),transparent 31%),linear-gradient(135deg,rgba(12,39,54,.9),rgba(18,30,45,.84));box-shadow:inset 0 1px rgba(255,255,255,.06),0 15px 42px rgba(0,8,20,.17);overflow:hidden}.welcome-analysis-chain:after{content:"";position:absolute;right:-60px;bottom:-110px;width:260px;height:230px;border:1px solid rgba(255,118,107,.16);border-radius:50%;box-shadow:0 0 0 32px rgba(255,118,107,.035),0 0 0 65px rgba(88,213,193,.025);pointer-events:none}.welcome-analysis-chain header{position:relative;z-index:1;max-width:650px}.welcome-analysis-chain header>span{color:#73dfcf;font-size:8px;font-weight:950;letter-spacing:1.4px}.welcome-analysis-chain h3{margin:6px 0 4px;color:#f4fbfc;font-size:21px}.welcome-analysis-chain header p{margin:0;color:#a9c0ca;font-size:10px;line-height:1.55}.welcome-analysis-flow{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr) 25px minmax(0,1fr);align-items:stretch;gap:6px;margin-top:17px}.analysis-node{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;min-height:137px;padding:13px;border:1px solid rgba(180,219,230,.14);border-radius:16px;background:rgba(3,20,32,.43);transition:transform .18s ease,border-color .18s ease,background .18s ease}.analysis-node:hover{transform:translateY(-3px);border-color:rgba(128,223,211,.45);background:rgba(11,40,53,.76)}.analysis-node>i{display:grid;place-items:center;align-self:start;width:27px;height:27px;border-radius:9px;background:rgba(88,213,193,.16);color:#8be6d9;font-size:8px;font-style:normal;font-weight:950}.analysis-node small{display:block;color:#82d7cc;font-size:7px;font-weight:900;letter-spacing:.9px}.analysis-node b{display:block;margin-top:6px;color:#f1f7f8;font-size:11px;line-height:1.28}.analysis-node p{margin:6px 0 10px;color:#9eb5c0;font-size:8.5px;line-height:1.5}.analysis-node em{display:inline-flex;padding:4px 6px;border-radius:999px;background:rgba(88,213,193,.1);color:#beece5;font-size:7px;font-style:normal;font-weight:850}.analysis-node.supply>i{background:rgba(126,173,231,.17);color:#a7cdf7}.analysis-node.supply small{color:#a7cdf7}.analysis-node.supply em{background:rgba(126,173,231,.11);color:#c7dcf5}.analysis-node.mismatch>i{background:rgba(255,118,107,.16);color:#ffaaa2}.analysis-node.mismatch small{color:#ffaaa2}.analysis-node.mismatch em{background:rgba(255,118,107,.11);color:#ffd1ca}.analysis-arrow{display:grid;place-items:center;color:#6ed2c5;font-size:18px;font-weight:700}.welcome-analysis-chain footer{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:7px;margin-top:13px;color:#9db5c0;font-size:8px}.welcome-analysis-chain footer i{color:#ff9389;font-style:normal}
.welcome-section-title{display:flex;align-items:flex-start;gap:10px;margin:26px 0 13px}.welcome-section-title>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(88,213,193,.34);border-radius:9px;background:rgba(88,213,193,.11);color:#7de3d3;font-size:9px;font-weight:950}.welcome-section-title h3{margin:0;color:#f4fafb;font-size:17px}.welcome-section-title p{margin:3px 0 0;color:#91a9ba;font-size:10px;line-height:1.4}
.welcome-phase-nav{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:10px;margin:24px 0 14px;padding:10px;border:1px solid rgba(163,199,216,.14);border-radius:16px;background:rgba(7,27,41,.42)}.welcome-phase-nav span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;border-radius:10px;background:rgba(88,213,193,.08);color:#dcebed;font-size:9px;font-weight:850}.welcome-phase-nav span b{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#58d5c1;color:#123d38;font-size:8px}.welcome-phase-nav i{color:#668596;font-style:normal;font-size:11px}.welcome-phase-nav .future{background:rgba(255,118,107,.07);color:#bfccd2}.welcome-phase-nav .future b{background:rgba(255,118,107,.2);color:#ffaaa2}
.welcome-journey-phase{margin-top:12px;padding:18px;border:1px solid rgba(164,201,220,.13);border-radius:22px;background:linear-gradient(155deg,rgba(22,52,70,.66),rgba(9,29,44,.79));box-shadow:inset 0 1px rgba(255,255,255,.025)}.welcome-journey-phase+.welcome-journey-phase{margin-top:14px}.welcome-phase-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px}.welcome-phase-head>span{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#58d5c1,#329f98);color:#072b2a;font-size:10px;font-weight:950;box-shadow:0 6px 18px rgba(49,170,159,.18)}.welcome-phase-head>div{min-width:0;flex:1}.welcome-phase-head small{display:block;margin-bottom:3px;color:#6fcbbe;font-size:7px;font-weight:900;letter-spacing:1.2px}.welcome-phase-head h3{margin:0;color:#f5fafb;font-size:18px}.welcome-phase-head p{margin:4px 0 0;color:#9eb2bd;font-size:9.5px;line-height:1.5}.welcome-phase-head>strong{flex:none;padding:7px 9px;border:1px solid rgba(255,142,131,.3);border-radius:999px;background:rgba(255,118,107,.1);color:#ffaaa2;font-size:7px;letter-spacing:.6px;text-transform:uppercase}
.welcome-phase-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.welcome-phase-cards article{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;min-height:104px;padding:12px;border:1px solid rgba(164,201,220,.12);border-radius:15px;background:rgba(255,255,255,.04)}.welcome-phase-cards article>i{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(255,118,107,.14);color:#ff948a;font-style:normal;font-size:15px}.welcome-phase-cards b{display:block;color:#eef6f8;font-size:10px}.welcome-phase-cards p{margin:5px 0 0;color:#96acb8;font-size:8px;line-height:1.5}.welcome-phase-cards em{grid-column:2;align-self:end;color:#65d9ca;font-size:7px;font-style:normal;font-weight:850;letter-spacing:.5px;text-transform:uppercase}.during-route{border-color:rgba(255,118,107,.2);background:linear-gradient(150deg,rgba(38,53,61,.83),rgba(16,36,49,.86))}.during-route .welcome-phase-head>span{background:linear-gradient(145deg,#ff8177,#e45d55);color:#fff}.during-route .welcome-demo-shell{margin-top:12px}.post-route{position:relative;overflow:hidden;border-style:dashed;border-color:rgba(255,158,148,.24);background:linear-gradient(145deg,rgba(45,47,51,.72),rgba(23,34,42,.79))}.post-route:after{content:"";position:absolute;right:-40px;bottom:-70px;width:210px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(255,118,107,.09),transparent 68%);pointer-events:none}.post-route .welcome-phase-head>span{background:linear-gradient(145deg,#a47572,#684d50);color:#fbe8e4}.welcome-post-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.welcome-post-preview>div{padding:12px;border:1px solid rgba(200,211,216,.1);border-radius:13px;background:rgba(255,255,255,.035)}.welcome-post-preview span,.welcome-post-preview b{display:block}.welcome-post-preview span{color:#94a7b1;font-size:8px}.welcome-post-preview b{margin:7px 0;color:#d9e0e3;font-size:11px}.welcome-post-preview i{display:block;height:4px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}.welcome-post-preview i em{display:block;height:100%;background:#ff766b}.welcome-post-preview>p{grid-column:1/-1;margin:2px 0 0;padding:10px 12px;border-left:2px solid rgba(255,118,107,.58);border-radius:0 10px 10px 0;background:rgba(255,118,107,.055);color:#9eafb7;font-size:8.5px;line-height:1.5}
.welcome-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.welcome-steps article{position:relative;padding:16px 14px 15px;border:1px solid rgba(164,201,220,.13);border-radius:16px;background:linear-gradient(155deg,rgba(31,67,88,.55),rgba(13,38,56,.76))}.welcome-steps article:not(:last-child):after{content:"→";position:absolute;right:-9px;top:50%;z-index:2;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#58d5c1;color:#123d38;font-size:9px;font-weight:900}.welcome-steps i{display:grid;place-items:center;width:25px;height:25px;margin-bottom:12px;border-radius:8px;background:rgba(255,118,107,.14);color:#ff9a90;font-style:normal;font-size:10px;font-weight:900}.welcome-steps b{display:block;color:#f2f8fa;font-size:11px}.welcome-steps p{margin:6px 0 0;color:#9cb2c1;font-size:9px;line-height:1.5}
.welcome-demo-shell{display:grid;grid-template-columns:1.08fr .92fr;gap:12px;padding:13px;border:1px solid rgba(88,213,193,.18);border-radius:20px;background:rgba(88,213,193,.055)}.welcome-demo-modes{display:grid;gap:7px}.welcome-demo-modes button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 12px;border:1px solid rgba(164,201,220,.14);border-radius:12px;background:rgba(255,255,255,.045);color:#dceaf0;text-align:left;cursor:pointer}.welcome-demo-modes button:hover{border-color:rgba(88,213,193,.5)}.welcome-demo-modes button.active{border-color:#ff766b;background:rgba(255,118,107,.12);box-shadow:inset 3px 0 #ff766b}.welcome-demo-modes b{font-size:10px}.welcome-demo-modes span{color:#a9bfca;font-size:9px;font-variant-numeric:tabular-nums}
.welcome-demo-result{display:grid;grid-template-columns:86px 1fr;gap:12px;align-items:center;padding:13px;border:1px solid rgba(164,201,220,.14);border-radius:15px;background:rgba(8,27,42,.48)}.welcome-demo-score{display:grid;place-items:center;align-content:center;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle at center,#102f43 57%,transparent 59%),conic-gradient(#58d5c1 0 72%,#ff766b 72% 86%,rgba(255,255,255,.12) 86%);color:#fff}.welcome-demo-score span{font-size:26px;font-weight:900}.welcome-demo-score small{color:#9eb7c5;font-size:7px}.welcome-demo-bars{display:grid;gap:7px}.welcome-demo-bars div>span{display:flex;justify-content:space-between;color:#a8beca;font-size:8px}.welcome-demo-bars div>span b{color:#eef6f8}.welcome-demo-bars i{display:block;height:5px;margin-top:4px;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden}.welcome-demo-bars i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#58d5c1,#7dc5ef)}.welcome-demo-result>p{grid-column:1/-1;margin:0;padding-top:9px;border-top:1px solid rgba(164,201,220,.12);color:#b5c9d3;font-size:9px;text-align:center}
.welcome-evidence{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.welcome-evidence-card{padding:4px 16px 16px;border:1px solid rgba(164,201,220,.12);border-radius:18px;background:rgba(255,255,255,.045)}.welcome-evidence-card .welcome-section-title{margin-top:14px}.welcome-source-list{display:flex;flex-wrap:wrap;gap:6px}.welcome-source-list span{padding:6px 8px;border:1px solid rgba(88,213,193,.22);border-radius:999px;background:rgba(88,213,193,.08);color:#bcece4;font-size:8px;font-weight:800}.welcome-evidence-card ul{margin:0;padding-left:17px;color:#a9bdc9;font-size:9px;line-height:1.7}.welcome-evidence-card li::marker{color:#ff766b}
@media(max-width:760px){.welcome-details{padding-left:2px!important;padding-right:2px!important}.welcome-phase-nav{grid-template-columns:1fr;gap:5px}.welcome-phase-nav i{display:none}.welcome-phase-nav span{justify-content:flex-start;padding:0 8px}.welcome-journey-phase{padding:13px;border-radius:18px}.welcome-phase-cards{grid-template-columns:1fr 1fr}.welcome-post-preview{grid-template-columns:1fr}.welcome-post-preview>p{grid-column:1}.welcome-steps{grid-template-columns:1fr}.welcome-steps article:not(:last-child):after{content:"↓";right:calc(50% - 8px);top:auto;bottom:-9px}.welcome-demo-shell,.welcome-evidence{grid-template-columns:1fr}.welcome-demo-result{grid-template-columns:72px 1fr}.welcome-demo-score{width:68px;height:68px}.welcome-section-title h3{font-size:15px}}
@media(max-width:760px){.welcome-analysis-chain{margin:16px 0;padding:14px;border-radius:18px}.welcome-analysis-chain h3{font-size:17px}.welcome-analysis-chain header p{font-size:9px}.welcome-analysis-flow{grid-template-columns:1fr;gap:7px}.analysis-arrow{height:16px;transform:rotate(90deg)}.analysis-node{min-height:0}.welcome-analysis-chain footer{font-size:7px}}
@media(max-width:480px){.welcome-phase-cards{grid-template-columns:1fr}.welcome-phase-head h3{font-size:16px}.welcome-phase-head>strong{padding:6px;font-size:6px}}

/* v47 — collision-free map controls + responsive glass Search Nearby. */
body.product-layout .maplibregl-ctrl-top-right{
  top:88px!important;right:16px!important;left:auto!important;bottom:auto!important;
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  z-index:24!important;transition:opacity .18s ease!important
}
body.product-layout .maplibregl-ctrl-top-right .maplibregl-ctrl-group{
  overflow:hidden!important;margin:0!important;padding:4px!important;
  border:1px solid rgba(178,215,233,.24)!important;border-radius:15px!important;
  background:linear-gradient(145deg,rgba(12,35,51,.82),rgba(16,48,65,.66))!important;
  box-shadow:0 12px 28px rgba(0,15,28,.24),inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;-webkit-backdrop-filter:blur(18px) saturate(135%)!important
}
body.product-layout .maplibregl-ctrl-top-right .maplibregl-ctrl-group button{
  width:36px!important;height:36px!important;border-radius:10px!important;background:transparent!important
}
body.product-layout .maplibregl-ctrl-top-right .maplibregl-ctrl-group button+button{border-top-color:rgba(185,215,230,.13)!important}
body.product-layout .maplibregl-ctrl-top-right .maplibregl-ctrl-group button:hover{background:rgba(88,213,193,.15)!important}
body.product-layout .maplibregl-ctrl-top-right .maplibregl-ctrl-icon{filter:invert(94%) sepia(10%) saturate(389%) hue-rotate(153deg) brightness(102%)!important}

body.product-layout #route-tools-panel{
  position:fixed!important;top:224px!important;right:16px!important;bottom:auto!important;left:auto!important;
  width:min(340px,calc(100vw - 118px))!important;max-height:calc(100dvh - 320px)!important;
  padding:15px!important;border:1px solid rgba(171,211,231,.22)!important;border-radius:20px!important;
  background:linear-gradient(150deg,rgba(12,36,53,.94),rgba(10,30,46,.91))!important;
  box-shadow:0 22px 54px rgba(0,14,27,.34),inset 0 1px 0 rgba(255,255,255,.065)!important;
  backdrop-filter:blur(24px) saturate(140%)!important;-webkit-backdrop-filter:blur(24px) saturate(140%)!important;
  transform:translateX(0)!important;overflow:hidden!important;z-index:25!important
}
body.product-layout #traffic-map-panel{
  position:fixed!important;top:150px!important;right:78px!important;left:auto!important;bottom:auto!important;
  width:340px!important;z-index:23!important
}
body.product-layout #traffic-map-panel:not(.traffic-collapsed) ~ #route-tools-panel{
  top:224px!important
}
body.product-layout #route-tools-panel.collapsed{
  visibility:hidden!important;opacity:0!important;pointer-events:none!important;transform:translateX(22px)!important
}
body.product-layout #route-tools-content{max-height:calc(100dvh - 350px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:5px!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
body.product-layout #route-tools-panel:not(.collapsed) .route-tools-drawer-toggle{
  display:grid!important;position:absolute!important;top:10px!important;right:10px!important;left:auto!important;
  width:34px!important;height:34px!important;border:1px solid rgba(184,218,234,.22)!important;border-radius:11px!important;
  background:rgba(255,255,255,.07)!important;color:#e7f5f9!important;box-shadow:none!important;z-index:2!important
}
body.product-layout #route-tools-panel .route-tools-head{padding-right:38px!important}
body.product-layout #route-tools-panel .route-tools-head h3,
body.product-layout #route-tools-panel .route-tools-head strong{color:#fffaf5!important}
body.product-layout #route-tools-panel .route-tools-head p,
body.product-layout #route-tools-panel .route-tools-head small{color:rgba(255,244,236,.82)!important}
body.product-layout #route-tools-panel .route-tool,
body.product-layout #route-tools-panel .nearby-scope-btn{
  border-color:rgba(137,180,201,.22)!important;background:rgba(31,61,78,.78)!important;color:#eff8fa!important
}
body.product-layout #route-tools-panel .route-tool:hover,
body.product-layout #route-tools-panel .route-tool.active,
body.product-layout #route-tools-panel .nearby-scope-btn.active{
  border-color:rgba(255,137,124,.82)!important;background:linear-gradient(145deg,rgba(242,99,91,.92),rgba(218,76,76,.88))!important;box-shadow:0 8px 20px rgba(2,15,27,.24)!important
}
body.product-layout #route-tools-panel .route-tool strong,
body.product-layout #route-tools-panel .route-tool b{color:#fffaf7!important}
body.product-layout #route-tools-panel .route-tool span,
body.product-layout #route-tools-panel .route-tool small{color:rgba(206,228,236,.76)!important}
body.product-layout #route-tools-panel .route-tool:hover small,
body.product-layout #route-tools-panel .route-tool.active small{color:rgba(255,244,238,.88)!important}
body.product-layout #route-tools-panel .route-tool .tool-icon{
  color:#ed6259!important;background:#fff1eb!important;border:1px solid rgba(255,137,124,.48)!important;
  box-shadow:0 4px 12px rgba(0,12,22,.16)!important
}
body.product-layout #route-tools-panel .route-tool .tool-icon svg{
  color:#ed6259!important;stroke:#ed6259!important;stroke-width:2!important;opacity:1!important
}
body.product-layout #route-tools-panel .route-tool:hover .tool-icon,
body.product-layout #route-tools-panel .route-tool.active .tool-icon{
  color:#df514a!important;background:#fffaf6!important;border-color:rgba(255,255,255,.86)!important
}
body.product-layout #route-tools-panel .route-tool:hover .tool-icon svg,
body.product-layout #route-tools-panel .route-tool.active .tool-icon svg{color:#df514a!important;stroke:#df514a!important}
body.product-layout #route-tools-panel .route-tools-drawer-toggle{
  border-color:rgba(184,218,234,.22)!important;background:rgba(255,255,255,.07)!important;color:#e7f5f9!important
}
body.product-layout #route-tools-panel .planner-chip{
  border-color:rgba(255,250,245,.72)!important;background:#fff4ec!important;color:#b64045!important
}
body.product-layout #route-tools-panel #route-tools-status{
  border-color:rgba(137,180,201,.20)!important;background:rgba(23,51,67,.74)!important;color:#cce1e8!important
}
body.product-layout #route-tools-panel .nearby-service-legend{
  position:static!important;inset:auto!important;z-index:auto!important;width:100%!important;
  box-sizing:border-box!important;margin:10px 0 12px!important;padding:9px 10px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,auto)!important;gap:8px!important;
  border:1px solid rgba(137,180,201,.20)!important;border-radius:12px!important;
  background:rgba(20,48,64,.72)!important;box-shadow:none!important;backdrop-filter:none!important;
  color:#d8e9ee!important;font-size:10px!important;pointer-events:auto!important
}
body.product-layout #route-tools-panel .nearby-service-legend strong{display:block!important;color:#f5fbfc!important;font-size:10px!important;letter-spacing:.01em!important}
body.product-layout #route-tools-panel .nearby-service-legend span{color:#d8e9ee!important;font-size:10px!important;gap:4px!important}
body.product-layout #route-tools-panel .nearby-service-legend .dsa-swatch{width:17px!important;height:6px!important}
body.product-layout #route-tools-panel .nearby-service-legend .dsa-5{background:#ff6b61!important}
body.product-layout #route-tools-panel .nearby-service-legend .dsa-10{background:#f5a59d!important}
body.product-layout #route-tools-panel .nearby-service-legend .dsa-15{background:#d9b8b5!important}

@media(max-width:900px){
  body.mobile-sheet-open.product-layout #info-panel,
  body.mobile-sheet-open.product-layout #route-tools-panel,
  body.mobile-sheet-open.product-layout #traffic-map-panel,
  body.mobile-sheet-open.product-layout #map-layers-panel,
  body.mobile-sheet-open.product-layout #analysis-panel{
    top:auto!important;bottom:calc(146px + env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - 230px)!important
  }
  body.product-layout #route-tools-panel{
    position:fixed!important;left:8px!important;right:8px!important;top:auto!important;
    bottom:calc(74px + env(safe-area-inset-bottom,0px))!important;width:auto!important;
    max-height:min(62dvh,560px)!important;padding:14px!important;border-radius:22px!important;
    transform:translateY(0)!important
  }
  body.product-layout #route-tools-panel.collapsed{transform:translateY(calc(100% + 96px))!important}
  body.product-layout #route-tools-content{max-height:calc(min(62dvh,560px) - 28px)!important;padding-bottom:10px!important;-webkit-overflow-scrolling:touch!important}
  body.product-layout #traffic-map-panel,
  body.product-layout #traffic-map-panel:not(.traffic-collapsed){
    position:fixed!important;left:7px!important;right:7px!important;top:auto!important;
    bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;width:auto!important;
    z-index:124!important
  }
  body.product-layout #traffic-map-panel.traffic-collapsed{
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    transform:translateY(calc(100% + 100px))!important
  }
  body.product-layout #traffic-map-panel:not(.traffic-collapsed) ~ #route-tools-panel{top:auto!important}
  body.product-layout .maplibregl-ctrl-top-right{
    top:76px!important;right:8px!important;left:auto!important;bottom:auto!important;transform:scale(.92)!important;transform-origin:top right!important
  }
  body.nearby-open.product-layout .maplibregl-ctrl-top-right,
  body.location-dock-open.product-layout .maplibregl-ctrl-top-right,
  body.spatial-open.product-layout .maplibregl-ctrl-top-right{
    opacity:0!important;pointer-events:none!important
  }
}

/* v58 — transit heatmap analyses and simulator header shortcut. */
#header .header-simulator-shortcut{
  flex:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 12px;
  border:1px solid rgba(217,235,248,.27);border-radius:14px;background:rgba(10,29,43,.50);color:#dceaf2;
  font:800 10px/1 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 5px 17px rgba(0,14,27,.18);transition:.18s ease
}
#header .header-simulator-shortcut svg{width:17px;height:17px}
#header .header-simulator-shortcut:hover{background:rgba(31,61,78,.76);border-color:rgba(255,255,255,.5);color:#fff;transform:translateY(-1px)}
.analysis-panel{
  position:absolute;z-index:23;left:92px;top:88px;width:348px;max-height:calc(100vh - 118px);overflow:auto;padding:16px;
  box-sizing:border-box;border:1px solid rgba(190,216,230,.14);border-radius:20px;background:rgba(11,26,39,.94);color:#edf6fb;
  box-shadow:0 20px 48px rgba(2,14,25,.3);backdrop-filter:blur(18px) saturate(115%);transition:opacity .18s ease,transform .18s ease
}
.analysis-panel.collapsed{opacity:0;pointer-events:none;transform:translateX(-12px)}
.analysis-panel-head{display:flex;gap:12px;align-items:flex-start;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.09)}
.analysis-panel-head>div{flex:1}.analysis-panel-head span{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#59d1c3}
.analysis-panel-head h3{margin:4px 0;font-size:18px}.analysis-panel-head p{margin:0;color:#9fb3c0;font-size:11px;line-height:1.45}
.analysis-panel-head button{width:30px;height:30px;border:1px solid rgba(255,255,255,.1);border-radius:50%;background:rgba(255,255,255,.06);color:#dceaf2;font-size:18px;cursor:pointer}
.analysis-method-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:11px}.analysis-method-cards article{min-width:0;padding:8px;border:1px solid rgba(89,209,195,.14);border-radius:11px;background:rgba(89,209,195,.055)}.analysis-method-cards b,.analysis-method-cards small,.analysis-method-cards em{display:block}.analysis-method-cards b{font-size:8.5px;color:#edf6fb}.analysis-method-cards small{min-height:20px;margin-top:3px;font-size:6.5px;line-height:1.35;color:#8fa6b5}.analysis-method-cards em{margin-top:5px;font-size:6.5px;font-style:normal;font-weight:900;color:#67d9cc}.analysis-method-cards article:nth-child(2) em{color:#f4bd61}.analysis-method-cards article:nth-child(3) em{color:#ff8b80}
.analysis-heatmap-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
.analysis-heatmap-row{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:52px;padding:8px 9px;box-sizing:border-box;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.045);cursor:pointer;transition:.18s ease}
.analysis-heatmap-row:hover{border-color:rgba(255,117,106,.28);background:rgba(255,117,106,.08)}
.analysis-heatmap-row>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.analysis-heatmap-row b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analysis-heatmap-row small{font-size:8px;color:#8fa6b5}
.analysis-swatch{--heat:#ff756b;width:25px;height:25px;border-radius:50%;background:radial-gradient(circle,#fff 0 5%,var(--heat) 15%,color-mix(in srgb,var(--heat) 34%,transparent) 48%,transparent 72%);box-shadow:0 0 12px color-mix(in srgb,var(--heat) 42%,transparent)}
.analysis-heatmap-mode{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0 8px;padding:4px;border:1px solid rgba(108,132,147,.3);border-radius:11px;background:rgba(7,24,36,.4)}.analysis-heatmap-mode button{min-height:34px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#9fb3c0;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.analysis-heatmap-mode button.active{background:rgba(240,106,95,.2);color:#ffd9d4;box-shadow:inset 0 0 0 1px rgba(240,106,95,.36)}
.analysis-swatch.marmaray{--heat:#6f83ff}.analysis-swatch.tram{--heat:#facc15}.analysis-swatch.metrobus{--heat:#ff7a66}.analysis-swatch.bus{--heat:#ff8b78}.analysis-swatch.ferry{--heat:#22d3ee}.analysis-swatch.minibus{--heat:#fb923c}.analysis-swatch.dolmus{--heat:#f472b6}.analysis-swatch.cable{--heat:#34d399}
.analysis-population-row{grid-column:1/-1}.analysis-swatch.population{--heat:#f06a5f;background:linear-gradient(135deg,#fee2c5,#f6ad73 52%,#d94841);border-radius:7px;box-shadow:0 0 12px rgba(240,106,95,.3)}
.analysis-swatch.service-gap{--heat:#f39a52;background:linear-gradient(135deg,#35b779 0 25%,#e8cf55 25% 50%,#f39a52 50% 75%,#e85d58 75%);border-radius:7px;box-shadow:0 0 12px rgba(243,154,82,.3)}
.analysis-swatch.employment-anomaly{--heat:#ef6358;background:linear-gradient(135deg,#55c9b7 0 34%,#f0c96a 34% 67%,#ef6358 67%);border-radius:7px;box-shadow:0 0 12px rgba(239,99,88,.3)}
.analysis-swatch.grid-supply{--heat:#77bda2;background:linear-gradient(135deg,#d1d5db,#e6a665 42%,#77bda2 70%,#187c70);border-radius:7px}.grid-service-ramp{display:block;height:8px;margin:8px 0 5px;border-radius:99px;background:linear-gradient(90deg,#d1d5db 0 8%,#f3d5b5 8% 24%,#e6a665 24% 42%,#e9d56b 42% 60%,#77bda2 60% 80%,#187c70 80% 100%)}
.scenario-metric-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.045)}.scenario-metric-tabs button{min-height:25px;padding:3px;border:0;border-radius:7px;background:transparent;color:#9db2bd;font:800 7px/1.2 Inter,sans-serif;cursor:pointer}.scenario-metric-tabs button[aria-pressed="true"]{background:rgba(255,120,108,.22);color:#fff0ed;box-shadow:inset 0 0 0 1px rgba(255,143,132,.35)}
.intervention-summary .scenario-grid-table-button{width:100%;min-height:27px;padding:5px 7px;border:1px solid rgba(111,220,207,.32);border-radius:8px;background:rgba(85,211,202,.09);color:#a7eee6;text-align:center;font:850 8px/1 Inter,sans-serif}.intervention-grid-table{position:fixed;z-index:42;right:22px;top:322px;width:min(610px,calc(100vw - 28px));max-height:min(420px,calc(100dvh - 374px));padding:13px;box-sizing:border-box;overflow:hidden;border:1px solid rgba(105,219,205,.32);border-radius:16px;background:rgba(7,22,30,.96);box-shadow:0 18px 42px rgba(0,0,0,.38);backdrop-filter:blur(16px);color:#e9f6f6;pointer-events:auto}.intervention-grid-table[hidden]{display:none}.intervention-grid-table header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}.intervention-grid-table header b{display:block;font-size:12px}.intervention-grid-table header small{display:block;margin-top:3px;color:#9eb6c0;font-size:8px}.intervention-grid-table header button{width:24px;height:24px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:rgba(255,255,255,.06);color:#ffd1cb;cursor:pointer}.intervention-grid-table-scroll{max-height:calc(min(420px,calc(100dvh - 374px)) - 62px);overflow:auto;border:1px solid rgba(255,255,255,.07);border-radius:10px}.intervention-grid-table table{width:100%;border-collapse:collapse;font-size:8px}.intervention-grid-table th{position:sticky;top:0;padding:8px 7px;background:#102a37;color:#9fded8;font-size:7px;letter-spacing:.35px;text-align:right}.intervention-grid-table th:first-child,.intervention-grid-table td:first-child{text-align:left}.intervention-grid-table td{padding:7px;border-top:1px solid rgba(255,255,255,.06);text-align:right;font-variant-numeric:tabular-nums}.intervention-grid-table td:first-child{color:#fff;font-weight:750}.intervention-grid-table td small{display:block;margin-top:2px;color:#91a9b3;font-size:7px}.intervention-grid-table .delta-up{color:#70dacb}.intervention-grid-table .delta-down{color:#ff9c91}.intervention-grid-table .delta-neutral{color:#aebcc2}@media(max-width:760px){.intervention-grid-table{right:8px;left:8px;top:auto;bottom:86px;width:auto;max-height:46dvh}.intervention-grid-table-scroll{max-height:calc(46dvh - 62px)}}
.map-analysis-legend.grid-service-legend,.map-analysis-legend.grid-ptal-legend,.map-analysis-legend.grid-gap-legend,.map-analysis-legend.employment-validation-map-legend{pointer-events:auto}.grid-service-legend .map-analysis-legend-head,.grid-ptal-legend .map-analysis-legend-head,.grid-gap-legend .map-analysis-legend-head,.employment-validation-map-legend .map-analysis-legend-head{grid-template-columns:36px minmax(0,1fr) auto 22px;cursor:grab;touch-action:none;user-select:none}.grid-service-legend.is-dragging .map-analysis-legend-head,.grid-ptal-legend.is-dragging .map-analysis-legend-head,.grid-gap-legend.is-dragging .map-analysis-legend-head,.employment-validation-map-legend.is-dragging .map-analysis-legend-head{cursor:grabbing}.grid-service-legend-drag{display:grid;place-items:center;width:22px;height:28px;padding:0;border:0;border-radius:7px;background:rgba(255,255,255,.06);color:#8edfd5;font:900 16px/1 system-ui,sans-serif;cursor:grab}.grid-service-legend-drag:focus-visible{outline:2px solid #ff8a7d;outline-offset:2px}.ptal-icon i:nth-child(1){background:#f28e76}.ptal-icon i:nth-child(2){background:#e3dd73}.ptal-icon i:nth-child(3){background:#36b99d}.ptal-legend-bands{grid-template-columns:repeat(2,minmax(0,1fr))}.ptal-legend-bands i.ptal-none{background:#d95f5f}.ptal-legend-bands i.ptal-low{background:#fdae61}.ptal-legend-bands i.ptal-base{background:#e3dd73}.ptal-legend-bands i.ptal-good{background:#a6d96a}.ptal-legend-bands i.ptal-high{background:#168f88;box-shadow:0 0 7px rgba(22,143,136,.4)}
.intervention-grid-table header[data-grid-table-drag-handle]{display:grid;grid-template-columns:minmax(0,1fr) 22px 24px;align-items:flex-start;gap:8px;cursor:grab;user-select:none;touch-action:none}.intervention-grid-table.is-dragging header[data-grid-table-drag-handle]{cursor:grabbing}.grid-table-drag-icon{display:grid;place-items:center;height:24px;border-radius:7px;background:rgba(255,255,255,.06);color:#8edfd5;font-size:15px}
.intervention-workspace{display:grid;gap:8px;margin-top:12px;padding:11px;border:1px solid rgba(255,132,120,.3);border-radius:14px;background:linear-gradient(135deg,rgba(255,107,97,.13),rgba(73,202,190,.06))}.intervention-workspace>div:first-child{display:grid;gap:4px}.intervention-workspace small{color:#9fb3c0;font-size:8px;line-height:1.35}.intervention-workspace>div:first-child>small{color:#ff9b91;font-weight:900;letter-spacing:1px}.intervention-workspace b{font-size:11px;color:#fff}.intervention-workspace p{margin:0;color:#bdd0da;font-size:9px;line-height:1.45}.intervention-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px}.intervention-controls label{display:grid;gap:3px;color:#9fb3c0;font-size:8px;font-weight:800}.intervention-controls select{height:27px;border:1px solid rgba(194,223,233,.2);border-radius:8px;background:rgba(4,17,24,.58);color:#eaf5f7;font:800 9px Inter,sans-serif}.intervention-workspace button{min-height:31px;border:1px solid rgba(255,138,128,.58);border-radius:9px;background:rgba(255,107,97,.18);color:#ffe8e5;font:900 9px Inter,sans-serif;cursor:pointer}.intervention-workspace button:hover{background:rgba(255,107,97,.33)}.intervention-workspace button.picking{background:#ff6b61;color:#142126}.intervention-compare{--intervention-split:50%;position:fixed;z-index:17;inset:76px 0 34px;pointer-events:none}.intervention-compare[hidden]{display:none}.intervention-after-viewport{position:absolute;inset:0;overflow:hidden;clip-path:inset(0 0 0 var(--intervention-split));box-shadow:-10px 0 28px rgba(0,0,0,.24)}.intervention-compare #intervention-after-map{position:absolute;inset:0}.intervention-divider{position:fixed;z-index:40;left:calc(var(--intervention-split) - 17px);top:50%;width:34px;height:100px;display:grid;place-items:center;gap:3px;padding:7px 0;border:1px solid rgba(255,223,218,.82);border-radius:15px;background:linear-gradient(180deg,#ff796d,#cc4d47);color:#fff;box-shadow:0 10px 25px rgba(0,0,0,.35);pointer-events:auto;cursor:ew-resize}.intervention-divider span{font:900 7px/1 Inter,sans-serif;letter-spacing:.8px;writing-mode:vertical-rl}.intervention-divider i{font:900 14px/1 Inter,sans-serif;font-style:normal}.intervention-summary{position:fixed;z-index:41;right:22px;top:96px;width:228px;display:grid;gap:7px;padding:12px;border:1px solid rgba(255,159,148,.4);border-radius:15px;background:rgba(7,22,30,.93);box-shadow:0 16px 35px rgba(0,0,0,.28);backdrop-filter:blur(13px);color:#eaf5f7;pointer-events:auto}.intervention-summary b{font-size:12px}.intervention-summary small{color:#a9bdc7;font-size:8px;line-height:1.4}.intervention-summary .scenario-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.intervention-summary .scenario-kpis span{padding:6px;border-radius:8px;background:rgba(255,255,255,.055)}.intervention-summary .scenario-kpis small,.intervention-summary .scenario-kpis strong{display:block}.intervention-summary .scenario-kpis strong{margin-top:3px;color:#79dfd0;font-size:11px}.intervention-summary button{border:0;background:transparent;color:#ffaaa1;font:800 9px Inter,sans-serif;cursor:pointer;text-align:right}

.intervention-controls input{width:100%;height:27px;box-sizing:border-box;border:1px solid rgba(194,223,233,.2);border-radius:8px;background:rgba(4,17,24,.58);color:#eaf5f7;font:800 9px Inter,sans-serif;padding:0 8px}.scenario-location{padding:5px 7px;border-left:2px solid #ff8378;border-radius:4px;background:rgba(255,255,255,.055);font-variant-numeric:tabular-nums}.scenario-site-marker{display:grid;place-items:center;width:24px;height:24px;border:2px solid #fff;border-radius:50% 50% 50% 0;background:#ff6b61;box-shadow:0 4px 14px rgba(104,20,19,.48);transform:rotate(-45deg)}.scenario-site-marker i{display:block;width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.18)}

.scenario-grid-comparison{position:fixed;z-index:70;right:18px;top:88px;width:min(1120px,calc(100vw - 42px));max-height:calc(100dvh - 112px);overflow:auto;border:1px solid rgba(255,176,165,.42);border-radius:20px;background:linear-gradient(145deg,rgba(9,28,39,.98),rgba(15,39,50,.98));box-shadow:0 22px 60px rgba(0,0,0,.46);backdrop-filter:blur(18px);color:#ecf8f7}.scenario-grid-comparison[hidden]{display:none}.scenario-grid-comparison>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px 13px;border-bottom:1px solid rgba(255,255,255,.1)}.scenario-grid-comparison>header small,.scenario-grid-explanation>small{display:block;color:#ff9d93;font:850 8px/1 Inter,sans-serif;letter-spacing:1px}.scenario-grid-comparison>header b{display:block;margin-top:5px;font-size:15px}.scenario-grid-comparison>header button{width:29px;height:29px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.07);color:#ffd7d2;font-size:18px;cursor:pointer}.scenario-grid-comparison-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(230px,1fr) 225px;gap:12px;padding:14px}.scenario-grid-map-card{min-width:0;padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.035)}.scenario-grid-map-card>header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}.scenario-grid-map-card>header b{font-size:12px}.scenario-grid-map-card>header small{color:#9eb6c0;font-size:8px}.scenario-grid-svg{min-height:330px;border-radius:10px;background:radial-gradient(circle at 45% 42%,rgba(87,161,166,.17),transparent 50%),#0a202b;overflow:hidden}.scenario-grid-svg svg{display:block;width:100%;height:100%}.scenario-grid-svg polygon{stroke:rgba(245,255,255,.48);stroke-width:.65;transition:fill .2s}.scenario-grid-empty{display:grid;place-items:center;height:100%;padding:22px;color:#9eb6c0;font-size:11px;text-align:center}.scenario-grid-explanation{display:grid;align-content:start;gap:9px;padding:14px;border:1px solid rgba(115,218,205,.22);border-radius:14px;background:linear-gradient(145deg,rgba(79,194,181,.12),rgba(255,128,117,.08))}.scenario-grid-explanation h3{margin:0;font-size:15px;line-height:1.2}.scenario-grid-explanation p{margin:0;color:#bfd1d5;font-size:10px;line-height:1.55}.scenario-grid-explanation>div{padding:9px;border-radius:9px;background:rgba(4,18,25,.48)}.scenario-grid-explanation strong,.scenario-grid-explanation span{display:block}.scenario-grid-explanation strong{color:#7ee1d2;font-size:18px}.scenario-grid-explanation span{margin-top:2px;color:#c4d5d8;font-size:9px}.scenario-grid-explanation .scenario-grid-note{padding-top:8px;border-top:1px solid rgba(255,255,255,.1);font-size:8px}@media(max-width:920px){.scenario-grid-comparison{top:72px;right:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 82px)}.scenario-grid-comparison-layout{grid-template-columns:1fr 1fr}.scenario-grid-explanation{grid-column:1/-1}.scenario-grid-svg{min-height:250px}}@media(max-width:600px){.scenario-grid-comparison-layout{grid-template-columns:1fr}.scenario-grid-explanation{grid-column:auto}.scenario-grid-svg{min-height:235px}}
@media(min-width:761px){body.product-layout #header .header-actions{position:relative}body.product-layout #header .traffic-header-card{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;display:block!important;flex:0 0 188px;width:188px!important;max-width:188px!important;margin:0!important;padding:0!important;border:1px solid rgba(166,210,222,.24)!important;border-radius:14px!important;background:rgba(10,29,43,.52)!important;box-shadow:none!important;overflow:visible!important;transition:none!important;z-index:60!important}body.product-layout #header .traffic-header-card.traffic-collapsed{width:188px!important}body.product-layout #header .traffic-header-card.traffic-collapsed .traffic-panel-head{min-height:42px;padding:0 8px!important}body.product-layout #header .traffic-header-card .traffic-panel-expand{min-height:40px!important;padding:5px 3px!important}body.product-layout #header .traffic-header-card .traffic-panel-title{font-size:10px!important}body.product-layout #header .traffic-header-card .traffic-compact-status{max-width:86px!important;font-size:8px!important}body.product-layout #header .traffic-header-card .network-toggle{display:none!important}body.product-layout #header .traffic-header-card:not(.traffic-collapsed){position:relative!important;top:auto!important;right:auto!important;width:188px!important;max-width:188px!important;padding:0!important;box-shadow:none!important}body.product-layout #header .traffic-header-card:not(.traffic-collapsed) .network-toggle{display:flex!important}body.product-layout #header .traffic-header-card .traffic-panel-details{display:none!important;position:absolute!important;top:calc(100% + 8px)!important;right:0!important;width:300px!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box!important;margin:0!important;padding:12px!important;border:1px solid rgba(166,210,222,.24)!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(12,36,53,.97),rgba(10,29,43,.97))!important;box-shadow:0 16px 38px rgba(0,0,0,.34)!important;overflow:visible!important}body.product-layout #header .traffic-header-card:not(.traffic-collapsed) .traffic-panel-details{display:grid!important;max-height:none!important;opacity:1!important}body.product-layout #header #header-traffic-badge[hidden]{display:none!important}}
body.product-layout #header .traffic-header-card .live-dot{display:block!important;box-sizing:border-box!important;width:9px!important;height:9px!important;min-width:9px!important;min-height:9px!important;max-width:9px!important;max-height:9px!important;aspect-ratio:1/1!important;flex:0 0 9px!important;border-radius:50%!important;transform-origin:center!important}
.population-density-legend{margin-top:11px;padding:11px;border:1px solid rgba(240,106,95,.24);border-radius:12px;background:rgba(240,106,95,.07)}
.population-density-legend>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:10px}.population-density-legend small{color:#9fb3c0}.population-ramp{display:block;height:8px;margin:8px 0 5px;border-radius:99px;background:linear-gradient(90deg,#fff1d6,#f9c58c,#f48668,#b9343d)}
.population-legend-labels{display:flex;justify-content:space-between;color:#9fb3c0;font-size:8px}
.service-gap-ramp{display:block;height:8px;margin:8px 0 5px;border-radius:99px;background:linear-gradient(90deg,#35b779 0 25%,#e8cf55 25% 50%,#f39a52 50% 75%,#e85d58 75%)}
.employment-validation-ramp{display:block;height:8px;margin:8px 0 5px;border-radius:99px;background:linear-gradient(90deg,#55c9b7 0 34%,#f0c96a 34% 67%,#ef6358 67%)}

.transit-network-open{width:100%;margin-top:10px;padding:10px;border:1px solid rgba(255,113,98,.42);border-radius:12px;background:linear-gradient(135deg,rgba(255,113,98,.16),rgba(72,204,196,.1));color:#eef4f6;display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;text-align:left;cursor:pointer}
.transit-network-open:hover{background:linear-gradient(135deg,rgba(255,113,98,.28),rgba(72,204,196,.16));border-color:#ff7162}
.transit-network-open-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#ff7162;color:#fff;font-size:20px;box-shadow:0 0 18px rgba(255,113,98,.35)}
.transit-network-open b,.transit-network-open small{display:block}.transit-network-open b{font-size:10px}.transit-network-open small{margin-top:2px;color:#adb9bf;font-size:7.5px;line-height:1.35}.transit-network-open>i{font-style:normal;font-size:18px;color:#ff9e94}
.transit-network-screen{position:fixed;inset:0;z-index:5000;display:none;grid-template-rows:auto auto minmax(0,1fr) auto;background:radial-gradient(circle at 50% 45%,#153741 0,#0c2028 40%,#070f14 100%);color:#edf2f3;overflow:hidden}
.transit-network-screen.open{display:grid}.transit-network-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 20px;border-bottom:1px solid rgba(174,198,204,.18);background:rgba(7,15,20,.78);backdrop-filter:blur(14px)}
.transit-network-title{display:flex;align-items:center;gap:12px}.transit-network-title-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#ff7568,#d84d45);font-size:24px;box-shadow:0 0 22px rgba(255,113,98,.3)}
.transit-network-title span{font-size:7px;font-weight:900;letter-spacing:1.2px;color:#62d7cf}.transit-network-title h2{font-size:15px;margin:2px 0 1px}.transit-network-title p{font-size:8px;color:#9eacb2;margin:0}.transit-network-topbar>button{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:11px;background:rgba(255,255,255,.06);color:#fff;font-size:24px;cursor:pointer}
.transit-network-toolbar{display:flex;align-items:end;gap:12px;padding:10px 20px;background:rgba(10,28,35,.9);border-bottom:1px solid rgba(174,198,204,.12)}.transit-network-toolbar label{display:grid;gap:4px;color:#9eacb2;font-size:7.5px;font-weight:800}.transit-network-toolbar select,.transit-network-toolbar button{height:32px;border:1px solid rgba(174,198,204,.22);border-radius:9px;background:#142d36;color:#edf2f3;padding:0 10px;font:inherit;font-size:8.5px;font-weight:800}.transit-network-toolbar button{cursor:pointer}.transit-network-strength{min-width:190px}.transit-network-strength output{color:#ff8a7e;margin-left:4px}.transit-network-strength input{accent-color:#ff7162}.transit-network-auto{display:flex!important;align-items:center;grid-template-columns:auto auto!important;height:32px}.transit-network-auto input{accent-color:#55d0c7}
.transit-network-stage{position:relative;min-height:0;overflow:hidden}.transit-network-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.transit-network-stage canvas:active{cursor:grabbing}.transit-network-hint{position:absolute;left:18px;bottom:15px;padding:7px 10px;border-radius:9px;background:rgba(7,15,20,.7);color:#aab8bd;font-size:8px;pointer-events:none}.transit-network-loading{position:absolute;inset:0;display:grid;place-items:center;color:#cbd6d9;font-size:11px;background:rgba(7,15,20,.4)}.transit-network-loading[hidden]{display:none}
.transit-network-detail{position:absolute;right:18px;top:18px;width:220px;padding:14px;border:1px solid rgba(255,117,104,.32);border-radius:14px;background:rgba(9,24,30,.88);backdrop-filter:blur(12px);box-shadow:0 16px 38px rgba(0,0,0,.28)}.transit-network-detail>span{font-size:6.5px;letter-spacing:1px;font-weight:900;color:#ff8a7e}.transit-network-detail h3{font-size:14px;margin:4px 0}.transit-network-detail p{font-size:8px;line-height:1.5;color:#b8c4c8;margin:0}.transit-network-detail dl{display:grid;grid-template-columns:1fr auto;gap:6px;margin:10px 0 0;font-size:8px}.transit-network-detail dt{color:#93a3a9}.transit-network-detail dd{margin:0;font-weight:900;color:#fff}.transit-network-detail small{display:block;margin-top:10px;color:#63d5cd;font-size:7.5px;line-height:1.45}
.transit-network-detail>button{width:100%;height:31px;margin-top:11px;border:1px solid rgba(255,117,104,.42);border-radius:9px;background:rgba(255,117,104,.13);color:#ffd7d2;display:flex;align-items:center;justify-content:center;gap:7px;font-size:8px;font-weight:900;cursor:pointer}.transit-network-detail>button:hover{background:rgba(255,117,104,.24)}.transit-network-detail>button i{font-style:normal}.transit-network-detail.expanded{width:min(390px,calc(100vw - 36px));max-height:calc(100% - 36px);overflow:auto;scrollbar-width:thin;scrollbar-color:#ff7568 rgba(255,255,255,.06)}.network-detail-expanded{margin-top:12px;padding-top:11px;border-top:1px solid rgba(174,198,204,.16)}.network-detail-section+ .network-detail-section{margin-top:14px}.network-detail-section>b{display:block;font-size:8.5px;color:#f0f5f6;margin-bottom:7px}.network-detail-section>p{margin:-2px 0 8px!important;font-size:7px!important;color:#819198!important}.network-mode-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.network-mode-list>span{display:grid;grid-template-columns:25px 1fr;align-items:center;padding:6px;border-radius:9px;background:rgba(87,211,202,.08);color:#dfe9eb;font-size:7.5px;font-weight:800}.network-mode-list i{grid-row:1/3;width:20px;height:20px;border-radius:7px;background:rgba(255,117,104,.18);color:#ff8b80;display:grid;place-items:center;font-style:normal}.network-mode-list em{font-size:6.5px;color:#82949a;font-style:normal;font-weight:600}.network-peer-list{display:grid;gap:7px}.network-peer-row{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:7px 8px;border-radius:9px;background:rgba(255,255,255,.035)}.network-peer-row strong,.network-peer-row span{display:block}.network-peer-row strong{font-size:8px}.network-peer-row span{margin-top:2px;font-size:6.5px;color:#82949a}.network-peer-row output{font-size:9px;font-weight:900;color:#ff8b80}.network-peer-track{grid-column:1/-1;height:4px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}.network-peer-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#55d3ca,#f4bd61 58%,#ff7568);box-shadow:0 0 8px rgba(255,117,104,.34)}
.network-metric-guide{padding:10px;border:1px solid rgba(87,211,202,.2);border-radius:10px;background:linear-gradient(135deg,rgba(87,211,202,.09),rgba(255,117,104,.06))}.network-metric-guide dl{display:grid;grid-template-columns:110px 1fr;gap:7px 9px;margin:0}.network-metric-guide dt{font-size:7px;font-weight:900;color:#84ded7}.network-metric-guide dd{margin:0;font-size:7px;line-height:1.42;color:#b8c9cd}
.transit-network-detail dt small{display:block;margin-top:1px;font-size:6px;font-weight:700;color:#71878e}.network-coordinate{display:grid;gap:4px;margin-top:10px;padding:8px 9px;border-radius:9px;background:rgba(87,211,202,.07);border:1px solid rgba(87,211,202,.18)}.network-coordinate b{font-size:6.5px;letter-spacing:.7px;color:#7bddD5}.network-coordinate span{font-size:7px;line-height:1.45;color:#b8c9cd}
.transit-network-footer{display:flex;align-items:center;gap:13px;padding:9px 20px;border-top:1px solid rgba(174,198,204,.15);background:rgba(7,15,20,.86);font-size:7.5px;color:#b3c0c4}.transit-network-footer>div{display:flex;align-items:center;gap:5px;white-space:nowrap}.transit-network-footer p{margin:0 0 0 auto;text-align:right}.network-legend-line{display:inline-block;width:25px;height:2px;background:rgba(87,211,202,.35)}.network-legend-line.strong{height:4px;background:#ff796d;box-shadow:0 0 7px #ff796d}.network-legend-node{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid #ecf8f8;background:#57d3ca;box-shadow:0 0 8px rgba(87,211,202,.72)}
@media(max-width:700px){.transit-network-toolbar{flex-wrap:wrap;padding:8px 10px;gap:7px}.transit-network-strength{min-width:145px;flex:1}.transit-network-detail{right:10px;top:10px;width:190px}.transit-network-detail.expanded{left:10px;right:10px;width:auto;max-height:calc(100% - 20px)}.transit-network-footer p{display:none}.transit-network-title p{display:none}.transit-network-topbar{padding:9px 10px}.transit-network-hint{display:none}}

.network-legend-line.transfer{height:2px;background:repeating-linear-gradient(90deg,#f4bd61 0 6px,transparent 6px 10px)}.network-legend-line.access{height:2px;background:repeating-linear-gradient(90deg,#b89de1 0 3px,transparent 3px 7px)}

/* Map + geographic network split view */
.transit-network-screen{--network-split:50vw;inset:76px 0 0 var(--network-split);z-index:90;border-left:1px solid rgba(255,117,104,.48);box-shadow:-18px 0 42px rgba(1,9,14,.28);background:radial-gradient(circle at 45% 48%,rgba(21,55,65,.94),rgba(7,15,20,.96));transition:left .24s ease}
.transit-network-screen.open{display:grid}.transit-network-divider{position:absolute;left:-15px;top:50%;z-index:12;width:30px;height:82px;transform:translateY(-50%);border:1px solid rgba(255,167,157,.75);border-radius:13px;background:linear-gradient(180deg,#ff796d,#d94f48);color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.34);display:grid;place-items:center;cursor:ew-resize;padding:0}.transit-network-divider span{position:absolute;inset:-100vh -8px;background:transparent}.transit-network-divider i{position:relative;font-style:normal;font-size:10px;font-weight:900;writing-mode:vertical-rl;letter-spacing:3px;pointer-events:none}.transit-network-screen.resizing{transition:none;user-select:none}.transit-network-screen .transit-network-topbar{padding:10px 14px}.transit-network-screen .transit-network-title-icon{width:34px;height:34px;border-radius:10px;font-size:19px}.transit-network-screen .transit-network-title h2{font-size:12px}.transit-network-screen .transit-network-toolbar{padding:8px 12px;gap:8px;flex-wrap:wrap}.transit-network-screen .transit-network-strength{min-width:150px;flex:1}.transit-network-screen .transit-network-footer{padding:7px 12px}.transit-network-screen .transit-network-footer p{display:none}

.transit-network-geographic{border-color:rgba(87,211,202,.55)!important;background:linear-gradient(135deg,rgba(87,211,202,.2),rgba(255,117,104,.12))!important;color:#eafffd!important}.transit-network-geographic[aria-pressed="true"]{background:linear-gradient(135deg,#4bc9c0,#279b96)!important;color:#061719!important;box-shadow:0 0 18px rgba(87,211,202,.28)}.transit-network-auto.disabled{opacity:.4}.transit-network-screen.geographic{background:rgba(5,18,24,.08);box-shadow:-12px 0 34px rgba(1,9,14,.18)}.transit-network-screen.geographic .transit-network-stage{background:linear-gradient(90deg,rgba(6,20,27,.08),rgba(6,20,27,.2));backdrop-filter:none}.transit-network-screen.geographic .transit-network-topbar,.transit-network-screen.geographic .transit-network-toolbar,.transit-network-screen.geographic .transit-network-footer{background:rgba(7,20,27,.82);backdrop-filter:blur(10px)}.transit-network-screen.geographic .transit-network-stage canvas{cursor:default}.transit-network-screen.geographic .transit-network-hint{font-size:0}.transit-network-screen.geographic .transit-network-hint::after{content:"Düğümler gerçek ilçe merkezlerinde · Haritayı sol taraftan hareket ettir";font-size:8px}

.transit-network-topbar .transit-network-geographic{width:auto!important;min-width:126px;padding:0 11px;font-size:8px!important;font-weight:900}.transit-network-topbar .transit-network-title{margin-right:auto}@media(max-width:560px){.transit-network-topbar .transit-network-geographic{min-width:78px;max-width:92px;padding:0 7px;font-size:7px!important;line-height:1.15}}
body.network-comparison-active #route-overview{display:none!important}

/* Desktop map status bar: keep journey choices directly above the thin bar. */
@media(min-width:761px){body.product-layout .route-overview,body.product-layout.spatial-open .route-overview{bottom:50px!important}}

/* Mobile: a thin scale rail sits directly above the bottom navigation.  The
   cursor coordinate is intentionally desktop-only; sheets clear this rail. */
@media(max-width:760px){
  .product-rail{bottom:28px!important}
  #map-status-bar{display:flex!important;left:0!important;right:0!important;bottom:0!important;height:28px!important;padding:0 7px!important;justify-content:flex-end!important;gap:7px!important;background:rgba(7,22,30,.98)!important;pointer-events:none!important}
  #map-status-bar .map-coordinate-readout{display:none!important}
  #map-status-bar .mobile-epsg-label{display:inline!important;font-size:6.5px!important;letter-spacing:.45px;color:#ffb8ae;white-space:nowrap}
  #map-status-bar .map-scale-entry{display:flex!important;padding-left:0!important;border-left:0!important;pointer-events:auto!important}
  #map-status-bar .map-scale-entry input{width:82px!important;height:21px!important;font-size:8px!important}
  .maplibregl-ctrl-bottom-left{display:none!important}
  body.product-layout #info-panel{bottom:104px!important}
  body.product-layout .route-overview,body.product-layout.spatial-open .route-overview{bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}
}

/* Compact collapsible header toolbox */
body.product-layout #header{overflow:visible!important;z-index:200!important}#header .header-actions{position:relative!important;overflow:visible!important}.header-tools-toggle{height:42px;min-width:42px;padding:0 11px;border:1px solid rgba(217,235,248,.27);border-radius:14px;background:rgba(10,29,43,.5);color:#e8f5fb;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font:inherit;font-size:8px;font-weight:900}.header-tools-toggle svg{width:18px;height:18px}.header-tools-toggle:hover,.header-tools-toggle[aria-expanded="true"]{background:rgba(31,61,78,.92);border-color:rgba(255,255,255,.5)}.header-tools-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:220;display:flex;align-items:center;gap:7px;padding:8px;border:1px solid rgba(174,198,204,.25);border-radius:15px;background:rgba(8,24,34,.96);box-shadow:0 18px 42px rgba(0,0,0,.32);backdrop-filter:blur(16px);transform:translateY(-6px) scale(.98);transform-origin:top right;opacity:0;pointer-events:none;transition:.18s ease}.header-tools-panel.open{opacity:1;transform:none;pointer-events:auto}.header-tools-panel .gps-status-text{display:none}.header-tools-panel>a,.header-tools-panel>button{position:relative!important;flex:none!important}.header-tools-panel .header-dashboard-shortcut,.header-tools-panel .header-simulator-shortcut{height:42px!important}.header-tools-panel .header-assistant-shortcut,.header-tools-panel .header-network-shortcut,.header-tools-panel .gps-button,.header-tools-panel .navigation-start-button{width:42px!important;height:42px!important;min-width:42px!important}.header-network-shortcut{display:grid;place-items:center;border:1px solid rgba(217,235,248,.27);border-radius:14px;background:rgba(10,29,43,.5);color:#62d7cf;cursor:pointer}.header-network-shortcut:hover{background:rgba(31,61,78,.92);border-color:rgba(98,215,207,.7)}.header-network-shortcut svg{width:20px;height:20px}.header-tools-panel .gps-label,.header-tools-panel .header-dashboard-shortcut span,.header-tools-panel .header-simulator-shortcut span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
@media(max-width:900px){.transit-network-screen{--network-split:50vw;inset:72px 0 0 var(--network-split)}.header-tools-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.header-tools-panel{right:-2px}.transit-network-screen .transit-network-title p{display:none}}
@media(max-width:560px){.transit-network-screen{--network-split:50vw;inset:68px 0 0 var(--network-split)}.transit-network-divider{top:44%;height:68px}.transit-network-screen .transit-network-title>div>span,.transit-network-screen .transit-network-title p{display:none}.transit-network-screen .transit-network-toolbar{max-height:92px;overflow:auto}.header-tools-panel{max-width:calc(100vw - 16px);gap:5px;padding:6px}}
.service-gap-popup{display:grid;gap:5px;font:11px/1.4 Inter,sans-serif;color:#26343c}.service-gap-popup>b{font-size:16px}.service-gap-popup>strong{color:#c64f49;font-size:12px}.service-gap-popup>span{color:#52636e}.service-gap-popup>small{font-weight:800}.service-gap-popup>em{font-size:9px;color:#77858d}
.service-gap-popup .service-gap-frequency-pending{padding:6px 7px;border-radius:7px;background:#fff0d6;color:#865d20;font-size:9px;font-weight:800}
.employment-validation-popup{z-index:18}.employment-validation-popup .maplibregl-popup-content{width:min(360px,calc(100vw - 28px));padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none;overflow:visible}.employment-validation-popup .maplibregl-popup-tip{display:none}
.employment-analysis-card{position:relative;overflow:hidden;border:1px solid rgba(104,221,204,.32);border-radius:22px;background:linear-gradient(145deg,#0b2730 0%,#102f39 54%,#15323a 100%);box-shadow:0 20px 48px rgba(2,15,20,.38);color:#eff9f8;font:11px/1.42 Inter,Arial,sans-serif}.employment-card-leader{position:absolute;left:30px;bottom:-18px;width:20px;height:20px;background:#15323a;border-right:1px solid rgba(104,221,204,.32);border-bottom:1px solid rgba(104,221,204,.32);transform:rotate(45deg)}.employment-card-head{display:flex;justify-content:space-between;gap:12px;padding:16px 16px 12px;background:linear-gradient(100deg,rgba(50,200,180,.14),rgba(255,114,125,.1));border-bottom:1px solid rgba(171,239,229,.12)}.employment-card-head small{display:block;color:#7ee2d1;font-size:8px;font-weight:900;letter-spacing:.13em}.employment-card-head h3{margin:3px 0 1px;font-size:20px;line-height:1.1;letter-spacing:-.04em}.employment-card-head p{margin:0;color:#ffa6aa;font-size:10px;font-weight:800}.employment-card-close{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border:1px solid rgba(233,249,246,.22);border-radius:50%;background:rgba(0,0,0,.12);color:#e9fbf8;font-size:17px;cursor:pointer}.employment-card-close:hover{background:rgba(255,255,255,.13)}
.employment-summary{display:flex;align-items:center;gap:13px;margin:12px 13px 10px;padding:11px;border:1px solid rgba(153,235,223,.13);border-radius:15px;background:rgba(3,17,22,.23)}.employment-summary>div:last-child{min-width:0}.employment-summary b{font-size:12px}.employment-summary p{margin:3px 0;color:#bdcfce;font-size:10px}.employment-summary p strong{color:#ffe3a1}.employment-summary small{color:#82aaa6;font-size:9px}.employment-summary small strong{color:#a9f1e5;font-size:10px}.employment-ratio-ring{--ratio:0%;position:relative;display:grid;place-items:center;flex:0 0 70px;width:70px;height:70px;border-radius:50%;background:conic-gradient(#ef7378 var(--ratio),rgba(205,241,235,.13) 0)}.employment-ratio-ring:before{position:absolute;inset:7px;border-radius:50%;background:#102d35;content:""}.employment-ratio-ring span{position:relative;z-index:1;text-align:center}.employment-ratio-ring b{display:block;color:#fff0d2;font-size:17px;letter-spacing:-.06em}.employment-ratio-ring small{display:block;color:#91b9b5;font-size:8px}
.employment-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 13px 11px}.employment-kpis>div{min-width:0;padding:9px 8px;border-radius:12px;background:rgba(218,251,246,.07);border:1px solid rgba(173,236,226,.11)}.employment-kpis small,.employment-kpis span{display:block;color:#8ba9a8;font-size:8px}.employment-kpis b{display:block;overflow:hidden;margin:2px 0 0;color:#f7fbf8;font-size:13px;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}
.employment-context{margin:0 13px 11px;padding:11px;border:1px solid rgba(153,235,223,.13);border-radius:15px;background:rgba(2,20,25,.22)}.employment-context header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.employment-context header b{font-size:11px}.employment-context header small{color:#89aaa7;font-size:8px;text-align:right}.employment-meter,.employment-diverging{display:grid;grid-template-columns:minmax(0,1fr) 78px auto;align-items:center;gap:7px;margin-top:7px}.employment-meter span,.employment-diverging span{min-width:0;color:#d8e8e5;font-size:9px}.employment-meter span b,.employment-diverging span b{float:right;color:#fff5d9}.employment-meter i,.employment-diverging i{position:relative;display:block;height:6px;overflow:hidden;border-radius:99px;background:rgba(229,245,242,.13)}.employment-meter em{display:block;height:100%;border-radius:inherit}.employment-meter em.ptal{background:linear-gradient(90deg,#66d6c3,#bce5a2)}.employment-meter em.supply{background:linear-gradient(90deg,#f1bd70,#f16f78)}.employment-meter small,.employment-diverging small{width:48px;color:#8ba8a6;font-size:7px;text-align:right}.employment-diverging i:after{position:absolute;top:-2px;bottom:-2px;left:50%;width:1px;background:rgba(255,255,255,.38);content:""}.employment-diverging em{position:absolute;top:0;bottom:0;border-radius:99px}.employment-diverging em.right{left:50%;background:#ef7277}.employment-diverging em.left{right:50%;background:#67cbbb}
.employment-confidence{margin:0 13px 11px;padding:10px 11px;border-radius:13px;background:rgba(249,192,108,.08);border:1px solid rgba(249,192,108,.16)}.employment-confidence>div{display:flex;justify-content:space-between}.employment-confidence span{color:#d6d5c4;font-size:9px}.employment-confidence b{color:#ffe7a6;font-size:11px}.employment-confidence i{display:block;height:5px;overflow:hidden;margin:6px 0 5px;border-radius:99px;background:rgba(255,255,255,.12)}.employment-confidence em{display:block;height:100%;border-radius:inherit;background:#f0c36c}.employment-confidence small{color:#b8ad8e;font-size:8px}.employment-confidence.strong{background:rgba(79,209,184,.08);border-color:rgba(79,209,184,.17)}.employment-confidence.strong b{color:#9cebdc}.employment-confidence.strong em{background:#54cdbb}.employment-confidence.strong small{color:#8cbcb3}.employment-confidence.weak{background:rgba(239,110,118,.09);border-color:rgba(239,110,118,.2)}.employment-confidence.weak b{color:#ffadb1}.employment-confidence.weak em{background:#ef7378}.employment-confidence.weak small{color:#ca9b9d}
.employment-reading{margin:0 13px 10px;padding:9px 10px;border-left:3px solid #f17a7f;border-radius:0 10px 10px 0;background:rgba(255,255,255,.045);color:#c9d8d6;font-size:9px}.employment-reading b{color:#ffd2b2}.employment-analysis-card footer{display:block;padding:9px 13px 11px;border-top:1px solid rgba(172,237,226,.1);color:#789b98;font-size:8px;line-height:1.45}
.employment-validation-popup .maplibregl-popup-content{width:min(320px,calc(100vw - 28px));max-height:calc(100dvh - 148px)}.employment-analysis-card{overflow:visible}.employment-card-scroll{max-height:min(310px,calc(100dvh - 248px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border-radius:0 0 22px 22px;scrollbar-color:rgba(115,222,207,.7) rgba(255,255,255,.06);scrollbar-width:thin}.employment-card-scroll::-webkit-scrollbar{width:6px}.employment-card-scroll::-webkit-scrollbar-track{margin:9px 0;border-radius:99px;background:rgba(255,255,255,.06)}.employment-card-scroll::-webkit-scrollbar-thumb{border-radius:99px;background:rgba(115,222,207,.7)}.employment-card-leader{z-index:-1;left:50%;bottom:-30px;width:2px;height:30px;border:0;border-radius:99px;background:linear-gradient(180deg,rgba(110,225,208,.92),rgba(110,225,208,.26));box-shadow:0 0 9px rgba(92,219,202,.65);transform:translateX(-50%)}.employment-card-leader:after{position:absolute;left:50%;bottom:-5px;width:9px;height:9px;border:2px solid rgba(245,255,250,.92);border-radius:50%;background:#61d5c5;box-shadow:0 0 0 5px rgba(97,213,197,.15),0 0 14px rgba(97,213,197,.8);content:"";transform:translateX(-50%)}.employment-validation-popup.is-below .employment-card-leader{top:-30px;bottom:auto;background:linear-gradient(180deg,rgba(110,225,208,.26),rgba(110,225,208,.92))}.employment-validation-popup.is-below .employment-card-leader:after{top:-5px;bottom:auto}@media(max-width:560px){.employment-validation-popup .maplibregl-popup-content{width:min(300px,calc(100vw - 22px));max-height:calc(100dvh - 118px)}.employment-analysis-card{border-radius:18px}.employment-card-head{padding:13px 14px 10px}.employment-card-head h3{font-size:18px}.employment-card-scroll{max-height:min(270px,calc(100dvh - 196px));border-radius:0 0 18px 18px}.employment-summary{margin:10px 10px 8px;padding:9px}.employment-kpis{padding:0 10px 9px}.employment-context,.employment-confidence,.employment-reading{margin-left:10px;margin-right:10px}.employment-analysis-card footer{padding:8px 10px 10px}}

/* 500 m metric accessibility: anchored analysis card */
.grid-access-popup{z-index:18}.grid-access-popup .maplibregl-popup-content{width:min(350px,calc(100vw - 28px));padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none;overflow:visible}.grid-access-popup .maplibregl-popup-tip{display:none}
.grid-access-card{--card:#171c22;--card-2:#20262d;--coral:#ff6b61;--mint:#59d4c6;position:relative;overflow:visible;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:linear-gradient(145deg,rgba(34,39,46,.98),rgba(20,24,30,.99));box-shadow:0 24px 64px rgba(0,0,0,.45),0 0 0 1px rgba(255,107,97,.05) inset;color:#f5f6f7;font:500 11px/1.4 Inter,ui-sans-serif,system-ui,sans-serif;backdrop-filter:blur(18px)}
.grid-access-leader{position:absolute;z-index:-1;left:50%;bottom:-43px;width:1px;height:43px;background:linear-gradient(180deg,rgba(255,107,97,.9),rgba(255,107,97,.3));transform:translateX(-50%);filter:drop-shadow(0 0 4px rgba(255,107,97,.55))}.grid-access-leader:after{content:"";position:absolute;left:50%;bottom:-4px;width:9px;height:9px;border:2px solid rgba(255,255,255,.82);border-radius:50%;background:var(--coral);box-shadow:0 0 0 5px rgba(255,107,97,.16),0 0 13px rgba(255,107,97,.7);transform:translateX(-50%)}
.grid-access-head{display:flex;align-items:flex-start;justify-content:space-between;padding:17px 17px 12px}.grid-access-head small{display:block;color:#9ca8b2;font-size:8px;font-weight:800;letter-spacing:1.35px}.grid-access-head h3{margin:4px 0 0;color:#f8fafb;font-size:19px;line-height:1.1;letter-spacing:-.35px}.grid-access-actions{display:flex;gap:7px}.grid-access-actions button{display:grid;width:29px;height:29px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:50%;place-items:center;background:rgba(255,255,255,.06);color:#d9e0e5;font:800 13px/1 Inter,sans-serif;cursor:pointer;transition:.18s ease}.grid-access-actions button:hover{border-color:rgba(255,107,97,.52);background:rgba(255,107,97,.14);color:#fff;transform:translateY(-1px)}.grid-access-actions .grid-access-info{border-color:rgba(255,107,97,.4);color:#ff8b83}.grid-access-actions .grid-access-info.active{background:var(--coral);color:#171c22}
.grid-access-primary{display:flex;align-items:center;justify-content:space-between;margin:0 13px;padding:14px 14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:linear-gradient(135deg,rgba(255,107,97,.13),rgba(255,255,255,.035))}.grid-access-primary>div{display:flex;flex-direction:column}.grid-access-primary strong{color:#fff;font-size:27px;line-height:1;letter-spacing:-1px}.grid-access-primary strong i{margin-left:3px;color:#aeb8bf;font-size:12px;font-style:normal;font-weight:700;letter-spacing:0}.grid-access-primary span{margin-top:5px;color:#aeb8bf;font-size:9px}.grid-access-class{padding:7px 9px;border-radius:999px;font-size:9px;white-space:nowrap}.grid-access-class.near{background:rgba(69,206,155,.15);color:#77e0b8}.grid-access-class.medium{background:rgba(244,205,99,.15);color:#f2d77f}.grid-access-class.far{background:rgba(255,155,89,.15);color:#ffad78}.grid-access-class.access_gap{background:rgba(255,107,97,.15);color:#ff8a82}
.grid-service-card{--coral:#62d9cb;background:radial-gradient(circle at 92% 5%,rgba(98,217,203,.11),transparent 35%),linear-gradient(145deg,rgba(27,36,43,.985),rgba(15,22,28,.995));box-shadow:0 24px 64px rgba(0,0,0,.48),0 0 0 1px rgba(98,217,203,.06) inset}.grid-service-card .grid-access-leader{background:linear-gradient(180deg,rgba(98,217,203,.92),rgba(98,217,203,.28));filter:drop-shadow(0 0 4px rgba(98,217,203,.55))}.grid-service-card .grid-access-leader:after{background:#62d9cb;box-shadow:0 0 0 5px rgba(98,217,203,.15),0 0 13px rgba(98,217,203,.68)}.grid-service-card .grid-access-head small{color:#71d9ce}.grid-service-primary{background:linear-gradient(135deg,rgba(91,210,197,.14),rgba(255,224,131,.045))}.grid-service-card .grid-access-actions .grid-access-info{border-color:rgba(98,217,203,.4);color:#72e1d5}.grid-service-card .grid-access-actions .grid-access-info.active{background:#62d9cb;color:#142027}.grid-access-class.service-none{background:rgba(160,169,176,.14);color:#b8c0c5}.grid-access-class.service-very-low{background:rgba(243,213,181,.13);color:#f3d5b5}.grid-access-class.service-low{background:rgba(230,166,101,.14);color:#f0b87f}.grid-access-class.service-medium{background:rgba(233,213,107,.14);color:#f0dc7e}.grid-access-class.service-high{background:rgba(119,189,162,.15);color:#8bd4b8}.grid-access-class.service-very-high{background:rgba(48,171,153,.17);color:#72e1d0}.grid-service-summary{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 10px 8px}.grid-service-summary>span{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 9px;border:1px solid rgba(255,255,255,.065);border-radius:10px;background:rgba(255,255,255,.028)}.grid-service-summary b{color:#8998a1;font-size:7.5px}.grid-service-summary strong{color:#e9f3f3;font-size:9px}.grid-service-method{border-color:rgba(98,217,203,.22);background:linear-gradient(145deg,rgba(98,217,203,.09),rgba(255,255,255,.024))}.grid-service-method .grid-access-method-title>span{background:#62d9cb;color:#142027}
.grid-service-v2-card{background:radial-gradient(circle at 88% 4%,rgba(98,217,203,.15),transparent 34%),radial-gradient(circle at 4% 86%,rgba(255,117,104,.08),transparent 38%),linear-gradient(145deg,rgba(25,35,42,.99),rgba(12,19,24,.995))}.grid-service-components{display:grid;gap:7px;padding:11px 13px 8px}.grid-service-component{display:grid;grid-template-columns:minmax(0,1fr) 62px 43px;align-items:center;gap:8px;padding:7px 8px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:rgba(255,255,255,.028)}.grid-service-component>span b,.grid-service-component>span small{display:block}.grid-service-component>span b{color:#eaf3f3;font-size:8.5px}.grid-service-component>span small{margin-top:2px;color:#768791;font-size:6.5px}.grid-service-component>i{height:5px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.08)}.grid-service-component>i em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4fd2c2,#7ce6d8);box-shadow:0 0 7px rgba(79,210,194,.4)}.grid-service-component.capacity>i em{background:linear-gradient(90deg,#f0c767,#ff9f63)}.grid-service-component.diversity>i em{background:linear-gradient(90deg,#9f90e8,#e8a2db)}.grid-service-component.walking>i em{background:linear-gradient(90deg,#56b7e8,#5fdbc0)}.grid-service-component>strong{color:#f7fbfb;font-size:10px;text-align:right}.grid-service-component>strong small{color:#7f9099;font-size:6.5px}.grid-service-v2-facts{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:0 13px 9px}.grid-service-v2-facts span{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 8px;border-radius:9px;background:rgba(255,255,255,.025);color:#82939d;font-size:7px}.grid-service-v2-facts strong{color:#e5eeee;font-size:8px}.grid-service-v2-card .grid-access-caveat{padding-top:1px}
.grid-access-rings{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:11px 13px 8px}.grid-access-rings>div{display:grid;grid-template-columns:7px 1fr auto;align-items:center;gap:5px;padding:8px 7px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.035)}.grid-access-rings i{width:6px;height:6px;border-radius:50%;box-shadow:0 0 8px currentColor}.grid-access-rings .ring-near{background:#52d39f;color:#52d39f}.grid-access-rings .ring-medium{background:#f0cc68;color:#f0cc68}.grid-access-rings .ring-far{background:#ff8a69;color:#ff8a69}.grid-access-rings span{color:#aeb8bf;font-size:8px}.grid-access-rings strong{color:#fff;font-size:13px}.grid-access-rings small{grid-column:2/4;color:#77838c;font-size:7px;margin-top:-5px}
.grid-access-caveat{margin:0;padding:3px 15px 14px;color:#89969f;font-size:8px;text-align:center}.grid-access-method{margin:0 13px 13px;padding:13px;border:1px solid rgba(255,107,97,.22);border-radius:15px;background:linear-gradient(145deg,rgba(255,107,97,.1),rgba(255,255,255,.025));animation:grid-method-in .2s ease both}.grid-access-method[hidden]{display:none}.grid-access-method-title{display:flex;align-items:center;gap:8px}.grid-access-method-title>span{display:grid;width:23px;height:23px;border-radius:50%;place-items:center;background:var(--coral);color:#171c22;font-weight:900}.grid-access-method-title b,.grid-access-method-title small{display:block}.grid-access-method-title b{font-size:11px}.grid-access-method-title small{color:#909ca5;font-size:8px}.grid-access-method>p{margin:10px 0;color:#e6e9eb;font-size:9px;line-height:1.55}.grid-access-method dl{display:grid;gap:6px;margin:0}.grid-access-method dl>div{display:grid;grid-template-columns:94px 1fr;gap:7px;padding-top:6px;border-top:1px solid rgba(255,255,255,.07)}.grid-access-method dt{color:#8e9aa3;font-size:8px}.grid-access-method dd{margin:0;color:#d9dee2;font-size:8px}.grid-access-method>em{display:block;margin-top:9px;padding:7px 8px;border-radius:9px;background:rgba(255,255,255,.045);color:#9faab2;font-size:7.5px;font-style:normal;line-height:1.45}
@keyframes grid-method-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:560px){.grid-access-popup .maplibregl-popup-content{width:min(330px,calc(100vw - 22px))}.grid-access-card{border-radius:19px}.grid-access-head{padding:14px 14px 10px}.grid-access-primary{margin:0 10px}.grid-access-rings{padding:9px 10px 7px}.grid-access-method{margin:0 10px 10px}.grid-access-primary strong{font-size:24px}.grid-service-popup .grid-access-method{max-height:22vh}}
#opportunity-controls[hidden],#opportunity-legend[hidden]{display:none!important}
.opportunity-map-legend[hidden]{display:none!important}
.map-analysis-legend.opportunity-map-legend{position:fixed;right:22px;bottom:132px;width:310px;max-width:calc(100vw - 24px);z-index:65;box-sizing:border-box;pointer-events:auto}
.opportunity-map-legend [data-opportunity-drag]{cursor:grab;touch-action:none}
.opportunity-map-legend .map-analysis-legend-head{grid-template-columns:minmax(0,1fr) 24px;user-select:none}
.opportunity-map-legend .opportunity-about{pointer-events:auto;touch-action:manipulation;position:relative}
.opportunity-map-legend.is-dragging [data-opportunity-drag]{cursor:grabbing}
.opportunity-color-scale{height:12px;border-radius:8px;background:linear-gradient(to right,#e4eeee 0%,#91cfb7 25%,#35a9a0 50%,#346590 75%,#493a70 100%);margin:12px 0 6px}
.opportunity-color-labels{display:flex;justify-content:space-between;font-size:10px;color:#e6f2f1;margin-bottom:10px}
.opportunity-about{background:rgba(89,205,185,.12);border:1px solid rgba(89,205,185,.35);color:#9ae3d5;border-radius:9px;padding:9px;margin-top:10px;cursor:pointer;width:100%}
.opportunity-kicker{display:block;color:#79dfd0;font-size:10px;font-weight:800;letter-spacing:.08em}
.opportunity-modern-popup .maplibregl-popup-content{padding:0;background:linear-gradient(145deg,#19343f,#0c202a);color:#edf6f6;border:1px solid #466971;border-radius:18px;box-shadow:0 20px 50px #06141c66;overflow:hidden}
.opportunity-fixed-popup{position:fixed;z-index:90;margin:0;transform:none!important;transition:none!important;animation:none!important;box-sizing:border-box;max-width:calc(100vw - 24px)}
.opportunity-card-connector{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:89;overflow:hidden}
.opportunity-card-connector path{fill:none;stroke-linejoin:round;stroke-linecap:round}
.opportunity-connector-shadow{stroke:#061f2b;stroke-width:6;opacity:.75}
.opportunity-connector-line{stroke:#8ffff0;stroke-width:2;stroke-dasharray:6 4}
.opportunity-card-connector circle{fill:#e2fff9;stroke:#3eab9f;stroke-width:3}
.opportunity-fixed-popup .maplibregl-popup-content{position:relative;width:100%;box-sizing:border-box}
.opportunity-fixed-popup .opportunity-result-card{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y}
.opportunity-fixed-popup .opportunity-result-card h3{font-size:16px}
.opportunity-fixed-popup .opportunity-result-card dl>div{padding:8px 10px}
.opportunity-fixed-popup .opportunity-result-card dd{font-size:13px}
.opportunity-modern-popup .maplibregl-popup-tip{border-top-color:#0c202a;border-bottom-color:#19343f}
.opportunity-modern-popup .maplibregl-popup-close-button{color:#c7e1df;right:8px;top:6px;font-size:23px;z-index:1;width:30px;height:30px;border-radius:50%}
.opportunity-result-card{padding:20px;max-height:min(480px,calc(100dvh - 210px));overflow:auto;box-sizing:border-box;min-width:0;scrollbar-width:thin}
.opportunity-result-card h3{font-size:18px;line-height:1.35;margin:9px 24px 18px 0;color:#fff;overflow-wrap:anywhere}
.opportunity-result-card dl{margin:0;display:grid;gap:8px}
.opportunity-result-card dl>div{padding:11px 12px;background:#ffffff08;border:1px solid #ffffff0d;border-radius:10px;min-width:0}
.opportunity-result-card dt{font-size:10px;color:#aac2cb;line-height:1.45}
.opportunity-result-card dd{font-size:15px;line-height:1.5;color:#e8f6f4;margin:3px 0 0;font-weight:700;overflow-wrap:anywhere;white-space:normal}
.opportunity-card-note{font-size:11px;line-height:1.65;color:#b7c9cf;border-top:1px solid #ffffff12;padding-top:12px;margin:14px 0 0}
.opportunity-info-dialog{background:linear-gradient(145deg,#1b3540,#0d202a);color:#dbeaea;border:1px solid #467078;border-radius:22px;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 80px);padding:28px;box-sizing:border-box;box-shadow:0 25px 100px #0008;overflow:auto;scrollbar-width:thin}
.opportunity-info-dialog::backdrop{background:#06141bd1;backdrop-filter:blur(5px)}
.opportunity-info-dialog h2{font-size:24px;line-height:1.35;padding-right:18px;color:#fff}
.opportunity-info-dialog h3{font-size:14px;color:#8fe1cf;margin:24px 0 8px}
.opportunity-info-dialog p{font-size:14px;line-height:1.8;color:#c1d2d8}
.opportunity-info-close{float:right;background:#ffffff0a;border:1px solid #ffffff25;color:#fff;border-radius:50%;width:32px;height:32px;font-size:22px;cursor:pointer}
.health-layers-section{border-top:1px solid #ffffff20;padding-top:14px;margin-top:12px;min-width:0}
.health-layers-section>.opportunity-kicker{padding:0 12px 8px}
.health-layer-status{font-size:10px;line-height:1.6;color:#90a8b6;padding:0 12px;overflow-wrap:anywhere}
@media(max-width:600px){.opportunity-map-legend{right:12px;bottom:145px;width:280px}.opportunity-result-card{padding:16px;max-height:calc(100dvh - 240px)}.opportunity-info-dialog{padding:22px}.opportunity-info-dialog h2{font-size:21px}}
#opportunity-controls select{min-width:0;width:100%;max-width:100%}
.opportunity-analysis-group{margin-top:10px;min-width:0}
.analysis-method-cards[hidden]{display:none!important}
.analysis-groups{display:grid;gap:9px;margin-top:14px;min-width:0}
.analysis-purpose-group{border:1px solid #ffffff12;border-radius:14px;background:#ffffff04;min-width:0;overflow:hidden}
.analysis-purpose-group>summary{display:grid;grid-template-columns:27px minmax(0,1fr) auto 12px;gap:9px;align-items:center;padding:13px 11px;cursor:pointer;list-style:none;user-select:none}
.analysis-purpose-group>summary::-webkit-details-marker{display:none}
.analysis-purpose-group>summary:focus-visible{outline:2px solid #79dfd0;outline-offset:-3px;border-radius:14px}
.analysis-group-number{display:grid;place-items:center;width:27px;height:29px;border-radius:9px;background:#79dfd011;color:#79dfd0;font-size:10px;font-weight:800}
.analysis-group-copy{display:grid;gap:5px;min-width:0}
.analysis-group-copy strong{font-size:12px;line-height:1.35;color:#eaf3f5}
.analysis-group-copy small{font-size:10px;line-height:1.5;color:#99b0bd;white-space:normal}
.analysis-group-count{font-size:9px;color:#9eb4bf;white-space:nowrap;border-radius:7px;padding:4px;background:#ffffff07}
.analysis-group-arrow{font-size:16px;color:#8ccfc5;transition:transform .15s}
.analysis-purpose-group[open]{border-color:#79dfd044;background:#79dfd006}
.analysis-purpose-group[open] .analysis-group-arrow{transform:rotate(180deg)}
.analysis-purpose-group.has-active-layers .analysis-group-count{color:#99e9d8;background:#79dfd018}
.analysis-group-body{display:grid;gap:8px;padding:0 9px 10px;min-width:0}
.analysis-group-body .analysis-heatmap-row{margin:0;min-width:0}
.analysis-group-body .analysis-heatmap-row b{white-space:normal;line-height:1.4}
.analysis-group-body .intervention-workspace{margin-top:0}
.analysis-group-body .analysis-heatmap-mode{margin:0}
.analysis-purpose-group[data-analysis-group=density] .analysis-group-body{grid-template-columns:repeat(2,minmax(0,1fr))}
.analysis-purpose-group[data-analysis-group=density] .analysis-heatmap-mode{grid-column:1/-1}
.analysis-group-body #opportunity-analyses{min-width:0}
.opportunity-analysis-row{grid-template-columns:28px minmax(0,1fr) 22px 34px!important}
.opportunity-analysis-row>span:nth-child(2)>label{cursor:pointer;min-width:0}
.opportunity-analysis-row .analysis-info-trigger{position:static;z-index:1;margin:0}
.opportunity-analysis-row .grid-access-switch{display:flex;align-items:center;justify-content:center;width:34px;height:24px;position:relative;cursor:pointer}
.opportunity-analysis-row .grid-access-switch i{display:block;flex-shrink:0}
.opportunity-analysis-group [data-opportunity-panel]{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;grid-template-columns:minmax(0,1fr)}
.opportunity-analysis-group [hidden]{display:none!important}
.opportunity-analysis-group [data-opportunity-panel]>*{min-width:0;max-width:100%;box-sizing:border-box}
.opportunity-analysis-group select{min-width:0;max-width:100%;width:100%;height:34px;overflow:hidden;text-overflow:ellipsis}
.opportunity-analysis-group .intervention-controls{grid-template-columns:minmax(0,1fr) 76px}
.opportunity-analysis-group label{min-width:0}
.opportunity-analysis-group p,.opportunity-analysis-group small{overflow-wrap:anywhere;white-space:normal}
.opportunity-analysis-group [id^="opportunity-method-"]{max-height:120px;overflow-y:auto}
.opportunity-kind-label{display:grid;gap:6px;color:#b5d1db;font-size:11px;font-weight:700;min-width:0}
#opportunity-controls #opportunity-kind{height:38px;font-size:11px;border-radius:9px;background:#102d38;color:#e3f6f2;border:1px solid #4b777d;padding:0 8px}
#opportunity-kind-description{padding:10px;background:#79dfd00c;border-left:2px solid #79dfd0;border-radius:5px}
#opportunity-controls{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;grid-template-columns:minmax(0,1fr)}
#opportunity-controls>*{min-width:0;max-width:100%;box-sizing:border-box}
#opportunity-controls p,#opportunity-controls small{white-space:normal;overflow-wrap:anywhere;line-height:1.6}
#opportunity-controls .intervention-controls{grid-template-columns:minmax(0,1fr) 76px;align-items:end}
#opportunity-controls .intervention-controls label{min-width:0}
#opportunity-controls select{overflow:hidden;text-overflow:ellipsis;height:34px;font-size:10px}
#opportunity-controls button{white-space:normal}
#opportunity-method{max-height:120px;overflow-y:auto;padding-right:4px}
@media(max-width:420px){#opportunity-controls .intervention-controls{grid-template-columns:minmax(0,1fr)}}
.analysis-heatmap-row:has(#opportunity-toggle:focus-visible){outline:2px solid #79dfd0;outline-offset:2px}
.analysis-heatmap-row input{position:absolute;opacity:0}.analysis-heatmap-row i{position:relative;width:29px;height:17px;border-radius:10px;background:#344657;transition:.18s}.analysis-heatmap-row i:after{content:"";position:absolute;left:3px;top:3px;width:11px;height:11px;border-radius:50%;background:#d8e5ec;transition:.18s}
.analysis-heatmap-row:has(input:checked){border-color:rgba(255,117,106,.32);background:linear-gradient(135deg,rgba(255,117,106,.13),rgba(45,212,191,.06))}.analysis-heatmap-row input:checked+i{background:#ed675c}.analysis-heatmap-row input:checked+i:after{transform:translateX(12px);background:#fff}
.analysis-panel-note{display:flex;gap:8px;margin-top:12px;padding:10px;border:1px solid rgba(89,209,195,.16);border-radius:12px;background:rgba(42,151,141,.08);font-size:9px;line-height:1.45;color:#a8bdc8}.analysis-panel-note strong{flex:none;color:#7ee2d6}
@media(max-width:900px){
  #header .header-simulator-shortcut{width:42px;min-width:42px;padding:0}#header .header-simulator-shortcut span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .analysis-panel{position:fixed;left:8px;right:8px;top:auto;bottom:calc(74px + env(safe-area-inset-bottom,0px));width:auto;max-height:min(64dvh,570px);border-radius:22px 22px 14px 14px;transform:translateY(0)}
  .analysis-panel.collapsed{transform:translateY(calc(100% + 96px))}
}
@media(max-width:520px){.analysis-heatmap-list{grid-template-columns:1fr}.analysis-panel{padding:14px}.analysis-heatmap-row{min-height:48px}}
/* v50 — unified CTC scrollbar treatment across drawers, cards and results. */
html,
body,
body.product-layout *{
  scrollbar-width:thin;
  scrollbar-color:#f36d63 rgba(8,29,44,.68)
}
body.product-layout *::-webkit-scrollbar{width:9px;height:9px}
body.product-layout *::-webkit-scrollbar-track{
  background:rgba(8,29,44,.68);border-radius:999px;box-shadow:inset 0 0 0 1px rgba(137,180,201,.10)
}
body.product-layout *::-webkit-scrollbar-thumb{
  min-height:34px;border:2px solid rgba(8,29,44,.82);border-radius:999px;
  background:linear-gradient(180deg,#ff8276,#e85852);box-shadow:0 2px 8px rgba(0,10,20,.24)
}
body.product-layout *::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ff978d,#f36d63)}
body.product-layout *::-webkit-scrollbar-thumb:active{background:#d94d49}
body.product-layout *::-webkit-scrollbar-corner{background:rgba(8,29,44,.78)}

/* v53 — keep map attribution fixed above the collapsed journey drawer. */
body.product-layout .maplibregl-ctrl-bottom-right{
  right:8px!important;bottom:74px!important;transition:none!important;z-index:16!important
}
@media(max-width:900px){body.product-layout .maplibregl-ctrl-bottom-right{bottom:144px!important}}

/* v54 — roomy mobile routes drawer + weathered charcoal Nearby palette. */
body.product-layout #route-tools-panel{
  border-color:rgba(255,255,255,.14)!important;
  background:
    radial-gradient(circle at 18% 8%,rgba(216,121,114,.075),transparent 31%),
    linear-gradient(145deg,rgba(35,36,39,.98),rgba(24,25,28,.99))!important;
  box-shadow:0 22px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.055)!important
}
body.product-layout #route-tools-panel .route-tools-head strong{color:#f3f0ed!important}
body.product-layout #route-tools-panel .route-tools-head small{color:#aaa6a3!important}
body.product-layout #route-tools-panel .route-tool,
body.product-layout #route-tools-panel .nearby-scope-btn{
  border-color:rgba(216,121,114,.40)!important;
  background:linear-gradient(145deg,rgba(216,121,114,.22),rgba(151,78,75,.12))!important;
  color:#e8eaed!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important
}
body.product-layout #route-tools-panel .route-tool:hover,
body.product-layout #route-tools-panel .route-tool.active,
body.product-layout #route-tools-panel .nearby-scope-btn.active{
  border-color:rgba(232,145,137,.76)!important;
  background:linear-gradient(145deg,rgba(216,121,114,.62),rgba(157,79,76,.48))!important;
  box-shadow:0 8px 20px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.12)!important
}
body.product-layout #route-tools-panel .route-tool b{color:#f6f2ef!important}
body.product-layout #route-tools-panel .route-tool small{color:#bbb5b1!important}
body.product-layout #route-tools-panel .route-tool:hover small,
body.product-layout #route-tools-panel .route-tool.active small{color:#f1dcda!important}
body.product-layout #route-tools-panel .route-tool .tool-icon,
body.product-layout #route-tools-panel .route-tool:hover .tool-icon,
body.product-layout #route-tools-panel .route-tool.active .tool-icon{
  color:#d87972!important;background:#eee7e4!important;border-color:rgba(216,121,114,.50)!important
}
body.product-layout #route-tools-panel .route-tool .tool-icon svg,
body.product-layout #route-tools-panel .route-tool:hover .tool-icon svg,
body.product-layout #route-tools-panel .route-tool.active .tool-icon svg{color:#d87972!important;stroke:#d87972!important}
body.product-layout #route-tools-panel #route-tools-status,
body.product-layout #route-tools-panel .nearby-service-legend{
  border-color:rgba(255,255,255,.11)!important;background:rgba(10,12,14,.34)!important;color:#c8c3bf!important
}
body.product-layout #route-tools-panel .nearby-service-legend strong,
body.product-layout #route-tools-panel .nearby-service-legend span{color:#ddd8d4!important}

@media(max-width:900px){
  body.product-layout.spatial-open #info-panel:not(.collapsed),
  body.mobile-sheet-open.product-layout #info-panel:not(.collapsed){
    display:flex!important;flex-direction:column!important;
    height:min(64dvh,calc(100dvh - 230px))!important;min-height:min(430px,calc(100dvh - 230px))!important;
    max-height:calc(100dvh - 230px)!important;overflow:hidden!important
  }
  body.product-layout #info-panel:not(.collapsed) #spatial-panel-content{
    flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;
    overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important
  }
}

/* Final cascade lock for the approved header treatment. */
body.product-layout #header{
  background-color:#111e2b!important;
  background-image:linear-gradient(90deg,rgba(8,20,31,.18),rgba(8,20,31,.02)),url('/static/images/ctc-header-parametric.svg?v=1')!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important
}
body.product-layout #header .header-wordmark-title,
body.product-layout #header .header-wordmark-title strong{color:#b6c0c7!important}
body.product-layout #header .header-wordmark-values,
body.product-layout #header .header-wordmark-values span{color:#aab3b9!important}
body.product-layout #header .header-wordmark small{color:#8f999f!important}
body.product-layout .product-rail .rail-action small{color:#aeb5ba!important}
body.product-layout .product-rail .rail-action.active small,
body.product-layout .product-rail .rail-action:hover small{color:#d6dadd!important}
/* Data dashboard shortcut */
.header-dashboard-shortcut{height:42px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:rgba(20,35,45,.72);color:#c9c9c9;text-decoration:none;font-size:11px;font-weight:800}
.header-dashboard-shortcut:hover{border-color:#f06a5f;color:#fff;background:rgba(240,106,95,.16)}
.header-dashboard-shortcut svg{width:18px;height:18px}
@media(max-width:900px){.header-dashboard-shortcut{width:42px;padding:0;justify-content:center}.header-dashboard-shortcut span{display:none}}


/* Compact grid-accessibility card and interactive hover donut */
.grid-access-panel-row{grid-template-columns:28px minmax(0,1fr) auto}
.grid-access-panel-actions{display:flex;align-items:center;gap:9px}
.grid-access-panel-actions .grid-access-switch{display:flex;align-items:center;justify-content:center;cursor:pointer}
.grid-access-panel-actions .grid-access-switch input{position:absolute;opacity:0;width:1px;height:1px}
.grid-access-panel-actions .grid-access-switch i{display:block;position:relative;width:29px;height:17px;border-radius:10px;background:#344657;transition:.18s}
.grid-access-panel-actions .grid-access-switch i:after{content:"";position:absolute;left:3px;top:3px;width:11px;height:11px;border-radius:50%;background:#d8e5ec;transition:.18s}
.grid-access-panel-actions .grid-access-switch input:checked+i{background:#ed675c}
.grid-access-panel-actions .grid-access-switch input:checked+i:after{transform:translateX(12px);background:#fff}
.grid-access-chart-toggle{position:relative;width:29px;height:29px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(145deg,#303b43,#202a31);color:#b9d6d5;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);transition:.18s ease}
.grid-access-chart-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.grid-access-chart-toggle:hover,.grid-access-chart-toggle.active{border-color:#54d6bd;color:#66e1c9;background:rgba(67,194,171,.18);box-shadow:0 0 0 3px rgba(84,214,189,.09),inset 0 1px 0 rgba(255,255,255,.08)}
.grid-access-chart-toggle:after{content:attr(data-tooltip);position:absolute;z-index:12;right:calc(100% + 9px);top:50%;width:max-content;max-width:180px;padding:6px 8px;border:1px solid rgba(93,214,190,.26);border-radius:8px;background:rgba(15,23,29,.98);color:#dce8e8;font:700 8px/1.25 Inter,system-ui,sans-serif;box-shadow:0 8px 22px rgba(0,0,0,.32);opacity:0;pointer-events:none;transform:translate(4px,-50%);transition:.16s ease}
.grid-access-chart-toggle:hover:after,.grid-access-chart-toggle:focus-visible:after{opacity:1;transform:translate(0,-50%)}
.grid-access-popup .maplibregl-popup-content{width:min(295px,calc(100vw - 24px))}
.grid-access-card{border-radius:17px}
.grid-access-head{padding:12px 12px 8px;align-items:center}
.grid-access-head h3{font-size:16px}
.grid-access-actions{gap:5px;flex-shrink:0}
.grid-access-actions button{width:26px;height:26px;min-width:26px;min-height:26px;line-height:1;transform:none!important;box-sizing:border-box}
.grid-access-primary{margin:0 10px;padding:11px;border-radius:12px}
.grid-access-primary strong{font-size:24px}
.grid-access-rings{padding:8px 10px 6px;gap:5px}
.grid-access-rings>div{padding:6px 5px}
.grid-access-caveat{padding:2px 10px 9px}
.grid-access-method{margin:0 10px 10px;padding:10px;max-height:min(200px,35vh);overflow-y:auto;overscroll-behavior:contain}
.grid-access-method>p{margin:7px 0}
.grid-access-method dl{gap:4px}
.grid-access-method dl>div{padding-top:4px}
.grid-access-method>em{margin-top:6px}
.grid-hover-chart-popup{z-index:22;pointer-events:none}
.grid-hover-chart-popup .maplibregl-popup-content{padding:0;background:transparent;box-shadow:none;max-width:350px}
.grid-hover-chart-popup .maplibregl-popup-tip{display:none}
.grid-hover-chart{width:326px;box-sizing:border-box;background:radial-gradient(circle at 12% 8%,rgba(83,210,187,.11),transparent 32%),linear-gradient(145deg,rgba(27,34,40,.985),rgba(15,21,26,.99));border:1px solid rgba(92,215,187,.3);border-radius:18px;padding:13px;color:#f3f6f7;box-shadow:0 18px 46px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.045);font:500 10px/1.35 Inter,system-ui,sans-serif;backdrop-filter:blur(15px)}
.grid-hover-chart-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.grid-hover-chart-title>div{display:flex;flex-direction:column;gap:2px}.grid-hover-chart-title span{color:#62d9c2;font-size:7px;font-weight:900;letter-spacing:1.35px}.grid-hover-chart-title b{font-size:13px;color:#f5f8f8}.grid-hover-chart-title small{max-width:125px;padding:4px 6px;border-radius:7px;background:rgba(255,255,255,.045);font-size:7.5px;color:#9facb5;text-align:right}
.grid-hover-chart-body{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid rgba(255,255,255,.065);border-radius:14px;background:rgba(255,255,255,.026)}
.grid-hover-donut{--ptal-angle:0deg;position:relative;width:102px;height:102px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#58d5bc 0 var(--ptal-angle),rgba(255,255,255,.075) var(--ptal-angle) 360deg);box-shadow:0 0 22px rgba(79,207,183,.1)}
.grid-hover-donut:before{content:"";position:absolute;inset:-3px;border:1px dashed rgba(111,226,205,.24);border-radius:50%}.grid-hover-donut:after{content:"0 — 40+";position:absolute;bottom:-8px;padding:1px 4px;border-radius:4px;background:#172027;color:#74858d;font-size:6px;letter-spacing:.5px}
.grid-hover-donut-hole{width:72px;height:72px;background:linear-gradient(145deg,#202a30,#151d22);border:1px solid rgba(255,255,255,.075);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:inset 0 4px 12px rgba(0,0,0,.28)}
.grid-hover-donut-hole strong{font-size:24px;line-height:1;letter-spacing:-.7px}.grid-hover-donut-hole small{margin-top:4px;font-size:8px;color:#7fe0cc;font-weight:800}
.grid-hover-metrics{display:grid;flex:1;gap:5px}.grid-hover-metrics>div{display:grid;grid-template-columns:25px 1fr;grid-template-rows:auto auto;align-items:center;padding:5px 7px;border-radius:9px;background:rgba(255,255,255,.035)}.grid-hover-metrics span{grid-row:1/3;color:#65d8c3;font:800 10px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace}.grid-hover-metrics strong{font-size:12px;line-height:1}.grid-hover-metrics strong i{font-size:7px;color:#91a0a7;font-style:normal}.grid-hover-metrics small{margin-top:2px;color:#7f9097;font-size:6.5px}
.grid-hover-equation{display:grid;grid-template-columns:1fr 12px 1fr 12px 1fr;align-items:center;gap:3px;margin-top:9px;padding:8px;border:1px solid rgba(255,121,105,.16);border-radius:12px;background:rgba(255,121,105,.045)}.grid-hover-equation>div{min-width:0;text-align:center}.grid-hover-equation span{display:block;margin-bottom:3px;color:#9aa8ae;font-size:6.5px}.grid-hover-equation code{display:block;color:#f6d4cf;font:700 7.5px/1.25 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.grid-hover-equation>i{color:#df776b;font-style:normal;text-align:center}
.grid-hover-sources{display:grid;grid-template-columns:64px 1fr;gap:4px 8px;align-items:center;margin-top:9px}.grid-hover-sources>span{grid-row:1/3;color:#9ba9af;font-size:7px}.grid-hover-sourcebar{display:flex;height:5px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.07)}.grid-hover-sourcebar i{display:block;height:100%;min-width:0}.grid-hover-sourcebar .historical{background:#57d3bb}.grid-hover-sourcebar .m11{background:#f0c96a}.grid-hover-sourcebar .m9{background:#ff786a}.grid-hover-sources small{display:flex;gap:5px;color:#778a92;font-size:6.5px}.grid-hover-sources b{color:#cbd8da}
.grid-hover-chart-note{display:block;margin-top:9px;padding-top:7px;border-top:1px solid rgba(255,255,255,.06);font-size:7px;color:#81939a;line-height:1.45}
@media(max-width:560px){.grid-access-popup .maplibregl-popup-content{width:min(290px,calc(100vw - 24px))}.grid-access-method{max-height:30vh}.grid-hover-chart-popup{position:fixed!important;top:74px!important;right:auto!important;bottom:auto!important;left:50%!important;transform:translateX(-50%)!important}.grid-hover-chart{width:min(310px,calc(100vw - 22px));padding:11px}.grid-hover-donut{width:92px;height:92px}.grid-hover-donut-hole{width:65px;height:65px}.grid-hover-equation code{font-size:6.7px}.grid-access-chart-toggle:after{display:none}}

/* PTAL provenance and input-data record inside the information drawer. */
.grid-access-method{max-height:min(310px,48vh)}
.grid-access-data-sources{margin-top:11px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08)}
.grid-access-data-sources h4{margin:0 0 7px;color:#ff9a91;font-size:9px;letter-spacing:.25px}
.grid-access-data-sources h4:not(:first-child){margin-top:12px}
.grid-access-data-sources ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.grid-access-data-sources li{display:grid;grid-template-columns:31px 1fr;gap:7px;padding:7px;border:1px solid rgba(255,255,255,.065);border-radius:9px;background:rgba(255,255,255,.03)}
.grid-access-data-sources li>i{display:grid;width:29px;height:29px;border-radius:8px;place-items:center;background:rgba(89,212,198,.12);color:#73ddd1;font-size:7px;font-style:normal;font-weight:900}
.grid-access-data-sources li span,.grid-access-data-sources li b{display:block}
.grid-access-data-sources li span{color:#9eabb2;font-size:7.4px;line-height:1.45}
.grid-access-data-sources li b{margin-bottom:2px;color:#e5eaec;font-size:8px}
.grid-access-data-sources>p{margin:0;color:#c9d1d5;font-size:8px;line-height:1.55}
.grid-access-source-links{display:grid;gap:5px;margin-top:8px}
.grid-access-source-links a{display:flex;align-items:center;justify-content:space-between;padding:7px 8px;border:1px solid rgba(89,212,198,.18);border-radius:8px;background:rgba(89,212,198,.06);color:#7ee2d6;font-size:7.5px;font-weight:800;text-decoration:none}
.grid-access-source-links a:hover{border-color:rgba(89,212,198,.48);background:rgba(89,212,198,.12);color:#b8fff7}
.grid-access-method-warning{display:block;margin-top:9px;padding:8px;border-left:2px solid #ff796d;border-radius:7px;background:rgba(255,121,109,.075);color:#e8ceca;font-size:7.3px;line-height:1.5}
@media(max-width:560px){.grid-access-method{max-height:42vh}}

/* Keep the accessibility popup action buttons inside the header on narrow layouts. */
.grid-access-popup .grid-access-head{min-width:0;box-sizing:border-box;gap:8px}
.grid-access-popup .grid-access-head>div:first-child{flex:1 1 auto;min-width:0}
.grid-access-popup .grid-access-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0;padding:0;position:static;transform:none}
.grid-access-popup .grid-access-actions button{position:static;inset:auto;right:auto;top:auto;flex:0 0 26px;box-sizing:border-box;width:26px;height:26px;min-width:26px;min-height:26px;margin:0;padding:0;display:grid;place-items:center;line-height:1;transform:none}

/* Definitive fix: anchor both actions to the card, not to a potentially overflowing header flex row. */
.grid-access-popup .grid-access-card{position:relative;overflow:visible;box-sizing:border-box;width:100%;min-width:0}
.grid-access-popup .grid-access-head{position:relative;display:block;padding-right:82px;min-height:53px;box-sizing:border-box;width:100%}
.grid-access-popup .grid-access-head>div:first-child{min-width:0;max-width:100%;overflow-wrap:anywhere}
.grid-access-popup .grid-access-actions{position:absolute!important;top:11px!important;right:11px!important;left:auto!important;bottom:auto!important;display:flex!important;flex-direction:row!important;gap:5px!important;width:57px!important;max-width:57px!important;height:26px!important;margin:0!important;padding:0!important;transform:none!important;box-sizing:border-box}
.grid-access-popup .grid-access-actions .grid-access-info,.grid-access-popup .grid-access-actions .grid-access-close{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;display:grid!important;place-items:center!important;flex:0 0 26px!important;width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;min-height:26px!important;margin:0!important;padding:0!important;transform:none!important;box-sizing:border-box!important}

/* Hover feedback for cells without a stop in the 1,200 m search radius */
.grid-hover-empty{width:245px}
.grid-hover-empty-message{display:flex;align-items:center;gap:9px;padding:10px 7px;background:rgba(255,119,100,.09);border:1px solid rgba(255,119,100,.24);border-radius:10px}
.grid-hover-empty-message>span{width:23px;height:23px;flex:0 0 23px;display:grid;place-items:center;border-radius:50%;background:#f17b6c;color:#1c2228;font-weight:900;font-size:14px}
.grid-hover-empty-message>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.grid-hover-empty-message strong{font-size:11px;color:#f4f6f8}
.grid-hover-empty-message small{font-size:9px;color:#b7c5ca;line-height:1.4}

/* v75 — map-level service-supply legend, anchored above Journey Options. */
.map-analysis-legend{
  position:fixed;z-index:22;right:18px;bottom:88px;width:min(342px,calc(100vw - 112px));
  padding:14px 15px 12px;box-sizing:border-box;overflow:hidden;pointer-events:none;
  border:1px solid rgba(116,217,204,.26);border-radius:17px;
  background:
    radial-gradient(circle at 92% 5%,rgba(255,224,131,.12),transparent 32%),
    linear-gradient(145deg,rgba(10,31,43,.965),rgba(8,24,35,.975));
  color:#edf7f7;box-shadow:0 18px 45px rgba(0,10,20,.38),inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(18px) saturate(120%);animation:mapLegendIn .24s cubic-bezier(.2,.8,.3,1)
}
.map-analysis-legend[hidden]{display:none!important}
.analysis-row-disabled{opacity:.48;cursor:not-allowed!important;filter:saturate(.55)}
.analysis-row-disabled input,.analysis-row-disabled i{cursor:not-allowed!important}
.analysis-row-disabled small{color:#8c969c!important}
.map-analysis-legend:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#55d3ca,#ffe083 64%,#ff7d6f)}
.map-analysis-legend-head{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px}
.map-analysis-legend-icon{position:relative;width:36px;height:36px;border:1px solid rgba(96,218,203,.22);border-radius:11px;background:rgba(79,203,190,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.map-analysis-legend-icon i{position:absolute;left:8px;bottom:8px;width:5px;border-radius:3px 3px 1px 1px;background:#55d3ca;box-shadow:0 0 9px rgba(85,211,202,.38)}
.map-analysis-legend-icon i:nth-child(1){height:8px}.map-analysis-legend-icon i:nth-child(2){left:16px;height:14px;background:#8cdfbd}.map-analysis-legend-icon i:nth-child(3){left:24px;height:20px;background:#ffe083}
.map-analysis-legend-title{display:flex;min-width:0;flex-direction:column;gap:2px}.map-analysis-legend-title small{color:#66d9cf;font-size:7px;font-weight:900;letter-spacing:1.35px}.map-analysis-legend-title b{overflow:hidden;color:#f3f8f8;font-size:13px;white-space:nowrap;text-overflow:ellipsis}
.map-analysis-legend-score{padding:5px 7px;border:1px solid rgba(255,224,131,.2);border-radius:8px;background:rgba(255,224,131,.07);color:#ffe7a5;font:850 8px/1 ui-monospace,SFMono-Regular,Consolas,monospace}
.map-analysis-legend>p{margin:10px 0 9px;color:#9eb3bd;font-size:8.5px;line-height:1.45}
.map-analysis-legend-scale{padding:9px 10px 8px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.028)}
.map-analysis-legend .grid-service-ramp{height:9px;margin:0 0 6px;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 14px rgba(85,211,202,.12)}
.map-analysis-legend .population-legend-labels{color:#8fa5b0;font-size:7px;font-weight:750}
.map-analysis-legend-bands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 7px;margin-top:8px;color:#9eb0b8;font-size:7px}
.map-analysis-legend-bands span{display:flex;align-items:center;gap:5px;white-space:nowrap}.map-analysis-legend-bands i{width:7px;height:7px;flex:none;border-radius:2px;background:#d1d5db}.map-analysis-legend-bands i.very-low{background:#f3d5b5}.map-analysis-legend-bands i.low{background:#e6a665}.map-analysis-legend-bands i.medium{background:#e9d56b}.map-analysis-legend-bands i.high{background:#77bda2}.map-analysis-legend-bands i.very-high{background:#187c70;box-shadow:0 0 7px rgba(24,124,112,.35)}
.grid-gap-bands i.gap-critical{background:#d84e4e;box-shadow:0 0 7px rgba(216,78,78,.4)}.grid-gap-bands i.gap-high{background:#ef7658}.grid-gap-bands i.gap-pressure{background:#efbd62}.grid-gap-bands i.gap-balanced{background:#93a2a7}.grid-gap-bands i.gap-advantage{background:#45b8aa}.grid-gap-bands i.gap-low{background:#4c5960}
.employment-validation-map-legend:before{background:linear-gradient(180deg,#3fb6a3,#f0c96a 46%,#ef6358)}.employment-validation-icon i:nth-child(1){background:#596c75}.employment-validation-icon i:nth-child(2){background:#9b80c8}.employment-validation-icon i:nth-child(3){background:#ef6358}.employment-validation-bands{grid-template-columns:repeat(2,minmax(0,1fr))}.employment-validation-bands i.employment-validation-needed{background:#f0c96a}.employment-validation-bands i.employment-validation-gap{background:#ef6358;box-shadow:0 0 7px rgba(239,99,88,.4)}.employment-validation-bands i.employment-validation-strong{background:#3fb6a3;box-shadow:0 0 7px rgba(63,182,163,.34)}.employment-validation-bands i.employment-validation-watch{background:#9b80c8}.employment-validation-bands i.employment-validation-low{background:#596c75}.employment-validation-bands i.employment-validation-balanced{background:#75aa9f}
.grid-gap-equation{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:6px;margin:10px 0;padding:9px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(3,17,25,.38)}.grid-gap-equation>span{display:flex;flex-direction:column;gap:2px;text-align:center}.grid-gap-equation small{color:#91a6af;font-size:7px;font-weight:800;text-transform:uppercase}.grid-gap-equation b{color:#f4f7f7;font:800 15px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.grid-gap-equation>i{color:#ef8a73;font-size:13px;font-style:normal;font-weight:900}.grid-gap-card .grid-access-primary .grid-access-class{max-width:145px;text-align:right}
.map-analysis-legend-note{display:block;margin-top:8px;padding-top:7px;border-top:1px solid rgba(255,255,255,.06);color:#748a95;font-size:6.7px;line-height:1.4}
@keyframes mapLegendIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:900px){.map-analysis-legend{right:8px;width:min(310px,calc(100vw - 16px));padding:11px 12px 10px;border-radius:15px}.map-analysis-legend>p{display:none}.map-analysis-legend-head{grid-template-columns:32px minmax(0,1fr) auto}.map-analysis-legend-icon{width:32px;height:32px}.map-analysis-legend-scale{margin-top:8px;padding:7px 8px 6px}.map-analysis-legend-bands{grid-template-columns:repeat(3,minmax(0,1fr))}.map-analysis-legend-note{display:none}}
@media(prefers-reduced-motion:reduce){.map-analysis-legend{animation:none}}

/* Analysis guide and scenario outcome narrative. */
.analysis-info-trigger{display:inline-grid;place-items:center;width:15px;height:15px;margin:0 0 0 4px;padding:0;border:1px solid rgba(112,220,207,.44);border-radius:50%;background:rgba(84,209,195,.12);color:#8ce8dc;font:900 9px/1 Georgia,serif;vertical-align:1px;cursor:pointer}.analysis-info-trigger:hover,.analysis-info-trigger:focus-visible{border-color:#9ef4e8;background:rgba(84,209,195,.26);color:#efffff;outline:0}.analysis-info-dialog{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:20px}.analysis-info-dialog[hidden]{display:none}.analysis-info-backdrop{position:absolute;inset:0;background:rgba(2,12,20,.66);backdrop-filter:blur(5px)}.analysis-info-card{position:relative;z-index:1;width:min(430px,calc(100vw - 34px));padding:23px 24px 21px;border:1px solid rgba(116,222,209,.3);border-radius:20px;background:radial-gradient(circle at 92% 4%,rgba(255,190,122,.13),transparent 30%),linear-gradient(150deg,#102b38,#0b1e2a);box-shadow:0 28px 80px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.08);color:#eff8f8}.analysis-info-card>small{color:#75dfd0;font-size:8px;font-weight:950;letter-spacing:1.4px}.analysis-info-card h3{margin:8px 30px 8px 0;color:#fff;font-size:22px;line-height:1.13}.analysis-info-card>p{margin:0;color:#c4d8dd;font-size:13px;font-weight:700;line-height:1.55}.analysis-info-details{margin-top:15px;padding:13px 14px;border-left:3px solid #65d6c6;border-radius:0 12px 12px 0;background:rgba(255,255,255,.055);color:#a9c1c8;font-size:11px;line-height:1.65}.analysis-info-close{position:absolute;right:15px;top:15px;width:28px;height:28px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.06);color:#e6f2f4;font-size:18px;cursor:pointer}.analysis-info-close:hover{background:rgba(255,126,113,.18);border-color:rgba(255,150,141,.5)}
.scenario-grid-explanation{display:flex;flex-direction:column;gap:0}.scenario-grid-explanation>small{color:#7de0d1;font-size:8px;font-weight:950;letter-spacing:1.2px}.scenario-grid-explanation h3{margin:7px 0;color:#f5fbfb;font-size:18px;line-height:1.18}.scenario-grid-explanation p{margin:0;color:#aec2c8;font-size:10px;line-height:1.6}.scenario-grid-explanation p b{color:#f4d9a0}.scenario-grid-explanation .scenario-grid-lead{margin:11px 0 12px;padding:10px 11px;border-left:3px solid #ff917f;border-radius:0 9px 9px 0;background:rgba(255,122,108,.08);color:#dce9eb}.scenario-impact-list{display:grid;gap:7px;margin-top:2px}.scenario-impact-list>div{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:10px 11px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.038)}.scenario-impact-list b{color:#dcebed;font-size:9px}.scenario-impact-list strong{color:#77decf;font:900 15px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.scenario-impact-list span{grid-column:1/-1;color:#90aab3;font-size:8px}.scenario-grid-explanation .scenario-grid-note{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);color:#829aa4;font-size:8.5px;line-height:1.55}
@media(max-width:760px){.analysis-info-dialog{padding:12px}.analysis-info-card{padding:19px 18px}.analysis-info-card h3{font-size:19px}.analysis-info-card>p{font-size:12px}.scenario-grid-explanation h3{font-size:16px}}

/* v76 — editorial, cartographic opening screen. */
.welcome-screen{background-color:#071722!important;background-image:radial-gradient(circle at 83% 15%,rgba(67,177,170,.13),transparent 26%),radial-gradient(circle at 11% 82%,rgba(244,121,104,.12),transparent 27%),linear-gradient(135deg,#061520 0%,#0b2433 54%,#101b2c 100%)!important}.welcome-screen:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.5;background-image:linear-gradient(rgba(149,205,203,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(149,205,203,.026) 1px,transparent 1px);background-size:44px 44px}.welcome-shell{position:relative!important;width:min(1240px,calc(100% - 52px));padding:26px 0 28px}.welcome-nav{min-height:62px!important}.welcome-brand-mark{width:68px!important;height:68px!important}.welcome-brand-mark img{filter:drop-shadow(0 9px 16px rgba(0,0,0,.32))!important}.welcome-nav-note{border-radius:7px;background:rgba(126,211,198,.08);color:#9fded4;font-size:8px;letter-spacing:.15em}.welcome-hero{display:block;padding:38px 0 28px}.welcome-landing-grid{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(480px,1.18fr);align-items:center;gap:clamp(36px,6vw,90px);min-height:min(690px,calc(100dvh - 150px))}.welcome-intro-editorial{max-width:540px;margin:0;text-align:left}.welcome-intro-editorial .welcome-eyebrow{margin-bottom:19px;border-radius:7px;background:rgba(102,215,199,.08);font-size:8px}.welcome-intro-editorial h1{font-size:clamp(47px,5.2vw,78px);line-height:.99;letter-spacing:-.067em}.welcome-intro-editorial h1 span{background:linear-gradient(100deg,#90e5d9,#a6d3dd 45%,#f1b1a8);-webkit-background-clip:text;background-clip:text}.welcome-intro-editorial p{max-width:510px;margin:23px 0 0;color:#b1c3c9;font-size:15px;line-height:1.72}.welcome-landing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin-top:30px}.welcome-map-open{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:49px;padding:0 15px 0 18px;border:1px solid rgba(231,248,245,.34);border-radius:9px;background:#d96255;color:#fff;font:900 11px/1 Inter,sans-serif;letter-spacing:.03em;cursor:pointer;box-shadow:0 13px 26px rgba(165,65,55,.25);transition:.2s ease}.welcome-map-open:hover{transform:translateY(-2px);background:#ed7466;box-shadow:0 17px 34px rgba(165,65,55,.34)}.welcome-map-open b{display:grid;place-items:center;width:23px;height:23px;border-radius:5px;background:rgba(255,255,255,.17);font-size:15px}.welcome-explore-link{padding:10px 4px;border:0;background:transparent;color:#a9d8d3;font:800 10px/1.4 Inter,sans-serif;text-align:left;cursor:pointer}.welcome-explore-link span{margin-left:6px;color:#f0aa9e;font-size:14px}.welcome-explore-link:hover{color:#ecf8f6}.welcome-proof{display:flex;gap:0;margin-top:40px;border-top:1px solid rgba(179,220,220,.15);padding-top:16px}.welcome-proof>div{display:grid;gap:4px;min-width:112px;padding-right:18px}.welcome-proof>div+div{padding-left:17px;border-left:1px solid rgba(179,220,220,.14)}.welcome-proof b{color:#e7f4f2;font:900 13px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.welcome-proof span{color:#819ca4;font-size:8px;font-weight:750;letter-spacing:.03em}.welcome-map-preview{overflow:hidden;border:1px solid rgba(163,217,213,.2);border-radius:18px;background:rgba(8,29,41,.72);box-shadow:0 26px 70px rgba(0,4,12,.36),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(13px)}.welcome-map-preview>header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:auto!important;height:auto!important;padding:13px 16px!important;border-bottom:1px solid rgba(184,222,224,.13);background:rgba(4,19,29,.54);font-size:8px;font-weight:900;letter-spacing:.11em;color:#b8d6d8}.welcome-map-preview>header span{display:flex;align-items:center;gap:7px}.welcome-map-preview>header i{width:7px;height:7px;border-radius:50%;background:#54d4bc;box-shadow:0 0 0 4px rgba(84,212,188,.12)}.welcome-map-preview>header small{color:#829da5;font:700 7px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.welcome-map-canvas{position:relative;aspect-ratio:1.59;min-height:290px;background:#0d2d3d}.welcome-map-canvas svg{display:block;width:100%;height:100%}.welcome-map-chip{position:absolute;padding:7px 8px;border:1px solid rgba(224,244,239,.17);border-radius:7px;background:rgba(4,21,30,.83);box-shadow:0 7px 18px rgba(0,0,0,.2);backdrop-filter:blur(8px)}.welcome-map-chip b,.welcome-map-chip span{display:block}.welcome-map-chip b{font-size:7px;letter-spacing:.07em}.welcome-map-chip span{margin-top:2px;color:#9ab3b8;font-size:7px}.chip-ptal{left:12%;top:16%}.chip-ptal b{color:#e8d96e}.chip-supply{right:13%;bottom:18%}.chip-supply b{color:#80d4c8}.welcome-map-legend{position:absolute;left:14px;bottom:12px;display:flex;gap:9px;color:#c0d8d8;font-size:7px;font-weight:800}.welcome-map-legend span{display:flex;align-items:center;gap:4px}.welcome-map-legend i{width:7px;height:7px;border-radius:2px}.welcome-map-legend .coral{background:#f28372}.welcome-map-legend .mint{background:#75ccc2}.welcome-map-legend .yellow{background:#e4d66e}.welcome-map-preview>footer{display:grid;grid-template-columns:1fr 1.18fr auto;align-items:center;gap:12px;padding:13px 15px;background:rgba(4,19,29,.58)}.welcome-map-preview>footer div{display:grid;gap:3px}.welcome-map-preview>footer b{color:#e1efee;font-size:10px}.welcome-map-preview>footer span{color:#839ba3;font-size:7px}.welcome-map-preview>footer button{justify-self:end;display:flex;align-items:center;gap:7px;padding:8px 9px;border:1px solid rgba(109,219,205,.25);border-radius:7px;background:rgba(86,210,194,.09);color:#9ce8de;font:850 8px/1 Inter,sans-serif;cursor:pointer}.welcome-map-preview>footer button:hover{background:rgba(86,210,194,.18)}
@media(max-width:900px){.welcome-shell{width:min(100% - 30px,720px)}.welcome-landing-grid{grid-template-columns:1fr;gap:29px;min-height:auto}.welcome-intro-editorial{max-width:630px}.welcome-map-preview{max-width:680px;width:100%}.welcome-map-canvas{min-height:0}.welcome-proof{margin-top:29px}}
@media(max-width:600px){.welcome-shell{width:min(100% - 24px,560px);padding-top:12px}.welcome-nav{min-height:50px!important}.welcome-brand-mark{width:50px!important;height:50px!important}.welcome-hero{padding:26px 0 20px}.welcome-intro-editorial h1{font-size:clamp(41px,13vw,59px)}.welcome-intro-editorial p{font-size:13px}.welcome-landing-actions{margin-top:24px}.welcome-map-open{width:100%;max-width:250px}.welcome-proof>div{min-width:0;flex:1;padding-right:8px}.welcome-proof>div+div{padding-left:8px}.welcome-proof b{font-size:11px}.welcome-proof span{font-size:7px}.welcome-map-preview>header{padding:11px!important}.welcome-map-preview>header small{display:none}.welcome-map-preview>footer{grid-template-columns:1fr 1fr}.welcome-map-preview>footer button{grid-column:1/-1;justify-self:stretch;justify-content:center}.welcome-map-chip{display:none}.welcome-map-legend{font-size:6px}}

/* Intent-led onboarding replaces the decorative landing-preview map. */
.welcome-map-preview{display:none!important}.welcome-onboarding{position:relative;grid-column:2;min-height:520px;overflow:hidden;border:1px solid rgba(143,221,210,.24);border-radius:20px;background:radial-gradient(circle at 78% 12%,rgba(240,125,109,.18),transparent 27%),radial-gradient(circle at 18% 85%,rgba(82,209,194,.16),transparent 34%),linear-gradient(145deg,#0e2937,#091d2b);box-shadow:0 28px 70px rgba(0,4,12,.38),inset 0 1px rgba(255,255,255,.08);color:#edf8f7}.welcome-onboarding>header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:16px 19px;border-bottom:1px solid rgba(185,227,224,.12);color:#a7cac8;font-size:8px;font-weight:900;letter-spacing:.15em}.welcome-onboarding>header b{padding:6px 8px;border:1px solid rgba(231,248,244,.16);border-radius:7px;color:#e7f4f2;font:850 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.onboarding-orbit{position:absolute;inset:0;pointer-events:none;opacity:.7}.onboarding-orbit:before,.onboarding-orbit:after,.onboarding-orbit i{content:"";position:absolute;border:1px solid rgba(103,220,205,.15);border-radius:50%;transform:rotate(-27deg)}.onboarding-orbit:before{width:92%;height:42%;left:19%;top:11%}.onboarding-orbit:after{width:78%;height:35%;left:-27%;bottom:9%;border-color:rgba(239,129,113,.14)}.onboarding-orbit i:nth-child(1){width:9px;height:9px;left:71%;top:27%;background:#70d6c9;box-shadow:0 0 0 7px rgba(112,214,201,.11),0 0 19px rgba(112,214,201,.5);animation:onboardingOrbit 4.8s linear infinite}.onboarding-orbit i:nth-child(2){width:7px;height:7px;left:17%;bottom:22%;background:#ef8878;box-shadow:0 0 0 6px rgba(239,136,120,.1);animation:onboardingOrbit 5.9s linear reverse infinite}.onboarding-orbit i:nth-child(3){width:4px;height:4px;right:24%;bottom:20%;background:#f1db7e;box-shadow:0 0 10px #f1db7e}.onboarding-question,.onboarding-result{position:relative;z-index:1;display:flex;min-height:420px;padding:clamp(29px,4vw,50px);flex-direction:column;justify-content:center}.onboarding-question[hidden],.onboarding-result[hidden]{display:none}.onboarding-question>small,.onboarding-result>small{color:#78ded1;font-size:8px;font-weight:950;letter-spacing:.18em}.onboarding-question h2,.onboarding-result h2{max-width:490px;margin:13px 0 9px;color:#f5fbfa;font-size:clamp(25px,3vw,39px);line-height:1.06;letter-spacing:-.055em}.onboarding-question>p,.onboarding-result>p{max-width:450px;margin:0;color:#aec6c9;font-size:12px;line-height:1.65}.onboarding-choices{display:grid;gap:9px;margin-top:24px}.onboarding-choice{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:12px 13px;border:1px solid rgba(216,244,240,.13);border-radius:12px;background:rgba(255,255,255,.04);color:#eaf6f4;text-align:left;cursor:pointer;transition:.2s ease}.onboarding-choice:hover{border-color:rgba(116,224,211,.5);background:rgba(85,210,195,.1);transform:translateX(4px)}.onboarding-choice>b{width:7px;height:7px;border-radius:50%;background:#65d5c7;box-shadow:0 0 0 4px rgba(101,213,199,.11)}.onboarding-choice:nth-child(2)>b{background:#f0d87a;box-shadow:0 0 0 4px rgba(240,216,122,.11)}.onboarding-choice:nth-child(3)>b{background:#ee8977;box-shadow:0 0 0 4px rgba(238,137,119,.11)}.onboarding-choice span{font-size:11px;font-weight:850}.onboarding-choice small{display:block;margin-top:3px;color:#91abb0;font-size:8px;font-weight:650}.onboarding-choice i{color:#8ce2d7;font-size:15px;font-style:normal}.onboarding-back{align-self:flex-start;margin-top:15px;padding:0;border:0;background:transparent;color:#9fded7;font-size:9px;font-weight:850;cursor:pointer}.onboarding-result{align-items:flex-start}.onboarding-summary{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.onboarding-summary span{padding:7px 9px;border:1px solid rgba(125,224,212,.23);border-radius:8px;background:rgba(94,214,199,.08);color:#cfece7;font-size:8px;font-weight:800}.onboarding-open-map{margin-top:4px}.welcome-onboarding>footer{position:absolute;z-index:2;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;padding:14px;color:#819ba2;font-size:7px;font-weight:750}.welcome-onboarding>footer i{color:#e88070;font-style:normal}@keyframes onboardingOrbit{to{transform:translate(34px,-21px) rotate(333deg)}}@media(max-width:900px){.welcome-onboarding{grid-column:1;min-height:490px;width:100%;max-width:680px}.onboarding-question,.onboarding-result{min-height:390px}}@media(max-width:600px){.welcome-onboarding{min-height:500px;border-radius:16px}.onboarding-question,.onboarding-result{min-height:412px;padding:28px 23px}.onboarding-question h2,.onboarding-result h2{font-size:27px}.onboarding-choice{padding:11px}.onboarding-orbit:before{left:14%;width:108%}}@media(prefers-reduced-motion:reduce){.onboarding-orbit i{animation:none}}

/* GeoTech-style interactive miniature city: original CTC transit landmarks, not a copied asset. */
.welcome-transit-city .welcome-city-stage{display:none!important}.welcome-city-render{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:cover;object-position:center 54%;transform:scale(1.015);transition:transform .55s cubic-bezier(.2,.8,.24,1),filter .45s ease;filter:saturate(.88) contrast(1.03) brightness(.86)}.welcome-transit-city:hover .welcome-city-render{transform:scale(1.06);filter:saturate(.98) contrast(1.04) brightness(.96)}.welcome-transit-city:after{z-index:2!important;background:linear-gradient(180deg,rgba(4,19,29,.04),rgba(4,19,29,.16))!important;mix-blend-mode:normal!important}.welcome-transit-city .welcome-map-chip,.welcome-transit-city .welcome-map-legend{z-index:3}.welcome-transit-city .welcome-map-chip{background:rgba(4,20,29,.78);border-color:rgba(212,242,236,.26);color:#e7f5f1}.welcome-transit-city .welcome-map-chip span{color:#bdd1d2}
.welcome-transit-city{isolation:isolate;overflow:hidden;perspective:1050px;background:radial-gradient(circle at 45% 35%,#1d4956 0,transparent 38%),#071923}.welcome-city-stage{position:relative;z-index:1;transform:rotateX(var(--city-tilt-y,0deg)) rotateY(var(--city-tilt-x,0deg)) scale(1.045);transform-origin:50% 56%;transition:transform .42s cubic-bezier(.2,.8,.24,1);will-change:transform}.welcome-transit-city:after{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(circle at 49% 52%,rgba(85,222,203,.15),transparent 25%),linear-gradient(130deg,rgba(255,132,112,.08),transparent 36%);mix-blend-mode:screen}.city-track{fill:none;stroke-linecap:round;filter:url(#city-glow)}.city-track-road{stroke:#ee7869;stroke-width:5;stroke-dasharray:6 8}.city-track-rail{stroke:#f1dc78;stroke-width:3.4;stroke-dasharray:12 6}.city-track-water{stroke:#65d8cb;stroke-width:3;stroke-dasharray:3 8}.city-label rect{fill:rgba(5,20,29,.91);stroke:#a4d5ce;stroke-opacity:.35}.city-label text{fill:#eaf9f5;font:700 6px Inter,sans-serif;letter-spacing:.55px}.city-label text+text{fill:#9ab8b9;font:600 5px Inter,sans-serif}.city-vehicle{stroke:#fff4d9;stroke-width:1.1;filter:url(#city-glow)}.city-bus rect{fill:#ef8f52}.city-bus .city-window{fill:#d9fff7;stroke:none}.city-tram rect,.city-tram path{fill:#ed665e}.city-tram path{stroke:#f7d77e;stroke-width:1.5}.city-ferry path{fill:#5bcfc0}.city-ferry rect{fill:#e4fbf7}.city-node circle:first-child{fill:#f47c6a;opacity:.18;animation:cityNodePulse 1.8s ease-out infinite}.city-node circle:last-child{fill:#fff4df;stroke:#ed7061;stroke-width:2}.welcome-transit-city:hover .welcome-city-stage{transform:rotateX(var(--city-tilt-y,0deg)) rotateY(var(--city-tilt-x,0deg)) scale(1.075)}@keyframes cityNodePulse{0%{r:5;opacity:.72}100%{r:18;opacity:0}}@media(max-width:600px){.welcome-city-stage{transform:scale(1.08)}.welcome-transit-city:hover .welcome-city-stage{transform:scale(1.08)}}@media(prefers-reduced-motion:reduce){.city-vehicle animateMotion{display:none}.city-node circle:first-child{animation:none}.welcome-city-stage{transition:none}}

/* Render overlay takes precedence over the retired inline SVG model. */
.welcome-transit-city:after{z-index:2!important;background:linear-gradient(180deg,rgba(4,19,29,.04),rgba(4,19,29,.16))!important;mix-blend-mode:normal!important}.welcome-transit-city .welcome-map-chip,.welcome-transit-city .welcome-map-legend{z-index:3}.welcome-transit-city .welcome-map-chip{background:rgba(4,20,29,.78);border-color:rgba(212,242,236,.26);color:#e7f5f1}.welcome-transit-city .welcome-map-chip span{color:#bdd1d2}

/* A miniature Istanbul is brought to life by transit vehicles orbiting its loops. */
.map-entry-route{display:none!important}.map-entry-scan{display:none!important}.map-entry-navigation-motion{position:absolute;z-index:2;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0;transition:opacity .25s ease}.map-entry-transition.is-active .map-entry-navigation-motion{opacity:1}.map-entry-orbit-guide{fill:none;stroke-linecap:round;stroke-dasharray:3 16;opacity:.34}.orbit-road{stroke:#ff9a82;stroke-width:1.7}.orbit-rail{stroke:#f3de80;stroke-width:1.3}.orbit-water{stroke:#68ded2;stroke-width:1.4}.map-entry-vehicle{filter:drop-shadow(0 5px 7px rgba(0,0,0,.44)) drop-shadow(0 0 8px rgba(255,214,132,.22));stroke:#fff4df;stroke-width:1.4}.map-entry-vehicle rect,.map-entry-vehicle>path{fill:#f47968}.map-entry-vehicle .vehicle-window{fill:#d5fff9;stroke:#6cd6ca;stroke-width:1}.map-entry-vehicle circle{fill:#182e3b;stroke:#f9d681;stroke-width:1}.vehicle-tram rect,.vehicle-tram>path{fill:#ee645b}.vehicle-bus rect{fill:#ee9a52}.vehicle-ferry>path{fill:#5bc9bd}.vehicle-ferry rect{fill:#dff9f6}.vehicle-ferry .vehicle-window{fill:none;stroke:#236c72;stroke-width:2}.map-entry-transition.stage-two .map-entry-orbit-guide{opacity:.6}.map-entry-transition.stage-three .map-entry-navigation-motion{opacity:.48}.map-entry-visual.active{animation:entryMiniatureOrbit 2.55s cubic-bezier(.18,.8,.2,1) both!important}@keyframes entryMiniatureOrbit{0%{transform:scale(1.1) translate3d(-.6%,1%,0);filter:saturate(.84) contrast(1.08) brightness(.68)}42%{transform:scale(1.055) translate3d(-.18%,.28%,0);filter:saturate(1.06) contrast(1.04) brightness(.82)}100%{transform:scale(1.025) translate3d(0,0,0);filter:saturate(1.03) contrast(1.03) brightness(.88)}}@media(prefers-reduced-motion:reduce){.map-entry-navigation-motion{display:none!important}.map-entry-visual.active{animation:none!important}}

/* Full-screen 3D CTC city handoff, inspired by the interaction language of the GeoTech city—not its artwork. */
.map-entry-transition .map-entry-navigation-motion{display:none!important}.map-entry-city{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:radial-gradient(circle at 48% 44%,#193e48 0,transparent 36%),#04151f!important}.map-entry-city svg{display:block;width:100%;height:100%;transform:scale(1.07) rotateX(3deg);transform-origin:50% 54%}.map-entry-city.active{animation:entryCityApproach 2.55s cubic-bezier(.18,.8,.2,1) both!important}.entry-city-grid{stroke-dasharray:2 10;animation:entryGridTravel 5s linear infinite}.entry-city-routes path{stroke-linecap:round}.entry-route-road{stroke:#f08070;stroke-width:14;stroke-dasharray:13 17}.entry-route-rail{stroke:#f2da77;stroke-width:9;stroke-dasharray:28 16}.entry-route-water{stroke:#64d7ca;stroke-width:8;stroke-dasharray:7 19}.entry-place-label rect{fill:#071923;fill-opacity:.92;stroke:#9ad8ce;stroke-opacity:.42}.entry-place-label text{fill:#eefaf6;font:800 11px Inter,sans-serif;letter-spacing:1px}.entry-place-label text+text{fill:#9ab7b7;font:700 8px Inter,sans-serif}.entry-moving{stroke:#fff3de;stroke-width:2;filter:url(#entryCityGlow)}.entry-car rect{fill:#ee8c55}.entry-bus rect{fill:#ef6f63}.entry-moving .entry-window{fill:#dafbf5;stroke:#54cdbf;stroke-width:1}.entry-moving circle{fill:#152e37;stroke:#f5d579;stroke-width:1.3}.entry-ferry path{fill:#5bcdbf}.entry-ferry rect{fill:#e4faf6}.entry-pedestrian{fill:none;stroke:#f8f0d7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px rgba(248,239,202,.56))}.entry-pedestrian circle{fill:#f4d87c;stroke:none}.map-entry-transition.stage-two .entry-city-buildings{animation:entryBuildingsLift .55s cubic-bezier(.2,.8,.25,1) both}.map-entry-transition.stage-three .entry-moving{filter:url(#entryCityGlow) drop-shadow(0 0 10px rgba(255,214,132,.8))}@keyframes entryCityApproach{0%{opacity:0;transform:scale(1.19);filter:saturate(.72) brightness(.5)}20%{opacity:1}100%{opacity:1;transform:scale(1);filter:saturate(1.05) brightness(.92)}}@keyframes entryGridTravel{to{stroke-dashoffset:-120}}@keyframes entryBuildingsLift{from{transform:translateY(18px);opacity:.58}to{transform:none;opacity:1}}@media(max-width:700px){.map-entry-city svg{transform:scale(1.65) translateX(-5%)}.entry-place-label{display:none}.entry-pedestrian{stroke-width:4}}@media(prefers-reduced-motion:reduce){.map-entry-city.active,.entry-city-grid,.map-entry-transition.stage-two .entry-city-buildings{animation:none!important}.entry-moving,.entry-pedestrian{display:none}}

/* The wide city render is deliberately separate from the small interactive model on the welcome screen. */
.map-entry-city>svg{display:none!important}.map-entry-city-image{position:absolute;inset:-2%;display:block;width:104%;height:104%;object-fit:cover;object-position:center 50%;filter:saturate(.9) contrast(1.07) brightness(.76)}.map-entry-transition.is-active .map-entry-city-image{animation:entryFullCityDrift 2.55s cubic-bezier(.18,.8,.2,1) both}.map-entry-urban-motion{position:absolute;z-index:2;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .3s ease}.map-entry-transition.is-active .map-entry-urban-motion{opacity:1}.urban-guide{fill:none;stroke-linecap:round;stroke-dasharray:4 16;opacity:.54}.urban-guide-road{stroke:#ff9a84;stroke-width:2.4}.urban-guide-water{stroke:#72ddd1;stroke-width:2.2}.urban-guide-walk{stroke:#f3db7c;stroke-width:1.7}.urban-vehicle{filter:url(#urbanGlow);stroke:#fff6df;stroke-width:1.4}.urban-car rect{fill:#f09557}.urban-bus rect{fill:#ec6d62}.urban-window{fill:#d5fff8;stroke:#5dd4c6;stroke-width:1}.urban-vehicle circle{fill:#182d36;stroke:#f6d777;stroke-width:1}.urban-ferry path{fill:#58cbbd}.urban-ferry rect{fill:#e5faf6}.urban-person{fill:none;stroke:#fff2d8;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;filter:url(#urbanGlow)}.urban-person circle{fill:#f4d77b;stroke:none}.urban-person-two{opacity:.66}@keyframes entryFullCityDrift{from{transform:scale(1.1) translate3d(-.8%,.6%,0);filter:saturate(.7) contrast(1.1) brightness(.55)}to{transform:scale(1) translate3d(0,0,0);filter:saturate(.98) contrast(1.07) brightness(.82)}}@media(max-width:700px){.map-entry-city-image{inset:0;width:100%;height:100%;object-position:50% 50%}.urban-person{display:none}.urban-guide{opacity:.4}}@media(prefers-reduced-motion:reduce){.map-entry-transition.is-active .map-entry-city-image{animation:none}.map-entry-urban-motion{display:none}}

/* v78 — presentation-style Istanbul handoff: three distinct scenes, no generic 3D backdrop. */
.map-entry-city,.map-entry-urban-motion{display:none!important}.map-entry-presentation{position:absolute;z-index:0;inset:0;overflow:hidden;background:#071925;isolation:isolate}.map-entry-scene{position:absolute;inset:0;display:grid;place-items:center;opacity:0;pointer-events:none}.map-entry-transition.is-active .entry-scene-split{opacity:1}.map-entry-transition.stage-two .entry-scene-split,.map-entry-transition.stage-three .entry-scene-split{opacity:0}.map-entry-transition.stage-two .entry-scene-roll{opacity:1}.map-entry-transition.stage-three .entry-scene-roll{opacity:0}.map-entry-transition.stage-three .entry-scene-shatter{opacity:1}.entry-scene-split{background:radial-gradient(circle at 50% 55%,rgba(93,216,202,.2),transparent 25%),#071925}.entry-split-panel{position:absolute;top:0;bottom:0;z-index:2;display:flex;align-items:center;gap:10px;width:50%;padding:0 clamp(28px,7vw,120px);background:#0a202d;color:#eef8f6;font-family:Inter,sans-serif;transition:transform .68s cubic-bezier(.66,.05,.25,1)}.entry-split-panel span{font-weight:950;font-size:clamp(24px,4vw,63px);letter-spacing:-.07em}.entry-split-panel b{font-size:9px;letter-spacing:.2em;color:#8edfd4}.entry-split-panel i{width:8px;height:8px;border-radius:50%;background:#f07667;box-shadow:0 0 0 6px rgba(240,118,103,.15)}.entry-split-west{left:0;justify-content:flex-end;border-right:1px solid rgba(137,224,213,.34)}.entry-split-east{right:0;justify-content:flex-start;background:#0d2734}.entry-split-map{position:absolute;inset:9%;overflow:hidden;background:linear-gradient(137deg,#143a4a 0 43%,#07394d 43% 55%,#153844 55%);clip-path:polygon(0 23%,25% 6%,49% 23%,76% 8%,100% 30%,92% 76%,68% 91%,41% 78%,14% 92%,0 67%)}.entry-split-water{position:absolute;left:46%;top:-7%;bottom:-6%;width:9%;border-radius:50%;background:#5cd2c6;box-shadow:0 0 36px rgba(92,210,198,.5);transform:rotate(16deg)}.entry-split-route{position:absolute;height:3px;border-radius:999px;transform-origin:left;box-shadow:0 0 13px currentColor}.entry-split-route.route-a{left:9%;top:64%;width:79%;background:#f18170;color:#f18170;transform:rotate(-20deg)}.entry-split-route.route-b{left:19%;top:43%;width:56%;background:#efd679;color:#efd679;transform:rotate(22deg)}.entry-split-route.route-c{left:38%;top:19%;width:32%;background:#68d6c9;color:#68d6c9;transform:rotate(71deg)}.map-entry-transition.is-active .entry-split-west{transform:translateX(-100%)}.map-entry-transition.is-active .entry-split-east{transform:translateX(100%)}.map-entry-transition.is-active .entry-split-map{animation:entrySplitMapIn .85s cubic-bezier(.15,.82,.25,1) .14s both}.entry-scene-roll{background:radial-gradient(circle at 50% 50%,rgba(110,223,209,.15),transparent 31%),linear-gradient(130deg,#061722,#102a38)}.entry-roll-disk{position:relative;display:grid;place-items:center;width:min(44vw,590px);aspect-ratio:1;border:1px solid rgba(179,239,226,.5);border-radius:50%;background:radial-gradient(circle at 55% 45%,#244c57 0 27%,#122e3b 28% 52%,#0c2633 53%);box-shadow:0 0 0 22px rgba(102,218,203,.04),0 0 80px rgba(76,211,195,.18),inset 0 0 52px rgba(0,0,0,.45);transform:rotateX(64deg) rotateZ(-18deg) scale(.18);opacity:0}.entry-roll-disk:before{content:"";position:absolute;inset:14%;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:repeating-linear-gradient(40deg,transparent 0 25px,rgba(169,235,226,.08) 26px 27px)}.entry-roll-disk b,.entry-roll-disk small{position:relative;z-index:2;color:#eaf6f4;text-shadow:0 2px 9px #06131c}.entry-roll-disk b{font-size:clamp(19px,3vw,44px);letter-spacing:.12em}.entry-roll-disk small{position:absolute;top:60%;font:800 8px/1 Inter,sans-serif;letter-spacing:.2em;color:#a7ddd6}.disk-water{position:absolute;width:13%;height:100%;border-radius:50%;background:#5bcfc1;opacity:.65;transform:rotate(18deg)}.disk-route{position:absolute;height:4px;border-radius:9px;box-shadow:0 0 12px currentColor}.disk-route.route-a{width:68%;background:#f18070;color:#f18070;transform:rotate(-32deg)}.disk-route.route-b{width:52%;background:#f3da7d;color:#f3da7d;transform:rotate(42deg)}.disk-node{position:absolute;width:13px;height:13px;border:2px solid #eef8f4;border-radius:50%;background:#f17868;box-shadow:0 0 14px #f17868}.node-a{left:19%;top:37%}.node-b{right:18%;top:62%}.node-c{left:57%;bottom:18%;background:#63d4c6;box-shadow:0 0 14px #63d4c6}.entry-roll-orbit{position:absolute;border:1px solid rgba(105,222,207,.24);border-radius:50%;transform:rotateX(66deg)}.orbit-one{width:min(78vw,1020px);height:min(39vw,510px)}.orbit-two{width:min(61vw,790px);height:min(30vw,392px);border-color:rgba(242,216,122,.26);transform:rotateX(66deg) rotateZ(34deg)}.map-entry-transition.stage-two .entry-roll-disk{animation:entryDiskRoll .84s cubic-bezier(.13,.88,.2,1) both}.map-entry-transition.stage-two .entry-roll-orbit{animation:entryOrbitSpin 1.1s linear infinite}.entry-scene-shatter{background:radial-gradient(circle at 52% 48%,rgba(241,120,104,.13),transparent 32%),#071925}.entry-shatter-map{position:relative;overflow:hidden;width:min(78vw,1100px);height:min(58vh,550px);border:1px solid rgba(153,228,217,.25);background:linear-gradient(137deg,#173b48 0 42%,#07506a 42% 53%,#143642 53%);box-shadow:0 30px 90px rgba(0,0,0,.4);clip-path:polygon(0 9%,18% 0,39% 10%,58% 2%,79% 10%,100% 3%,96% 86%,77% 100%,53% 89%,28% 100%,0 90%);transform:scale(.82);opacity:0}.entry-shatter-map>span{position:absolute;left:47%;top:-12%;width:8%;height:130%;border-radius:50%;background:#60d3c5;transform:rotate(19deg);box-shadow:0 0 36px rgba(96,211,197,.45)}.shatter-route{position:absolute;height:4px;border-radius:9px;box-shadow:0 0 15px currentColor}.shatter-route.route-a{left:7%;top:68%;width:85%;background:#f17c6c;color:#f17c6c;transform:rotate(-17deg)}.shatter-route.route-b{left:18%;top:38%;width:58%;background:#f4da79;color:#f4da79;transform:rotate(25deg)}.entry-shatter-map b{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);color:#eff9f6;font:900 clamp(19px,3.2vw,46px)/1 Inter,sans-serif;letter-spacing:.12em;white-space:nowrap}.entry-shatter-grid{position:absolute;inset:5%;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;pointer-events:none}.entry-shatter-grid i{border:1px solid rgba(158,230,221,.19);background:linear-gradient(145deg,rgba(104,219,204,.14),rgba(241,124,108,.05));opacity:0;transform:translate(var(--dx,0),var(--dy,0)) rotate(var(--rot,0deg))}.entry-shatter-grid i:nth-child(1){--dx:-50vw;--dy:-30vh;--rot:-21deg}.entry-shatter-grid i:nth-child(2){--dx:-28vw;--dy:42vh;--rot:13deg}.entry-shatter-grid i:nth-child(3){--dx:5vw;--dy:-52vh;--rot:25deg}.entry-shatter-grid i:nth-child(4){--dx:45vw;--dy:-20vh;--rot:-18deg}.entry-shatter-grid i:nth-child(5){--dx:-44vw;--dy:8vh;--rot:32deg}.entry-shatter-grid i:nth-child(6){--dx:25vw;--dy:35vh;--rot:-12deg}.entry-shatter-grid i:nth-child(7){--dx:48vw;--dy:28vh;--rot:21deg}.entry-shatter-grid i:nth-child(8){--dx:-18vw;--dy:-41vh;--rot:-29deg}.entry-shatter-grid i:nth-child(9){--dx:33vw;--dy:-39vh;--rot:17deg}.entry-shatter-grid i:nth-child(10){--dx:-35vw;--dy:31vh;--rot:-24deg}.entry-shatter-grid i:nth-child(11){--dx:15vw;--dy:48vh;--rot:13deg}.entry-shatter-grid i:nth-child(12){--dx:52vw;--dy:-44vh;--rot:-26deg}.map-entry-transition.stage-three .entry-shatter-map{animation:entryShatterMapIn .5s ease-out both}.map-entry-transition.stage-three .entry-shatter-grid i{animation:entryShatterOut .8s cubic-bezier(.1,.75,.25,1) both}.map-entry-transition.stage-three .entry-shatter-grid i:nth-child(2n){animation-delay:.06s}.map-entry-transition.stage-three .entry-shatter-grid i:nth-child(3n){animation-delay:.13s}@keyframes entrySplitMapIn{from{opacity:0;transform:scale(.65) rotate(-8deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes entryDiskRoll{0%{opacity:0;transform:rotateX(64deg) rotateZ(-210deg) scale(.18)}72%{opacity:1;transform:rotateX(64deg) rotateZ(16deg) scale(1.08)}100%{opacity:1;transform:rotateX(64deg) rotateZ(0) scale(1)}}@keyframes entryOrbitSpin{to{transform:rotateX(66deg) rotateZ(360deg)}}@keyframes entryShatterMapIn{to{opacity:1;transform:scale(1)}}@keyframes entryShatterOut{0%{opacity:.9;transform:none}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot)) scale(.74)}}@media(max-width:700px){.entry-split-panel{padding:0 17px}.entry-split-panel span{font-size:22px}.entry-split-panel b{display:none}.entry-roll-disk{width:74vw}.entry-shatter-map{width:94vw;height:44vh}.entry-shatter-map b{font-size:20px}.entry-shatter-grid{inset:0;gap:3px}}@media(prefers-reduced-motion:reduce){.map-entry-transition.is-active .entry-scene-split,.map-entry-transition.stage-three .entry-scene-shatter{opacity:1}.entry-split-panel,.entry-roll-disk,.entry-shatter-map,.entry-shatter-grid i{animation:none!important;transform:none!important}.entry-scene-roll,.entry-shatter-grid{display:none}}

/* Third act: a perspective Istanbul extent with an intentionally irregular east–west coastline and density nodes. */
.entry-shatter-map{width:min(86vw,1220px)!important;height:min(50vh,480px)!important;clip-path:polygon(0 28%,4% 17%,12% 18%,17% 10%,27% 15%,34% 9%,42% 13%,49% 6%,57% 12%,66% 9%,74% 15%,82% 11%,89% 17%,96% 16%,100% 28%,97% 54%,100% 72%,94% 82%,86% 78%,78% 88%,67% 82%,57% 91%,47% 84%,36% 92%,26% 85%,17% 91%,9% 82%,2% 76%)!important;transform:perspective(980px) rotateX(48deg) rotateZ(-3deg) scale(.74)!important;transform-origin:50% 58%!important}.entry-shatter-map>span{left:49%!important;top:-22%!important;width:6%!important;height:152%!important;opacity:.78}.entry-density-points{position:absolute;z-index:1;inset:8% 5%;pointer-events:none}.entry-density-points i{position:absolute;width:5px;height:5px;border-radius:50%;background:#dffff8;box-shadow:0 0 0 3px rgba(97,214,199,.14),0 0 14px rgba(97,214,199,.72);animation:entryPointPulse 1.7s ease-in-out infinite alternate}.entry-density-points i:nth-child(1){left:11%;top:54%}.entry-density-points i:nth-child(2){left:16%;top:48%;animation-delay:.3s}.entry-density-points i:nth-child(3){left:20%;top:61%;animation-delay:.7s}.entry-density-points i:nth-child(4){left:25%;top:38%;animation-delay:1s}.entry-density-points i:nth-child(5){left:28%;top:53%;animation-delay:.1s}.entry-density-points i:nth-child(6){left:32%;top:67%;animation-delay:.6s}.entry-density-points i:nth-child(7){left:36%;top:30%;animation-delay:.5s}.entry-density-points i:nth-child(8){left:39%;top:47%;animation-delay:.9s}.entry-density-points i:nth-child(9){left:42%;top:58%;animation-delay:.2s}.entry-density-points i:nth-child(10){left:45%;top:35%;animation-delay:.8s}.entry-density-points i:nth-child(11){left:48%;top:70%;animation-delay:.4s}.entry-density-points i:nth-child(12){left:52%;top:42%;animation-delay:1.1s}.entry-density-points i:nth-child(13){left:56%;top:57%;animation-delay:.3s}.entry-density-points i:nth-child(14){left:60%;top:29%;animation-delay:.6s}.entry-density-points i:nth-child(15){left:63%;top:48%;animation-delay:.9s}.entry-density-points i:nth-child(16){left:67%;top:65%;animation-delay:.15s}.entry-density-points i:nth-child(17){left:70%;top:38%;animation-delay:.65s}.entry-density-points i:nth-child(18){left:74%;top:54%;animation-delay:.4s}.entry-density-points i:nth-child(19){left:77%;top:31%;animation-delay:1.05s}.entry-density-points i:nth-child(20){left:80%;top:67%;animation-delay:.2s}.entry-density-points i:nth-child(21){left:84%;top:45%;animation-delay:.75s}.entry-density-points i:nth-child(22){left:88%;top:58%;animation-delay:.45s}.entry-density-points i:nth-child(23){left:91%;top:34%;animation-delay:.95s}.entry-density-points i:nth-child(24){left:94%;top:53%;animation-delay:.25s}.entry-density-points i:nth-child(3n){background:#f5da79;box-shadow:0 0 0 3px rgba(245,218,121,.12),0 0 13px rgba(245,218,121,.72)}.entry-density-points i:nth-child(5n){background:#f17d6c;box-shadow:0 0 0 3px rgba(241,125,108,.13),0 0 13px rgba(241,125,108,.72)}.entry-shatter-map b{transform:translate(-50%,-50%) rotateX(-48deg) rotateZ(3deg)!important;text-shadow:0 4px 16px #06151e}@keyframes entryPointPulse{to{transform:scale(1.65);opacity:.5}}.map-entry-transition.stage-three .entry-shatter-map{animation:entryIstanbulExtentIn .62s cubic-bezier(.16,.83,.18,1) both!important}@keyframes entryIstanbulExtentIn{from{opacity:0;transform:perspective(980px) rotateX(65deg) rotateZ(-8deg) scale(.4)}to{opacity:1;transform:perspective(980px) rotateX(48deg) rotateZ(-3deg) scale(.74)}}@media(max-width:700px){.entry-shatter-map{width:108vw!important;height:42vh!important;transform:perspective(700px) rotateX(42deg) rotateZ(-3deg) scale(.92)!important}.entry-shatter-map b{font-size:16px}.entry-density-points i{width:4px;height:4px}}@media(prefers-reduced-motion:reduce){.entry-density-points i{animation:none}}

/* First act: the two halves of the CTC name collide, then resolve into the actual mark. */
.entry-scene-split{overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(89,215,202,.14),transparent 22%),linear-gradient(135deg,#061520,#0b2532)!important}.entry-logo-echo{position:absolute;width:min(34vw,430px);aspect-ratio:1;border:1px solid rgba(117,225,212,.25);border-radius:50%;opacity:0;box-shadow:0 0 0 28px rgba(94,218,203,.04),0 0 80px rgba(93,215,202,.14)}.entry-logo-shard{position:absolute;z-index:2;display:flex;flex-direction:column;gap:9px;width:50%;color:#f0fbf8;font-family:Inter,sans-serif;white-space:nowrap;transition:transform .68s cubic-bezier(.14,.88,.25,1),opacity .15s ease}.entry-logo-shard b{font-size:clamp(39px,8vw,116px);font-weight:950;letter-spacing:-.09em;line-height:.8;text-shadow:0 0 24px rgba(111,223,210,.16)}.entry-logo-shard small{color:#a4dcd5;font-size:8px;font-weight:900;letter-spacing:.23em}.entry-logo-shard-left{right:50%;align-items:flex-end;padding-right:clamp(18px,4vw,72px);transform:translateX(-112vw)}.entry-logo-shard-right{left:50%;align-items:flex-start;padding-left:clamp(18px,4vw,72px);transform:translateX(112vw)}.entry-logo-shard-right b{color:#ef8373}.entry-logo-reveal{position:absolute;z-index:3;display:grid;justify-items:center;gap:9px;opacity:0;transform:scale(.55);color:#f2fbf8;font-family:Inter,sans-serif}.entry-logo-reveal img{width:clamp(78px,11vw,155px);height:clamp(78px,11vw,155px);object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.44))}.entry-logo-reveal>span{font-size:clamp(21px,3vw,43px);font-weight:300;letter-spacing:-.06em}.entry-logo-reveal>span>b{font-weight:900}.entry-logo-reveal small{color:#a4ddd5;font-size:8px;font-weight:900;letter-spacing:.25em}.map-entry-transition.is-active .entry-logo-shard-left{animation:entryLogoLeft .68s cubic-bezier(.18,.85,.22,1) both}.map-entry-transition.is-active .entry-logo-shard-right{animation:entryLogoRight .68s cubic-bezier(.18,.85,.22,1) both}.map-entry-transition.is-active .entry-logo-echo{animation:entryLogoImpact .54s ease-out .5s both}.map-entry-transition.is-active .entry-logo-reveal{animation:entryLogoReveal .42s cubic-bezier(.14,.88,.22,1) .5s both}.map-entry-transition.stage-two .entry-logo-reveal,.map-entry-transition.stage-three .entry-logo-reveal{animation:entryLogoDepart .22s ease both}.map-entry-transition.stage-two .entry-logo-shard,.map-entry-transition.stage-three .entry-logo-shard{opacity:0}@keyframes entryLogoLeft{0%{transform:translateX(-112vw)}76%{transform:translateX(4%)}100%{transform:translateX(0)}}@keyframes entryLogoRight{0%{transform:translateX(112vw)}76%{transform:translateX(-4%)}100%{transform:translateX(0)}}@keyframes entryLogoImpact{0%{opacity:.9;transform:scale(.12)}100%{opacity:0;transform:scale(1.95)}}@keyframes entryLogoReveal{to{opacity:1;transform:scale(1)}}@keyframes entryLogoDepart{to{opacity:0;transform:scale(.84) translateY(-18px)}}@media(max-width:700px){.entry-logo-shard b{font-size:42px}.entry-logo-shard small{font-size:6px}.entry-logo-reveal img{width:88px;height:88px}.entry-logo-reveal small{font-size:6px}}@media(prefers-reduced-motion:reduce){.entry-logo-shard-left,.entry-logo-shard-right{transform:none!important;animation:none!important}.entry-logo-reveal{opacity:1;transform:none;animation:none!important}.entry-logo-echo{display:none}}

/* v79 — coherent 3D vector planning sequence: footprint, mobility network, then analysis cells. */
.map-entry-presentation{display:none!important}.map-entry-planning-sequence{position:absolute;z-index:0;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .24s ease}.map-entry-transition.is-active .map-entry-planning-sequence{opacity:1}.map-entry-transition:after{background:linear-gradient(180deg,rgba(3,14,22,.15),rgba(3,14,22,.16) 50%,rgba(3,14,22,.78))!important}.plan-base{opacity:0;transform:translateY(80px) scale(.9);transform-origin:center;transition:.54s cubic-bezier(.16,.86,.22,1)}.map-entry-transition.is-active .plan-base{opacity:1;transform:none}.plan-city{opacity:0;transform:translateY(-35px);transition:.42s ease .18s}.map-entry-transition.is-active .plan-city{opacity:1;transform:none}.plan-network{opacity:0;transition:.24s ease}.map-entry-transition.stage-two .plan-network{opacity:1}.plan-line{stroke-dasharray:1300;stroke-dashoffset:1300}.map-entry-transition.stage-two .plan-line{animation:planLineDraw .76s cubic-bezier(.28,.1,.18,1) forwards}.plan-road{stroke:#f17f6d;stroke-width:11}.plan-rail{stroke:#f1d879;stroke-width:7}.plan-sea{stroke:#66d8cb;stroke-width:7}.plan-stops{opacity:0;transition:opacity .22s ease .35s}.map-entry-transition.stage-two .plan-stops{opacity:1}.plan-stops circle{fill:#effdf8;stroke:#f17869;stroke-width:6}.plan-stops circle:nth-child(3){fill:#f6dc79;stroke:#f17869;animation:planHubPulse 1.1s ease-out infinite}.plan-analysis-grid{opacity:0;transition:.28s ease}.plan-analysis-grid path{fill:rgba(91,212,199,.14);stroke:rgba(190,246,236,.72);stroke-width:2;stroke-dasharray:260;stroke-dashoffset:260}.map-entry-transition.stage-three .plan-analysis-grid{opacity:1}.map-entry-transition.stage-three .plan-analysis-grid path{animation:planCellDraw .55s ease-out forwards}.plan-copy{opacity:0;transform:translateY(-14px);transition:.34s ease}.map-entry-transition.stage-three .plan-copy{opacity:1;transform:none}.plan-copy text{fill:#eaf7f5;font:800 17px Inter,sans-serif;letter-spacing:4px;text-anchor:middle}.plan-copy line{stroke:#6edacf;stroke-width:2}.plan-copy .plan-copy-small{fill:#a3cbc6;font-size:9px;letter-spacing:2.2px}.map-entry-transition.stage-three .plan-base,.map-entry-transition.stage-three .plan-city{filter:saturate(1.08) brightness(1.08)}@keyframes planLineDraw{to{stroke-dashoffset:0}}@keyframes planHubPulse{to{r:21;opacity:0}}@keyframes planCellDraw{to{stroke-dashoffset:0}}@media(max-width:700px){.map-entry-planning-sequence{transform:scale(1.45);transform-origin:50% 52%}.plan-copy{display:none}.plan-road{stroke-width:13}.plan-rail,.plan-sea{stroke-width:9}}@media(prefers-reduced-motion:reduce){.plan-base,.plan-city,.plan-network,.plan-stops,.plan-analysis-grid,.plan-copy{transition:none!important;opacity:1!important;transform:none!important}.plan-line,.plan-analysis-grid path{animation:none!important;stroke-dashoffset:0}.plan-stops circle:nth-child(3){animation:none}}

/* Center the planning model and give the analysis its own calm brand-resolution beat. */
.map-entry-planning-sequence{transform:translateY(-6vh)!important}.map-entry-final-brand{position:absolute;z-index:4;left:50%;top:50%;display:flex;align-items:baseline;justify-content:center;gap:clamp(8px,1.4vw,20px);width:min(860px,92vw);transform:translate(-50%,-50%);pointer-events:none;font-family:Inter,sans-serif;white-space:nowrap;opacity:0}.map-entry-final-brand span{font-size:clamp(31px,5.8vw,82px);font-weight:950;letter-spacing:-.08em;line-height:.85;text-shadow:0 8px 28px rgba(0,0,0,.42)}.final-brand-left{color:#effbf8;transform:translateX(-72vw);opacity:0}.final-brand-right{color:#f18070;transform:translateX(72vw);opacity:0}.map-entry-final-brand small{position:absolute;top:calc(100% + 17px);color:#9edbd2;font-size:8px;font-weight:900;letter-spacing:.27em;opacity:0}.map-entry-transition.stage-three .final-brand-left{animation:finalBrandLeft .68s cubic-bezier(.14,.88,.22,1) .38s both}.map-entry-transition.stage-three .final-brand-right{animation:finalBrandRight .68s cubic-bezier(.14,.88,.22,1) .38s both}.map-entry-transition.stage-three .map-entry-final-brand small{animation:finalBrandSmall .3s ease .99s both}@keyframes finalBrandLeft{0%{transform:translateX(-72vw);opacity:0}75%{transform:translateX(2vw);opacity:1}100%{transform:none;opacity:1}}@keyframes finalBrandRight{0%{transform:translateX(72vw);opacity:0}75%{transform:translateX(-2vw);opacity:1}100%{transform:none;opacity:1}}@keyframes finalBrandSmall{to{opacity:1}}@media(max-width:700px){.map-entry-planning-sequence{transform:translateY(-16vh) scale(1.25)!important;transform-origin:50% 52%}.map-entry-final-brand{top:48%}.map-entry-final-brand span{font-size:31px}.map-entry-final-brand small{font-size:6px;top:calc(100% + 12px)}}@media(prefers-reduced-motion:reduce){.map-entry-planning-sequence{transform:none!important}.final-brand-left,.final-brand-right{transform:none!important;opacity:1!important}.map-entry-final-brand{opacity:1}.map-entry-final-brand small{opacity:1}}

/* Istanbul-specific landmarks enter with the city fabric: a grounded mosque and a Bosphorus bridge. */
.plan-mosque,.plan-bridge{transform-box:fill-box;transform-origin:center;opacity:0}.map-entry-transition.is-active .plan-mosque{animation:planLandmarkIn .46s cubic-bezier(.17,.88,.2,1) .32s both}.map-entry-transition.is-active .plan-bridge{animation:planLandmarkIn .46s cubic-bezier(.17,.88,.2,1) .44s both}@keyframes planLandmarkIn{from{opacity:0;transform:translateY(-25px) scale(.65)}to{opacity:1;transform:none}}.map-entry-transition.stage-three .map-entry-final-brand{opacity:1}.map-entry-transition.stage-three .final-brand-left{animation:finalBrandLeft .68s cubic-bezier(.14,.88,.22,1) .38s both}.map-entry-transition.stage-three .final-brand-right{animation:finalBrandRight .68s cubic-bezier(.14,.88,.22,1) .38s both}.map-entry-transition.stage-three .map-entry-final-brand small{animation:finalBrandSmall .3s ease .99s both}

/* v106 — mobile transit-layer panel: never clip the right-most controls. */
@media(max-width:760px){
  body.product-layout #map-layers-panel{
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x pan-y!important;
    scrollbar-width:thin;
  }
  body.product-layout #map-layers-panel .map-layers-head,
  body.product-layout #map-layers-panel .map-layer-list,
  body.product-layout #map-layers-panel .map-layers-note{
    min-width:304px;
  }
  body.product-layout #map-layers-panel .map-layer-row{
    min-width:304px;
    grid-template-columns:36px minmax(136px,1fr) auto auto;
  }

  /* Altlıklar paneli: seçenek sayısı arttığında sola taşmak yerine kayar. */
  body.product-layout .basemap-switcher{
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-content:flex-start!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
    scrollbar-width:thin;
  }
  body.product-layout .basemap-switcher .basemap-choice{flex:0 0 auto!important}
}

/* v77 — route-led Istanbul handoff animation. */
.map-entry-transition{background:#04101a!important}.map-entry-visual{filter:saturate(.84) contrast(1.06) brightness(.76)!important;transition:opacity .28s ease,transform .85s cubic-bezier(.2,.78,.24,1),filter .55s ease!important}.map-entry-visual.active{opacity:1!important;transform:scale(1.035)!important;filter:saturate(1.02) contrast(1.04) brightness(.82)!important;animation:entryMapDrift 2.55s cubic-bezier(.2,.75,.2,1) both}.map-entry-transition:after{z-index:1!important;background:linear-gradient(180deg,rgba(2,10,17,.15),rgba(3,12,20,.2) 42%,rgba(3,12,20,.82))!important}.map-entry-route{position:absolute;z-index:2;inset:0;pointer-events:none;mix-blend-mode:screen;opacity:0}.map-entry-route svg{width:100%;height:100%;overflow:visible}.map-entry-route path{fill:none;stroke:#ff907d;stroke-width:3.5;stroke-linecap:round;filter:drop-shadow(0 0 8px rgba(255,126,109,.85));stroke-dasharray:1700;stroke-dashoffset:1700}.map-entry-transition.is-active .map-entry-route{opacity:1}.map-entry-transition.is-active .map-entry-route path{animation:entryRouteReveal 1.62s cubic-bezier(.3,.04,.28,1) .12s forwards,entryRoutePulse .95s ease-in-out 1.68s infinite alternate}.map-entry-scan{position:absolute;z-index:2;left:50%;top:50%;width:12px;height:12px;border:1px solid rgba(159,241,227,.8);border-radius:50%;transform:translate(-50%,-50%) scale(.2);opacity:0;box-shadow:0 0 0 1px rgba(159,241,227,.12),0 0 30px rgba(76,213,196,.34);pointer-events:none}.map-entry-transition.is-active .map-entry-scan{animation:entryScan 1.35s cubic-bezier(.1,.74,.2,1) .2s forwards}.map-entry-hud{z-index:3!important;bottom:7%!important}.map-entry-hud:before{content:"ROTA AĞI / İSTANBUL";display:block;margin-bottom:10px;color:#9de6dc;font:900 8px/1 Inter,sans-serif;letter-spacing:.19em}.map-entry-hud strong{font-size:clamp(21px,3vw,31px)!important}.map-entry-progress{height:2px!important;background:rgba(220,243,239,.23)!important}.map-entry-transition.is-active .map-entry-progress span{animation:map-entry-progress 2.55s cubic-bezier(.2,.75,.25,1) forwards!important}.map-entry-mark{transform:scale(.92);animation:entryMarkIn .55s cubic-bezier(.2,.8,.2,1) .18s both}@keyframes entryRouteReveal{to{stroke-dashoffset:0}}@keyframes entryRoutePulse{to{stroke-width:5.5;stroke:#91e4d9;filter:drop-shadow(0 0 12px rgba(122,227,216,.86))}}@keyframes entryScan{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}15%{opacity:.9}100%{opacity:0;transform:translate(-50%,-50%) scale(115)}}@keyframes entryMapDrift{0%{transform:scale(1.08) translate3d(-.7%,.9%,0)}100%{transform:scale(1.035) translate3d(0,0,0)}}@keyframes entryMarkIn{from{opacity:0;transform:scale(.7) translateY(9px)}to{opacity:1;transform:scale(.92) translateY(0)}}@media(max-width:700px){.map-entry-route path{stroke-width:3}.map-entry-hud{bottom:10%!important}.map-entry-hud:before{font-size:7px}.map-entry-scan{display:none}}@media(prefers-reduced-motion:reduce){.map-entry-visual.active,.map-entry-transition.is-active .map-entry-route path,.map-entry-transition.is-active .map-entry-scan,.map-entry-mark{animation:none!important}.map-entry-visual.active{transform:none!important}.map-entry-route{display:none}}
