.cycle-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}.cycle-controls label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;cursor:pointer}.cycle-controls input{width:18px;height:18px;accent-color:#4d996f}.cycle-controls button{margin-left:auto}.cycle-controls i{display:inline-block;width:30px;height:0}.line-existing{border-top:4px solid #4d996f}.line-proposed{border-top:4px dashed #2864b7}.cycle-metrics{display:grid;gap:18px}.cycle-metrics div{padding-bottom:16px;border-bottom:1px solid var(--line)}.cycle-metrics span{display:block;font-size:14px;color:var(--secondary)}.cycle-metrics strong{display:block;font-size:34px;line-height:1.25;font-variant-numeric:tabular-nums}.cycle-metrics .existing-value{color:#4d996f}.cycle-metrics .proposed-value{color:#2864b7}.cycle-note,.map-hint{font-size:13px;line-height:1.55;color:var(--secondary)}.cycle-selection{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:14px}.cycle-selection h3{font-size:17px;margin:0 0 8px}.cycle-selection p{line-height:1.5;margin:6px 0}.cycle-download{display:inline-block;margin-top:24px;font-size:14px}#map{height:67vh;min-height:460px}.methodology p{max-width:105ch;line-height:1.6}.topbar nav{flex-wrap:wrap}button:disabled{cursor:wait;opacity:.5}@media(max-width:760px){#map{height:58vh;min-height:360px}.cycle-controls{gap:4px 18px}.cycle-controls button{margin-left:0}.cycle-metrics{grid-template-columns:1fr 1fr}.cycle-metrics strong{font-size:29px}.cycle-selection{margin-top:16px}.impact{grid-row:auto}.topbar{flex-wrap:wrap}}

.draw-controls{border-top:1px solid var(--line);margin-top:10px;padding-top:14px}.draw-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.draw-buttons select{max-width:100%;min-height:38px;background:var(--page);border:1px solid var(--line);padding:7px;border-radius:5px}.draw-buttons #draw-toggle{color:#6941b0;border-color:#6941b0;font-weight:600}.draw-buttons #draw-toggle[aria-pressed=true]{background:#6941b0;color:white}.draw-note,#draw-status{font-size:13px;line-height:1.5;margin:8px 0 0}.draw-note{color:var(--secondary);max-width:110ch}.draw-note span{color:#6941b0}.draw-marker{border:2px solid white;background:#6941b0;color:white;border-radius:50%;width:28px;height:28px;min-height:28px;padding:0;box-shadow:0 1px 5px #0005;font-size:13px}.draw-marker:hover{background:#503080}.draw-marker:focus-visible{outline:3px solid #6941b0;outline-offset:3px}

.coverage-controls{margin:12px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line)}.coverage-controls legend{font-size:14px;font-weight:600;padding:0 10px 0 0}.coverage-controls label{display:inline-flex;align-items:center;gap:7px;min-height:38px;margin-right:20px;font-size:14px;cursor:pointer}.coverage-controls input{accent-color:#08519c;width:17px;height:17px}.coverage-note,#coverage-status{font-size:13px;line-height:1.45;margin:6px 0}.coverage-note{color:var(--secondary)}.coverage-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0}.coverage-legend[hidden]{display:none}.coverage-legend span{display:flex;gap:6px;align-items:center;font-size:12px}.coverage-legend i{display:block;width:26px;height:14px;border:1px solid #7c8a99}

.coverage-legend{display:flex;align-items:center;gap:10px;max-width:460px}.coverage-legend .coverage-ramp{flex:1;min-width:80px;height:12px;background:linear-gradient(to right,#fff5f0,#fb6a4a,#b30000);border-radius:3px}.coverage-legend span{font-size:12px;white-space:nowrap}.draw-panel{margin-top:22px;border:1px solid var(--line);padding:14px;border-radius:5px}.draw-panel summary{cursor:pointer;font-size:14px;font-weight:600;min-height:24px}.draw-panel .draw-controls{border:0;margin-top:12px;padding:0}.draw-panel .draw-controls>label{display:flex;gap:8px;align-items:center;font-size:14px;margin-bottom:12px;min-height:32px}.draw-panel .draw-controls>label input{width:18px;height:18px;accent-color:#6941b0}

.histogram-panel{max-width:700px;margin-top:26px;border-top:1px solid var(--line);padding-top:20px}.histogram-panel h2{font-size:22px;margin:0 0 8px}.histogram-panel p{font-size:14px;line-height:1.5;margin:8px 0}.histogram-key{display:flex;gap:22px;flex-wrap:wrap;margin:16px 0}.histogram-key span{display:flex;align-items:center;gap:7px;font-size:14px}.histogram-key i{width:18px;height:12px;display:block}.hist-current{background:#4d996f}.hist-total{background:#2864b7}.histogram-scroll{overflow-x:auto;max-width:700px}#distance-histogram{display:block;width:100%;min-width:560px;max-width:700px;max-height:400px}.hist-axis{font:12px system-ui;fill:#505650}.hist-grid{stroke:#dce0d9;stroke-width:1}.hist-bin{cursor:pointer}.hist-bin:hover .hist-hit,.hist-bin:focus .hist-hit{fill:#000;fill-opacity:.055}.hist-bin:focus{outline:none}.hist-bin:focus .hist-hit{stroke:#242a24;stroke-width:1}.histogram-panel .histogram-note{color:var(--secondary);font-size:12px}.histogram-panel summary{cursor:pointer;font-size:14px}.histogram-table{border-collapse:collapse;width:100%;max-width:650px;font-size:13px;margin-top:12px}.histogram-table th,.histogram-table td{padding:7px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}.histogram-table th:first-child,.histogram-table td:first-child{text-align:left}

.coverage-controls select,.histogram-measure select{font:inherit;font-size:14px;min-height:36px;padding:5px 8px;color:var(--ink);background:var(--page);border:1px solid var(--line);border-radius:4px;max-width:100%}.histogram-measure{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px;margin:12px 0}

#distance-histogram.population-stacks{min-width:0;max-width:700px;max-height:none;width:100%;display:grid;gap:26px;margin:22px 0 14px}.population-stack-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:8px;font-size:14px}.population-stack-head span{color:var(--secondary);font-size:12px}.population-stack{display:flex;width:100%;height:52px;outline:1px solid #cdbbb5;border-radius:4px;overflow:hidden}.population-segment{flex:0 0 auto;min-width:0;min-height:0;border:0;border-radius:0;padding:0;overflow:hidden;white-space:nowrap;font-size:13px;font-weight:600;box-shadow:none}.population-segment:hover,.population-segment:focus-visible{box-shadow:inset 0 0 0 2px #4b211b;outline:none}.population-stack-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:14px 0}.population-stack-legend span{display:flex;align-items:center;gap:6px;font-size:12px}.population-stack-legend i{width:18px;height:12px;display:block;border:1px solid #b9a29a}

.layer-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin:0 0 12px}.layer-heading h2{font-size:18px;margin:0}.layer-heading>span{font-size:13px;color:var(--secondary)}
.cycle-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:stretch}.cycle-controls .network-card{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid #cbd2c9;border-radius:8px;min-width:0;background:#fff;cursor:pointer}.cycle-controls .network-card input{flex:none;width:22px;height:22px;margin:2px 0 0}.network-copy{display:grid;gap:5px}.network-copy strong{font-size:18px;line-height:1.25}.network-copy>span{font-size:13px;line-height:1.4}.network-key{display:flex;align-items:center;gap:8px;margin-top:5px}.cycle-controls .network-current:has(input:checked){background:#edf6ef;border-color:#4d996f}.cycle-controls .network-proposal:has(input:checked){background:#edf3fd;border-color:#2864b7}.network-current strong,.network-current .network-key{color:#306347}.network-proposal strong,.network-proposal .network-key{color:#225699}.cycle-controls .network-proposal input{accent-color:#2864b7}.cycle-controls .network-card:hover{box-shadow:inset 0 0 0 1px currentColor}.cycle-controls .network-card:has(input:focus-visible){outline:3px solid #20251f;outline-offset:3px}.cycle-controls .network-card:has(input:not(:checked)) .network-key{opacity:.6}.cycle-controls button{align-self:center;margin:0}.coverage-controls{margin-top:20px;padding-top:12px}.coverage-controls legend{font-size:15px}
@media(max-width:760px){.cycle-controls{grid-template-columns:1fr}.cycle-controls button{justify-self:start}.cycle-controls .network-card{padding:14px}.layer-heading{gap:5px}.coverage-controls label{display:flex;margin-right:0}}

.coverage-controls .coverage-toggle{display:inline-flex;gap:10px;font-size:15px;font-weight:600;min-height:44px}.coverage-toggle input[role=switch]{appearance:none;width:40px;height:24px;border:1px solid #7b817b;border-radius:20px;background:#e0e3de;position:relative;cursor:pointer;flex:none}.coverage-toggle input[role=switch]::before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#555e55}.coverage-toggle input[role=switch]:checked{background:#2864b7;border-color:#2864b7}.coverage-toggle input[role=switch]:checked::before{left:19px;background:white}@media(forced-colors:active){.coverage-toggle input[role=switch]{appearance:auto}}
