:root{--ink:#16202e;--navy:#1f3a5f;--rust:#a8321f;--muted:#4a5563;--rule:#d9dde3;--wash:#f3f5f8}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:15px/1.5 "Public Sans",system-ui,-apple-system,sans-serif}button,input,select{font:inherit;color:inherit}button,select,input{min-height:44px;border:1px solid #9da8b5;background:#fff;border-radius:3px;padding:9px 11px}button{cursor:pointer;font-weight:600;background:var(--navy);border-color:var(--navy);color:#fff}button:hover{background:#294e7b}.quiet{background:#fff;color:var(--navy);border-color:#a8b4c1}.quiet:hover{background:var(--wash)}a{color:var(--navy);text-underline-offset:3px}:focus-visible{outline:3px solid var(--rust);outline-offset:3px}h1,h2,h3,p{margin:0}.app-head{padding:18px 22px;display:flex;gap:18px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rule)}.app-head h1{font-size:20px;line-height:1.25;font-weight:650}.app-head p{font-size:13px;color:var(--muted);margin-top:5px}.app-head button{flex:none}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr)}.inspector{max-height:780px;overflow-y:auto;border-right:1px solid var(--rule);padding:22px}.controls label:not(.check){display:block;font-size:14px;font-weight:650;margin-bottom:7px}select,input{width:100%}.helper{font-size:13px;color:var(--muted);line-height:1.5;margin-top:9px}.field-row{display:grid;grid-template-columns:1fr;gap:14px;margin-top:20px}#results{margin-top:8px;display:grid;gap:5px}#results button{text-align:left;background:#fff;color:var(--navy);border-color:var(--rule);font-weight:400;font-size:13px}#results button:hover{background:var(--wash)}.layers{margin-top:20px;border-top:1px solid var(--rule);padding-top:13px}.layers summary{font-weight:600;cursor:pointer;min-height:35px}.check{display:flex;gap:9px;align-items:flex-start;font-size:13px;margin:10px 0}.check input{width:18px;min-height:18px;flex:none;margin:2px 0}.profile{margin-top:24px;border-top:3px solid var(--ink);padding-top:18px}.profile h2{font:600 23px/1.16 "Newsreader",Georgia,serif;margin-bottom:12px}.profile p{font-size:14px}.profile .tract-id{font-size:12px;color:var(--muted);margin-bottom:16px}.profile h3{font-size:14px;font-weight:650;margin:20px 0 10px}.compare-row{display:grid;grid-template-columns:70px 1fr 50px;gap:8px;align-items:center;font-size:13px;margin:9px 0}.bar-track{height:10px;background:var(--wash)}.bar-track i{display:block;height:100%;background:var(--navy)}.compare-row.saturday i{background:var(--rust)}.compare-row strong{font-variant-numeric:tabular-nums;text-align:right;font-weight:600}.profile dl{display:grid;grid-template-columns:1fr auto;gap:7px 14px;font-size:13px;margin:0}.profile dd{margin:0;font-variant-numeric:tabular-nums}.profile dt{color:var(--muted)}.profile details{margin-top:20px;border-top:1px solid var(--rule);padding-top:12px}.profile summary{font-weight:600;cursor:pointer;font-size:14px}.profile details h3:first-of-type{margin-top:16px}.exports{margin-top:24px;padding-top:20px;border-top:1px solid var(--rule);display:grid;gap:8px}.exports button{font-size:13px}.exports .helper{margin:0}.map-column{min-width:0;display:flex;flex-direction:column}#map{height:650px;min-height:450px;background:#eef1f4}.leaflet-tile-pane{filter:grayscale(1)}.leaflet-control-attribution{font-size:10px}.leaflet-popup-content{font:14px/1.5 "Public Sans",system-ui,sans-serif;min-width:220px}.leaflet-popup-content h3{font:600 21px/1.2 "Newsreader",Georgia,serif;margin:0 0 8px}.leaflet-popup-content p{margin:7px 0}.leaflet-popup-content button{margin-top:8px;font-size:13px;width:100%}.leaflet-popup-content .helper{font-size:12px}.legend{padding:17px 22px 18px;border-top:1px solid var(--rule);background:#fff}.legend h2{font-size:14px;line-height:1.35;margin-bottom:10px}.legend #legend-items{display:flex;flex-wrap:wrap;gap:8px 17px}.legend span{font-size:12px;display:inline-flex;align-items:center;gap:7px}.legend i{width:17px;height:14px;border:1px solid #8f9ba8;display:inline-block}.legend p{font-size:12px;color:var(--muted);margin-top:9px}.app-foot{display:flex;justify-content:space-between;gap:20px;padding:15px 22px;border-top:1px solid var(--rule);font-size:12px;line-height:1.5;color:var(--muted)}.app-foot p{max-width:75ch}.app-foot a{flex:none}@media(max-width:760px){.app-head{padding:16px;align-items:flex-start}.app-head h1{font-size:18px}.app-head p{font-size:12px}.app-head button{font-size:12px;min-height:40px;padding:7px 10px}.workspace{display:flex;flex-direction:column}.inspector{display:contents}.controls{padding:18px 16px}.field-row{grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.layers{margin-top:14px;padding-top:10px}.layers summary{font-size:13px}.map-column{order:2}.controls{order:1}.profile{order:3;margin:22px 16px 0;padding-top:18px}.profile h2{font-size:25px}.profile .compare-row{grid-template-columns:85px 1fr 65px}.profile dl{font-size:14px}.exports{order:4;margin:24px 16px 0;padding-bottom:20px}.exports button{font-size:14px}#map{height:430px;min-height:430px}.legend{padding:16px}.app-foot{padding:16px;display:block}.app-foot a{display:inline-block;min-height:35px;padding-top:9px}.profile details{margin-top:18px}.profile .helper{font-size:13px}.leaflet-popup-content{min-width:190px;max-width:240px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.county-label{color:#162e48;font:600 12px/18px "Public Sans",system-ui,sans-serif;text-align:center;white-space:nowrap;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 5px #fff,1px 1px #fff,-1px -1px #fff}.context-label{font:600 11px/20px "Public Sans",system-ui,sans-serif;letter-spacing:1.4px;text-align:center;white-space:nowrap;color:#627170}.context-label.water{font-size:10px;color:#486978;font-style:italic}.exports{display:flex;align-items:center;gap:12px;margin:0;padding:16px 22px;border-top:1px solid var(--rule)}.exports .helper{margin-left:auto}.check[hidden]{display:none}#map{background:#dce8ee}@media(max-width:760px){.exports{display:grid;margin:0;padding:20px 16px}.exports .helper{margin-left:0}.county-label{font-size:11px}.context-label{font-size:10px;letter-spacing:1px}}
/* Version 1.2: compare days on a common scale and find places by name. */
.metric-controls{margin-top:22px}.quick-views{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:9px}.quick-views button{font-size:12px;padding:7px 5px;min-height:40px;background:#fff;color:var(--navy);border-color:#a8b4c1}.quick-views button[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}.municipality-panel{margin-top:18px;background:#f3f5f8;border-left:3px solid #5b5d46;padding:13px}.municipality-panel[hidden]{display:none}.municipality-panel>p:first-child{font-weight:650;margin-bottom:10px}.municipality-panel label{font-size:12px!important}.municipality-label{color:#182c40;font:650 12px/20px "Public Sans",system-ui,sans-serif;text-align:center;white-space:nowrap;text-shadow:0 0 2px #fff,0 0 4px #fff,0 0 5px #fff,1px 1px #fff,-1px -1px #fff}.selected-measure{border-left:4px solid var(--navy);background:#f3f5f8;padding:13px 14px;margin:0 0 22px}.selected-measure>span{display:block;font-size:13px;font-weight:600}.selected-measure>strong{display:block;font-size:30px;line-height:1.2;margin:7px 0;font-weight:650;font-variant-numeric:tabular-nums}.selected-measure .unit{font-size:12px;color:var(--muted);font-weight:400}.selected-measure p{font-size:12px!important;line-height:1.5;margin-top:10px;color:var(--muted)}.change-summary{font-size:13px!important;margin-top:12px}.coverage-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums}.coverage-table caption{text-align:left;font-size:12px;color:var(--muted);margin-bottom:8px}.coverage-table th,.coverage-table td{padding:8px 5px;border-bottom:1px solid var(--rule);text-align:right;vertical-align:top}.coverage-table th:first-child{text-align:left;padding-left:0}.coverage-table th{font-weight:600}.coverage-table thead th{font-size:11px;color:var(--muted)}.rail-summary{margin-top:15px!important}.map-context-note{font-size:12px;color:var(--muted);padding:0 22px 17px;background:#fff}.exports{flex-wrap:wrap}.exports a{font-size:13px;min-height:44px;display:inline-flex;align-items:center}.exports .helper{font-size:12px}.inspector{max-height:850px}#map{height:650px;min-height:450px}.field-row{margin-top:15px}.profile .tract-id{margin-bottom:12px}
@media(max-width:760px){.field-row{grid-template-columns:1fr}.controls{padding:16px}.metric-controls{margin-top:18px}.municipality-panel{padding:12px}.selected-measure>strong{font-size:32px}.coverage-table{font-size:14px}.coverage-table thead th{font-size:12px}.coverage-table th,.coverage-table td{padding:10px 5px}.map-context-note{padding:0 16px 16px}#map{height:430px;min-height:430px}.exports a{justify-content:center}.exports .helper{margin:0}.quick-views button{min-height:44px;font-size:13px}}

.road-label{font:600 10px/18px system-ui,sans-serif;color:#425060;text-align:center;white-space:nowrap;text-shadow:0 0 2px #fff,0 0 3px #fff,0 0 5px #fff}.station-label{font:600 11px/18px system-ui,sans-serif;color:#172e42;text-align:center;white-space:nowrap;text-shadow:0 0 2px #fff,0 0 3px #fff,0 0 5px #fff,1px 1px #fff,-1px -1px #fff}

/* Noninteractive Canvas overlays must let pointer events reach tract polygons. */
#map .leaflet-selection-pane,#map .leaflet-selection-pane canvas,#map .leaflet-localContext-pane,#map .leaflet-localContext-pane canvas,#map .leaflet-context-pane,#map .leaflet-context-pane canvas{pointer-events:none!important}
.score-summary{padding:15px 14px 16px;border-top:3px solid var(--navy);background:#f3f5f8;margin-bottom:18px}.score-summary>span{display:block;font-size:14px;font-weight:650}.score-summary>strong{display:block;font-size:42px;line-height:1.1;margin:9px 0 5px;font-weight:650;font-variant-numeric:tabular-nums}.score-summary .unit{font-size:12px;font-weight:400;color:var(--muted)}.score-summary dl{margin-top:18px!important;border-top:1px solid var(--rule);padding-top:12px}.score-summary p{font-size:12px!important;color:var(--muted);margin-top:13px}.profile .selected-measure>strong{font-size:26px}.profile details>dl{margin-top:14px}
