:root{--ink:#203b34;--muted:#4c5f57;--line:#dae2dc;--paper:#fff;--bg:#fff;--red:#a63131;--yellow:#7e5a09}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Thonburi","Leelawadee UI",Tahoma,system-ui,sans-serif;font-size:1.0rem;line-height:1.8}a{color:inherit;text-underline-offset:4px}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #136aaf;outline-offset:4px}.skip{position:absolute;top:-80px;background:#fff;padding:12px;z-index:20}.skip:focus{top:8px}.header{min-height:70px;display:flex;gap:20px;align-items:center;padding:10px max(20px,calc((100vw - 1100px)/2));border-bottom:1px solid var(--line);background:#fff}.header img{object-fit:contain;display:block}.header>span{font-size:0.875rem;border-left:1px solid var(--line);padding-left:20px}.header-info{margin-left:auto;font-size:0.875rem;white-space:nowrap}.container{max-width:1100px;margin:0 auto;padding:24px 24px 110px}.page-heading{margin-bottom:22px}.eyebrow{font-size:0.875rem;letter-spacing:.03em;color:var(--muted);margin:0 0 4px}h1,h2,h3,p{margin-top:0}h1{font-size:1.875rem;line-height:1.35;letter-spacing:normal;margin-bottom:8px}h2{font-size:1.3125rem;line-height:1.5;margin-bottom:12px}h3{font-size:1.125rem;line-height:1.5;margin-bottom:8px}p{margin-bottom:12px}.muted,.timestamps,small{color:var(--muted)}.muted,.timestamps{font-size:0.875rem}.compact{margin-bottom:8px}.risk-group{margin:0 0 20px}.risk-group h2{display:flex;align-items:center;gap:14px}.count{font-size:0.875rem;font-weight:400;color:var(--muted)}.district-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.district-card{display:block;background:#fff;text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:16px}.district-card.red{border-top:4px solid #b63b35;background:#fffaf8}.district-card.yellow{border-top:4px solid #c19527;background:#fffdf5}.card-title{display:flex;align-items:center;justify-content:space-between}.card-title h3{margin:0;font-size:1.25rem}.district-card>p{margin:8px 0;font-size:0.9375rem}.district-card .card-reason{font-size:0.875rem;color:#56625c}.card-bottom{border-top:1px solid var(--line);padding-top:10px;display:flex;flex-direction:column;font-size:0.875rem;color:var(--muted);gap:2px}.area-form{background:#e9efea;border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:20px 0}.area-form label{display:block;font-size:0.875rem;font-weight:bold;margin:0 0 5px}.select-row{display:flex;gap:10px}select,button,.button{font:inherit;min-height:46px;border:1px solid #b4c2b9;border-radius:7px;background:#fff;color:var(--ink);padding:8px 12px}select{width:100%;min-width:0}button,.button{background:var(--ink);color:#fff;border-color:var(--ink);white-space:nowrap;cursor:pointer}.button{display:inline-block;text-decoration:none}#subdistrict-select{margin-bottom:2px}label[for=subdistrict-select]{margin-top:10px}.unknown-areas{margin:18px 0}.unknown-areas summary{padding:12px 0}.unknown-areas .district-grid{margin-top:12px}summary{cursor:pointer;min-height:44px}.section{padding:26px 0;border-top:1px solid var(--line);margin-top:24px}.section-heading{display:flex;align-items:center;gap:12px}.section-number{font-size:0.875rem;letter-spacing:.1em;color:#638072;border:1px solid #b9c8be;padding:2px 6px;border-radius:5px;align-self:flex-start;margin-top:4px}.section-heading h2{margin-bottom:16px}.route-grid,.observation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.route{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}.route ol{list-style:none;padding:0;margin:12px 0 20px}.route li{position:relative;padding:0 0 30px 25px;border-left:1px solid #adc2b5;margin-left:6px}.route li:before{content:'';position:absolute;left:-4px;top:7px;width:7px;height:7px;border-right:1.5px solid #5f806c;border-bottom:1.5px solid #5f806c;transform:rotate(45deg)}.route li:last-child{border:0;padding-bottom:0}.route li small{display:block;font-size:0.875rem}.outlook{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.outlook article{padding:16px;border:1px solid var(--line);border-radius:9px;background:white}.outlook p{font-size:0.875rem;margin:8px 0}.outlook details{font-size:0.875rem}.empty,.notice{padding:14px 16px;border-radius:8px;background:#eaf0eb;border:1px solid var(--line);font-size:0.9375rem}.notice{border-left:3px solid #899e6b;background:#f0f3e8}.observation{border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px;margin:12px 0;min-width:0}.observation .eyebrow{font-size:0.875rem}.freshness{display:inline-block;font-size:0.875rem;border-radius:4px;padding:3px 7px;background:#edf2ed;color:#3c5949}.freshness.aging{background:#fff0c8;color:#71570e}.freshness.stale,.freshness.unknown{background:#ededeb;color:#626661}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0;gap:14px}.metrics dt{font-size:0.875rem;color:var(--muted)}.metrics dd{margin:0;font-size:1.5rem;font-weight:700;line-height:1.35;font-variant-numeric:tabular-nums}.metrics dd small{font-weight:400;font-size:0.875rem}.source-text{font-size:0.9375rem;overflow-wrap:anywhere}.timestamps{font-size:0.875rem;border-top:1px solid var(--line);padding-top:12px}.source-links{display:flex;flex-wrap:wrap;gap:16px;font-size:0.875rem;margin-top:8px}.chart{min-height:100px;background:#fff;border:1px solid var(--line);padding:16px;border-radius:10px}.chart-controls{display:grid;grid-template-columns:2fr 1fr;gap:8px}.chart-controls label{font-size:0.875rem}.chart svg{width:100%;height:auto;display:block}.chart text{font-family:inherit;fill:#54665a;font-size:0.875rem}.chart-legend{font-size:0.875rem;display:flex;flex-wrap:wrap;gap:18px}.chart details{margin-top:12px;font-size:0.875rem}.table-scroll{overflow:auto;max-height:300px}table{border-collapse:collapse;width:100%;font-size:0.875rem}td,th{padding:8px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}.map-box{background:#e3ebe3;border:1px solid #c9d6cb;border-radius:14px;overflow:auto;position:relative}.map-box>svg{width:100%;display:block;min-height:220px}.map-box path:hover,.map-box path:focus{fill:#d3dfd2}.map-box a:focus path{stroke:#1c5d9b;stroke-width:6}.map-point{fill:#6f7974;stroke:white;stroke-width:4}.map-point.red{fill:#b83434}.map-point.yellow{fill:#bd8912}.map-point.green{fill:#35744c}.layers{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px}.layers legend{font-weight:bold;margin-bottom:8px}.layers label{display:flex;align-items:center;gap:5px;border:1px solid var(--line);background:#fff;border-radius:8px;min-height:44px;padding:7px 10px;font-size:0.875rem}.layers input{width:18px;height:18px;accent-color:#295443}.legend{display:flex;flex-wrap:wrap;gap:16px;font-size:0.875rem;margin:14px 0}.subdistrict-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.subdistrict-list a{display:flex;flex-direction:column;text-decoration:none;border:1px solid var(--line);padding:16px;background:#fff;border-radius:8px;gap:4px}.subdistrict-list small{font-size:0.875rem}.back{display:inline-block;margin-bottom:14px}.why{padding:16px;border:1px solid var(--line);border-radius:8px;background:white}.why ul{padding-left:22px}.agency-grid,.source-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agency-grid a,.source-list article{display:block;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px}.source-list p{font-size:0.875rem;overflow-wrap:anywhere}.footer{border-top:1px solid var(--line);padding-top:24px;margin-top:32px;font-size:0.875rem;max-width:780px}.footer .muted{font-size:0.875rem}.flood-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:rgba(255,255,255,.98);border-top:1px solid #cbd7cc;padding:6px 12px calc(6px + env(safe-area-inset-bottom));z-index:10}.flood-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:120px;min-height:56px;text-decoration:none;font-size:0.875rem;color:#5e6c63;border-radius:8px}.flood-nav a[aria-current=page]{color:#193b33;background:#e9f0e8;font-weight:bold}.flood-nav span{font-size:1.3125rem;line-height:1.35}[hidden]{display:none!important}.news-cluster{margin:20px 0}code{overflow-wrap:anywhere}html{scroll-padding-bottom:90px;scroll-padding-top:20px}
@media(max-width:750px){.container{padding:20px 16px 100px}.header{min-height:60px;padding:8px 16px;gap:12px}.header>span{font-size:0.875rem;padding-left:12px}.header-info{font-size:0.875rem}.header img{width:72px;height:36px}h1{font-size:1.6875rem}h2{font-size:1.25rem}.district-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route-grid,.observation-grid{grid-template-columns:1fr}.agency-grid,.source-list{grid-template-columns:repeat(2,minmax(0,1fr))}.outlook{grid-template-columns:repeat(2,1fr)}.district-card{padding:14px}.card-title h3{font-size:1.125rem}.section{padding-top:22px;margin-top:20px}.chart{padding:12px}.chart-controls{grid-template-columns:1fr}.subdistrict-list{grid-template-columns:1fr}.observation{padding:16px}.metrics dd{font-size:1.4375rem}}
@media(max-width:460px){.district-grid{grid-template-columns:1fr}.header-info{display:block}.header>span{margin-left:auto;border:0}.page-heading{margin-bottom:16px}.risk-group{margin-bottom:18px}.district-card .card-reason{margin:6px 0}.card-bottom{flex-direction:row;flex-wrap:wrap;justify-content:space-between}.card-bottom span{font-size:0.875rem}.district-card>p{margin:5px 0}.flood-nav{padding-left:5px;padding-right:5px}.flood-nav a{width:20%;font-size:0.875rem}.source-list,.agency-grid{grid-template-columns:1fr}.select-row{gap:6px}select,button{font-size:0.9375rem}.layers{gap:6px}.layers label{font-size:0.875rem;padding:7px}.section-number{display:none}}

.map-zoom{display:flex;gap:8px;margin:0 0 12px}.map-zoom button{background:white;color:var(--ink);font-size:0.875rem;padding:8px 12px;border-color:var(--line)}

/* Reading controls and mobile chart exploration. Text sizes use rem for 100–200% scaling. */
:root{font-size:100%;--nav-height:90px}
body{overflow-wrap:anywhere}
.header{height:auto;flex-wrap:wrap;gap:12px}.header>span{flex:1}.header-info{white-space:normal}
.container{padding-bottom:calc(var(--nav-height) + 32px)}
.accessibility.container{padding:10px 24px 0;margin-bottom:0}.accessibility summary{font-size:.9375rem;display:list-item;padding:8px 0}
.accessibility-options{display:flex;flex-wrap:wrap;gap:20px;padding:12px 0}.accessibility fieldset{border:0;margin:0;padding:0;min-width:0}.accessibility legend{font-weight:700;margin-bottom:8px}
.text-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.text-controls output{min-width:4ch;text-align:center}
.text-controls button,.reading-options button{background:#fff;color:var(--ink);white-space:normal;min-width:46px}.reading-options{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.reading-options label{display:flex;align-items:center;gap:8px;min-height:44px}.reading-options input{width:22px;height:22px;accent-color:var(--ink)}.reading-options p{width:100%;margin:0}
button:disabled{opacity:.55;cursor:default}.risk-group h2{flex-wrap:wrap}.card-title{gap:8px}.section-heading{align-items:flex-start}.section-heading h2{min-width:0}
.flood-nav a{white-space:normal;text-align:center;padding:4px 2px;line-height:1.6;min-width:0}
html{scroll-padding-bottom:calc(var(--nav-height) + 20px)}.skip{position:fixed;transform:translateY(-200%);top:0}.skip:focus{transform:none}
.chart{min-width:0}.chart-controls label{display:flex;flex-direction:column;font-size:.875rem;gap:4px}.chart-controls select{font-size:1rem}.chart-plot{margin-top:12px}
.chart-svg{touch-action:pan-y;cursor:crosshair}.chart svg text{font-size:12px}.chart-axis-caption{display:flex;justify-content:space-between;gap:12px;font-size:.875rem;color:var(--muted)}
.chart-readout{border:1px solid var(--line);border-left:3px solid var(--ink);border-radius:8px;padding:12px;margin-top:12px;background:#fff}.chart-readout p{margin-bottom:6px}.chart-values{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0}.chart-values div{min-width:0}.chart-values dt{font-size:.875rem}.chart-values dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.chart-explorer{margin:12px 0;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}.chart-explorer label{grid-column:1/-1;font-size:.875rem}.chart-explorer input{width:100%;min-width:0;min-height:44px;accent-color:var(--ink)}.chart-explorer button{min-width:44px;padding:8px;white-space:normal;background:#fff;color:var(--ink);font-size:.875rem}
.chart-legend{color:var(--ink)}.chart-series-label:nth-child(2):before{border-top-style:dashed}.chart-hint{font-size:.875rem;margin:10px 0}.chart-series{animation:chart-reveal .65s ease-out both}
@keyframes chart-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
html[data-reduced-motion=true] .chart-series{animation:none}
@media(prefers-reduced-motion:reduce){.chart-series{animation:none}}
html[data-contrast=true]{--ink:#111;--muted:#252525;--line:#666;--red:#8a1010;--yellow:#664700}
html[data-contrast=true] .district-card,html[data-contrast=true] .notice,html[data-contrast=true] .area-form{background:#fff;color:#111}
html[data-contrast=true] .card-reason,html[data-contrast=true] .flood-nav a,html[data-contrast=true] .chart text{color:#111;fill:#111}
html[data-large-text=true] .district-grid,html[data-large-text=true] .route-grid,html[data-large-text=true] .observation-grid,html[data-large-text=true] .source-list,html[data-large-text=true] .outlook{grid-template-columns:1fr}
html[data-large-text=true] .metrics{grid-template-columns:1fr}html[data-large-text=true] .header>span{display:none}
@media(max-width:750px){.accessibility.container{padding:8px 16px 0}.header>span{display:none}.header-info{margin-left:auto}.chart-explorer{grid-template-columns:1fr 1fr}.chart-explorer input{grid-column:1/-1;grid-row:2}.chart-explorer label{grid-row:1}.chart-explorer button{grid-row:3}.flood-nav a{font-size:.875rem}}
button,.button{white-space:normal;max-width:100%}.chart-svg{max-height:340px}
*:focus-visible{outline:3px solid #136aaf;outline-offset:4px}

.field-report-photo{margin:24px 0}.field-report-photo img{display:block;width:100%;max-height:650px;object-fit:contain;background:#fff}.field-report-photo figcaption{font-size:.9375rem;margin-top:8px}.field-report-summary{margin:24px 0;overflow-wrap:anywhere}
/* Homepage alerts: area names first, short status second, details one tap away. */
.overview-heading{margin-bottom:18px}.overview-heading h1{font-size:2rem;margin-bottom:6px}
.alert-group{padding:18px;border-radius:14px;border:1px solid transparent;margin-bottom:12px}
.alert-red{background:#b4232d;color:#fff;border-color:#b4232d}.alert-yellow{background:#fff3cc;color:#513700;border-color:#d4a32c}
.alert-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.alert-group-heading h2{font-size:1rem;font-weight:700;gap:8px;margin:0}.alert-group-heading .fi-icon{width:22px;height:22px}
.alert-count{font-size:.875rem;white-space:nowrap}.alert-districts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.alert-district{display:flex;align-items:center;gap:12px;min-width:0;min-height:64px;padding:12px;border:1px solid currentColor;border-radius:9px;text-decoration:none;color:inherit}
.alert-red .alert-district{border-color:#e4999f}.alert-yellow .alert-district{border-color:#d4a32c}
.alert-district-copy{min-width:0;flex:1}.alert-district strong{display:block;font-size:1.5rem;line-height:1.5;font-weight:700}
.alert-district .alert-district-icon{width:28px;height:28px;stroke-width:2}.alert-district .alert-arrow{width:20px;height:20px}
.alert-district small{display:block;color:inherit;font-size:.875rem;line-height:1.8;margin-top:4px}
.alert-group-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;font-size:.875rem;margin-top:12px;line-height:1.7}
.alert-red .alert-district:hover{background:#9d1d26}.alert-yellow .alert-district:hover{background:#ffe8a0}
.alert-red .alert-district:focus-visible{outline:3px solid #fff;outline-offset:3px;background:#861b23}
.alert-empty{background:#fff;border-color:var(--line);color:var(--muted);padding:12px 16px}.alert-empty .alert-group-heading{margin-bottom:4px}.alert-empty p{font-size:.875rem;margin:0}
.alert-context{font-size:.875rem;color:var(--muted);margin:10px 0 14px}.compact-unknown{border-block:1px solid var(--line);margin:14px 0}.compact-unknown summary{font-size:.9375rem}.compact-unknown summary .fi-icon{margin-right:6px}.compact-unknown p{margin-top:8px}
.unknown-districts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:14px}.unknown-districts a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;padding:10px;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-size:.9375rem}
.overview-information{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 24px}.overview-information a{display:flex;align-items:center;gap:10px;min-height:64px;border:1px solid var(--line);border-radius:10px;padding:14px;text-decoration:none}.overview-information a>span{flex:1;min-width:0}.overview-information b{font-size:1rem}.overview-information small{display:block;font-size:.875rem}
html[data-contrast=true] .alert-red{background:#861b23;color:#fff}html[data-contrast=true] .alert-yellow{background:#fff3cc;color:#382600}
html[data-large-text=true] .alert-districts,html[data-large-text=true] .unknown-districts,html[data-large-text=true] .overview-information{grid-template-columns:1fr}
@media(max-width:750px){.overview-information{grid-template-columns:1fr}.alert-districts{grid-template-columns:1fr}.alert-group{padding:16px}.alert-empty{padding:12px 16px}.alert-district{padding:10px 12px}.alert-district strong{font-size:1.5rem}.unknown-districts{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-tap-hint{display:none}}
/* Immediate reading and help actions in the top header. */
.header.header-reading{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px 16px;align-items:center;height:auto;padding-top:12px;padding-bottom:12px}
.header-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.header-brand span{font-size:.875rem}.header-text-controls{justify-self:end;flex-wrap:nowrap;gap:4px}.header-text-controls button{min-width:44px;min-height:44px;padding:6px;font-size:1.125rem;line-height:1.4}.header-text-controls output{font-size:.875rem;min-width:3.8ch}
.header-actions{display:flex;gap:8px;align-items:stretch}.header-actions button,.header-actions a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border-radius:8px;padding:8px 12px;font-size:.9375rem;line-height:1.6;text-decoration:none;white-space:normal}
.header-actions #read-summary{background:#fff;color:var(--ink);border:1px solid #a4b8ad}.header-actions #read-summary[aria-pressed=true]{background:#eaf2ed}
.header-actions .header-help{background:#193b33;color:#fff;border:1px solid #193b33;font-weight:700}
.header-more{position:relative;align-self:center}.header-more>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px;list-style:none;font-size:.875rem}.header-more>summary::-webkit-details-marker{display:none}.header-more[open]>summary{background:#eaf2ed}.header-more>.reading-options{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(320px,calc(100vw - 32px));padding:16px;background:#fff;box-shadow:0 8px 24px #193b3320;border:1px solid var(--line);border-radius:10px;flex-direction:column;align-items:stretch}.header-more .reading-options button{padding:8px;min-height:44px}.header-more .reading-options label{font-size:1rem}
.header-reading #speech-status{grid-column:1/-1;margin:0;font-size:.875rem}.header-reading #speech-status:empty{display:none}.header-reading noscript{grid-column:1/-1}.header-reading .header-brand img{flex-shrink:0}
@media(max-width:1100px){.header-brand span,.header-more>summary>span{display:none}}
@media(max-width:750px){.header.header-reading{grid-template-columns:auto 1fr auto;padding:10px 16px;gap:8px 10px}.header-brand img{width:64px;height:36px}.header-actions{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-end}.header-more{grid-column:3;grid-row:1}.header-actions button,.header-actions a{padding:8px;font-size:.875rem}.header-text-controls{justify-self:end}}
html[data-large-text=true] .header.header-reading{grid-template-columns:auto 1fr auto}html[data-large-text=true] .header-brand span{display:none}html[data-large-text=true] .header-actions{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap}html[data-large-text=true] .header-actions>*{flex:0 0 auto}html[data-large-text=true] .header-more{grid-column:3;grid-row:1}html[data-large-text=true] .header-more>summary>span{display:none}
@media(max-width:380px){html[data-large-text=true] .header-text-controls{grid-column:1/-1;grid-row:2;justify-self:start}html[data-large-text=true] .header-actions{grid-row:3}}

/* Visually minimal controls retain names in the accessibility tree. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.header-actions button,.header-actions a{min-width:48px;min-height:48px;padding:10px;flex:0 0 auto}
.header-actions .fi-icon{width:24px;height:24px}
.header-actions #show-summary-text{background:#fff;color:var(--ink);border:1px solid #a4b8ad}
.header-actions #show-summary-text[aria-expanded=true]{background:#eaf2ed}
.header-actions #read-summary[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--ink)}
.summary-text{grid-column:1/-1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:16px;background:#fff}
.summary-text-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.summary-text-heading h2{flex:1;min-width:160px}.summary-text-heading button{min-height:48px}
#summary-text-body{white-space:pre-line;overflow-wrap:anywhere;margin-bottom:16px}#summary-text-contacts{font-weight:700}
html[data-large-text=true] .header-actions{justify-content:flex-end}
/* Reports preserve the original restrictions without claiming current passability. */
.road-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.road-report{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px;min-width:0}.road-report h2,.road-report h3{font-size:1.2rem;overflow-wrap:anywhere}.road-current{display:flex;align-items:center;gap:8px;font-size:.9375rem;font-weight:700}.road-past{border-left:4px solid;padding:10px 12px;margin:14px 0;background:#f7f8f7}.road-past>span{font-size:.875rem}.road-past p{margin:4px 0}.road-past-red{border-color:#b4232d}.road-past-orange{border-color:#a55008}.road-past-yellow{border-color:#947000}.road-report details{font-size:.9375rem}.road-report summary{padding:8px 0}.road-report details p{margin:10px 0}.road-report>.muted{font-size:.875rem}.road-community{border-left:5px solid #8b5b16}.road-status-closed,.road-status-damaged{border-left-color:#a63131}.road-status-caution{border-left-color:#947000}.road-status-repaired,.road-status-reopened{border-left-color:#35744c}.road-report-photo{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:8px;margin:12px 0}.road-report-actions{display:flex;flex-wrap:wrap;gap:8px}.road-report-actions .button,.road-report-actions button{min-height:44px}.road-sort{display:grid;grid-template-columns:auto minmax(160px,260px) auto;align-items:end;gap:8px;margin:8px 0 18px}.road-sort label{grid-column:1/-1;font-weight:700}.road-sort select{min-height:46px}.road-community-section{padding-bottom:4px}
html[data-large-text=true] .road-report-grid{grid-template-columns:1fr}
@media(max-width:750px){.road-report-grid{grid-template-columns:1fr}.road-sort{grid-template-columns:1fr auto}.road-sort label{grid-column:1/-1}}
/* Keep all reading controls in one mobile row with 44px touch targets. */
@media(max-width:750px){
.header.header-reading,html[data-large-text=true] .header.header-reading{grid-template-columns:minmax(44px,1fr) 36px repeat(5,minmax(44px,1fr));gap:4px 2px;padding:8px 4px}
.header-reading .header-brand{display:none}
.header-reading .header-text-controls,html[data-large-text=true] .header-text-controls,.header-reading .header-actions,html[data-large-text=true] .header-actions{display:contents}
.header-text-controls button{font-size:18px;min-width:44px;height:48px;padding:4px}
.header-text-controls output{font-size:13px;min-width:0;text-align:center}
.header-actions button,.header-actions a{min-width:44px;height:48px;padding:8px;width:100%}
.header-reading .header-more,html[data-large-text=true] .header-more{grid-column:7;grid-row:1;min-width:0}
.header-more>summary{min-width:44px;min-height:48px;padding:8px}
.header-more>.reading-options{right:0;width:min(320px,calc(100vw - 16px))}
.header-reading .summary-text,.header-reading #speech-status{grid-column:1/-1}
}
.community-panel{border:1px solid var(--line);border-radius:12px;padding:18px;margin:20px 0;background:#fff}.community-panel .section-heading{justify-content:space-between;align-items:center;flex-wrap:wrap}.community-panel h2{margin-bottom:4px}.community-panel .section-heading p{margin:0}.community-panel button{display:flex;align-items:center;gap:8px;min-height:48px}.community-panel .community-post-button{background:#b34b0d;border-color:#b34b0d;color:#fff;font-weight:700;box-shadow:0 2px 0 #7b2f05}.community-panel .community-post-button:hover{background:#8f3908;border-color:#8f3908}.community-panel .community-post-button .fi-icon{stroke:currentColor}.community-panel>p{margin-top:12px}.community-panel details{font-size:.9375rem}.community-summary{border-top:1px solid var(--line);padding:16px 0}.community-summary p{margin-bottom:8px}.community-rising strong{color:#a51f29}.community-falling strong{color:#245c44}.community-conflict strong{color:#79500b}
#community-report-dialog{color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;width:min(680px,calc(100vw - 24px));max-height:85dvh;overflow:auto;font:inherit;overscroll-behavior:contain}#community-report-dialog::backdrop{background:#10271f99}.community-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.community-dialog-heading h2{margin:0}.community-dialog-heading button{min-height:48px;background:#fff;color:var(--ink)}
#community-report-form fieldset{min-width:0;border:0;border-top:1px solid var(--line);padding:16px 0;margin:16px 0}#community-report-form legend{font-weight:700;padding-right:12px}#community-report-form label{display:flex;flex-direction:column;gap:6px;margin:12px 0}#community-report-form input:not([type=checkbox]),#community-report-form textarea{font:inherit;width:100%;min-width:0;min-height:48px;border:1px solid #9faea6;border-radius:7px;padding:8px;background:#fff;color:var(--ink)}#community-report-form select{min-height:48px}#community-report-form .check-label{display:flex;flex-direction:row;align-items:flex-start}#community-report-form input[type=checkbox]{flex-shrink:0;width:24px;height:24px;margin-top:5px;accent-color:var(--ink)}#community-report-form .secondary{background:#fff;color:var(--ink)}#community-photo-preview-wrap{margin:12px 0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#f7f8f7}#community-photo-preview{display:block;max-width:100%;max-height:250px;object-fit:contain;margin:auto}#community-photo-preview-wrap figcaption{text-align:center;font-size:.875rem;margin-top:6px}.report-final-confirm{padding:12px;border:2px solid #8aa092;border-radius:8px;background:#f3f7f4}.report-trap{display:none}#community-submit-status:empty{display:none}
@media(max-width:750px){#community-report-dialog{padding:16px;width:calc(100vw - 16px);max-height:90dvh}.community-panel{padding:16px}.select-row>button{flex-shrink:0}}

@media(max-width:750px){.header-reading .header-text-controls output{white-space:nowrap;font-size:12px;line-height:1.4}}

#community-report-dialog .community-dialog-heading{position:sticky;top:-24px;z-index:2;background:#fff;padding:10px 0;border-bottom:1px solid var(--line)}
@media(max-width:750px){#community-report-dialog .community-dialog-heading{top:-16px}}
/* A numeric level and a text-labelled trend accompany every monitored point. */
.alert-district{align-items:flex-start}.alert-district>.alert-district-icon{margin-top:6px}.alert-district>.alert-arrow{margin-top:9px}
.alert-levels,.alert-point{display:block}.alert-point{margin-top:10px;padding-top:10px;border-top:1px solid #ffffff66}.alert-yellow .alert-point{border-color:#d4a32c}.alert-point>span{display:block}.alert-point-name{font-size:.875rem}.alert-water-level{font-size:1.125rem;font-weight:700;line-height:1.6}.alert-water-detail{font-size:.875rem;line-height:1.6}.water-trend{display:flex!important;align-items:center;gap:8px;font-size:.9375rem;line-height:1.6;margin:7px 0 0}.water-trend .fi-icon{flex-shrink:0;width:24px;height:24px}.water-trend-rising-fast .fi-icon{stroke-width:2.2}
.home-roads{margin:24px 0;border-block:1px solid var(--line);padding:20px 0}.home-roads>.section-heading{justify-content:space-between;flex-wrap:wrap}.home-roads h2{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}.home-roads>.section-heading>a{font-size:.875rem;min-height:44px;display:flex;align-items:center}.home-road-count{font-size:.875rem;font-weight:700;background:#a63131;color:#fff;border-radius:999px;padding:2px 9px}.home-road-latest{color:var(--muted);font-size:.875rem;margin:8px 0 12px}.home-road-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-road-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid var(--line);border-left:4px solid #a63131;border-radius:10px;text-decoration:none;background:#fff}.home-road-card:hover{background:#fff8f5}.home-road-card strong{display:flex;align-items:flex-start;gap:8px;font-size:1.0625rem;line-height:1.6}.home-road-card strong .fi-icon{flex:0 0 auto;margin-top:4px}.home-road-card b{font-size:1rem;color:#8a2424}.home-road-card span{font-size:.875rem}.home-road-district{font-weight:700;color:var(--ink)}
html[data-large-text=true] .home-road-grid{grid-template-columns:1fr}
@media(max-width:750px){.home-road-grid{grid-template-columns:1fr}.alert-water-level{font-size:1.0625rem}.home-road-card{padding:12px 14px}.community-panel .community-post-button{width:100%;justify-content:center;margin-top:8px}}

#back-to-top{position:fixed;right:16px;bottom:calc(var(--nav-height) + 12px);width:48px;height:48px;padding:10px;display:flex;align-items:center;justify-content:center;border:1px solid #fff;border-radius:50%;background:#193b33;color:#fff;box-shadow:0 2px 8px #193b3340;z-index:11}#back-to-top:focus-visible{outline:3px solid #bf7517;outline-offset:3px}

/* GA consent stays fully visible above the fixed mobile navigation. */
#analytics-consent{position:fixed;left:max(12px,calc((100vw - 760px)/2));right:max(12px,calc((100vw - 760px)/2));bottom:calc(var(--nav-height) + 12px);z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 10px;max-height:calc(100dvh - var(--nav-height) - 24px);overflow:auto;margin:0;padding:12px 14px;border:1px solid #9cad91;border-left:4px solid #527543;border-radius:12px;background:#f6f8ef;box-shadow:0 8px 28px #193b3340;font-size:.875rem;line-height:1.55}
#analytics-consent p{min-width:0;margin:0}#analytics-consent button{min-height:44px;padding:7px 12px;font-size:.875rem;font-weight:700}#analytics-consent [data-consent=yes]{background:#193b33;color:#fff;border-color:#193b33}#analytics-consent [data-consent=no]{background:#fff;color:#193b33;border-color:#80958b}.analytics-consent-visible #back-to-top{display:none}
@media(max-width:620px){#analytics-consent{left:8px;right:8px;bottom:calc(var(--nav-height) + 8px);grid-template-columns:1fr 1fr;padding:10px 12px}#analytics-consent p{grid-column:1/-1}#analytics-consent button{width:100%}}

/* Compact reading toolbar: consistent 44px targets at every text size. */
.header.header-reading,html[data-large-text=true] .header.header-reading{grid-template-columns:44px 36px repeat(5,44px);justify-content:center;gap:6px;min-height:56px;padding:6px max(4px,calc((100vw - 1100px)/2))}
.header-reading .header-text-controls,html[data-large-text=true] .header-reading .header-text-controls,.header-reading .header-actions,html[data-large-text=true] .header-reading .header-actions{display:contents}
.header-reading .header-text-controls button,.header-reading .header-actions button,.header-reading .header-actions a,.header-reading .header-more>summary{width:44px;min-width:44px;height:44px;min-height:44px;padding:7px}
.header-reading .header-text-controls button{font-size:18px;line-height:1.4}
.header-reading .header-text-controls output{font-size:12px;line-height:1.4;white-space:nowrap;min-width:0;text-align:center}
.header-reading .fi-icon{width:21px;height:21px}
.header-reading .header-more,html[data-large-text=true] .header-reading .header-more{grid-column:7;grid-row:1}
.header-reading .header-more>summary>span{display:none}
.header-reading .summary-text{width:min(1100px,calc(100vw - 32px));justify-self:center}
@media(max-width:380px){.header.header-reading,html[data-large-text=true] .header.header-reading{column-gap:2px}}
.public-footer{padding-bottom:8px;overflow-wrap:anywhere}.public-footer-disclaimer{margin:0 0 8px;line-height:1.7;color:var(--muted)}.public-footer-links{display:flex;flex-wrap:wrap;gap:4px 8px;line-height:1.7}.public-footer-note{margin:8px 0 0;color:var(--muted);line-height:1.7}

/* One province-wide watch panel with one compact reading for every district. */
.district-watch{margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.district-watch-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.district-watch-heading h1{display:flex;align-items:center;gap:8px;font-size:1.35rem;margin:0}.district-watch-heading h1 .fi-icon{width:24px;height:24px}.district-watch-heading>span{font-size:.875rem;color:var(--muted);white-space:nowrap}.district-watch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.district-watch-item{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-left:5px solid #78847e;border-radius:10px;color:var(--ink);text-decoration:none;background:#fff}.district-watch-item.severity-red{border-left-color:#b4232d}.district-watch-item.severity-yellow{border-left-color:#a87000}.district-watch-item.severity-green{border-left-color:#287a55}.district-watch-icon{flex:0 0 auto;margin-top:4px}.district-watch-icon .fi-icon{width:25px;height:25px}.district-watch-copy{display:block;flex:1;min-width:0}.district-watch-copy>strong,.district-watch-copy>span,.district-watch-copy>small,.district-watch-copy>time{display:block}.district-watch-copy>strong{font-size:1.2rem;line-height:1.5}.district-watch-subdistricts{margin:3px 0 5px;font-size:.9rem;line-height:1.55}.district-watch-subdistricts b{font-weight:700}.district-watch-level{font-weight:700;line-height:1.6}.district-watch-bank{font-size:.875rem;line-height:1.55}.district-watch-reference,.district-watch-updated{font-size:.8125rem!important;line-height:1.45!important;color:var(--muted);margin-top:2px}.district-watch-updated{font-weight:400!important}.district-watch-arrow{flex:0 0 auto;width:18px;height:18px;margin-top:7px}.district-watch-note{font-size:.875rem;color:var(--muted);margin:12px 0 0}.district-water-route .chart{margin-top:16px}
html[data-large-text=true] .district-watch-list{grid-template-columns:1fr}
@media(max-width:750px){.district-watch{padding:14px}.district-watch-list{grid-template-columns:1fr}.district-watch-item{padding:11px}.district-watch-copy>strong{font-size:1.125rem}}

/* Compact bank gauge: one water line, a fixed green bank and a quiet severity tint. */
.district-watch-icon{display:flex;flex:0 0 52px;align-items:flex-start;justify-content:center;margin-top:1px}.district-watch-icon .fi-water-gauge{width:50px;height:50px;overflow:visible;--gauge-wave:#287792;--gauge-fill:#dceef3}.fi-water-gauge .water-gauge-shell{fill:#f8faf9;stroke:#d5ded9;stroke-width:.85}.fi-water-gauge .water-gauge-scale{fill:none;stroke:#66766e;stroke-width:1.15}.fi-water-gauge .water-gauge-bank{fill:none;stroke:#278056;stroke-width:1.7}.fi-water-gauge .water-gauge-bank-pin{fill:#278056;stroke:#f8faf9;stroke-width:.55}.fi-water-gauge .water-gauge-fill{fill:var(--gauge-fill);stroke:none;opacity:.9}.fi-water-gauge .water-gauge-wave{fill:none;stroke:var(--gauge-wave);stroke-width:1.65}.fi-water-gauge.severity-red{--gauge-wave:#ad343d;--gauge-fill:#f5d9dc}.fi-water-gauge.severity-yellow{--gauge-wave:#9b6a0a;--gauge-fill:#f5e8c9}.fi-water-gauge.severity-green{--gauge-wave:#287792;--gauge-fill:#dceef3}.fi-water-gauge.severity-unknown .water-gauge-shell{fill:#f4f6f5}.fi-water-gauge .water-gauge-empty{stroke:#87928c;stroke-width:1.35;stroke-dasharray:2 2}

/* The weather map is the first content on the weather page. */
.weather-map-section{margin:0 0 24px;padding:18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#f5fbff,#fffdf4)}.weather-map-section>.section-heading{justify-content:space-between;margin-bottom:4px}.weather-map-section>.section-heading h2{margin:0}.weather-map-section>.section-heading>span{font-size:.875rem;color:var(--muted)}.weather-map-section .map-zoom{margin:10px 0}.weather-map-section .map-zoom button{min-width:108px}.weather-map a path{transition:fill .15s,stroke .15s}.weather-map a:hover path,.weather-map a:focus path{fill:#d4e9df!important;stroke:#285f4d;stroke-width:5}.weather-map a[aria-current=true] path{fill:#bce1d2!important;stroke:#174f3c;stroke-width:6}.weather-map a[aria-current=true] text{font-weight:700;fill:#123f31}.weather-map-reading{color:#225e76}.weather-map-reading rect{fill:#fff;stroke:#7da3ad;stroke-width:2}.weather-map-reading use{color:#26758d}.weather-map-reading text{fill:#173d47;font-size:20px;font-weight:800;font-family:inherit;font-variant-numeric:tabular-nums}.weather-map-reading:hover rect,.weather-map-reading:focus rect{fill:#e8f7fb;stroke:#145f76;stroke-width:4}.weather-map-reading:focus{outline:none}.weather-map-reading.no-weather{color:#6d7771}.weather-map-reading.no-weather rect{fill:#f1f3f2;stroke:#87928c}.weather-map-reading.no-weather use{color:#6d7771}.weather-map-hint{display:none;margin:7px 0 0;font-size:.8125rem}.weather-source-note{font-size:.8125rem;color:var(--muted);margin:10px 0 0}
@media(max-width:750px){.weather-map-section{padding:14px}}
@media(max-width:460px){.weather-map{overflow:auto}.weather-map>svg{width:720px;max-width:none}.weather-map-hint{display:block}}

/* Shared area selection starts with the province map, followed by district subdistrict choices. */
.area-map-section{margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7faf8}.area-map-section>.section-heading,.area-subdistricts>.section-heading{justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.area-map-section>.section-heading h2,.area-subdistricts>.section-heading h2{margin:0}.area-map-section>.section-heading p{margin:3px 0 0}.map-clear{min-height:44px;padding:7px 14px;background:#fff;color:var(--ink);border-color:#82978b;font-weight:700}.selected-area{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:9px 12px;border-radius:8px;background:#e5f0e9;font-size:.9375rem}.area-selection-map a path{transition:fill .15s,stroke .15s}.area-selection-map a:hover path,.area-selection-map a:focus path{fill:#d4e9df!important;stroke:#285f4d;stroke-width:5}.area-selection-map a[aria-current=true] path{fill:#bce1d2!important;stroke:#174f3c;stroke-width:6}.area-selection-map a[aria-current=true] text{font-weight:700;fill:#123f31}.area-subdistricts{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.subdistrict-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.subdistrict-buttons a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 12px;border:1px solid #a9b9b0;border-radius:8px;text-align:center;text-decoration:none;background:#fff;font-weight:700;line-height:1.45}.subdistrict-buttons a:hover,.subdistrict-buttons a:focus{background:#edf5f0;border-color:#527362}.subdistrict-buttons a[aria-current=true]{background:#193b33;border-color:#193b33;color:#fff}.subdistrict-buttons a[aria-current=true]:focus-visible{outline-color:#bf7517}.area-map-section+.area-subdistricts{scroll-margin-top:18px}
@media(max-width:750px){.area-map-section,.area-subdistricts{padding:14px}.subdistrict-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.area-selection-map{overflow:auto}.area-selection-map>svg{width:720px;max-width:none}.subdistrict-buttons{grid-template-columns:1fr}.map-clear{width:100%;text-align:center}.area-map-section>.section-heading .map-clear{width:auto}}
