/* Shared archive and station-information presentation. */
article.wx-updated{--wa-panel:#fff;--wa-soft:#f1f6fa;--wa-line:#cbd9e4;--wa-ink:#203343;--wa-muted:#526a7d;--wa-link:#12659e;color:var(--wa-ink);min-width:0}
body.dark article.wx-updated,html.dark article.wx-updated,body.dark-mode article.wx-updated,body.theme-dark article.wx-updated,[data-theme=dark] article.wx-updated{--wa-panel:#1f2933;--wa-soft:#273746;--wa-line:#496071;--wa-ink:#edf3f7;--wa-muted:#b7c7d4;--wa-link:#85c8f4}
.wx-updated .wx-animated-icon{display:inline-block;width:36px;height:36px;object-fit:contain;vertical-align:middle;flex:0 0 36px;margin:0 9px 0 0}
.wx-updated h1 .wx-animated-icon{width:42px;height:42px}
.wx-updated .history-headline,.wx-updated .records-header{font-size:18px!important;line-height:1.4!important;white-space:normal!important;color:var(--wa-ink)!important}
.wx-updated .wx-section-nav{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px!important;max-width:100%}
.wx-updated .wx-section-nav a{font-size:14px!important;line-height:1.4;white-space:normal;padding:8px 10px!important}
.wx-updated .records-table{margin:0!important;max-width:100%;overflow-x:auto}
.wx-updated .records-table table{width:100%;font-size:15px;line-height:1.5}
.wx-updated .records-table td{padding:10px 12px!important;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.wx-updated .records-table tr[data-wx-row=group] td{background:var(--wa-soft)!important;padding:10px 12px!important}
.wx-updated.reports .row:has(.history-table-container){margin:0 0 14px!important;border:1px solid var(--wa-line);border-radius:12px;padding:12px;background:var(--wa-panel);min-width:0}
.wx-updated .history-headline{padding:0 0 8px!important;font-weight:700}
.wx-updated .history-table-container{max-width:100%;width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;min-width:0;padding:0!important;border-radius:8px}
.wx-updated .history-table{min-width:800px!important;width:100%!important;font-size:14px!important;line-height:1.5}
.wx-updated .history-table th,.wx-updated .history-table td{font-size:14px!important;padding:9px 10px!important;white-space:nowrap}
.wx-updated .history-table tr>:first-child{position:sticky;left:0;z-index:1;min-width:66px;background:var(--wa-panel)!important;color:var(--wa-ink)!important;box-shadow:2px 0 3px #10203020}
.wx-updated .history-table thead th{background:var(--wa-soft);color:var(--wa-ink)}
.wx-updated .history-table .wx-contrast-cell{color:var(--wx-cell-text)!important}
.wx-updated .wx-table-swipe{display:none;margin:0 0 7px;font-size:13px;line-height:1.4;color:var(--wa-muted)}
.wx-updated .history-table-container:focus-visible{outline:3px solid var(--wa-link);outline-offset:2px}
.wx-updated.about .pws-page-layout,.wx-updated.about .pws-main,.wx-updated.about .pws-sidebar{min-width:0;max-width:100%}
.wx-updated.about h2{font-size:22px!important;line-height:1.35;margin:0 0 10px!important;color:var(--wa-ink)}
.wx-updated.about h3{font-size:18px!important;line-height:1.35;color:var(--wa-ink)}
.wx-updated.about p,.wx-updated.about li,.wx-updated.about td{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.wx-updated.about .sensor-title{display:flex;align-items:center;gap:0;font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere}
.wx-updated.about .sensor-title .wx-animated-icon{width:36px;height:36px}
.wx-updated.about .sensor-line{min-width:0;line-height:1.5}
.wx-updated.about .pws-sensor-gallery{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))!important;overflow:visible!important;gap:10px!important}
.wx-updated.about .pws-sensor-thumb{min-width:0!important}
.wx-updated.about .pws-sensor-thumb span{font-size:13px!important;line-height:1.4}
.wx-updated.about .pws-info-table{width:100%;max-width:100%;table-layout:fixed}
.wx-updated.about .pws-info-table th,.wx-updated.about .pws-info-table td{white-space:normal!important;overflow-wrap:anywhere;padding:8px!important}
@media(max-width:900px){
 .wx-updated .wx-table-swipe{display:block}
 .wx-updated.about .pws-page-layout{display:flex!important;flex-direction:column!important;gap:14px!important}
 .wx-updated.about .pws-main,.wx-updated.about .pws-sidebar{float:none!important;width:100%!important;flex:auto!important}
}
@media(max-width:600px){
 .wx-updated h1{font-size:25px!important;line-height:1.3!important;overflow-wrap:anywhere}
 .wx-updated h1 .wx-animated-icon{width:36px;height:36px}
 .wx-updated .wx-responsive-records,.wx-updated .wx-responsive-records tbody{display:block;width:100%}
 .wx-updated .wx-responsive-records tr[data-wx-row=period]{display:none}
 .wx-updated .wx-responsive-records tr[data-wx-row=group]{display:block;margin:12px 0 8px}
 .wx-updated .wx-responsive-records tr[data-wx-row=group] td{display:block;border-radius:10px}
 .wx-updated .wx-responsive-records tr[data-wx-row=data]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;border:1px solid var(--wa-line);border-radius:10px;background:var(--wa-panel)!important;margin:0 0 9px;padding:10px}
 .wx-updated .wx-responsive-records tr[data-wx-row=data] td{display:block;border:0!important;padding:3px!important;background:transparent!important;font-size:14px!important;min-width:0}
 .wx-updated .wx-responsive-records tr[data-wx-row=data] td:first-child{grid-column:1/-1;font-size:15px!important;font-weight:700;margin-bottom:7px}
 .wx-updated .wx-responsive-records tr[data-wx-row=data] td:nth-child(2){grid-column:1;grid-row:2}
 .wx-updated .wx-responsive-records tr[data-wx-row=data] td:nth-child(3){grid-column:1;grid-row:3;color:var(--wa-muted)!important}
 .wx-updated .wx-responsive-records tr[data-wx-row=data] td:nth-child(4){grid-column:2;grid-row:2}
 .wx-updated .wx-responsive-records tr[data-wx-row=data] td:nth-child(5){grid-column:2;grid-row:3;color:var(--wa-muted)!important}
 .wx-updated .wx-responsive-records td[data-period]{font-size:18px!important;font-weight:700}
 .wx-updated .wx-responsive-records td[data-period]:before{content:attr(data-period);display:block;font-size:12px;font-weight:500;color:var(--wa-muted);margin-bottom:3px}
 .wx-updated.reports .row:has(.history-table-container){padding:10px!important}
 .wx-updated .history-table th,.wx-updated .history-table td{font-size:14px!important}
 .wx-updated.about .pws-info-table,.wx-updated.about .pws-info-table tbody,.wx-updated.about .pws-info-table tr,.wx-updated.about .pws-info-table th,.wx-updated.about .pws-info-table td{display:block;width:100%!important}
 .wx-updated.about .pws-info-table tr{padding:7px 0;border-bottom:1px solid var(--wa-line)}
 .wx-updated.about .pws-info-table th{font-weight:700}
 .wx-updated.about .pws-main>section,.wx-updated.about .sensor-box{padding:14px!important}
 .wx-updated.about .pws-sensor-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Fully release legacy table widths in the small-screen record layout. */
@media(max-width:600px){
 article.wx-updated.records .records-table,article.wx-updated.records table.wx-responsive-records{min-width:0!important;width:100%!important;max-width:100%!important;table-layout:auto!important;overflow:visible!important}
 article.wx-updated.records table.wx-responsive-records tbody{min-width:0!important;max-width:100%!important}
 article.wx-updated.records table.wx-responsive-records tr{min-width:0!important;width:100%!important;max-width:100%!important}
 article.wx-updated.records table.wx-responsive-records td{width:auto!important;min-width:0!important;max-width:none!important;position:static!important;float:none!important;transform:none!important;white-space:normal!important;line-height:1.5!important}
 article.wx-updated.records table.wx-responsive-records tr[data-wx-row=data] td[data-period]{font-size:18px!important}
}

/* Restore month headings and keep mobile period labels inside their own cells. */
article.wx-updated .history-table thead{display:table-header-group!important;position:static!important;visibility:visible!important;height:auto!important;clip:auto!important}
article.wx-updated .history-table thead tr{display:table-row!important;position:static!important;top:auto!important;left:auto!important;transform:none!important}
article.wx-updated .history-table thead th{display:table-cell!important;position:static!important}
article.wx-updated .history-table thead th:first-child{position:sticky!important;left:0!important;z-index:2}
@media(max-width:600px){
 article.wx-updated.records table.wx-responsive-records td[data-period]:before{position:static!important;inset:auto!important;width:auto!important;padding:0!important;float:none!important;transform:none!important;white-space:normal!important}
}

/* Small consistent icons; sensor-status indicators are left intact. */
article.wx-updated .wx-animated-icon,article.wx-updated.about .sensor-title .wx-animated-icon{width:24px!important;height:24px!important;flex-basis:24px!important;margin-right:7px!important}
article.wx-updated h1 .wx-animated-icon{width:28px!important;height:28px!important}
article.wx-updated .wx-record-label .wx-animated-icon{width:19px!important;height:19px!important;flex-basis:19px!important;margin-right:6px!important}

/* Semantic icon revision: one fixed role per topic asset. */

.wx-updated .wx-text-info{width:auto!important;height:auto!important;display:inline-block!important;font-size:12px!important;line-height:1.5!important;padding:1px 5px!important;vertical-align:middle}

/* Labels no longer reserve a removed decorative icon column. */
article.wx-updated.about .sensor-line .sensor-label{display:block!important;grid-template-columns:none!important}
article.wx-updated.about .sensor-line-led{grid-template-columns:minmax(104px,.72fr) minmax(0,1.28fr)!important;column-gap:8px!important}
@media(max-width:620px){article.wx-updated.about .sensor-line-led{grid-template-columns:minmax(88px,.58fr) minmax(0,1.42fr)!important;column-gap:6px!important}}
@media(max-width:430px){article.wx-updated.about .sensor-line-led{grid-template-columns:minmax(78px,.54fr) minmax(0,1.46fr)!important}}

/* Reserve enough room for the complete heating label at every screen width. */
article.wx-updated.about .sensor-line,article.wx-updated.about .sensor-line-led{grid-template-columns:minmax(8em,.72fr) minmax(0,1.28fr)!important;column-gap:8px!important}

/* Centre each status symbol in the same slot, with heating state beside it. */
article.wx-updated.about .sensor-line>span:last-child:has(>svg){display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:8px!important;align-items:center;overflow:visible}
article.wx-updated.about .sensor-line>span:last-child>svg{justify-self:center;margin:0!important;max-width:72px}
article.wx-updated.about .wx-heater-state{font-size:14px;line-height:1.4;white-space:nowrap}
@media(max-width:430px){article.wx-updated.about .sensor-line>span:last-child:has(>svg){grid-template-columns:60px minmax(0,1fr);gap:5px!important}article.wx-updated.about .sensor-line>span:last-child>svg{max-width:60px}}
