/* The existing wetter.cam layout remains the visual foundation. */
.warning-layer-options{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0}
.warning-layer-options fieldset{border:0;padding:0;margin:0;display:flex;gap:8px 12px;flex-wrap:wrap;min-width:0}
.warning-layer-options legend{font-size:10px;color:#61768c;margin-bottom:5px;font-weight:700}
.warning-layer-options label{font-size:11px;color:#385b7b;display:flex;align-items:center;gap:5px;min-height:30px;cursor:pointer}
.warning-layer-options input{accent-color:#315f98;width:15px;height:15px;margin:0}
.warning-legend-panel{margin:12px 0;background:#f7fafc;border:1px solid #d6e1ec;border-radius:9px;padding:10px 12px}
.warning-legend-panel>summary{font-size:12px;color:#315f98;font-weight:700;cursor:pointer;min-height:24px}
.warning-legend-panel .warning-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;font-size:11px}
.warning-legend-panel .warning-swatch{flex:none;width:14px;height:14px;border-radius:3px}
.advance-swatch{background:repeating-linear-gradient(135deg,#fde4e3 0 4px,#e53935 4px 5px)}
#map-label-layer{pointer-events:none}
#map-label-layer text{font-family:Arial,sans-serif;stroke:#fff;stroke-width:2.5px;stroke-opacity:.9;paint-order:stroke fill;stroke-linejoin:round;fill:#244b67}
#map-label-layer .map-place-name{font-size:11px;font-weight:600}
#map-label-layer .map-state-name{font-size:10px;font-weight:500;fill:#536f77;stroke-opacity:.65}
#warning-svg[data-data-reliable=false] #county-outline-layer path{fill:#d6e0e5!important}
@media(max-width:480px){.warning-layer-options{gap:5px}.warning-layer-options label{font-size:10px}.warning-legend-panel .warning-legend{font-size:10px;gap:8px}}
.warning-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}
.warning-toolbar button,.simulation-steps button{padding:9px 13px;border:1px solid #bfcedd;border-radius:6px;background:#fff;color:#315d95;cursor:pointer}
.warning-toolbar button[aria-pressed=true],.simulation-steps button[aria-pressed=true]{background:#315d95;color:white}
.simulation-steps{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.simulation-steps[hidden]{display:none}
#warning-map-wrap{height:clamp(420px,58vw,660px);touch-action:none;cursor:grab}
#warning-map-wrap.is-dragging{cursor:grabbing}
#warning-svg{display:block;width:100%;height:100%;touch-action:none}
#warning-svg #county-outline-layer path{fill:#77bd8d!important;stroke:none!important;fill-rule:evenodd}
#warning-svg #warning-fill-layer path{stroke:none!important;stroke-width:0;fill-opacity:1;fill-rule:evenodd;pointer-events:none}
#warning-svg #map-boundary-layer{pointer-events:none!important}
#warning-svg #map-boundary-layer path{fill:none!important;stroke:#294b5a;stroke-width:.55;stroke-opacity:.5;vector-effect:non-scaling-stroke;pointer-events:none!important;stroke-linejoin:round;stroke-linecap:round}
#warning-svg #map-boundary-layer .state-boundary{stroke-width:1.05;stroke-opacity:.78}
#warning-svg #warn-city-pin{pointer-events:none}
.warning-source-status{background:#fff5dc;border:1px solid #ead39b;border-left:4px solid #c79527;border-radius:7px;padding:12px 14px;margin:12px 0}
.warning-source-status[data-state=ready]{background:#eef5fb;border-color:#bdd3e7;border-left-color:#4676a5}
.warning-source-status[data-mode=simulation]{background:#fff1dc;border-left-color:#bb761d}
.warning-source-status p{margin:4px 0}
.warning-source-status small{overflow-wrap:anywhere}
.warning-legend{flex-wrap:wrap}
.warning-card{border-top:1px solid #dbe4ed;padding:13px 0;overflow-wrap:anywhere}
.warning-card h4{margin:0 0 6px;line-height:1.4}
.warning-card p{margin:6px 0;white-space:pre-line}
.warning-card dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:3px 8px;font-size:12px}
.warning-card dt{color:#61748a}.warning-card dd{margin:0}
.warning-level{display:inline-block;border-left:5px solid var(--warning-color,#61748a);padding:2px 7px;background:#f3f6f9;font-size:12px;margin-bottom:7px}
.warning-summary{font-size:13px;color:#536b82}.warning-source-note{font-size:12px;color:#61748a}
#warn-banner[data-state]:not([data-state=ready]){background:#fff5dc;border-color:#ead39b;color:#6b542a}
.warn-controls button{min-width:36px;min-height:36px}
#warning-svg:focus-visible{outline:2px solid #315d95;outline-offset:-3px}
#warn-detail{max-height:720px;overflow:auto;scrollbar-gutter:stable}
button:focus-visible{outline:3px solid #c79527;outline-offset:2px}
@media(max-width:700px){#warning-map-wrap{height:460px}.warning-toolbar button{flex:1}.simulation-steps button{font-size:12px}#warn-detail{max-height:none;overflow:visible}.warning-layout{grid-template-columns:minmax(0,1fr)}.warning-card dl{grid-template-columns:74px minmax(0,1fr)}}
@media(max-width:380px){#warning-map-wrap{height:400px}.container{width:calc(100% - 20px)}}

/* Frontend 12.0: one shared time filter for map and information panels. */
.warning-center{padding-bottom:42px}
.warning-center .heading{margin-bottom:22px}
.warning-center .heading h1{font-size:clamp(25px,3vw,34px);margin-bottom:10px}
.warning-center .heading p:last-child{max-width:760px;font-size:14px;line-height:1.65}
.warning-layout{display:grid;grid-template-columns:minmax(0,1.43fr) minmax(340px,1fr);gap:24px;align-items:start}
.warning-map-section,.warning-sidebar{min-width:0}
.warning-map-section{position:sticky;top:16px}
.warning-sidebar{display:flex;flex-direction:column;gap:16px}
.warning-filters{display:grid;grid-template-columns:1fr 1.15fr .85fr;padding:5px;gap:4px;background:#e7eef5;border-radius:11px;margin-bottom:16px}
.warning-filters button{border:0;background:transparent;color:#46617d;padding:12px 5px;min-height:46px;border-radius:7px;font:inherit;font-size:12px;font-weight:700;line-height:1.45;cursor:pointer}
.warning-filters button[aria-selected=true]{background:#315f98;color:#fff;box-shadow:0 2px 5px #315f9826}
.warning-filters button:hover:not([aria-selected=true]){background:#dbe7f2}
.warning-filters button span{white-space:nowrap}
#warning-map-wrap{height:650px;border:1px solid #cbdcec;border-radius:12px;background:#e9f3fa;overflow:hidden}
.warning-box{background:#fff;border:1px solid #d6e1ec;border-radius:12px;padding:20px;box-shadow:0 2px 4px #24436106;color:#304b66}
.warning-box h2,.warning-states>h2{font-size:16px;line-height:1.4;margin:0 0 12px;color:#244b77}
.warning-box p{font-size:13px;line-height:1.7;margin:8px 0}
.warning-box .warning-source-note{font-size:11px;line-height:1.6;color:#677c91}
.place-card .warning-place-search{border:0;background:none;margin:0;padding:0;position:relative}
.place-card .warning-place-search label{font-size:14px;display:block;margin-bottom:12px;color:#244b77}
.place-card .warning-search-row{display:flex;gap:8px;flex-direction:row}
.warning-search-row input{min-width:0;width:100%;border-radius:8px;border:1px solid #c7d8e8;background:#f8fbfe;padding:12px;font:inherit;font-size:13px}
.warning-search-row button{min-width:42px;min-height:42px;border:0;border-radius:8px;background:#315f98;color:#fff;font-size:22px;cursor:pointer}
.place-card #warning-search-status{font-size:11px;color:#6c8296;line-height:1.6;margin:10px 0 0}
#warn-detail{max-height:none;overflow:visible;scrollbar-gutter:auto}
.place-heading{display:flex;justify-content:space-between;gap:10px;align-items:start}
.place-heading h2{margin-bottom:4px}
.clear-place{border:0;background:none;font-size:22px;color:#617990;cursor:pointer;padding:0 3px;min-width:28px;min-height:28px}
.place-counts{background:#f0f5fa;padding:11px 12px;border-radius:7px;font-weight:600}
.warning-overview{border-left:4px solid var(--overview-color,#71849a)}
.warning-overview .eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;color:#61758c;margin:0 0 8px}
.warning-overview h2{font-size:21px;margin-bottom:8px}
.warning-level-counts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.warning-level-counts span{border-left:5px solid var(--warning-color,#71849a);padding:3px 7px;background:#f2f6fa;border-radius:3px;font-size:11px}
.warning-states>h2{margin:2px 0 12px}
.warning-state{background:#fff;border:1px solid #d6e1ec;border-left:4px solid var(--state-color,#71849a);border-radius:9px;margin:9px 0;overflow:hidden}
.warning-state>summary{display:list-item;list-style-position:inside;padding:13px 12px;cursor:pointer;font-size:13px;color:#304f71}
.warning-state>summary strong{font-weight:700}
.state-count{float:right;color:#61758c;font-size:11px;padding-top:2px}
.state-content{padding:0 14px 6px;border-top:1px solid #e1e9f1}
.warning-state .warning-card:first-child{border-top:0}
.warning-card{margin-top:7px;padding:12px 0;overflow-wrap:anywhere}
.warning-card h4{font-size:13px;color:#294967}
.warning-card p{font-size:12px;line-height:1.7}
.warning-card dl{font-size:11px;line-height:1.6;grid-template-columns:75px minmax(0,1fr)}
.warning-card summary{font-size:11px;color:#496f94;cursor:pointer;padding:5px 0}
.warning-height{background:#fff6e6;border-left:3px solid #c69330;padding:8px 10px;color:#73541e}
.warning-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin:19px 0 0;color:#61768c}
.warning-level{font-size:10px;border-radius:3px}
.warning-auto-summary p{font-size:13px}
.warning-auto-summary .warning-source-note{border-top:1px solid #e3ebf2;padding-top:12px;margin-top:14px}
.warning-source-status,.warning-source-status[data-state=ready]{background:transparent;border:0;border-radius:0;padding:12px 0 0;margin:0;color:#5c758d;font-size:11px;line-height:1.6}
.warning-attribution{font-size:10px!important;line-height:1.7!important;color:#73879a!important;margin:7px 0 12px!important}
.warning-legend{display:flex;gap:8px 13px;margin:13px 0 7px;line-height:1.5;font-size:10px}
.warning-legend>span{display:flex;align-items:center;gap:5px}
.upcoming-swatch{background:repeating-linear-gradient(135deg,#dce9db 0px,#dce9db 4px,#7f9b88 4px,#7f9b88 5px)}
.special-swatch{background:repeating-linear-gradient(0deg,#e5eaf0 0px,#e5eaf0 4px,#697f96 4px,#697f96 5px)}
.map-caption{font-size:10px;color:#6b8093;line-height:1.6;margin:5px 0}
.warning-alert{padding:15px 18px;border:1px solid #e2b989;border-left:4px solid #bf6e25;background:#fff3e4;color:#75481e;border-radius:8px;margin-bottom:20px;font-size:14px;line-height:1.6}
.warning-alert[hidden]{display:none}
.warning-empty{border:1px dashed #cad9e7;border-radius:9px;padding:18px;color:#637a91;font-size:12px;line-height:1.6}
.warning-help{border-top:1px solid #dce6ef;padding:10px 0;font-size:11px;color:#627a90;line-height:1.7}
.warning-help>summary{cursor:pointer;font-weight:600}
.warning-text-button{border:0;background:none;padding:8px 0;color:#315f98;text-align:left;text-decoration:underline;cursor:pointer;font:inherit;font-size:12px}
@media(min-width:1500px){#warning-map-wrap{height:700px}}
@media(max-width:1000px){.warning-layout{grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:16px}.warning-box{padding:16px}.warning-filters button{font-size:11px}#warning-map-wrap{height:580px}.state-count{float:none;display:block;margin-left:16px}}
@media(max-width:800px){.warning-layout{grid-template-columns:minmax(0,1fr);gap:16px}.warning-map-section{position:static}.warning-sidebar{display:contents}.place-card{grid-row:1}.warning-map-section{grid-row:2}.warning-filters button{font-size:12px}.state-count{float:right;display:inline;margin-left:0}#warning-map-wrap{height:580px}.warning-center .heading{margin-bottom:18px}.warning-box{padding:18px}}
@media(max-width:480px){#warning-map-wrap{height:440px}.warning-filters{gap:2px;padding:4px;margin-bottom:12px}.warning-filters button{font-size:10px;padding:9px 3px;min-height:48px}.warning-filters button span{display:block}.warning-center .heading p:last-child{font-size:12px}.warning-center .heading h1{font-size:26px}.warning-box{padding:16px}.warning-legend{font-size:9px;gap:7px 10px}.warning-card dl{font-size:11px}.state-count{font-size:10px}}

/* Compact details preserve the complete official message and its area metadata. */
.warning-card{border:1px solid #dbe5ef;border-left:3px solid var(--warning-color,#71849a);border-radius:8px;padding:13px;margin:12px 0;box-shadow:0 2px 7px rgba(33,68,103,.045);background:#fff}
.warning-region-list{max-height:240px;max-height:min(32vh,280px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px 10px 8px 26px;margin:6px 0;background:#f4f8fc;border-radius:6px;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.warning-region-list li{margin:3px 0}.warning-region-list:focus-visible{outline:2px solid #315f98;outline-offset:2px}
.warning-official-regions>summary{min-height:40px;display:list-item;align-content:center;font-weight:600}
.warning-coordinates{font-size:11px;color:#637a91;margin:8px 0 14px}.warning-coordinates p{margin:3px 0}
@media(max-width:480px){.warning-card{padding:12px}.warning-region-list{max-height:220px}.warning-coordinates{font-size:12px}}
