:root{font-family:Arial,Helvetica,sans-serif;color:#20262b;background:#fff;--ink:#20262b;--muted:#58636b;--line:#d6dcdf;--wash:#f3f5f6;--blue:#236a81;--red:#842b36}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.45}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,select,input[type=search]{border:1px solid #aab4b9;background:white;border-radius:3px;color:var(--ink)}button{padding:8px 12px;cursor:pointer;line-height:1.2}button:hover{background:var(--wash);border-color:var(--ink)}button:disabled{opacity:.45;cursor:default}a{color:var(--blue);text-underline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif}h1{font-size:27px;line-height:1.15;margin:0}h2{font-size:25px;line-height:1.2;margin:0 0 9px}h3{font-size:17px;line-height:1.3;margin:24px 0 10px}label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:bold}select{height:39px;padding:6px 28px 6px 9px;max-width:100%}input[type=search]{width:100%;padding:9px;height:39px;font-size:15px}.check{flex-direction:row;align-items:center;gap:6px;font-weight:normal;font-size:14px;white-space:nowrap}input[type=checkbox]{accent-color:var(--blue);width:17px;height:17px;cursor:pointer}input[type=range]{accent-color:var(--blue);width:100%;margin:15px 0 20px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #c68f00;outline-offset:3px}.skip{position:absolute;left:16px;top:-100px;z-index:10000;background:white;padding:14px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}header{padding:23px 28px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--ink)}.byline{margin:7px 0 0;font-size:15px}nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}nav button{font-size:14px}main{padding:0 28px}.filters{display:flex;gap:16px;align-items:end;padding:20px 0;flex-wrap:wrap}.filters label{flex:1;min-width:125px}.filters #district{min-width:135px}.filters button{height:39px}.workspace{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(390px,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.geography{min-width:0;padding-right:24px;display:flex;flex-direction:column}.map-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 0}.map-tools label:first-child{flex-direction:row;align-items:center;gap:8px}.map-tools select{font-size:14px;height:35px}.map-tools button{margin-left:auto;font-size:14px}#map{height:610px;min-height:380px;width:100%;background:#e7ecee;border:1px solid #bdc6ca;z-index:0}.map-legend{padding:12px 0 4px;display:flex;gap:14px;flex-wrap:wrap;font-size:13px;align-items:center}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{display:inline-block;background:var(--swatch);width:22px;height:4px}.map-note{font-size:13px;color:var(--muted);margin:8px 0 18px}.analysis{border-left:1px solid var(--line);min-width:0;padding-left:24px;max-height:810px;overflow:auto;scrollbar-gutter:stable}.tabs{display:flex;gap:14px;position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid var(--line);padding-top:9px}.tabs button{font-size:15px;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 0}.tabs button[aria-selected=true]{border-bottom-color:var(--ink);font-weight:bold}.tabs button:hover{background:white}.list-tools{display:flex;gap:14px;margin:18px 0 12px}.list-tools label:first-child{flex:1;min-width:100px}.list-tools label:last-child{width:155px}.list-tools select{font-size:13px}.table-intro{font-size:14px;color:var(--muted);margin-bottom:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}th{text-align:left;font-weight:bold;font-size:12px;vertical-align:bottom;color:#47515a;line-height:1.3}th,td{padding:10px 7px;border-bottom:1px solid var(--line)}.num{text-align:right;white-space:nowrap}.route-table th:nth-child(1){width:29px}.route-table th:nth-child(3){width:58px}.route-table th:last-child{width:105px}.route-table td:first-child{padding-left:0}.route-table td:last-child{padding-right:0}.route-table td button{background:none;border:0;text-align:left;padding:0;display:block;line-height:1.35;width:100%}.route-table td button strong{font-size:16px}.route-table td button span{display:block;font-size:13px;color:var(--muted);margin-top:3px}.route-table tr:hover{background:var(--wash)}.route-table tr.selected{background:#e9f0f3}.speed{font-weight:bold;font-size:16px}.route-heading{padding-top:19px}.route-heading p{margin:0 0 10px;color:var(--muted);font-size:15px}.detail-tools{display:flex;gap:14px;align-items:end;margin:15px 0}.detail-tools label{flex:1}.detail-tools button{font-size:14px;height:39px}.detail-summary{font-size:16px;line-height:1.6;margin:15px 0;border-left:3px solid var(--blue);padding-left:12px}.segment-table{font-size:13px}.segment-table td:first-child{padding-left:0}.segment-table td:nth-child(2){min-width:140px;white-space:normal}.segment-table td:nth-child(2) button{padding:0;background:none;border:0;text-align:left;font-size:13px}.segment-table small{display:block;font-size:12px;color:var(--muted)}.segment-table tr.picked{background:#f6f0dc}.chart{width:100%;height:auto;display:block;font-family:Arial,sans-serif;overflow:visible}.chart text{font-size:11px;fill:#4c565d}.chart .axis{stroke:#c3cbd0;stroke-width:1}.chart .trace{fill:none;stroke:var(--blue);stroke-width:2.5}.chart .dot{fill:var(--blue)}.hour-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:3px}.hour-grid button{padding:7px 0;border:0;color:white;font-size:12px;border-radius:0;min-height:45px;display:flex;flex-direction:column;align-items:center}.hour-grid button span{font-weight:bold;font-size:14px}.hour-grid button small{font-size:10px}.hour-grid button:disabled{background:#edf0f2!important;color:#7a858d}.hour-grid button.active{outline:2px solid var(--ink);outline-offset:1px}.section-caption{font-size:13px;color:var(--muted);margin:7px 0 12px}.rider-panel label{flex-direction:row;align-items:center;font-size:14px;gap:10px;margin-bottom:10px}.metric-lines{display:grid;grid-template-columns:1fr auto;gap:8px 16px;font-size:15px;margin:12px 0}.metric-lines dt,.metric-lines dd{margin:0}.metric-lines dd{font-variant-numeric:tabular-nums;font-weight:bold;text-align:right}.boardings-table td:first-child{font-size:12px}.boardings-table td{padding:8px 4px}.lane-list{padding-left:20px;font-size:14px}.lane-list li{margin-bottom:8px}.empty{padding:20px 0;color:var(--muted)}#comparePanel{padding-top:20px}#comparePanel table{font-size:13px}#comparePanel th:first-child{width:130px}#comparePanel td{white-space:nowrap}#clearCompare{margin:18px 0}.scenario{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);gap:40px;padding:28px 0 30px}.scenario h2{font-size:23px}.scenario-controls p{font-size:14px;color:var(--muted);margin:0 0 15px}.scenario-controls label{display:block}.scenario-buttons{display:flex;gap:8px;flex-wrap:wrap}.scenario-buttons button{font-size:13px}.scenario-result{align-self:center}.scenario-result p:first-child{font:24px/1.45 Georgia,'Times New Roman',serif;max-width:660px;margin-bottom:12px}.scenario-result p:last-child{font-size:14px;color:var(--muted);max-width:650px;margin:0}footer{padding:18px 28px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}footer p{margin:0}#status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:2000;background:var(--ink);color:white;padding:10px 18px;border-radius:3px;font-size:14px;display:none;max-width:90vw}#status.visible{display:block}dialog{width:min(760px,calc(100% - 30px));max-height:85vh;border:1px solid var(--ink);border-radius:3px;padding:26px;line-height:1.5}dialog::backdrop{background:#20262b77}.dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:start}.dialog-top h2{font-size:25px}.dialog-top button{font-size:14px}.definitions dt{font-weight:bold;margin-top:17px}.definitions dd{margin:4px 0 0;font-size:15px}.source-links{padding-left:20px;font-size:15px}.source-links li{margin-bottom:8px}.leaflet-popup-content{font-family:Arial,sans-serif;font-size:14px;line-height:1.45}.leaflet-popup-content strong{font-size:16px}.leaflet-popup-content p{margin:8px 0}.leaflet-tooltip{font-family:Arial,sans-serif;font-size:12px}.leaflet-container{font-family:Arial,sans-serif}.leaflet-control-attribution{font-size:10px}.leaflet-control-scale-line{font-size:11px}body.loading .route-table{opacity:.5}.print-only{display:none}
@media(min-width:1700px){main,header,footer{padding-left:max(28px,calc((100vw - 1640px)/2));padding-right:max(28px,calc((100vw - 1640px)/2))}#map{height:680px}}
@media(max-width:1050px){header{align-items:start}h1{font-size:25px}.workspace{grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr)}.geography{padding-right:18px}.analysis{padding-left:18px}.map-tools{gap:9px}.map-tools button{margin-left:0}.map-tools .check{font-size:13px}.filters{gap:12px}main{padding:0 20px}.scenario{gap:25px}.tabs{gap:12px}}
@media(max-width:800px){header{padding:18px 18px 14px;display:block}h1{font-size:25px}.byline{margin-top:5px}nav{justify-content:start;margin-top:15px;gap:6px}nav button{font-size:13px;padding:8px}main{padding:0 18px}.filters{padding:17px 0;gap:12px}.filters label{flex:1 1 27%;min-width:100px}.filters button{align-self:end}.workspace{display:flex;flex-direction:column}.geography{padding:0}.map-tools{padding:12px 0;gap:10px}.map-tools .check{font-size:13px}#map{height:440px;min-height:0}.map-legend{gap:10px}.analysis{border-left:0;border-top:1px solid var(--line);padding:0;max-height:none;overflow:visible}.tabs{position:static;gap:22px}.list-tools label:last-child{width:160px}.route-table{font-size:14px}.route-table td{padding-top:12px;padding-bottom:12px}.route-table td button span{font-size:13px}.route-table th:last-child{width:95px}.scenario{display:block;padding:24px 0}.scenario-result{margin-top:24px}.scenario-result p:first-child{font-size:23px}footer{padding:18px;display:block}footer a{display:inline-block;margin-top:10px}.detail-tools{max-width:500px}.hour-grid{gap:4px}.chart{max-height:210px}.segment-table td:nth-child(2){min-width:0}.segment-table th,.segment-table td{padding-left:4px;padding-right:4px}.table-wrap{width:100%}}
@media(max-width:420px){h1{font-size:23px}.filters label{flex:1 1 42%}.filters button{margin-left:auto}.map-tools{gap:9px}.map-tools label:first-child{width:calc(100% - 80px)}.map-tools button{position:absolute;right:18px;align-self:flex-start;margin-top:0}.map-tools .check{white-space:normal}.map-tools .check:last-of-type{flex-basis:100%}#map{height:350px}.map-legend{font-size:12px;gap:9px}.map-legend span:first-child{flex-basis:100%}.tabs{gap:19px}.tabs button{font-size:14px}.list-tools{gap:10px}.list-tools label:last-child{width:142px}.scenario-buttons button{font-size:12px;padding:9px}.segment-table{font-size:12px}.segment-table td:nth-child(2) button{font-size:12px}.segment-table .num{font-size:12px}.hour-grid button span{font-size:12px}dialog{padding:18px}}
@media print{header nav,.filters,.map-tools,.tabs,#routesPanel,#comparePanel,.scenario-controls input,.scenario-buttons,footer,#status{display:none!important}header,main{padding:10px}header{border-bottom:1px solid #000}.workspace{display:block}.geography{padding:0}#map{height:380px}.analysis{max-height:none;overflow:visible;border:0;padding:0}#routePanel{display:block!important}.scenario{display:block;padding:20px 0}.scenario-result p:first-child{font-size:21px}.segment-table{font-size:11px}h3{break-after:avoid}tr{break-inside:avoid}.print-only{display:block}}

.intro{padding:18px 0 0;max-width:940px}.intro>p:first-child{margin-bottom:12px}.start-routes{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0}.start-routes button{font-size:14px}.tool-link{font-size:14px;padding:7px 10px;align-self:center}.extra-filters{position:relative;align-self:center}.extra-filters>div{display:flex;gap:14px;flex-wrap:wrap;padding:12px 0}.extra-filters label{min-width:140px}summary{cursor:pointer;font-size:15px;line-height:1.5;padding:10px 0;font-weight:bold}details{border-bottom:1px solid var(--line);margin-bottom:12px}.map-layers{position:relative;margin:0;border:0}.map-layers>div{position:absolute;top:45px;left:0;z-index:1000;background:white;border:1px solid var(--line);padding:15px;display:grid;gap:12px;min-width:250px}.map-layers summary{font-size:14px;padding:0}.scope-note{display:block;font-size:13px;color:var(--muted);margin-top:5px}.project-context{font-size:14px;line-height:1.5;color:var(--muted)}.filters label{flex:0 1 190px}.filters{gap:14px}.hour-grid{grid-template-columns:repeat(6,1fr)}.hour-grid button small{font-size:12px}.chart text{font-size:12px}.segment-table,.segment-table td:nth-child(2) button{font-size:14px}.segment-table small{font-size:12px}.scenario-buttons button{font-size:14px}.analysis{max-height:850px}
@media(max-width:800px){#map{height:320px}.extra-filters{flex-basis:100%}.extra-filters>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.extra-filters label{min-width:0}.analysis{max-height:none}.filters label{flex:1 1 25%;min-width:80px}.intro{padding-top:14px}.start-routes{font-size:14px}.map-tools label:first-child{width:auto}.map-tools button{position:static;margin-left:auto}.segment-table .num{font-size:14px}.hour-grid button span{font-size:14px}.map-layers>div{left:auto;right:0}.map-legend{font-size:12px}.map-tools{flex-wrap:nowrap}.map-tools select{max-width:150px}}

/* Street reference stays neutral; data paths retain their own colors. */
#map{background:#f7f8f8}.quiet-basemap{filter:grayscale(1);opacity:.36}.map-legend .lane-key{height:7px;width:30px;border-radius:2px}.map-legend .lane-key.shared{background:repeating-linear-gradient(to right,var(--swatch) 0 11px,transparent 11px 16px)}.map-legend .lane-key.inactive{background:repeating-linear-gradient(to right,var(--swatch) 0 6px,transparent 6px 11px)}.map-legend .lane-key.unknown{background:repeating-linear-gradient(to right,var(--swatch) 0 2px,transparent 2px 7px)}
