/* The transport workspace uses one scroll container and one geographic canvas. */
body.mobility-page #app{max-width:none;width:100%;padding:0}.mobility-page .site-footer,.mobility-page .footer-services,.mobility-page .assistant-fab,.mobility-page #service-ticker{display:none!important}.mobility{--mob-bg:#fff;--mob-ink:#18394f;--mob-muted:#526878;--mob-border:#dce6eb;--mob-soft:#f2f7fa;color:var(--mob-ink);background:var(--mob-bg);font-family:inherit}.mobility header.mob-header{position:static!important;display:flex;align-items:center;gap:16px;height:64px;padding:10px 24px;background:var(--mob-bg);border-bottom:1px solid var(--mob-border);box-shadow:none}.mob-header div{display:grid;flex:1}.mob-header strong{font-size:19px}.mob-header small{color:var(--mob-muted)}.mobility button,.mobility input,.mobility select{font:inherit;color:inherit}.mobility button{cursor:pointer;min-height:44px;border:1px solid var(--mob-border);border-radius:10px;background:var(--mob-bg);padding:9px 13px}.mobility button:focus-visible,.mobility input:focus-visible,.mobility select:focus-visible{outline:3px solid #24a4d6;outline-offset:2px}.mobility input,.mobility select{min-height:46px;border:1px solid var(--mob-border);border-radius:9px;background:var(--mob-bg);padding:10px;width:100%;box-sizing:border-box}.mobility label{font-size:13px;font-weight:650;display:grid;gap:6px}.mob-layout{display:grid;grid-template-columns:minmax(330px,400px) 1fr;height:calc(100dvh - 195px);min-height:530px;max-height:950px}.mob-panel{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid var(--mob-border);background:var(--mob-bg);z-index:2}.mobility #mob-search{display:flex;gap:6px;padding:16px 16px 8px}.mob-actions{display:flex;gap:5px;padding:4px 16px 12px;border-bottom:1px solid var(--mob-border)}.mob-actions button{font-size:12px;padding:7px 8px;flex:1;white-space:nowrap}.mob-content{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:20px;min-height:0;scrollbar-width:thin}.mob-content h2{font-size:24px;line-height:1.18;letter-spacing:-.5px;margin:10px 0}.mob-content h3{font-size:15px;margin:24px 0 12px}.mob-content p{font-size:14px;line-height:1.55}.mob-welcome{padding:4px 0 14px}.mob-welcome h2{font-size:30px}.mob-welcome p{color:var(--mob-muted)}.mobility .mob-primary{background:#0b557d;color:white;border-color:#0b557d;width:100%;font-weight:650}.mobility .mob-card{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:12px;margin:7px 0;box-shadow:none;line-height:1.3}.mob-card>span:nth-child(2){flex:1}.mob-card strong{font-size:14px}.mob-card small{display:block;font-size:12px;color:var(--mob-muted);margin-top:5px}.mob-badge{background:var(--line,#416679);color:#fff;min-width:33px;height:33px;display:grid;place-items:center;border-radius:9px;font-weight:750}.mob-panel-heading{display:flex;align-items:center;gap:10px}.mob-panel-heading h2{font-size:19px;flex:1}.mob-panel-heading button{font-size:20px;flex:none}.mob-note,.mob-source{color:var(--mob-muted);font-size:12px!important}.mob-source a{color:inherit;text-decoration:underline}.mob-notice{background:var(--mob-soft);border-left:3px solid #dca349;padding:14px;border-radius:5px}.mob-tag{display:inline-block;background:var(--mob-soft);border:1px solid var(--mob-border);padding:5px 9px;border-radius:5px;font-size:12px!important}.mob-times{display:flex;flex-wrap:wrap;gap:7px}.mob-times span{font-size:14px;font-variant-numeric:tabular-nums;padding:7px 9px;background:var(--mob-soft);border:1px solid var(--mob-border);border-radius:5px}.mob-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.mob-holiday{display:flex!important;align-items:center;grid-column:1/-1}.mob-holiday input{width:18px!important;min-height:18px!important}.mob-map-area{position:relative;min-width:0;overflow:hidden;background:var(--mob-soft)}#mob-map{position:absolute;inset:0;z-index:0}.mob-map-tools{position:absolute;right:12px;top:105px;display:grid;gap:8px;z-index:1;justify-items:end}.mob-map-tools button{box-shadow:0 2px 9px #0002;background:var(--mob-bg)}.mob-map-status{position:absolute;left:15px;top:8px;max-width:75%;background:var(--mob-bg);border-radius:8px;padding:6px 10px;font-size:13px;z-index:1}.mob-map-status:empty{display:none}.mob-map-legend{position:absolute;bottom:24px;left:12px;font-size:11px;pointer-events:none;padding:6px;background:var(--mob-bg);border-radius:6px;z-index:1}.mobility .mob-pin{font-size:11px;border:2px solid white;color:white;min-width:32px;min-height:32px;max-width:160px;border-radius:20px;box-shadow:0 1px 5px #0005;padding:4px 7px;white-space:nowrap;line-height:1.1}.mob-marker{border:0;background:none}.mob-chat-button{margin:10px 16px;background:var(--mob-soft)!important;font-weight:650;flex:none}.mob-sheet-handle{display:none}.mob-option{border-bottom:1px solid var(--mob-border);padding:0 0 16px}.mob-option ol{padding-left:22px;font-size:14px;line-height:1.6}.mob-unlocated small{display:block;color:var(--mob-muted)}#mob-trip{display:grid;gap:12px}.mob-collapsed .mob-layout{grid-template-columns:0 1fr}.mob-collapsed .mob-panel{visibility:hidden}.mob-dark{--mob-bg:#132531;--mob-ink:#e6f1f7;--mob-muted:#b5c7d2;--mob-border:#36505f;--mob-soft:#213743}.mob-dark .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.83) saturate(.7)}.mob-loading{padding:24px 8px}.mobility .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.mobility-page>header{display:none!important}.mobility-page #app{margin:0!important}.mobility{height:var(--mob-vh,100dvh);overflow:hidden}.mobility header.mob-header{height:56px;padding:6px 12px;box-sizing:border-box}.mob-header strong{font-size:17px}.mob-header small{font-size:11px}.mob-layout{display:block;position:relative;height:calc(var(--mob-vh,100dvh) - 56px);min-height:0;max-height:none}.mob-map-area{position:absolute;inset:0}.mob-panel{position:absolute;inset:auto 0 0;max-height:56%;height:56%;border:1px solid var(--mob-border);border-radius:20px 20px 0 0;box-shadow:0 -4px 20px #18394f20;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box;transition:height .18s,max-height .18s}.mob-sheet-handle{display:flex!important;justify-content:center;align-items:center;gap:12px;flex:none;width:100%;min-height:27px!important;padding:3px!important;background:transparent!important;border:0!important;font-size:10px!important;color:var(--mob-muted)!important}.mob-sheet-handle span{font-size:23px;color:var(--mob-muted)}.mobility #mob-search{padding:0 12px 7px;flex:none}.mobility #mob-search input{font-size:14px;min-height:42px}.mob-actions{padding:0 12px 8px;flex:none}.mob-actions button{min-height:40px;font-size:12px;padding:6px}.mob-content{padding:12px 16px}.mob-welcome h2{font-size:25px}.mob-chat-button{font-size:13px!important;min-height:40px!important;margin:6px 12px}.mob-map-tools{top:100px}.mob-map-legend{top:12px;bottom:auto;left:8px;max-width:65%;font-size:10px}.mob-map-status{top:39px}.mobility[data-sheet="collapsed"] .mob-panel{height:156px;max-height:156px}.mobility[data-sheet="collapsed"] .mob-content,.mobility[data-sheet="collapsed"] .mob-chat-button{display:none}.mobility[data-sheet="expanded"] .mob-panel{height:89%;max-height:89%}.mob-collapsed .mob-panel{visibility:visible;height:28px;max-height:28px}.mob-collapsed .mob-panel>:not(.mob-sheet-handle){display:none}.mob-dates input{font-size:16px}.mobility input{font-size:16px}.mob-content h3{margin-top:18px}.mobility .leaflet-control-attribution{font-size:9px}.mob-layout .leaflet-top{top:8px}.mobility .mob-pin{max-width:120px}.mob-content .mob-panel-heading{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.mob-panel{transition:none}}

@media(min-width:761px){.mobility{height:calc(100dvh - var(--mob-top,230px));min-height:430px}.mob-layout{height:calc(100% - 64px);min-height:0;max-height:none}}
body.mobility-page #app{padding:0!important;max-width:none!important}body.mobility-page #chivi-assistant-launcher{display:none!important}
.mob-times .mob-next{background:#0b557d;color:#fff;font-weight:700;border-color:#0b557d}
body.mobility-page #app{display:block!important;grid-template-columns:none!important}
@media(max-width:760px){body.mobility-page.fixed-header-layout{padding-top:0!important;padding-bottom:0!important;margin:0;overflow:hidden;height:100dvh}body.mobility-page #app{padding:0!important;min-height:0!important}}
/* Shared Salgo card behavior: a quiet grip, two stops and one scrolling surface. */
.mob-sheet-summary{display:none!important}
@media(max-width:760px){
 .mobility{position:fixed;inset:var(--mob-viewport-top,0px) 0 auto;height:var(--mob-vh,100dvh);width:100%;z-index:31}
 .mobility .mob-panel,.mobility[data-sheet] .mob-panel,.mobility.mob-collapsed .mob-panel{height:var(--mob-sheet-height,128px);max-height:calc(100% - 12px);visibility:visible;transition:height .2s ease;overflow:hidden}
 .mobility .mob-sheet-handle{min-height:24px!important;height:24px!important;padding:0!important;touch-action:none;cursor:grab}
 .mobility .mob-sheet-handle span{display:block;width:34px;height:4px;border-radius:8px;background:var(--mob-muted);opacity:.5;font-size:0}
 .mobility .mob-sheet-handle:focus-visible{outline-offset:-4px}
 .mobility .mob-actions{gap:5px;padding-bottom:8px}
 .mobility .mob-actions button{font-size:12px;min-height:38px}
 .mobility #mob-search input{font-size:16px;min-height:44px;min-width:0}
 .mobility #mob-search button{flex:none;width:42px;padding:6px}
 .mobility[data-sheet="collapsed"] .mob-content,.mobility[data-sheet="collapsed"] .mob-chat-button{display:none}
 .mobility[data-sheet="collapsed"][data-sheet-view="detail"] .mob-sheet-summary{display:block!important;border:0;padding:4px 16px 10px;margin:0;min-height:38px;width:100%;font-weight:700;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;flex:none}
 .mobility[data-sheet="collapsed"][data-sheet-view="detail"] #mob-search{display:none}
 .mobility[data-sheet="expanded"] .mob-content,.mobility.mob-sheet-interacting .mob-content{display:block;flex:1;min-height:0;-webkit-overflow-scrolling:touch}
 .mobility[data-sheet="expanded"] .mob-chat-button{display:block}
 .mobility .mob-content{overflow-x:hidden;scroll-padding:16px;overscroll-behavior-y:contain}
 .mobility .mob-content input,.mobility .mob-content select,.mobility .mob-content textarea{flex-shrink:0;min-height:46px}
 .mobility .mob-map-tools{top:auto;bottom:min(calc(var(--mob-sheet-height,128px) + 12px),calc(100% - 116px));transition:bottom .2s ease}
 .mobility.mob-keyboard-open .mob-panel{padding-bottom:0}
 .mobility.mob-keyboard-open .mob-actions,.mobility.mob-keyboard-open .mob-chat-button{display:none!important}
 .mobility.mob-keyboard-open .mob-content{display:block!important;flex:1;min-height:0;padding:10px 16px 24px}
 .mobility.mob-keyboard-open:has(#mob-trip :focus) #mob-search{display:none}
 .mobility.mob-keyboard-open .mob-map-tools{display:none}
 .mobility .mob-panel.mob-sheet-dragging,.mobility:has(.mob-sheet-dragging) .mob-map-tools{transition:none;user-select:none}
}
@media(prefers-reduced-motion:reduce){.mobility .mob-panel,.mobility .mob-map-tools{transition:none!important}}
/* Destination first. The first screen asks one question and paints no transit markers. */
.mobility .mob-chat-button{display:none!important}
.mobility .mob-flow-caption{margin:0 18px 10px;font-size:12px;color:var(--mob-muted);line-height:1.4}
.mobility:not([data-view="home"]) .mob-flow-caption{display:none}
.mobility[data-view="home"] .mob-content{display:none!important}
.mobility #mob-search{padding:16px 16px 10px;align-items:center}
.mobility #mob-search input{font-weight:600;font-size:17px;border:0;background:var(--mob-soft);padding:15px;min-height:52px;min-width:0}
.mobility #mob-search button{border:0;background:var(--mob-soft);min-height:52px;width:44px;font-size:22px;padding:8px}
.mobility .mob-header #mob-back{font-size:20px;border:0;background:transparent;width:42px;padding:4px}
.mobility .mob-header button[data-mob="more"]{font-size:24px;border:0;background:transparent;padding:4px 8px;width:40px}
.mobility .mob-flow-title{font-size:21px;margin:0 0 8px;line-height:1.25;letter-spacing:-.3px}
.mobility .mob-destination-note{font-size:14px;color:var(--mob-muted);margin:0 0 20px}
.mobility .mob-text-action{border:0;background:transparent;min-height:44px;padding:10px 0;color:#0b668b;font-size:13px;text-align:left}
.mobility .mob-origin-link{padding:0 0 14px;min-height:36px;display:block;border:0;background:transparent;color:var(--mob-muted);font-size:13px;text-align:left}
.mobility .mob-travel-options{display:grid;gap:9px;margin:10px 0 16px}
.mobility .mob-travel-option{display:flex;align-items:center;gap:13px;text-align:left;min-height:76px;border-radius:14px;padding:13px;border:1px solid var(--mob-border);background:var(--mob-bg)}
.mobility .mob-travel-option.selected{border-color:#1683a0;background:var(--mob-soft);box-shadow:inset 0 0 0 1px #1683a0}
.mob-travel-option>span:nth-child(2){flex:1;min-width:0}
.mob-travel-option strong{font-size:15px;display:block}
.mob-travel-option small{font-size:11px;color:var(--mob-muted);display:block;margin-top:4px;line-height:1.3}
.mob-travel-icon{height:36px;width:36px;flex:none;display:grid;place-items:center;color:#1b6e86}
.mob-travel-icon svg{height:28px;width:28px}
.mob-travel-duration{font-size:18px;font-weight:700;white-space:nowrap;text-align:right}
.mob-travel-duration small{font-weight:400}
.mobility .mob-route-instructions{border-top:1px solid var(--mob-border);padding:14px 0;font-size:14px}
.mobility .mob-route-instructions summary,.mobility .mob-route-options summary{cursor:pointer;min-height:36px;display:flex;align-items:center;font-size:13px;font-weight:600}
.mob-route-instructions ol{padding-left:20px;line-height:1.7;font-size:13px}
.mob-route-instructions li{padding:6px 0;border-bottom:1px solid var(--mob-border)}
.mob-trip-secondary{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--mob-border)}
.mob-route-options{border-top:1px solid var(--mob-border);padding:8px 0}
.mobility .mob-route-credit{font-size:10px;color:var(--mob-muted);line-height:1.5;margin-top:18px}
.mob-route-credit a{color:inherit}
.mob-calculating{font-size:13px;color:var(--mob-muted);padding:12px 0}
.mob-selected-trip{padding:12px 0;border-top:1px solid var(--mob-border)}
.mobility.mob-dark .mob-text-action{color:#87d1ec}
.mobility:not(.mob-dark) .leaflet-tile-pane{filter:saturate(.55)}
@media(max-width:760px){
 .mobility #mob-search{padding:0 14px 8px}
 .mobility #mob-search input{font-size:17px;min-height:48px;padding:12px}
 .mobility #mob-search button{min-height:48px}
 .mobility .mob-flow-caption{margin:0 18px 10px;font-size:12px}
 .mobility .mob-content{padding:12px 18px 18px}
 .mobility .mob-header{gap:8px;padding:6px 10px}
 .mobility .mob-flow-title{font-size:20px}
 .mobility .mob-travel-option{min-height:72px;padding:11px 12px}
 .mobility .mob-travel-duration{font-size:17px}
 .mobility[data-sheet="collapsed"][data-sheet-view="detail"] .mob-sheet-summary{min-height:42px}
 .mobility[data-sheet="collapsed"][data-sheet-view="detail"] .mob-flow-caption{display:none}
 .mobility[data-sheet="collapsed"][data-sheet-view="detail"] .mob-panel{border-radius:18px 18px 0 0}
 .mobility.mob-keyboard-open .mob-flow-caption{display:none}
 .mobility[data-view="home"] .mob-panel{max-height:144px}
 .mobility .mob-map-tools{right:12px}
}
.mob-bus-legs{list-style:none;margin:16px 0;padding:0;counter-reset:bus-leg}
.mob-bus-legs>li{position:relative;padding:0 0 18px 30px;margin:0;border-left:2px solid var(--mob-border);margin-left:10px}
.mob-bus-legs>li:last-child{border-left-color:transparent;padding-bottom:0}
.mob-bus-legs>li:before{counter-increment:bus-leg;content:counter(bus-leg);position:absolute;left:-11px;top:0;display:grid;place-items:center;background:var(--mob-bg);border:1px solid var(--mob-border);width:20px;height:20px;border-radius:50%;font-size:11px;color:var(--mob-muted)}
.mob-leg-label{display:block;font-size:11px;color:var(--mob-muted);margin-bottom:5px}
.mob-bus-legs strong{font-size:14px}.mob-bus-legs p{margin:6px 0 0;font-size:13px}

/* Restart stays where the destination is edited. */
.mobility #mob-search .mob-clear-search{flex:none;width:44px;font-size:24px;color:var(--mob-muted)}
.mobility #mob-search .mob-clear-search[hidden]{display:none}

.mobility[data-view="home"] .mob-content{display:block!important;flex:none;padding:0 16px 12px;overflow:visible}
.mob-saved-shortcuts{display:flex;gap:7px;overflow-x:auto;padding:3px 0 7px;scrollbar-width:thin}
.mobility .mob-saved-shortcuts button{flex:none;border-radius:24px;background:var(--mob-soft);font-size:13px;min-height:44px;padding:8px 13px}
.mob-saved-row{display:flex;align-items:center;gap:8px}.mob-saved-row .mob-card{flex:1;min-width:0}.mob-saved-row small{overflow-wrap:anywhere}
#mob-saved-form{display:grid;gap:16px}#mob-saved-suggestions:empty{display:none}
@media(max-width:760px){.mobility[data-view="home"] .mob-panel{max-height:215px}}

/* Honest, contextual waiting states. No fabricated percentages or route data. */
.mob-wait{display:flex;align-items:center;gap:12px;padding:16px;background:var(--mob-soft);border:1px solid var(--mob-border);border-radius:14px;color:var(--mob-ink);margin:12px 0}
.mob-wait strong{display:block;font-size:14px;line-height:1.4}.mob-wait small{display:block;font-size:12px;line-height:1.5;color:var(--mob-muted);margin-top:4px}
.mob-spinner{display:inline-block;width:21px;height:21px;flex:none;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:mob-spin .85s linear infinite;vertical-align:middle;box-sizing:border-box}
.mob-skeletons{display:grid;gap:10px;margin:12px 0 18px}.mob-skeleton-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--mob-border);border-radius:14px;min-height:42px}
.mob-skeleton-card i,.mob-skeleton-card b{display:block;border-radius:6px;background:var(--mob-border);animation:mob-pulse 1.6s ease-in-out infinite}.mob-skeleton-card i{width:36px;height:36px;flex:none}.mob-skeleton-card span{flex:1}.mob-skeleton-card b{height:11px;width:76%}.mob-skeleton-card b+b{width:52%;margin-top:10px;height:8px}
.mob-initial-loading{padding:24px;max-width:420px;margin:auto;min-height:55vh}.mob-map-status .mob-wait{margin:0;padding:10px 12px;box-shadow:0 2px 8px #0001}.mob-map-status:empty{display:none}.mobility button[aria-busy="true"]{cursor:progress;opacity:1}.mobility button[aria-busy="true"] .mob-spinner{width:18px;height:18px;margin-right:6px}
@keyframes mob-spin{to{transform:rotate(360deg)}}@keyframes mob-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.mob-spinner,.mob-skeleton-card i,.mob-skeleton-card b{animation:none}.mob-spinner{border-right-color:transparent}}

#mob-map{-webkit-touch-callout:none}.mob-map-holding{cursor:crosshair}
@media(max-width:760px){.mobility[data-view="map-point"] #mob-search,.mobility[data-view="map-point"] .mob-flow-caption{display:none}.mobility[data-view="map-point"] .mob-panel{max-height:260px!important}.mobility[data-view="map-point"] .mob-content{padding-top:6px}.mobility[data-view="map-point"] .mob-text-action{display:block;width:100%;text-align:center}}

.mob-route-legend{position:absolute;top:12px;left:12px;max-width:min(330px,calc(100% - 90px));display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--mob-border);border-radius:12px;background:var(--mob-bg);box-shadow:0 2px 8px #0001;z-index:1;pointer-events:none}.mob-route-legend[hidden]{display:none}.mob-route-legend strong{display:block;font-size:13px}.mob-route-legend small{display:block;font-size:11px;line-height:1.35;color:var(--mob-muted);margin-top:3px}.mob-route-swatch{width:25px;border-top:4px solid var(--route-color);flex:none}.mob-route-swatch.is-dashed{border-top-style:dashed}.mob-service-code{display:grid;place-items:center;min-width:34px;height:34px;padding:0 4px;border-radius:9px;color:white;font-size:17px;box-sizing:border-box}

.mob-origin-actions{display:grid;gap:4px;margin-bottom:14px}.mobility .mob-origin-actions>[data-mob="manual-origin"]{text-align:center;padding:7px 10px;min-height:40px}

@media(min-width:761px){body.mobility-page.fixed-header-layout{padding-top:var(--chivi-header-height,190px)}}

.mob-details-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--mob-border);padding-top:10px}.mobility .mob-details-heading h3{margin:0;font-size:17px}.mob-journey-details:focus{outline:none}.mob-journey-details:focus-visible{outline:2px solid #1683a0;outline-offset:3px;border-radius:10px}

/* Moving dashes indicate the route direction, independently of estimated vehicles. */
.mob-route-flow{animation:mob-route-flow 2275ms linear infinite;stroke-linecap:round;stroke-linejoin:round}
@keyframes mob-route-flow{to{stroke-dashoffset:-13}}
@media(prefers-reduced-motion:reduce){.mob-route-flow{animation:none!important}}

.mobility .mob-travel-option.recommended{border-color:#168366;background:var(--mob-soft)}
.mob-travel-option .mob-best-badge{display:inline-block;font-size:11px;line-height:1.4;font-weight:700;color:var(--mob-ink);background:var(--mob-soft);padding:3px 7px;border:1px solid #168366;border-radius:6px;margin-bottom:5px}
