.theme-picker{display:flex;align-items:center;gap:8px;flex:none;border:1px solid var(--line);border-radius:30px;padding:8px 11px;background:var(--white);color:var(--ink)}.theme-picker>svg{width:20px;height:20px;flex:none}.theme-picker select{font:inherit;font-size:12px;border:0;background:transparent;color:inherit;min-height:26px;max-width:135px;cursor:pointer}.theme-picker select:focus-visible{outline:2px solid #ae873c;outline-offset:3px;border-radius:3px}.masthead{gap:20px}.map-masthead .theme-picker{margin-left:auto}.map-masthead .back-link{margin-left:auto}
.map-page .map-scope{font-size:13px;line-height:1.8;color:#42543e;align-items:flex-start}.map-page .scope-mark{font-size:10px;margin-top:1px}.map-page .map-view-bar>p{font-size:12px;line-height:1.8}html[data-theme=dark] .map-page .map-scope{color:#c4d2bd}html[data-theme=dark] .map-page .scope-mark{background:#304c36;color:#ecf3e7}html[data-theme=dark] .map-page .map-view-bar>p{color:#c4d2bd}
html[data-theme=dark] #district-select{background:#14231a;color:#e0ebd8;border-color:#4d654a}
html[data-theme=dark] .map-invitation strong{color:#e3eedb}html[data-theme=dark] .map-invitation small{color:#bccdb2}html[data-theme=dark] .map-invitation-arrow{color:#b9d4a8}.map-invitation strong{line-height:1.2}.map-invitation small{line-height:1.6;max-width:65ch}
html[data-theme=dark]{color-scheme:dark;--paper:#111c17;--ink:#e3eadf;--muted:#a3b49f;--line:#3b5040;--green:#416d57;--white:#1a2a21;--accent:#d6b575;background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.panel,.private-section,.sorting-content,.timetable-shell,.live-panel,.map-workspace,.map-sidebar,.map-search,.map-selection,.public-bin-card,.schedule-card,.source-card,.selection-empty,.bus-board,.city-results button){background:#1a2a21;color:#e3eadf;border-color:#3b5040}
html[data-theme=dark] :is(.sorting-tabs button,.sorting-hero,.sorting-foot,.example-icon,.mini-guide-list .example-icon,.yard-item-grid>span,.yard-special,.bus-empty,.bus-direction,.bus-day-buttons button,.route-choice button,.tt-controls,.map-toolbar,.public-sites,.map-hint,.map-legend,.public-bin-card,.bio-choice,.scope-mark,.map-invitation,.hours-table .is-today,.week-orbit,.yard-badge,.button.light,.remember,.bin-card,.bio-info){background:#24372a;color:#d5e1ce;border-color:#435c44}
html[data-theme=dark] :is(.sorting-tabs button[aria-pressed=true],.route-choice button[aria-pressed=true],.site-filters button[aria-pressed=true],.waste-filters button[aria-pressed=true],.bio-choice[aria-pressed=true],.bus-direction button[aria-pressed=true],.bus-day-buttons button[aria-pressed=true],.yard-badge.is-open){background:#355337;color:#ecf5e6;border-color:#83a475}
html[data-theme=dark] :is(input:not([type=checkbox]),select,.site-filters button,.map-search select,.map-input-wrap,.map-search input,.tt-controls input,.tt-controls select,.live-controls select,.password-row input){background:#14231a;color:#e0ebd8;border-color:#4d654a}
html[data-theme=dark] :is(.theme-picker select,.theme-picker){background:#1a2a21;color:#e0ebd8}
html[data-theme=dark] :is(.eyebrow,.guide-stamp,.data-stamp,.source-note,.privacy-note,.search-message,.site-meta,.map-color-caption,.map-footer,.map-footer>span,.city-week,.sorting-tabs small,.sorting-hero small,.sorting-foot,.sorting-lists h4,.mini-guide-body p,.mini-guide-list li,.yard-guide-label,.yard-special p,.yard-condition-row p,.yard-conditions a,.yard-note,.yard-next,.yard-address,.bin-rule,.bin-day,.bio-source,.route-choice small,.bus-hero p:not(.eyebrow),.tt-controls label,.live-controls label,.tt-warning,.bus-departure small,.bus-direction-note,.bus-updated,.live-panel>summary>span,.selection-empty p,.selection-empty small,.map-notes p,.map-hint,.map-hint button,.map-city-button,.waste-filters button,.bio-choice,.public-bin-rule,.public-bin-next,.bio-source,.source-age){color:#adc19e}
html[data-theme=dark] :is(.sorting-hero h3,.sorting-lists h4,.yard-special strong,.yard-condition-row strong,.route-choice button,.bus-hero h2,.tt-title h3,.bus-departure strong,.bus-time strong,.public-bin-name,.public-bin-date,.map-selection h2,.mini-guide summary,.yard-source,.tt-links a,.civic-jump a,.site-filters button,.sites-list button,.map-popup h3,.site-popup h3,.back-link){color:#e1ebd7}
html[data-theme=dark] .bus-hero{background:#223a29}html[data-theme=dark] .bus-hero>img{mix-blend-mode:normal;opacity:.88}html[data-theme=dark] .yard-visual{background:#25392a}html[data-theme=dark] .yard-visual img{opacity:.86}html[data-theme=dark] .yard-visual>span{background:#14231bd9;color:#cbd9be}
html[data-theme=dark] :is(.yard-special.is-refused,.sorting-denied .example-icon,.site-status,.map-tile-message,.warning-note,.source-warning){background:#3b3422;color:#e2c991;border-color:#76613e}html[data-theme=dark] .yard-special.is-refused strong{color:#e2c991}html[data-theme=dark] .sorting-denied h4 span{background:#664732;color:#f0d6b7}
html[data-theme=dark] .tt-stop-sheet{background:#1a2a21;border-color:#4a6245}html[data-theme=dark] .tt-sheet-top{background:#284f3c;color:#edf5e5}html[data-theme=dark] .tt-read-tip{color:#b3c4a9;border-color:#42583e}html[data-theme=dark] .tt-hour-table thead th{background:#344b33;color:#c3d5b7;border-color:#56704b}html[data-theme=dark] .tt-hour-table tbody th{background:#2a432e;color:#e3eedb;border-color:#486140}html[data-theme=dark] .tt-hour-table tbody tr:nth-child(even) th{background:#304c32}html[data-theme=dark] .tt-hour-table tbody td{background:#1c2d22}html[data-theme=dark] .tt-hour-table tbody tr:nth-child(even) td{background:#223627}html[data-theme=dark] .tt-hour-table tbody tr{border-color:#3d533c}html[data-theme=dark] .tt-minute{color:#e0edd6}html[data-theme=dark] .tt-minute:hover{background:#3d5936}html[data-theme=dark] .tt-minute.is-next{background:#53472b;color:#ffe9b2}html[data-theme=dark] .tt-minute[data-selected=true]{background:#739267;color:#101e13}html[data-theme=dark] .tt-legend{background:#213425;border-color:#42583d;color:#d8e5cd}html[data-theme=dark] .tt-legend :is(dd,.tt-detail-tip,.tt-common-note,.tt-outside-hours){color:#bbceb0}html[data-theme=dark] .tt-legend dt{background:#3d5834;color:#e2efd6}html[data-theme=dark] dialog.tt-trip-detail{background:#1d3022;color:#e3eed9;border-color:#7b9965}html[data-theme=dark] .tt-trip-detail :is(p,li,.tt-trip-stop,.tt-trip-heading>strong){color:#d0e0c3}html[data-theme=dark] .tt-detail-close{background:#365132;color:#e9f4dd;border-color:#6c8a58}
html[data-theme=dark] :is(.civic-jump,.map-legend,.map-hint,.sorting-foot,.sorting-content,.yard-acceptance,.yard details,.tt-links,.tt-controls,.live-panel,.bus-departure,.sites-list button,.sorting-tabs button,.route-choice button,.hours-table tr,.mini-guide){border-color:#42583d}
html[data-theme=dark] :is(.example-icon,.yard-item-grid,.tt-legend-icon,.site-filters,.tt-warning,.bus-heading-art,.bus-hero-chip,.bus-route-art) svg g{stroke:#a7bb90}html[data-theme=dark] .map-canvas-panel{background:#243a29}html[data-theme=dark] #waste-map{background:#2b3e2c}html[data-theme=dark] .leaflet-tile-pane{filter:brightness(.8) saturate(.75)}html[data-theme=dark] :is(.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-tooltip,.leaflet-control-attribution,.leaflet-bar a,.site-marker){background:#203227;color:#dce8d3;border-color:#6c865c}html[data-theme=dark] .site-popup :is(p,small),html[data-theme=dark] .map-popup :is(p,small){color:#bacbad}html[data-theme=dark] .leaflet-control-attribution a{color:#cfdfc1}html[data-theme=dark] .district-map-label{color:#29492a}html[data-theme=dark] a:hover{color:#e4bf80}
@media(max-width:1000px){.masthead{flex-wrap:wrap;height:auto;min-height:110px;padding:18px 0;gap:15px}.masthead nav{order:3;width:100%;justify-content:space-between}.theme-picker{margin-left:auto}.theme-picker select{max-width:128px}.map-masthead .back-link{order:3;margin-left:0}.map-masthead .theme-picker{order:2}}
@media(max-width:420px){.theme-picker{gap:4px;padding:6px 8px}.theme-picker select{font-size:11px;max-width:112px}.theme-picker>svg{width:17px}.masthead .brand{font-size:20px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto!important}}
