/* BRX v5 — un seul moteur cartographique MapLibre, aucun calque Leaflet. */
:root {
  color-scheme:dark;
  --bg:#091219;--surface:#101f2a;--surface2:#182b37;--surface3:#223947;
  --border:rgba(175,215,225,.12);--border-strong:rgba(185,223,235,.24);
  --ink:#f6f8f9;--muted:#8ca3b1;--yellow:#f5c955;--mint:#78e5bb;
  --shadow:0 26px 70px rgba(2,9,14,.52);--radius:20px;
}
*{box-sizing:border-box}
html,body{height:100%;width:100%;margin:0;padding:0}
body{font-family:"DM Sans",sans-serif;color:var(--ink);background:var(--bg);overscroll-behavior:none;overflow:hidden;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
a{color:inherit;text-decoration:none}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
[hidden]{display:none!important}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.app{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:0;min-width:0}
.topbar{z-index:1000;position:relative;height:76px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:rgba(9,18,25,.97);border-bottom:1px solid var(--border);box-shadow:0 6px 22px #07101829}
.brand{display:flex;align-items:center;gap:11px;min-width:274px}.brand-symbol,.brand-symbol svg{width:44px;height:44px;display:block}.brand-symbol svg{stroke:none}
.brand-name{font:800 27px/1 "Manrope",sans-serif;letter-spacing:-1.9px;display:flex;align-items:baseline;position:relative;padding-bottom:11px}.brand-period{color:var(--yellow);font-size:30px}.brand-name small{font:800 8px/1.3 "DM Sans",sans-serif;letter-spacing:1.4px;color:#8da4b0;position:absolute;white-space:nowrap;top:31px;left:1px}
.top-navigation{display:flex;height:100%;align-items:stretch;gap:7px}.nav-link{position:relative;display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:0 19px;color:#91a8b7;font-weight:700;font-size:12px}.nav-link svg{width:16px;height:16px}.nav-link:hover{color:#fff}.nav-link.active{color:var(--ink)}.nav-link.active:after{content:"";position:absolute;bottom:-1px;left:15px;right:15px;height:3px;background:var(--yellow);border-radius:5px 5px 0 0}.nav-number{padding:2px 6px;border:1px solid #425365;border-radius:7px;font-size:10px;color:var(--yellow)}
.header-actions{min-width:235px;display:flex;justify-content:flex-end;align-items:center;gap:16px}.clock{font:800 13px "Manrope",sans-serif;color:#b2c6d2;white-space:nowrap}.status-pill{display:flex;align-items:center;gap:8px;max-width:180px;padding:10px 12px;border:1px solid #365267;background:#172735;color:#dce9f0;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.status-pill span:last-child{overflow:hidden;text-overflow:ellipsis}.status-dot{height:7px;width:7px;border-radius:50%;background:#a6b6c1;box-shadow:0 0 0 4px #acbdc214}.status-dot.fresh{background:var(--mint);box-shadow:0 0 0 4px #78e5bb24}.status-dot.stale{background:var(--yellow);box-shadow:0 0 0 4px #f5c95520}.status-dot.error{background:#f18e88;box-shadow:0 0 0 4px #f18e8820}.header-mobile-button{display:none}
.workspace{position:relative;flex:1;min-height:0;min-width:0;overflow:hidden;isolation:isolate;background:#14252e}
.map{position:absolute;inset:0;z-index:0;overflow:hidden;background:#192d37}
.map .maplibregl-canvas{outline:0}.map .maplibregl-canvas-container,.map .maplibregl-canvas{height:100%!important;width:100%!important}
.maplibregl-control-container .maplibregl-ctrl-bottom-left,.maplibregl-control-container .maplibregl-ctrl-bottom-right{display:none}
.map-wash{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(6,19,29,.09) 0,transparent 57%),linear-gradient(0deg,rgba(6,18,27,.15),transparent 24%)}
.map-error{position:absolute;inset:0;z-index:30;background:radial-gradient(ellipse at 50% 35%,#243c49,#15242f);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:30px}.map-error-icon{width:58px;height:58px;display:grid;place-items:center;background:#f5c9551b;color:var(--yellow);border:1px solid #f5c95544;border-radius:18px}.map-error-icon svg{width:29px;height:29px}.map-error strong{font:800 21px "Manrope",sans-serif}.map-error p{font-size:13px;line-height:1.6;color:#b3c8d2;max-width:340px;margin:0}.map-error button{border:0;background:var(--yellow);color:#12212c;border-radius:12px;display:flex;align-items:center;gap:8px;padding:11px 17px;font-weight:800}
/* Sidebar desktop */
.panel{position:absolute;z-index:10;left:20px;top:20px;bottom:20px;width:380px;max-width:calc(100vw - 40px);display:flex;flex-direction:column;min-height:0;overflow:hidden;background:linear-gradient(143deg,#152633fa,#0d1b27fb);border:1px solid rgba(179,218,232,.19);border-radius:24px;box-shadow:var(--shadow);backdrop-filter:blur(24px)}
.sheet-handle{display:none}.panel-head{padding:28px 24px 24px;flex:none;background:radial-gradient(ellipse at 85% -15%,#30475780,transparent 59%),linear-gradient(135deg,#172d38,#0e1f2b);border-bottom:1px solid var(--border)}
.panel-eyebrow{display:flex;align-items:center;gap:9px;color:#acc7ca;font-size:9px;font-weight:800;letter-spacing:1.35px}.eyebrow-light{width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 5px #f5c95517}
.panel-head h1{font:800 30px/1.18 "Manrope",sans-serif;letter-spacing:-1.35px;margin:22px 0 9px;max-width:280px}.panel-head h1 em{font-style:normal;color:var(--yellow)}.panel-head p{color:#a6bdc7;font-size:12px;line-height:1.65;margin:0}
.search-box{height:49px;display:flex;align-items:center;gap:12px;margin-top:23px;border:1px solid #466072;background:#0a1822;box-shadow:inset 0 2px 6px #040d1359;border-radius:13px;padding:0 14px;color:#879fac}.search-box:focus-within{border-color:var(--yellow);box-shadow:0 0 0 3px #f5c95518}.search-box>svg{width:18px;height:18px}.search-box input{flex:1;min-width:0;background:none;color:#f7fbfe;border:none;outline:none;font-size:12px;font-weight:700}.search-box input::placeholder{color:#7d96a5;font-weight:600}.search-box kbd{font-size:11px;padding:1px 6px;border:1px solid #394b57;border-radius:5px;background:#1e3240;color:#849eaa}
.panel-tabs{padding:0 16px;display:flex;flex:none;border-bottom:1px solid var(--border);background:#10202c}.panel-tab{flex:1;height:55px;border:0;border-bottom:2px solid transparent;background:none;color:#879eae;font-size:12px;font-weight:800}.panel-tab:hover{color:#edf9fe}.panel-tab.active{border-bottom-color:var(--yellow);color:var(--yellow)}.panel-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:17px;margin-left:4px;border-radius:6px;background:#304450;color:#bad0db;font-size:10px}
.panel-results{flex:1;min-height:0;display:flex;flex-direction:column}.results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 25px 12px;color:#9fb7c6;font-size:9px;font-weight:800;letter-spacing:1.45px;flex:none}.results-heading #results-count{color:var(--yellow);font:800 12px "Manrope",sans-serif;letter-spacing:0}.result-list{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 18px;scrollbar-width:thin;scrollbar-color:#405867 transparent}
.skeleton{height:73px;background:linear-gradient(105deg,#1b3240,#294552,#1b3240);background-size:220% 100%;border-radius:14px;margin:9px 0;animation:shimmer 1.5s linear infinite}@keyframes shimmer{to{background-position-x:-220%}}
.route-card,.stop-card{display:flex;align-items:center;gap:12px;min-height:75px;border:1px solid transparent;padding:10px 12px;margin:4px 0;border-radius:15px;background:transparent;transition:background .16s,border-color .16s;cursor:pointer}.route-card:hover,.stop-card:hover{background:#223745;border-color:#304c5a}.route-card.selected{background:linear-gradient(100deg,#f5c9551d,#f5c95508);border-color:#a184444d}.route-number{height:47px;min-width:47px;padding:0 5px;border-radius:12px;border:1px solid #405768;background:#293f4b;display:grid;place-items:center;font:800 17px "Manrope",sans-serif;color:#ebf5f9;letter-spacing:-.6px}.route-card.selected .route-number{color:#10212c;background:var(--yellow);border-color:var(--yellow)}.route-copy,.stop-copy{flex:1;min-width:0}.route-copy strong,.stop-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:800;line-height:1.4}.route-copy small,.stop-copy small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:5px;font-size:10px;color:#8da9b9}.route-buttons{display:flex;align-items:center;gap:2px}.favorite-button{border:0;background:none;color:#758b9b;display:grid;place-items:center;width:33px;height:35px;border-radius:8px}.favorite-button:hover{background:#3a4c58}.favorite-button svg{width:18px;height:18px}.favorite-button.on{color:var(--yellow)}.favorite-button.on svg{fill:var(--yellow)}.route-check{border:1px solid #536b78;border-radius:8px;width:23px;height:23px;display:grid;place-items:center;color:transparent}.route-check svg{height:16px;width:16px}.route-card.selected .route-check{background:var(--yellow);border-color:var(--yellow);color:#101b23}.stop-logo{height:44px;min-width:44px;border-radius:13px;background:#234339;border:1px solid #406456;color:var(--mint);display:grid;place-items:center}.stop-logo svg{height:20px;width:20px}
.empty-state{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;padding:35px 25px}.empty-state>svg{height:29px;width:29px;color:#87a4b5}.empty-state strong{font-size:13px}.empty-state p{font-size:12px;color:#91a7b6;line-height:1.7;margin:0}.list-section-label{padding:15px 12px 5px;color:var(--mint);font-weight:800;font-size:10px;letter-spacing:1px}.more-results{color:#7995a5;font-size:11px;text-align:center;padding:19px}
.panel-footer{padding:16px 18px 19px;border-top:1px solid var(--border);background:#0c1924;flex:none}.selection-summary{display:flex;align-items:center;gap:10px;margin-bottom:13px}.selection-badge{width:35px;height:35px;border-radius:10px;color:var(--yellow);background:#2b3e49;display:grid;place-items:center}.selection-badge svg{width:17px;height:17px}.selection-summary>div{flex:1;min-width:0}.selection-summary strong{display:block;font-size:12px}.selection-summary div>span{display:block;color:#8ba5b7;font-size:10px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subtle-button{background:transparent;border:0;color:#91a6b2;font-size:10px;font-weight:800;padding:8px}.footer-action-row{display:flex;gap:8px}.main-cta{height:47px;flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 17px;background:var(--yellow);color:#111e26;border:0;border-radius:12px;font-size:12px;font-weight:800;box-shadow:0 10px 25px #f5c9551a}.main-cta:hover{background:#ffdd78}.main-cta svg{height:18px;width:18px}.share-button{height:47px;width:47px;display:grid;place-items:center;border-radius:12px;background:#263b49;border:1px solid #426070}.panel-credit{display:block;text-align:center;font-size:9px;color:#738c9c;margin-top:13px}.panel-credit a{text-decoration:underline;text-underline-offset:2px;color:#b0c8d3}
/* Map controls / overlays */
.map-heading{pointer-events:none;position:absolute;z-index:3;left:434px;top:35px;text-shadow:0 1px 10px #04111b88}.map-heading-top{display:block;font-size:9px;letter-spacing:1.9px;font-weight:800;color:#f5d679}.heading-sparkle{margin-right:7px}.map-heading h2{font:800 clamp(20px,2.05vw,29px)/1.25 "Manrope",sans-serif;letter-spacing:-.95px;margin:10px 0 0}.map-heading h2 em{font-style:normal;color:var(--yellow)}
.map-top-right{position:absolute;z-index:4;top:22px;right:22px;display:flex;align-items:center;gap:9px}.metrics-card,.filter-button{background:#0d1d29f2;backdrop-filter:blur(14px);border:1px solid #3d5363;border-radius:14px;box-shadow:0 9px 29px #03131c42}.metrics-card{height:57px;display:flex;align-items:center;gap:12px;padding:8px 16px 8px 8px}.metric-icon{width:39px;height:39px;display:grid;place-items:center;background:#f5c9551c;border-radius:10px;color:var(--yellow)}.metric-icon svg{height:19px;width:19px}.metrics-card>div{display:flex;flex-direction:column;gap:4px}.metrics-card strong{font:800 17px/1 "Manrope",sans-serif}.metrics-card div>span{white-space:nowrap;color:#a8bac7;font-size:9px}.metric-divider{height:29px;width:1px;background:#415666;margin:0 2px}.filter-button{height:57px;padding:0 16px;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800}.filter-button>svg{height:17px;width:17px;color:var(--yellow)}.filter-button .tiny-chevron{width:12px;height:12px;color:#91aebc}.filter-button.selected{border-color:var(--yellow);color:var(--yellow)}
.map-tools{position:absolute;z-index:5;right:22px;top:95px;padding:6px;display:flex;flex-direction:column;background:#10212fef;border:1px solid #3f5d6c;border-radius:15px;box-shadow:0 15px 34px #06111d80;backdrop-filter:blur(16px)}.map-tools button{height:41px;width:41px;display:grid;place-items:center;background:transparent;border:0;border-radius:10px;color:#e3f0f5}.map-tools button:hover{background:#2c4858}.map-tools button.active{color:var(--mint);background:#1f3d3e}.map-tools button svg{width:19px;height:19px}.map-tools i{height:1px;margin:5px 4px;background:#476171}
.map-bottom-right{position:absolute;z-index:5;bottom:24px;right:22px}.stops-toggle{display:flex;align-items:center;gap:9px;padding:0 13px;height:44px;min-width:180px;background:#10212eef;border:1px solid #425d69;border-radius:12px;font-size:11px;font-weight:800;box-shadow:0 10px 30px #06142260}.stops-toggle.active{border-color:#71bd9b}.stops-symbol{display:grid;place-items:center;color:var(--mint)}.stops-symbol svg{width:15px;height:15px}.toggle-knob{width:34px;height:20px;border-radius:99px;background:#536977;margin-left:auto;padding:3px;transition:background .2s}.toggle-knob span{display:block;width:14px;height:14px;border-radius:50%;background:white;transition:transform .2s}.stops-toggle.active .toggle-knob{background:#50cba2}.stops-toggle.active .toggle-knob span{transform:translateX(14px)}
.map-bottom-left{position:absolute;z-index:4;left:435px;bottom:23px;display:flex;align-items:center;gap:9px}.map-city,.legend{display:flex;align-items:center;background:#10212eea;border:1px solid #415a69;backdrop-filter:blur(14px);border-radius:12px;height:44px;box-shadow:0 8px 24px #06152455}.map-city{gap:6px;padding:0 12px;color:var(--yellow)}.map-city svg{height:16px;width:16px}.map-city select{background:none;border:none;outline:0;color:#edf7fc;appearance:none;cursor:pointer;font-size:11px;font-weight:800;max-width:115px}.map-city select option{background:#152633;color:#fff}.map-city svg:last-child{width:12px;color:#afc0cb;pointer-events:none}.legend{gap:14px;padding:0 13px}.legend span{display:flex;align-items:center;gap:6px;font-size:10px;color:#b3c5d2;font-weight:700}.legend i{display:block}.legend-route{width:19px;height:3px;background:var(--yellow);border-radius:9px}.legend-bus{height:11px;width:11px;border-radius:4px;background:var(--yellow)}.legend-stop{height:11px;width:11px;border-radius:50%;border:3px solid var(--mint)}
.freshness-notice{position:absolute;z-index:6;bottom:84px;left:434px;display:flex;align-items:center;gap:11px;max-width:385px;min-width:275px;padding:12px;background:#0e202efa;border:1px solid #665b36;border-left:3px solid var(--yellow);border-radius:13px;box-shadow:0 14px 36px #05121d66}.notice-icon{height:32px;min-width:32px;display:grid;place-items:center;color:var(--yellow);background:#f5c9551a;border-radius:9px}.notice-icon svg{width:17px;height:17px}.notice-text{flex:1;min-width:0}.notice-text strong{display:block;font-size:11px}.notice-text small{display:block;font-size:10px;color:#a7bac5;margin-top:4px;line-height:1.4}.freshness-notice>button{background:none;border:0;color:#8fa8b6;padding:4px;align-self:flex-start}.freshness-notice>button svg{width:14px;height:14px}
.selected-pills{position:absolute;z-index:4;top:106px;left:434px;display:flex;gap:7px;flex-wrap:wrap;max-width:40%;pointer-events:none}.route-pill{display:flex;align-items:center;gap:7px;background:#0f1d29e8;border:1px solid #4f6571;border-radius:10px;padding:6px 9px;color:#d9ecf1;font-size:11px;font-weight:800;pointer-events:auto}.route-pill i{width:7px;height:7px;border-radius:50%}.route-pill button{padding:0;background:none;border:0;color:#a7bac6}.route-pill button svg{width:13px;height:13px}
.map-attribution{position:absolute;z-index:2;right:18px;bottom:0px;font-size:9px;color:#c1d1d9;background:#10212ab5;border-radius:5px 5px 0 0;padding:3px 5px}.map-attribution a{text-decoration:underline}
/* Detail drawer */
.detail-panel{position:absolute;z-index:20;right:22px;top:22px;bottom:22px;width:370px;overflow:auto;overscroll-behavior:contain;border-radius:22px;background:linear-gradient(150deg,#19313d,#101f2c);border:1px solid #466271;box-shadow:var(--shadow);transform:translateX(calc(100% + 48px));transition:transform .27s cubic-bezier(.22,1,.36,1);scrollbar-width:thin;scrollbar-color:#4b6873 transparent}.detail-panel.open{transform:translateX(0)}.detail-close{position:sticky;z-index:4;top:14px;float:right;margin:14px 14px 0 0;width:34px;height:34px;border:1px solid #4b6472;border-radius:10px;background:#26404d;display:grid;place-items:center}.detail-close svg{width:16px;height:16px}.detail-body{padding:29px 23px 30px}.detail-kicker{font-size:10px;letter-spacing:1.5px;color:var(--yellow);font-weight:800;margin-bottom:15px}.detail-title{font:800 29px/1.14 "Manrope",sans-serif;letter-spacing:-1.1px;margin:0 0 11px}.detail-description{font-size:12px;line-height:1.7;color:#a6bfcb;margin:0 0 22px}.detail-number{display:inline-grid;place-items:center;min-width:71px;padding:0 11px;height:61px;background:var(--yellow);color:#12212a;border-radius:16px;font:800 27px "Manrope",sans-serif;margin-bottom:16px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0 23px}.detail-stat{padding:15px 12px;background:#0e2230;border:1px solid #365666;border-radius:13px}.detail-stat strong{font:800 21px "Manrope",sans-serif;display:block;word-break:break-word}.detail-stat small{display:block;font-size:9px;color:#96b2bf;margin-top:7px;line-height:1.4}.detail-section{color:#aec4ce;font-size:10px;letter-spacing:1.3px;font-weight:800;margin:24px 0 12px}.detail-info{border:1px solid #395360;padding:13px 14px;background:#102534;border-radius:12px;font-size:11px;line-height:1.8;color:#acc2cb;margin:13px 0}.detail-action{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:44px;border:0;border-radius:11px;background:var(--yellow);color:#0e1d27;font-weight:800;font-size:12px}.detail-action svg{width:16px;height:16px}.detail-stop-list{max-height:320px;overflow:auto;scrollbar-width:thin}.detail-stop-row{padding:11px 4px;border-bottom:1px solid #365263;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#dce9ed}.detail-stop-row button{border:0;background:none;color:var(--yellow);font-size:11px;font-weight:800}.arrival{display:flex;align-items:center;gap:12px;margin-bottom:7px;padding:10px;background:#132a38;border:1px solid #3f5a69;border-radius:12px}.arrival-number{height:38px;min-width:42px;display:grid;place-items:center;background:var(--yellow);color:#14212a;border-radius:9px;font-weight:800}.arrival-copy{flex:1;min-width:0}.arrival-copy strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.arrival-copy small{display:block;margin-top:4px;font-size:10px;color:#a0b7c4}.arrival-time{font-weight:800;font-size:12px}.detail-empty{font-size:12px;line-height:1.7;color:#a5bfca;padding:17px;background:#102330;border:1px dashed #4d6878;border-radius:12px}
.toast{position:absolute;z-index:50;bottom:83px;left:50%;transform:translate(-50%,10px);pointer-events:none;opacity:0;max-width:400px;padding:12px 18px;border-radius:13px;border:1px solid #57737d;color:#f6f8f9;background:#142c37;box-shadow:0 12px 35px #06111bb3;font-size:12px;font-weight:800;text-align:center;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
/* Real vehicle markers */
.brx-bus-marker{display:flex;justify-content:center;align-items:center;position:relative;min-width:38px;height:31px;padding:0 7px;border:2px solid #0b2330;border-radius:10px;background:var(--yellow);color:#0a1b23;font:800 12px "Manrope",sans-serif;box-shadow:0 5px 18px #02101fcc,0 0 0 4px #f5c95531;cursor:pointer;white-space:nowrap}.brx-bus-marker.selected{background:var(--mint);box-shadow:0 5px 18px #02101fcc,0 0 0 4px #78e5bb38}.brx-bus-marker:after{content:"";position:absolute;bottom:-6px;left:calc(50% - 4px);width:8px;height:8px;transform:rotate(45deg);background:inherit;border-right:2px solid #0b2330;border-bottom:2px solid #0b2330}.brx-location-marker{height:19px;width:19px;background:#56aefe;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 9px #56aefe35,0 3px 15px #0008}
@media(min-width:1650px){.panel{width:400px}.map-heading,.selected-pills,.map-bottom-left,.freshness-notice{left:455px}.map-heading h2{font-size:29px}}
@media(max-width:1280px){.topbar{padding:0 19px}.brand{min-width:208px}.header-actions{min-width:auto}.panel{left:14px;top:14px;bottom:14px;width:345px}.panel-head{padding:24px 20px 19px}.panel-head h1{font-size:27px}.map-heading,.selected-pills,.map-bottom-left,.freshness-notice{left:380px}.map-top-right{right:14px;top:16px}.map-tools{right:14px}.map-bottom-right{right:14px}}
@media(max-width:1050px){.map-heading{display:none}.map-top-right .metrics-card{display:none}.map-tools{top:89px}.selected-pills{top:85px;max-width:36%}.detail-panel{width:330px;right:12px;top:12px;bottom:12px}.legend{display:none}}
@media(max-width:740px){
  .topbar{height:64px;padding:0 14px;gap:8px}.brand{min-width:0;gap:8px}.brand-symbol,.brand-symbol svg{width:37px;height:37px}.brand-name{font-size:25px}.brand-name small{font-size:7px;top:28px;letter-spacing:1.05px}.top-navigation,.clock{display:none}.header-actions{gap:8px}.status-pill{font-size:9px;max-width:153px;padding:9px 10px}.header-mobile-button{height:36px;width:36px;display:grid;place-items:center;border-radius:10px;background:#1b3541;border:1px solid #426071}.header-mobile-button svg{width:18px;height:18px}
  .panel{left:8px;right:8px;width:auto;max-width:none;top:auto;bottom:calc(8px + env(safe-area-inset-bottom));height:min(81dvh,690px);border-radius:23px 23px 20px 20px;transform:translateY(calc(100% - 122px));transition:transform .29s cubic-bezier(.2,.85,.22,1);z-index:15;box-shadow:0 -12px 50px #04131acc}.panel.expanded{transform:translateY(0)}.sheet-handle{flex:none;width:100%;height:35px;display:flex;align-items:center;justify-content:center;position:relative;border:0;background:transparent;color:#c9dbe0}.sheet-handle .grip{position:absolute;width:37px;height:4px;border-radius:99px;background:#5d7682;top:8px;left:calc(50% - 18.5px)}.sheet-caption{font-size:11px;font-weight:800;display:flex;align-items:center;gap:8px;margin-top:9px}.sheet-caption svg{height:15px;width:15px;color:var(--yellow)}.sheet-chevron{position:absolute;right:19px;top:13px;width:17px;height:17px;transition:transform .25s}.panel.expanded .sheet-chevron{transform:rotate(180deg)}
  .panel-head{background:transparent;padding:5px 14px 13px;border-bottom:none}.panel-eyebrow,.panel-head h1,.panel-head p{display:none}.search-box{margin:0;height:46px;border-radius:13px;padding:0 12px}.search-box kbd{display:none}.search-box input{font-size:12px}
  .panel-tabs{padding:0 12px}.panel-tab{height:45px}.results-heading{padding:17px 18px 9px}.result-list{padding:0 10px 12px}.route-card,.stop-card{min-height:69px}.route-number{height:42px;min-width:42px;font-size:15px}.stop-logo{height:42px;min-width:42px}.panel-footer{padding:10px 13px calc(12px + env(safe-area-inset-bottom))}.panel-credit{display:none}.selection-summary{margin-bottom:10px}.selection-badge{height:31px;width:31px}.footer-action-row .main-cta,.share-button{height:43px}
  .map-top-right{top:12px;left:12px;right:auto}.map-top-right .metrics-card{display:flex;height:42px;gap:8px;padding:4px 11px 4px 5px}.metric-icon{height:31px;width:31px}.metric-icon svg{height:16px;width:16px}.metrics-card strong{font-size:14px}.metrics-card div>span{font-size:8px}.metric-divider,.metrics-card>div:last-child{display:none}.filter-button{height:42px;font-size:10px;padding:0 10px;gap:7px}.filter-button>svg{height:15px;width:15px}
  .map-tools{top:70px;right:12px;padding:4px}.map-tools button{height:36px;width:36px}.map-tools button svg{width:18px;height:18px}.map-tools i{margin:3px}.map-heading{display:none}.map-bottom-left{left:12px;bottom:calc(145px + env(safe-area-inset-bottom));max-width:calc(100% - 145px)}.map-city{height:38px;padding:0 9px}.map-bottom-right{bottom:calc(145px + env(safe-area-inset-bottom));right:10px}.stops-toggle{height:38px;min-width:auto;padding:0 9px;font-size:10px;gap:7px}.stops-toggle .toggle-knob{width:30px;height:18px;padding:3px}.stops-toggle .toggle-knob span{height:12px;width:12px}.stops-toggle.active .toggle-knob span{transform:translateX(12px)}
  .freshness-notice{bottom:calc(194px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:none;min-width:0;padding:9px 10px;gap:8px}.notice-icon{height:29px;min-width:29px}.notice-text strong{font-size:10px}.notice-text small{font-size:10px}.selected-pills{top:66px;left:12px;max-width:calc(100% - 66px)}.detail-panel{left:8px;right:8px;top:auto;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;height:min(79dvh,680px);border-radius:23px;transform:translateY(calc(100% + 60px));z-index:25}.detail-panel.open{transform:translateY(0)}.detail-body{padding:23px 20px 30px}.detail-title{font-size:25px}.toast{bottom:auto;top:120px;max-width:calc(100% - 50px);width:max-content;white-space:normal}
  .map-attribution{bottom:1px;font-size:8px}
}
@media(max-width:389px){.status-pill{max-width:118px}.brand-name small{display:none}.map-top-right .metric-icon{display:none}.map-top-right .metrics-card{padding:6px 9px}.filter-button{gap:4px;padding:0 7px}.stops-toggle #stops-toggle-label{max-width:63px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-bottom-left{max-width:calc(100% - 136px)}}
@media(max-height:700px) and (min-width:741px){.panel-head{padding-top:18px;padding-bottom:16px}.panel-head h1{margin-top:13px;font-size:24px}.search-box{margin-top:14px}.results-heading{padding-top:12px}.panel-tabs .panel-tab{height:45px}.panel-footer{padding:10px 15px}.panel-credit{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
