:root {
  color-scheme: dark;
  --page: #071321;
  --surface: #10243d;
  --panel: #142e4d;
  --edge: #315477;
  --gold: #f0cf65;
  --text: #f5f7fb;
  --muted: #b9c9dc;
  font-family: "Segoe UI", Arial, sans-serif;
}* { box-sizing: border-box; }body { width:100%; min-width:320px; height:100vh; height:100dvh; min-height:0; margin:0; overflow:hidden; color:var(--text); background:var(--page); }.board-shell { width:100%; height:100vh; height:100dvh; min-height:0; display:flex; flex-direction:column; gap:clamp(3px,.3vw,5px); padding:clamp(4px,.4vw,8px); overflow:hidden; }.board-header { --header-scale:.5; --header-title-size:calc(clamp(22px,2.2vw,38px) * var(--header-scale)); flex:0 0 auto; min-width:0; position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); align-items:center; gap:calc(18px * var(--header-scale)); min-height:calc(clamp(70px,7vh,110px) * var(--header-scale)); padding:calc(12px * var(--header-scale)) calc(22px * var(--header-scale)); border:1px solid var(--edge); border-radius:10px; background:var(--surface); }.header-left, .header-right { display:flex; min-width:0; align-items:center; gap:calc(14px * var(--header-scale)); }.header-left { justify-self:start; }.header-right { justify-self:end; }.brand-mark { flex:0 0 auto; width:calc(clamp(30px,5.2vh,68px) * var(--header-scale)); height:calc(clamp(30px,5.2vh,68px) * var(--header-scale)); object-fit:contain; filter:drop-shadow(0 0 5px #d6b64c44); }.heading { min-width:0; text-align:center; }h1, #boardDate, #clock, .board-header .quiet { color:var(--gold); font-family:inherit; font-size:var(--header-title-size); font-weight:700; letter-spacing:.025em; text-transform:uppercase; }h1 { margin:0; }#boardDate { margin:0; white-space:nowrap; }#clock { font-variant-numeric:tabular-nums; white-space:nowrap; }.board-header .quiet { color:var(--text); font-size:calc(12px * var(--header-scale)); font-weight:700; letter-spacing:normal; text-transform:none; line-height:1.1; }button { min-height: 42px; padding: 9px 15px; border: 1px solid var(--edge); border-radius: 7px; background: var(--panel); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }button:hover { filter: brightness(1.16); }button:disabled { opacity: .65; cursor: wait; }button.primary { color: #17283b; background: var(--gold); border-color: var(--gold); }button.quiet { min-height: calc(42px * var(--header-scale)); padding: calc(9px * var(--header-scale)) calc(15px * var(--header-scale)); font-size: calc(12px * var(--header-scale)); }[hidden] { display: none !important; }.pair-card { width: min(540px, 100%); margin: auto; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--edge); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 60px #0005; }.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.pair-card h2 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 30px); }.pair-card > p:not(.eyebrow):not(.status) { color: var(--muted); line-height: 1.55; }#pairForm { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-top: 22px; }#pairForm label { grid-column: 1/-1; font-weight: 700; }#pairCode { min-width: 0; height: 52px; padding: 8px 12px; border: 1px solid var(--edge); border-radius: 8px; background: #f5f7fb; color: #14243a; font: 800 26px "Segoe UI", sans-serif; letter-spacing: .35em; text-align: center; }.status { min-height: 1.4em; margin: 14px 0 0; color: var(--muted); }.schedule { min-height:0; flex:1 1 0; display:flex; flex-direction:column; gap:clamp(3px,.3vh,5px); overflow:hidden; padding: clamp(6px, .55vw, 10px); border: 1px solid var(--edge); border-radius: 10px; background: #0c1c30; }.air-alert { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:var(--alert-gap-y,clamp(8px,1vw,18px)) var(--alert-gap-x,clamp(12px,1.4vw,24px)); padding:var(--alert-padding-y,clamp(18px,2vw,34px)) var(--alert-padding-x,clamp(16px,2vw,32px)); border:3px solid #db3345; border-radius:10px; color:#fff; background:#a71f32; text-align:center; animation:alert-pulse 2.2s ease-in-out infinite; }.air-alert[data-level="yellow"] { color:#17243a; border-color:#e2b64e; background:#f0cf65; }.air-alert[data-level="active-unknown"] { color:#17243a; border-color:#e2a34e; background:#e6b15a; }.air-alert[data-level="green"] { color:#fff; border-color:#39b879; background:#087c50; animation-name:alert-pulse-green; }.air-alert strong { flex:1 1 100%; font-size:var(--alert-title-size,clamp(30px,3.6vw,60px)); line-height:1.12; font-weight:900; text-transform:uppercase; }.air-alert span { font-size:var(--alert-meta-size,clamp(20px,2vw,36px)); font-weight:800; }.air-alert a { color:inherit; font-size:clamp(13px,1vw,17px); }.air-alert[data-level="yellow"] { animation-name:alert-pulse-yellow; }
@keyframes alert-pulse {0%, 100% { background-color:#a71f32; border-color:#db3345; box-shadow:0 0 0 0 #ff263d55, inset 0 0 0 #ffffff00; filter:brightness(1); }50% { background-color:#d9233a; border-color:#ff5363; box-shadow:0 0 34px 9px #ff263dcc, inset 0 0 24px #ffffff24; filter:brightness(1.18); }
}
@keyframes alert-pulse-yellow {0%, 100% { background-color:#f0cf65; border-color:#e2b64e; box-shadow:0 0 0 0 #e2a91e55; filter:brightness(1); }50% { background-color:#ffdf65; border-color:#ffbd24; box-shadow:0 0 30px 8px #ffbd24bb, inset 0 0 20px #ffffff66; filter:brightness(1.12); }
}
@keyframes alert-pulse-green {0%, 100% { background-color:#087c50; border-color:#39b879; box-shadow:0 0 0 0 #39d98a55; filter:brightness(1); }50% { background-color:#07945c; border-color:#62f0a6; box-shadow:0 0 30px 8px #39d98abb, inset 0 0 20px #ffffff20; filter:brightness(1.14); }
}
@media (prefers-reduced-motion:reduce) {.air-alert { animation:none; } }.weather-panel { --weather-scale:.5; min-width:0; container-type:inline-size; padding:calc(8px * var(--weather-scale)) calc(12px * var(--weather-scale)); border:1px solid #d5ac48; border-radius:8px; color:#263b52; background:#fff3cf; }.environment-panels { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(4px,.35vw,7px); min-width:0; flex:0 0 auto; }.environment-panels.has-both { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }.environment-panels > section { min-width:0; }.weather-panel, .blackout-panel { min-height:0; padding:clamp(7px,.65vw,10px) clamp(8px,.75vw,12px); border:1px solid #d5ac48; border-radius:8px; color:#263b52; background:#fff3cf; }.blackout-panel { --blackout-scale:.5; display:flex; flex-direction:column; gap:calc(3px * var(--blackout-scale)); padding:calc(8px * var(--blackout-scale)) calc(12px * var(--blackout-scale)); }.blackout-panel header.blackout-heading { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:clamp(6px,.7vw,12px); min-height:1.4em; }.blackout-panel h2 { grid-column:2; grid-row:1; margin:0; color:#8e3440; font-size:calc(clamp(16px,1.35vw,24px) * var(--blackout-scale)); font-weight:700; line-height:1.15; text-align:center; white-space:nowrap; }#blackoutUpdated { grid-column:3; grid-row:1; justify-self:end; min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; padding:2px 6px; border:1px solid #aeb8c4; border-radius:999px; color:#53657a; background:#f7f1e3; font-size:clamp(8px,.58vw,10px); text-align:center; white-space:nowrap; }#blackoutUpdated[data-state="fresh"] { border-color:#4d9c78; color:#246346; background:#e4f4e8; }#blackoutUpdated[data-state="aging"] { border-color:#c58b2c; color:#79520e; background:#fff0c9; }#blackoutUpdated[data-state="stale"] { border-color:#bd6948; color:#8d3727; background:#ffe4d8; }#blackoutAddress, #blackoutMessage { color:#53657a; font-size:calc(clamp(9px,.68vw,12px) * var(--blackout-scale)); }#blackoutAddress { min-width:0; margin:0; color:#5b6574; text-align:center; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; }#blackoutAddress { grid-column:1; grid-row:1; justify-self:start; }.blackout-days { display:grid; grid-template-columns:1fr 1fr; gap:clamp(5px,.6vw,9px); }.blackout-days.without-tomorrow { grid-template-columns:minmax(0,1fr); }.blackout-days article { min-width:0; }.blackout-day-viewport { display:flex; min-width:0; max-width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; overscroll-behavior-inline:contain; }.blackout-day-viewport::-webkit-scrollbar { display:none; }.blackout-day-track { display:flex; flex:0 0 auto; flex-direction:column; gap:2px; }.blackout-day-track-copy { pointer-events:none; }.blackout-days h3 { margin:calc(2px * var(--blackout-scale)) 0 calc(4px * var(--blackout-scale)); color:#8e3440; font-size:calc(clamp(10px,.72vw,13px) * var(--blackout-scale)); text-align:center; }.blackout-timeline { position:relative; display:grid; grid-template-columns:repeat(var(--blackout-slot-count,48),minmax(1px,1fr)); gap:1px; min-height:calc(clamp(18px,2.2vh,27px) * var(--blackout-scale)); overflow:hidden; padding:calc(2px * var(--blackout-scale)); border:1px solid #e4c779; border-radius:5px; background:#fffaf0; }.blackout-timeline.shade-elapsed::after { position:absolute; z-index:1; inset:2px auto 2px 2px; width:var(--elapsed-width,0%); background:rgba(83,94,108,.48); content:""; pointer-events:none; }.blackout-empty { grid-column:1/-1; align-self:center; color:#69778a; font-size:clamp(9px,.65vw,11px); text-align:center; }.blackout-slot { min-width:0; background:#abd9b9; }.blackout-slot.is-out { background:#e58b79; }.blackout-time-axis { display:grid; grid-template-columns:repeat(var(--blackout-slot-count,48),minmax(0,1fr)); margin-top:calc(2px * var(--blackout-scale)); color:#43566e; font-size:clamp(8px,calc(.62vw * var(--blackout-scale)),12px); font-variant-numeric:tabular-nums; font-weight:750; text-align:center; }.blackout-time-axis span { min-width:0; overflow:hidden; white-space:nowrap; line-height:1.2; }.blackout-legend { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px 6px; margin-top:3px; color:#53657a; font-size:clamp(8px,.56vw,10px); }.blackout-legend i { width:8px; height:8px; border-radius:2px; background:#abd9b9; }.blackout-legend i.is-out { margin-left:5px; background:#e58b79; }.blackout-legend i.is-past { margin-left:5px; background:#a9b1bb; }.blackout-note { display:block; margin-top:2px; color:#8e5b19; font-size:clamp(8px,.55vw,10px); text-align:center; }.blackout-panel.high-contrast { border:2px solid #87620b; background:#fff8e6; }#blackoutMessage { margin:3px 0 0; text-align:center; }.offline-panel { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:clamp(10px,2vh,28px); padding:clamp(22px,5vw,80px); color:#f5f7fb; background:radial-gradient(ellipse at center,#173653 0,#071321 72%); text-align:center; }.offline-emblem { color:var(--gold); font-size:clamp(64px,14vh,180px); line-height:1; }.offline-panel p { margin:0; color:var(--gold); font-size:clamp(18px,2.2vw,36px); font-weight:850; letter-spacing:.04em; }.offline-panel h1 { margin:0; color:#ffdc7a; font-size:clamp(32px,5vw,76px); line-height:1.08; }.offline-panel h2 { margin:0; color:#fff; font-size:clamp(20px,2.5vw,38px); }.offline-panel span { color:var(--muted); font-size:clamp(14px,1.4vw,22px); }.weather-topline { display:flex; min-width:0; align-items:center; justify-content:center; gap:calc(8px * var(--weather-scale)) calc(16px * var(--weather-scale)); margin-bottom:calc(5px * var(--weather-scale)); }.weather-heading { display:flex; min-width:0; justify-content:center; align-items:center; text-align:center; }.weather-heading strong { color:#8e3440; font-size:calc(clamp(16px,1.35vw,24px) * var(--weather-scale)); line-height:1.15; }.weather-current { display:flex; min-width:0; align-items:center; justify-content:center; flex-wrap:nowrap; gap:calc(7px * var(--weather-scale)) calc(12px * var(--weather-scale)); margin:0; text-align:center; }.weather-current-icon { width:calc(clamp(30px,3vw,48px) * var(--weather-scale)); height:calc(clamp(30px,3vw,48px) * var(--weather-scale)); flex:0 0 auto; }.weather-current-main { display:flex; align-items:baseline; gap:calc(7px * var(--weather-scale)); }.weather-current-main strong { font-size:calc(clamp(13px,1.05vw,19px) * var(--weather-scale)); }.weather-current-temp { color:#193653; font-size:calc(clamp(21px,1.8vw,32px) * var(--weather-scale)); font-weight:850; white-space:nowrap; }.weather-current-details { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:calc(4px * var(--weather-scale)); }.weather-current-details span { padding:calc(3px * var(--weather-scale)) calc(7px * var(--weather-scale)); border:1px solid #e4c779; border-radius:999px; background:#fffaf0; color:#53657a; font-size:calc(clamp(10px,.75vw,13px) * var(--weather-scale)); white-space:nowrap; }
@container (max-width: 760px) {.weather-topline { flex-wrap:wrap; row-gap:calc(3px * var(--weather-scale)); }.weather-current { flex-wrap:wrap; }
}.weather-hours { display:flex; min-width:0; gap:calc(8px * var(--weather-scale)); overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:#c28a2c #f3e4bb; -webkit-overflow-scrolling:touch; }.weather-hours.is-auto-scrolling { scroll-snap-type:none; }.weather-hour { position:relative; flex:0 0 clamp(112px,16cqi,250px); min-width:0; padding:calc(8px * var(--weather-scale)) calc(7px * var(--weather-scale)); border:1px solid #e4c779; border-radius:7px; background:#fffaf0; text-align:center; scroll-snap-align:start; }.weather-hour strong, .weather-hour span { display:block; white-space:nowrap; }.weather-hour > strong { color:#53657a; font-size:calc(clamp(11px,.84vw,15px) * var(--weather-scale)); font-weight:750; }.weather-hour-details { display:grid; justify-items:center; gap:2px; margin-top:calc(3px * var(--weather-scale)); color:#64758a; }.weather-hour small { font-size:calc(clamp(10px,.76vw,13px) * var(--weather-scale)); line-height:1.2; }.weather-icon { width:calc(clamp(20px,1.5vw,27px) * var(--weather-scale)); height:calc(clamp(20px,1.5vw,27px) * var(--weather-scale)); margin:calc(3px * var(--weather-scale)) auto; }.weather-icon, .weather-current-icon { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; overflow:visible; }.weather-kind-sun { color:#c68108; }.weather-kind-mixed { color:#b77c1b; }.weather-kind-cloud, .weather-kind-fog { color:#71869a; }.weather-kind-rain { color:#087eb5; }.weather-kind-snow { color:#3b91bc; }.weather-kind-storm { color:#7952b3; }.weather-kind-sun .sun-disc, .weather-kind-mixed .sun-disc { fill:#ffd45c; stroke:#c68108; stroke-width:1.4; }.weather-icon .cloud-shape, .weather-current-icon .cloud-shape { fill:#f7f9fb; stroke:currentColor; stroke-width:1.65; }.weather-kind-fog .weather-lines { stroke:#71869a; stroke-width:1.8; opacity:.9; }.weather-kind-rain .weather-precipitation { stroke:#087eb5; stroke-width:2.2; }.weather-kind-snow .weather-precipitation { stroke:#3b91bc; stroke-width:1.7; }.weather-kind-storm .weather-bolt { fill:#f4c34e; stroke:#a96f08; stroke-width:1.2; }.weather-hour .weather-temp { margin-top:calc(2px * var(--weather-scale)); color:#142f4b; font-size:calc(clamp(19px,1.55vw,27px) * var(--weather-scale)); font-weight:850; line-height:1.1; }.weather-hour.is-current-hour { border:2px solid #bd7e16; background:linear-gradient(160deg,#fff0bf,#ffe6a0); box-shadow:inset 0 0 0 1px #e4b943,0 0 12px #d99a1266; }.weather-hour.is-current-hour .weather-temp { color:#8b4c08; }.weather-hour.is-past.shade-past::after { position:absolute; z-index:2; inset:0; border-radius:inherit; background:rgba(83,94,108,.42); content:""; pointer-events:none; }.weather-now-badge { position:absolute; top:3px; right:4px; padding:2px 6px; border:1px solid #8e5707; border-radius:999px; color:#fff; background:#a66b0c; font-size:calc(9px * var(--weather-scale)); font-weight:850; letter-spacing:.03em; }.weather-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:4px 10px; margin-top:calc(5px * var(--weather-scale)); color:#64758a; font-size:calc(clamp(9px,.7vw,12px) * var(--weather-scale)); }.weather-footer small { font-size:inherit; }.weather-freshness { padding:2px 7px; border:1px solid #4d9c78; border-radius:999px; color:#246346; background:#e4f4e8; font-weight:800; white-space:nowrap; }.weather-freshness[data-state="aging"] { border-color:#c58b2c; color:#79520e; background:#fff0c9; }.weather-freshness[data-state="stale"] { border-color:#bd6948; color:#8d3727; background:#ffe4d8; }.schedule-title span.weather-freshness { position:absolute; right:0; max-width:32%; overflow:hidden; text-overflow:ellipsis; font-size:clamp(8px,.62vw,11px); }.threat-map-panel { flex:1 1 0; min-height:0; display:flex; flex-direction:column; gap:4px; overflow:hidden; padding:4px clamp(6px,.75vw,12px) clamp(6px,.75vw,12px); border:2px solid #d7b64e; border-radius:9px; color:var(--text); background:linear-gradient(145deg,#10243d,#081727 72%); }label[hidden] { display:none !important; }.threat-map-heading { position:relative; display:flex; align-items:center; justify-content:center; min-height:0; gap:10px; }.threat-map-status { display:flex; flex-wrap:wrap; justify-content:center; align-items:stretch; gap:5px; padding:2px 6px 0; }.ukrainealarm-active-regions { flex:0 1 auto; max-height:22%; min-height:0; overflow:auto; margin:calc(4px * var(--threat-scale)) calc(8px * var(--threat-scale)); padding:calc(6px * var(--threat-scale)) calc(8px * var(--threat-scale)); border:1px solid #5e7895; border-radius:8px; background:#14283d; color:#e5eef8; font-size:calc(clamp(10px,.72vw,13px) * var(--threat-scale)); }.ukrainealarm-active-regions strong { display:block; margin-bottom:calc(3px * var(--threat-scale)); color:#ffd261; text-align:center; }.ukrainealarm-active-regions ul { display:flex; flex-wrap:wrap; justify-content:center; gap:calc(3px * var(--threat-scale)) calc(6px * var(--threat-scale)); margin:0; padding:0; list-style:none; }.ukrainealarm-active-regions li { padding:calc(2px * var(--threat-scale)) calc(5px * var(--threat-scale)); border-radius:5px; background:#263d55; }.threat-status-chip { display:inline-flex; align-items:center; justify-content:center; min-width:0; min-height:28px; padding:4px 10px; border:1px solid #496581; border-radius:999px; color:#d8e5f5; background:#10243a; font-size:clamp(12px,.9vw,16px); font-weight:700; line-height:1.2; text-align:center; }.threat-status-chip[data-level="red"] { border-color:#ff6475; color:#fff; background:#c5162e; box-shadow:0 0 12px #e21e3d55; }.threat-status-chip[data-level="yellow"] { border-color:#ffdc00; color:#241b00; background:#ffd400; box-shadow:0 0 10px #ffd40055; }#threatAlertStatus[data-level="red"] { border-color:#e65d69; color:#fff; background:#782334; box-shadow:none; }#threatAlertStatus[data-level="yellow"] { border-color:#e2b64e; color:#16263a; background:#f0cf65; box-shadow:none; }.threat-status-chip[data-level="green"], .threat-status-chip[data-level="none"], .threat-status-chip[data-level="ok"] { border-color:#3c9b76; color:#dff8eb; background:#174b3d; }#threatFeedStatus { border-color:#dca967; color:#21180d; background:#d89143; }.threat-status-chip[data-level="warning"], .threat-status-chip[data-level="waiting"], .threat-status-chip[data-level="unknown"] { border-color:#a8843e; color:#f8e6b4; }.threat-status-chip[data-level="error"] { border-color:#e65d69; color:#ffdce0; background:#54202a; }.threat-map-layout { min-height:0; flex:1 1 auto; display:grid; grid-template-columns:minmax(0,1.85fr) minmax(300px,.9fr); gap:8px; transition:grid-template-columns .35s ease; }.threat-map-canvas { position:relative; display:grid; grid-template-rows:minmax(0,1fr) auto; min-width:0; min-height:0; place-items:stretch; overflow:hidden; border:1px solid #345676; border-radius:8px; background:radial-gradient(ellipse at center,#173653 0,#0b1b2d 76%); }.threat-map-canvas svg { display:block; width:100%; height:100%; min-width:0; min-height:0; max-width:100%; max-height:100%; overflow:hidden; }.threat-oblast-shape { fill:#163b55; fill-opacity:.58; stroke:#d7b64e; stroke-width:1.8px; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }.threat-neighbor-region { fill:#556575; fill-opacity:.13; stroke:#8291a0; stroke-width:1px; stroke-opacity:.68; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }.threat-neighbor-label { fill:#b7c3ce; fill-opacity:.78; stroke:#0a1a2b; stroke-width:3px; paint-order:stroke; font-size:13px; font-weight:700; pointer-events:none; }.threat-oblast-shape.alert-level-red { fill:#e31837; fill-opacity:.58; stroke:#ff4058; }.threat-oblast-shape.alert-level-yellow { fill:#ffc400; fill-opacity:.58; stroke:#ffdf00; }.threat-oblast-shape.alert-level-green { fill:#16805b; fill-opacity:.36; stroke:#5be0a5; }.threat-oblast-outline { fill:none; stroke:#f0c84f; stroke-width:1.8px; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; pointer-events:none; }.threat-oblast-outline.alert-level-red { stroke:#ff4058; }.threat-oblast-outline.alert-level-yellow { stroke:#ffdf00; }.threat-oblast-outline.alert-level-green { stroke:#5be0a5; }.threat-map-panel[data-alert-level="yellow"] .threat-oblast-outline.alert-level-yellow { stroke:#875500; stroke-width:2.2px; }.threat-map-panel[data-alert-level="yellow"] .threat-city-shape--priority { fill:#ff8c32; fill-opacity:.48; stroke:#fff0d8; stroke-width:2.5px; }.threat-map-panel[data-alert-level="yellow"] .threat-city-label--priority { fill:#ff963f; stroke:#182335; }.threat-map-panel[data-alert-level="red"] .threat-city-label--priority { fill:#ff963f; stroke:#182335; }.threat-district-boundary { fill:none; stroke:#c1d6e8; stroke-width:1px; stroke-opacity:.72; stroke-linejoin:round; vector-effect:non-scaling-stroke; pointer-events:none; }.threat-district-label, .threat-city-label { font-family:"Segoe UI",Arial,sans-serif; paint-order:stroke; stroke:#0a1a2b; stroke-linejoin:round; pointer-events:none; }.threat-district-label { fill:#e4edf6; stroke-width:3px; font-size:15px; font-weight:700; }.threat-city-shape { fill:#f5a05a; fill-opacity:.015; stroke:#d5dde5; stroke-width:1px; stroke-linejoin:round; vector-effect:non-scaling-stroke; }.threat-city-shape--priority { fill:#ff963f; fill-opacity:.26; stroke:#fff0d8; stroke-width:2.2px; }.threat-city-label { fill:#e4ebf2; stroke:#0a1a2b; stroke-width:3.5px; font-size:15px; font-weight:800; }.threat-city-label--priority { fill:#ff963f; stroke:#182335; stroke-width:4px; font-size:18px; font-weight:900; }.threat-city-center { fill:#ffd09a; stroke:#7a3b12; stroke-width:2px; vector-effect:non-scaling-stroke; }.osm-attribution { position:static; z-index:1; padding:3px 6px; border-radius:4px; color:#d7e3f0; background:#071525c9; font-size:10px; line-height:1.2; text-align:right; }.osm-attribution a { color:inherit; }.threat-map-legend { position:absolute; z-index:2; top:7px; left:8px; max-width:min(680px,calc(100% - 20px)); padding:4px 7px; border:1px solid #476783; border-radius:7px; color:#e7eff8; background:#071525e8; font-size:clamp(10px,.68vw,12px); line-height:1.2; }.threat-map-legend summary { width:max-content; cursor:pointer; color:#dce8f4; font-weight:700; list-style-position:inside; }.threat-map-legend-items { display:flex; flex-wrap:wrap; gap:4px 9px; padding-top:5px; }.threat-map-legend-items span { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }.threat-map-bottom-legend { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; align-items:end; gap:1px; min-width:0; padding:3px 7px 2px; border-top:1px solid #345676; background:rgba(7,21,37,.96); }.threat-target-legend-control { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:end; align-self:end; gap:8px; min-width:0; width:100%; }.threat-target-legend-control > summary { grid-column:1; align-self:end; cursor:pointer; color:#ffce72; font-size:clamp(8px,.68vw,11px); font-weight:800; white-space:nowrap; }.threat-map-target-legend { grid-column:2; display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); align-items:center; gap:2px 5px; min-width:0; width:100%; }.threat-map-target-legend > span { display:flex; align-items:center; justify-content:center; gap:4px; min-width:0; color:#f2f6fb; font-size:clamp(8px,.68vw,11px); font-weight:700; line-height:1.1; white-space:nowrap; text-shadow:0 1px 2px #020812; }.threat-map-target-legend b { min-width:0; overflow:hidden; text-overflow:ellipsis; }.threat-map-bottom-legend svg { display:block; width:28px; height:28px; flex:0 0 28px; overflow:visible; }.threat-map-bottom-legend .threat-drone-icon { fill:#fff8e8; stroke:#13253a; stroke-width:2.2px; stroke-linejoin:round; }.threat-map-bottom-legend .threat-fpv-icon { fill:none; stroke:#55ead8; stroke-width:2.8px; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 2px rgba(35,220,200,.7)); }.threat-map-bottom-legend .threat-fpv-icon circle { fill:#087f83; stroke:#c8fff8; }.threat-map-bottom-legend .threat-missile-icon { fill:#25b8c7; stroke:#d9ffff; stroke-width:2px; stroke-linejoin:round; }.threat-map-bottom-legend .threat-bomb-icon { fill:#ef9b35; stroke:#fff0cf; stroke-width:2px; stroke-linejoin:round; }.threat-map-bottom-legend .threat-generic-icon { fill:#64758a; stroke:#e1e8ef; stroke-width:2px; }.threat-map-bottom-legend text { fill:#fff; font:900 16px "Segoe UI",Arial,sans-serif; text-anchor:middle; paint-order:stroke; stroke:#10263a; stroke-width:2px; }.threat-map-bottom-legend .osm-attribution { justify-self:end; max-width:100%; padding:1px 5px; font-size:9px; }.legend-dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; box-shadow:0 0 5px currentColor; }.legend-dot.alert-yellow { color:#ffd400; background:#ffd400; }.legend-dot.alert-red { color:#ff4058; background:#ff4058; }.legend-dot.alert-green { color:#5be0a5; background:#5be0a5; }.legend-dot.target { color:#d477ff; background:#d477ff; }.legend-dot.city { color:#ff8c32; background:#ff8c32; }.legend-boundary { width:14px; height:0; flex:0 0 14px; border-top:2px solid #ffb66e; }.legend-dot:not(.alert-yellow):not(.alert-red):not(.alert-green):not(.target):not(.city) { color:#8291a0; background:#8291a0; }.threat-target-halo { fill:#c34cff; fill-opacity:.94; stroke:#fff2ff; stroke-width:2.5px; filter:drop-shadow(0 0 8px rgba(190,65,255,.98)); vector-effect:non-scaling-stroke; transform-box:fill-box; transform-origin:center; animation:threat-target-pulse 2s ease-in-out infinite; }.threat-target-ring { fill:none; stroke:#fff2ff; stroke-width:1.8px; stroke-opacity:1; vector-effect:non-scaling-stroke; pointer-events:none; }.threat-target-count-badge circle { fill:#fff2a6; stroke:#14263a; stroke-width:2px; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-target-count-badge text { fill:#102238; font:900 11px "Segoe UI",Arial,sans-serif; text-anchor:middle; pointer-events:none; }.threat-target-cluster-halo { fill:rgba(195,76,255,.08); stroke:#f0c9ff; stroke-width:1.5px; stroke-dasharray:4 5; vector-effect:non-scaling-stroke; pointer-events:none; }.threat-target-cluster--spread { isolation:isolate; }.threat-target--approx .threat-target-halo { fill:#a34be0; fill-opacity:.78; stroke:#f4d7ff; stroke-dasharray:4 3; }.threat-target--stale { opacity:.52; }.threat-target--stale .threat-target-halo { fill:#77818d; stroke:#e1e6eb; filter:drop-shadow(0 0 5px rgba(145,155,165,.45)); animation:none; }.threat-target--stale .threat-drone-icon { fill:#d8dde2; }.threat-target--missile .threat-target-halo { fill:#25b8c7; stroke:#d9ffff; filter:drop-shadow(0 0 8px rgba(37,184,199,.86)); }.threat-target--guided-bomb .threat-target-halo { fill:#ef9b35; stroke:#fff0cf; filter:drop-shadow(0 0 8px rgba(239,155,53,.82)); }.threat-target--jet-drone .threat-target-halo { fill:#20b9d2; stroke:#e0fbff; filter:drop-shadow(0 0 8px rgba(32,185,210,.9)); }.threat-target--banderole .threat-target-halo { fill:#3b82c4; stroke:#e2f3ff; filter:drop-shadow(0 0 8px rgba(59,130,196,.9)); }.threat-target--kab .threat-target-halo { fill:#e18b32; stroke:#fff0d4; }.threat-target--fab .threat-target-halo { fill:#a77a48; stroke:#f3dfc4; }.threat-target--fpv .threat-target-halo { fill:#a64be0; stroke:#f7dcff; }.threat-target--other .threat-target-halo { fill:#64758a; stroke:#e1e8ef; }.threat-fpv-icon { fill:none; stroke:#55ead8; stroke-width:2.8px; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 3px rgba(35,220,200,.75)) drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-fpv-icon circle { fill:#087f83; stroke:#c8fff8; stroke-width:2px; }.threat-jet-icon { fill:#e8fbff; stroke:#063847; stroke-width:3px; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.95)) drop-shadow(0 0 4px rgba(32,185,210,.75)); }.threat-target--stale .threat-jet-icon { fill:#d8dde2; }.threat-missile-icon { fill:#25b8c7; stroke:#d9ffff; stroke-width:2px; stroke-linejoin:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-bomb-icon { fill:#ef9b35; stroke:#fff0cf; stroke-width:2px; stroke-linejoin:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-banderole-icon { fill:#e5f5ff; stroke:#123d62; stroke-width:2.5px; stroke-linejoin:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-kab-icon { fill:#fff0d6; stroke:#683706; stroke-width:2.5px; stroke-linejoin:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-fab-icon { fill:#f4e2c8; stroke:#49351f; stroke-width:2.5px; stroke-linejoin:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-drone-icon { fill:#fff8e8; stroke:#13253a; stroke-width:3px; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)) drop-shadow(0 0 4px rgba(255,255,255,.45)); }.threat-ordnance-icon { fill:#fff8e8; stroke:#10263a; stroke-width:2.6px; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 1px 3px rgba(0,0,0,.9)); }.threat-target--stale .threat-ordnance-icon { fill:#d8dde2; }.threat-target-type-glyph { fill:#fff; font:900 19px "Segoe UI",Arial,sans-serif; text-anchor:middle; paint-order:stroke; stroke:#10263a; stroke-width:2px; }.threat-drone-detail { fill:none; stroke:#f1c6ff; stroke-width:1.7px; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; pointer-events:none; }
@keyframes threat-target-pulse {0%, 100% { opacity:.78; transform:scale(.94); }50% { opacity:1; transform:scale(1.16); } }
@media (prefers-reduced-motion:reduce) {.threat-target-halo { animation:none; } }.threat-map-fallback { fill:var(--muted); font:700 24px "Segoe UI",Arial,sans-serif; }.threat-map-empty-label { fill:#d7e3f0; font:700 21px "Segoe UI",Arial,sans-serif; paint-order:stroke; stroke:#0b1b2d; stroke-width:5px; stroke-linejoin:round; }.threat-map-sidebar { min-height:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid #345676; border-radius:8px; background:#0b1b2d; }.threat-map-sidebar h3 { margin:0; padding:8px 10px; color:#ff963f; border-bottom:1px solid #345676; font-size:clamp(14px,1vw,18px); line-height:1.25; text-align:center; }.threat-map-items { min-height:0; flex:1 1 auto; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:8px; }.threat-map-items:focus-visible { outline:2px solid var(--gold); outline-offset:-2px; }.threat-map-filters { flex:0 0 auto; margin:4px 8px 0; border:1px solid #3e5a75; border-radius:7px; background:#10243a; color:#dce8f4; font-size:12px; }.threat-map-filters summary { padding:5px 8px; color:#ffd06e; font-weight:800; cursor:pointer; }.threat-map-filter-controls { display:flex; flex-wrap:wrap; align-items:end; gap:6px; padding:0 8px 7px; }.threat-map-filter-controls label { display:grid; flex:1 1 130px; gap:3px; min-width:0; color:#bdcbd9; font-size:11px; font-weight:700; }.threat-map-filter-controls select, .threat-map-filter-controls button { min-height:28px; padding:3px 7px; border:1px solid #496581; border-radius:5px; color:#edf4fc; background:#18334d; font:600 12px "Segoe UI",Arial,sans-serif; }.threat-map-filter-controls button { cursor:pointer; }.threat-item { cursor:pointer; }.threat-item.is-selected { border-color:#ffd45e; box-shadow:0 0 0 2px #ffd45e88,0 0 14px #ffd45e44; }.threat-target { cursor:pointer; outline:none; }.threat-target:focus-visible .threat-target-ring, .threat-target.is-selected .threat-target-ring { stroke:#fff6a8; stroke-width:4px; }.threat-item { display:grid; gap:3px; padding:7px 9px; border:1px solid #294563; border-radius:7px; margin:0 0 6px; background:rgba(22,47,72,.48); }.threat-item-header { display:flex; align-items:baseline; justify-content:space-between; gap:8px; min-width:0; }.threat-item strong { min-width:0; color:#ffdc7a; font-size:clamp(14px,1vw,18px); }.threat-item-time { flex:0 0 auto; color:#dca967; font-size:clamp(10px,.7vw,12px); white-space:nowrap; }.threat-item-received { color:#a9bed1; font-size:clamp(10px,.68vw,12px); }.threat-item-location { color:var(--text); font-size:clamp(12px,.85vw,16px); }.threat-item-meta, .threat-empty { color:var(--muted); font-size:clamp(11px,.75vw,14px); }.threat-item.stale { border-color:#a66c3f; background:rgba(88,54,29,.42); }.threat-item.stale .threat-item-time { color:#ffc078; }.threat-empty.alert-active { padding:clamp(18px,2vw,30px); border:2px solid #ff6976; border-radius:8px; color:#fff; background:#9d1d30; font-size:clamp(18px,1.5vw,28px); font-weight:900; text-align:center; }.threat-map-notice { flex:0 0 auto; margin:4px 10px 8px; color:#ffd28a; text-align:left; font-size:clamp(11px,.78vw,14px); font-weight:700; line-height:1.35; }.threat-map-attribution { display:block; flex:0 0 auto; padding:0 10px 10px; color:var(--muted); text-align:left; font-size:clamp(10px,.68vw,12px); line-height:1.3; }.threat-map-attribution a { color:inherit; }.schedule-title { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; position: relative; }.schedule-title h2 { margin: 0; color: #8fbaff; font-size: clamp(20px, 1.9vw, 34px); text-align: center; }.schedule-title span { position: absolute; right: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }.table-scroll { flex:1 1 0; min-height:0; overflow:auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid var(--edge); border-radius: 6px; }.table-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }/* Keep table rows at their natural content height. A forced 100% table height
   stretches short schedules and makes overflow detection/auto-scroll unreliable. */
table { width: 100%; border-collapse: collapse; table-layout: fixed; }th, td { padding: clamp(8px, .8vw, 15px); border: 1px solid #355675; text-align: center; vertical-align: middle; }th { position: sticky; top: 0; z-index: 1; color: #c8ddf5; background: #183757; font-size: clamp(13px, 1.1vw, 21px); text-transform: uppercase; }td { color: var(--text); background: #112942; font-size: clamp(14px, 1vw, 21px); line-height: 1.35; white-space: pre-line; overflow-wrap: anywhere; }tbody tr:nth-child(even) td { background: #183450; }th:nth-child(1) { width: 9%; }th:nth-child(2) { width: 17%; }th:nth-child(3) { width: 13%; }th:nth-child(4) { width: 18%; }th:nth-child(5) { width: 43%; }td.time { color: var(--gold); font-size: clamp(19px, 1.35vw, 27px); font-weight: 800; white-space: nowrap; }td.case-number { font-weight: 700; white-space: nowrap; }tr.next-case td { background: #124139 !important; box-shadow: inset 0 1px #28c78e, inset 0 -1px #28c78e, 0 0 18px #14c98745; }tr.next-case td:first-child { box-shadow: inset 3px 0 #31e2a1, inset 0 1px #28c78e, inset 0 -1px #28c78e; }tr.next-case td:last-child { box-shadow: inset -3px 0 #31e2a1, inset 0 1px #28c78e, inset 0 -1px #28c78e; }.schedule-message { margin: 10px 0 0; color: var(--muted); text-align: center; }footer { display: flex; justify-content: space-between; gap: 12px; padding: 0 3px; color: #8fa3bb; font-size: 12px; }
@media (max-width: 760px) {.board-header { grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); gap:calc(8px * var(--header-scale)); padding:calc(10px * var(--header-scale)); flex:0 0 auto; }.header-left, .header-right { min-width:0; gap:calc(7px * var(--header-scale)); }#boardDate { min-width:0; white-space:normal; overflow-wrap:anywhere; }.heading h1 { overflow-wrap:anywhere; }.brand-mark { width:calc(clamp(24px,4.5vh,48px) * var(--header-scale)); height:calc(clamp(24px,4.5vh,48px) * var(--header-scale)); }.board-header { --header-title-size:calc(clamp(15px,2.8vw,26px) * var(--header-scale)); }.board-header .quiet { grid-column:auto; justify-self:end; }.schedule-title { align-items: center; flex-direction: column; padding: 8px 0; }.schedule-title span { position: static; }.table-scroll { overflow-x: auto; }.weather-hours { justify-content:flex-start; }.environment-panels.has-both { grid-template-columns:minmax(0,1fr); }.threat-target-legend-control { grid-template-columns:minmax(0,1fr); gap:4px; }.threat-target-legend-control > summary { grid-column:1; }.threat-map-target-legend { grid-column:1; grid-template-columns:repeat(4,minmax(0,1fr)); }.threat-map-target-legend > span { justify-content:flex-start; white-space:normal; overflow-wrap:anywhere; }.threat-map-target-legend b { overflow:visible; text-overflow:clip; }.threat-map-layout { grid-template-columns:1fr; grid-template-rows:minmax(190px,1fr) minmax(120px,.7fr); }table { min-width: 760px; }#pairForm { grid-template-columns: 1fr; }
}/* Повноекранна заставка для вже відкритого табло, коли сервер тимчасово недоступний. */
.offline-panel { position:fixed; inset:0; z-index:12000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:clamp(10px,2.1vh,28px); padding:clamp(20px,4vw,64px); overflow:hidden; color:#f5f7fb; background:radial-gradient(ellipse at 50% 42%,#17283a 0,#0d1822 70%); text-align:center; }.offline-panel[hidden] { display:none !important; }body.offline-fullscreen .board-shell > :not([data-scale-panel="offline"]) { visibility:hidden !important; }body.offline-fullscreen [data-scale-panel="offline"]:not([hidden]), body.offline-fullscreen .offline-panel:not([hidden]) { display:flex !important; visibility:visible !important; }.offline-court { position:absolute; top:clamp(18px,4.5vh,58px); left:5vw; right:5vw; margin:0; color:#e9d47a; font-size:clamp(16px,2.15vw,34px); font-weight:800; letter-spacing:.025em; line-height:1.2; }.offline-emblem { display:grid; place-items:center; width:calc(min(76vw,68vh,920px) * var(--offline-scale)); height:calc(min(76vw,68vh,920px) * var(--offline-scale)); max-width:84vw; max-height:68vh; animation:none; }.offline-emblem svg { display:block; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 0 18px #e7c65b55) drop-shadow(0 4px 12px #0008); }.offline-panel h1 { position:absolute; left:5vw; right:5vw; bottom:clamp(68px,10vh,112px); margin:0; color:#e9d47a; font-size:clamp(20px,2.7vw,40px); font-weight:800; letter-spacing:.025em; line-height:1.2; }.offline-status { position:absolute; left:5vw; right:5vw; bottom:clamp(36px,6vh,68px); margin:0; color:#fff0b5; font-size:clamp(15px,1.8vw,26px); font-weight:700; }.offline-detail { position:absolute; left:5vw; right:5vw; bottom:clamp(14px,3vh,34px); margin:0 auto; max-width:88vw; color:#d8e0ea; font-size:clamp(12px,1.25vw,19px); }
@media(max-height:560px) {.offline-court { top:10px; font-size:clamp(14px,2.2vw,24px); }.offline-emblem { width:calc(min(58vw,48vh,700px) * var(--offline-scale)); height:calc(min(58vw,48vh,700px) * var(--offline-scale)); max-height:48vh; }.offline-panel h1 { bottom:46px; font-size:clamp(17px,3vh,25px); }.offline-status { bottom:25px; font-size:clamp(12px,2.4vh,17px); }.offline-detail { bottom:7px; font-size:11px; } }.threat-settlement-boundary { vector-effect:non-scaling-stroke; fill:none; pointer-events:stroke; }.threat-settlement-boundary--city { stroke:#ffd09a; stroke-width:1.15px; stroke-opacity:.9; }.threat-settlement-boundary--town { stroke:#bacada; stroke-width:.72px; stroke-opacity:.58; }.threat-settlement-center { vector-effect:non-scaling-stroke; stroke:#0a1a2b; stroke-width:1px; }.threat-settlement-center--city { fill:#ffd09a; }.threat-settlement-center--town { fill:#d4dfeb; }.threat-settlement-label { font-family:"Segoe UI",Arial,sans-serif; paint-order:stroke; stroke:#071728; stroke-linejoin:round; pointer-events:none; }.threat-settlement-label--city { fill:#ffe0b6; stroke-width:2.7px; font-size:12px; font-weight:800; }.threat-settlement-label--town { fill:#d7e0e9; stroke-width:2.1px; font-size:10px; font-weight:650; }.threat-city-shape--priority { fill:#ff963f; fill-opacity:.34; stroke:#fff0d8; stroke-width:2.4px; }.threat-city-label--priority { font-size:19px; }.legend-dot.settlement-city { background:#ffd09a; border:1px solid #8c5b2b; }.legend-dot.settlement-town { background:#d3dde7; border:1px solid #526b83; }/* User adjustable display scales (25–125%); 100% is the reference size. */
.schedule { --schedule-scale:1; padding:calc(clamp(6px,.55vw,10px) * var(--schedule-scale)); }.schedule-title { gap:calc(16px * var(--schedule-scale)); min-height:calc(50px * var(--schedule-scale)); }.schedule-title h2 { font-size:calc(clamp(20px,1.9vw,34px) * var(--schedule-scale)); }.schedule-title span { font-size:calc(12px * var(--schedule-scale)); }.schedule-title span.weather-freshness { font-size:calc(clamp(8px,.62vw,11px) * var(--schedule-scale)); }.schedule th, .schedule td { padding:calc(clamp(8px,.8vw,15px) * var(--schedule-scale)); }.schedule th { font-size:calc(clamp(13px,1.1vw,21px) * var(--schedule-scale)); }.schedule td { font-size:calc(clamp(14px,1vw,21px) * var(--schedule-scale)); }.schedule td.time { font-size:calc(clamp(19px,1.35vw,27px) * var(--schedule-scale)); }.schedule-message { margin:calc(10px * var(--schedule-scale)) 0 0; font-size:calc(14px * var(--schedule-scale)); }.air-alert a { font-size:var(--alert-source-size,clamp(13px,1vw,17px)); }.offline-panel { --offline-scale:1; gap:calc(clamp(10px,2vh,28px) * var(--offline-scale)); padding:calc(clamp(22px,5vw,80px) * var(--offline-scale)); }.offline-emblem { font-size:calc(clamp(64px,14vh,180px) * var(--offline-scale)); }.offline-panel p { font-size:calc(clamp(18px,2.2vw,36px) * var(--offline-scale)); }.offline-panel h1 { font-size:calc(clamp(32px,5vw,76px) * var(--offline-scale)); }.offline-panel h2 { font-size:calc(clamp(20px,2.5vw,38px) * var(--offline-scale)); }.offline-panel span { font-size:calc(clamp(14px,1.4vw,22px) * var(--offline-scale)); }.weather-panel { padding:calc(8px * var(--weather-scale)) calc(12px * var(--weather-scale)); }.weather-heading strong { font-size:calc(clamp(16px,1.35vw,24px) * var(--weather-scale)); }.weather-current-icon { width:calc(clamp(30px,3vw,48px) * var(--weather-scale)); height:calc(clamp(30px,3vw,48px) * var(--weather-scale)); }.weather-current-main strong { font-size:calc(clamp(13px,1.05vw,19px) * var(--weather-scale)); }.weather-current-temp { font-size:calc(clamp(21px,1.8vw,32px) * var(--weather-scale)); }.weather-current-details span { font-size:calc(clamp(10px,.75vw,13px) * var(--weather-scale)); }.weather-hour { flex-basis:calc(clamp(112px,16cqi,250px) * var(--weather-scale)); }.weather-hour > strong { font-size:calc(clamp(11px,.84vw,15px) * var(--weather-scale)); }.weather-hour small { font-size:calc(clamp(10px,.76vw,13px) * var(--weather-scale)); }.weather-icon { width:calc(clamp(20px,1.5vw,27px) * var(--weather-scale)); height:calc(clamp(20px,1.5vw,27px) * var(--weather-scale)); }.weather-hour .weather-temp { font-size:calc(clamp(19px,1.55vw,27px) * var(--weather-scale)); }.weather-now-badge { font-size:calc(9px * var(--weather-scale)); padding:calc(2px * var(--weather-scale)) calc(6px * var(--weather-scale)); }.weather-footer { font-size:calc(clamp(9px,.7vw,12px) * var(--weather-scale)); }.blackout-panel header.blackout-heading, .blackout-days { gap:calc(clamp(5px,.6vw,9px) * var(--blackout-scale)); }.blackout-panel h2 { font-size:calc(clamp(16px,1.35vw,24px) * var(--blackout-scale)); }#blackoutUpdated, #blackoutAddress, #blackoutMessage { font-size:calc(clamp(8px,.68vw,12px) * var(--blackout-scale)); }.blackout-days h3 { font-size:calc(clamp(10px,.72vw,13px) * var(--blackout-scale)); }.blackout-timeline { min-height:calc(clamp(18px,2.2vh,27px) * var(--blackout-scale)); }.blackout-empty { font-size:calc(clamp(9px,.65vw,11px) * var(--blackout-scale)); }.blackout-time-axis { font-size:calc(clamp(4px,.38vw,7px) * var(--blackout-scale)); }.blackout-legend, .blackout-note { font-size:calc(clamp(8px,.56vw,10px) * var(--blackout-scale)); }.threat-map-panel { --threat-scale:1; gap:calc(6px * var(--threat-scale)); padding:calc(8px * var(--threat-scale)); }.threat-map-bottom-legend { gap:calc(1px * var(--threat-scale)); padding:calc(3px * var(--threat-scale)) calc(7px * var(--threat-scale)) calc(2px * var(--threat-scale)); }.threat-map-target-legend { gap:calc(2px * var(--threat-scale)) calc(5px * var(--threat-scale)); }.threat-map-target-legend > span { font-size:calc(clamp(8px,.68vw,11px) * var(--threat-scale)); }.threat-map-bottom-legend svg { width:calc(28px * var(--threat-scale)); height:calc(28px * var(--threat-scale)); flex-basis:calc(28px * var(--threat-scale)); }.threat-status-chip { font-size:calc(clamp(11px,.9vw,16px) * var(--threat-scale)); }.threat-map-status { gap:calc(5px * var(--threat-scale)); }.regional-alert-summary { color:#e9f2ff; background:#193d5b; border-color:#4e7da3; }.regional-alert-summary[data-level="warning"] { color:#271906; background:#e7b354; border-color:#ffd17a; }.threat-status-chip { min-height:calc(28px * var(--threat-scale)); padding:calc(4px * var(--threat-scale)) calc(10px * var(--threat-scale)); }.threat-map-layout { grid-template-columns:minmax(0,1.85fr) minmax(calc(300px * var(--threat-scale)),.9fr); gap:calc(8px * var(--threat-scale)); }.threat-map-legend { font-size:calc(clamp(10px,.68vw,12px) * var(--threat-scale)); padding:calc(5px * var(--threat-scale)) calc(8px * var(--threat-scale)); }.threat-map-sidebar h3 { padding:calc(8px * var(--threat-scale)) calc(10px * var(--threat-scale)); font-size:calc(clamp(14px,1vw,18px) * var(--threat-scale)); }.threat-map-items { padding:calc(8px * var(--threat-scale)); }.threat-item { gap:calc(3px * var(--threat-scale)); padding:calc(7px * var(--threat-scale)) calc(9px * var(--threat-scale)); margin-bottom:calc(6px * var(--threat-scale)); }.threat-item strong { font-size:calc(clamp(14px,1vw,18px) * var(--threat-scale)); }.threat-item-time, .threat-item-received, .threat-item-meta, .threat-empty, .threat-item-location, .threat-map-notice, .threat-map-attribution { font-size:calc(clamp(10px,.8vw,16px) * var(--threat-scale)); }.threat-neighbor-label { font-size:calc(13px * var(--threat-scale)); }.threat-district-label, .threat-city-label { font-size:calc(15px * var(--threat-scale)); }.threat-city-label--priority { font-size:calc(18px * var(--threat-scale)); }.threat-map-fallback { font-size:calc(24px * var(--threat-scale)); }.threat-map-empty-label { font-size:calc(21px * var(--threat-scale)); }.osm-attribution { font-size:calc(10px * var(--threat-scale)); }/* Preserve readable content at the smallest user scale instead of shrinking
   labels and timelines into a few pixels. */
.board-header { --header-title-size:calc(clamp(22px,2.2vw,38px) * var(--header-scale)); }.brand-mark { width:calc(clamp(30px,5.2vh,68px) * var(--header-scale)); height:calc(clamp(30px,5.2vh,68px) * var(--header-scale)); }.board-header .quiet { font-size:calc(12px * var(--header-scale)); }.schedule-title h2 { font-size:calc(clamp(20px,1.9vw,34px) * var(--schedule-scale)); }.schedule-title span { font-size:calc(12px * var(--schedule-scale)); }.schedule th { font-size:calc(clamp(13px,1.1vw,21px) * var(--schedule-scale)); }.schedule td { font-size:calc(clamp(14px,1vw,21px) * var(--schedule-scale)); }.schedule td.time { font-size:calc(clamp(19px,1.35vw,27px) * var(--schedule-scale)); }.schedule-message { font-size:calc(14px * var(--schedule-scale)); }.weather-hour { flex-basis:calc(clamp(112px,16cqi,250px) * var(--weather-scale)); min-height:0; }.weather-heading strong { font-size:calc(clamp(16px,1.35vw,24px) * var(--weather-scale)); }.weather-current-icon { width:calc(clamp(30px,3vw,48px) * var(--weather-scale)); height:calc(clamp(30px,3vw,48px) * var(--weather-scale)); }.weather-current-main strong { font-size:calc(clamp(13px,1.05vw,19px) * var(--weather-scale)); }.weather-current-temp { font-size:calc(clamp(21px,1.8vw,32px) * var(--weather-scale)); }.weather-current-details span { font-size:calc(clamp(10px,.75vw,13px) * var(--weather-scale)); }.weather-hour > strong { font-size:calc(clamp(11px,.84vw,15px) * var(--weather-scale)); }.weather-hour small { font-size:calc(clamp(10px,.76vw,13px) * var(--weather-scale)); }.weather-icon { width:calc(clamp(20px,1.5vw,27px) * var(--weather-scale)); height:calc(clamp(20px,1.5vw,27px) * var(--weather-scale)); }.weather-hour .weather-temp { font-size:calc(clamp(19px,1.55vw,27px) * var(--weather-scale)); }.weather-footer { font-size:calc(clamp(9px,.7vw,12px) * var(--weather-scale)); }.weather-panel.compact-display .weather-hours { gap:4px; }.weather-panel.compact-display .weather-hour { padding:5px 5px; }/* Clearer forecast card typography at compact TV scales. */
.weather-hour {
  background:linear-gradient(180deg,#fffdf7 0%,#fff8e9 100%);
  border-color:#d9b65d;
  box-shadow:0 1px 2px #60471514;
  font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  font-variant-numeric:tabular-nums;
  text-rendering:optimizeLegibility;
}.weather-hour > strong {
  color:#33485e;
  font-size:calc(clamp(11px,.84vw,15px) * var(--weather-scale));
  font-weight:800;
  line-height:1.25;
  letter-spacing:.01em;
}.weather-hour-details { color:#42566d; gap:3px; }.weather-hour small {
  color:#42566d;
  font-size:calc(clamp(10px,.76vw,13px) * var(--weather-scale));
  font-weight:600;
  line-height:1.25;
  letter-spacing:.005em;
}.weather-hour .weather-temp {
  color:#102a45;
  font-weight:900;
  letter-spacing:-.015em;
  line-height:1.15;
}.weather-hour.is-past.shade-past::after { background:rgba(83,94,108,.32); }.weather-hour.is-current-hour { border-color:#a96d12; }.blackout-panel h2 { font-size:calc(clamp(16px,1.35vw,24px) * var(--blackout-scale)); }#blackoutUpdated, #blackoutAddress, #blackoutMessage { font-size:calc(clamp(8px,.68vw,12px) * var(--blackout-scale)); }.blackout-days h3 { font-size:calc(clamp(10px,.72vw,13px) * var(--blackout-scale)); }.blackout-timeline { grid-template-columns:repeat(var(--blackout-slot-count,48),minmax(1px,1fr)); min-height:calc(clamp(18px,2.2vh,27px) * var(--blackout-scale)); }.blackout-time-axis { grid-template-columns:repeat(var(--blackout-slot-count,48),minmax(0,1fr)); font-size:calc(clamp(4px,.38vw,7px) * var(--blackout-scale)); }.blackout-time-axis .is-half-hour { opacity:.72; }.blackout-legend, .blackout-note { font-size:calc(clamp(8px,.56vw,10px) * var(--blackout-scale)); }.blackout-empty { font-size:calc(clamp(9px,.65vw,11px) * var(--blackout-scale)); }.blackout-panel.compact-display .blackout-timeline { min-height:calc(26px * var(--blackout-scale)); }.threat-status-chip { font-size:calc(clamp(11px,.9vw,16px) * var(--threat-scale)); }.threat-map-legend { font-size:calc(clamp(10px,.68vw,12px) * var(--threat-scale)); }.threat-map-sidebar h3 { font-size:calc(clamp(14px,1vw,18px) * var(--threat-scale)); }.threat-item strong { font-size:calc(clamp(14px,1vw,18px) * var(--threat-scale)); }.threat-item-time, .threat-item-received, .threat-item-meta, .threat-empty, .threat-item-location, .threat-map-notice, .threat-map-attribution { font-size:calc(clamp(10px,.8vw,16px) * var(--threat-scale)); }.offline-panel p { font-size:calc(clamp(18px,2.2vw,36px) * var(--offline-scale)); }.offline-panel h1 { font-size:calc(clamp(32px,5vw,76px) * var(--offline-scale)); }.offline-panel h2 { font-size:calc(clamp(20px,2.5vw,38px) * var(--offline-scale)); }.offline-panel span { font-size:calc(clamp(14px,1.4vw,22px) * var(--offline-scale)); }/* Data freshness badges share one placement and visual language on every board. */
.freshness-badge {
  position:absolute;
  z-index:4;
  top:4px;
  right:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:min(42%,320px);
  min-height:20px;
  padding:3px 8px;
  border:1px solid #4d9c78;
  border-radius:999px;
  color:#246346;
  background:#e4f4e8;
  font-size:clamp(8px,.62vw,11px);
  font-weight:800;
  line-height:1.15;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  text-transform:uppercase;
}#blackoutUpdated.freshness-badge, #weatherFreshness.freshness-badge, #threatMapUpdated.freshness-badge, #updatedAt.freshness-badge {
  min-height:20px;
  padding:3px 8px;
  font-size:clamp(8px,.62vw,11px);
  line-height:1.15;
  text-align:center;
  text-transform:uppercase;
}.freshness-badge[data-state="fresh"], .freshness-badge[data-level="fresh"] { border-color:#4d9c78; color:#246346; background:#e4f4e8; }.freshness-badge[data-state="aging"], .freshness-badge[data-level="aging"] { border-color:#c58b2c; color:#79520e; background:#fff0c9; }.freshness-badge[data-state="stale"], .freshness-badge[data-level="stale"] { border-color:#bd6948; color:#8d3727; background:#ffe4d8; }.freshness-badge[data-level="error"] { border-color:#e65d69; color:#7d1f2c; background:#ffe1e5; }.freshness-badge[data-level="waiting"] { border-color:#c58b2c; color:#79520e; background:#fff0c9; }#blackoutPanel, #weatherPanel, #schedulePanel, #threatMapPanel { position:relative; }.blackout-heading { position:relative; padding-top:22px; }.weather-topline { padding-top:22px; }.schedule-title { min-height:0; padding-top:0; flex:0 0 auto; }.schedule-title span.freshness-badge { position:absolute; top:4px; right:8px; max-width:min(38%,320px); }#weatherFreshness.freshness-badge { top:4px; right:8px; max-width:min(38%,320px); }#blackoutUpdated.freshness-badge { top:4px; right:8px; max-width:min(38%,320px); }.threat-map-status { justify-content:flex-end; }/* Keep status text readable and let the attribution link identify the source once. */
#blackoutUpdated.freshness-badge {
  grid-column:auto;
  grid-row:auto;
  justify-self:auto;
  width:max-content;
  max-width:min(48%,420px);
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
}/* Distance-readable blackout timeline: compact layout, stronger labels and
   a single centered title/date row beneath the upper-right freshness badge. */
.blackout-panel { gap:clamp(4px,.45vh,8px); }.blackout-heading { padding-top:24px; }.blackout-panel h2 {
  font-size:calc(clamp(19px,1.55vw,30px) * var(--blackout-scale));
  font-weight:800;
  letter-spacing:.01em;
  line-height:1.2;
}#blackoutAddress { font-size:calc(clamp(10px,.7vw,13px) * var(--blackout-scale)); }.blackout-days h3 {
  margin:4px 0 6px;
  font-size:calc(clamp(13px,.82vw,16px) * var(--blackout-scale));
  font-weight:850;
  letter-spacing:.035em;
}.blackout-timeline {
  min-height:calc(clamp(28px,3vh,40px) * var(--blackout-scale));
  gap:2px;
  padding:3px;
  border-color:#d2a943;
  background:#fffdf7;
  box-shadow:inset 0 1px 3px #69511d26;
}.blackout-slot { background:#75bd91; box-shadow:inset 0 0 0 1px #ffffff42; }.blackout-slot.is-out { background:#df7b67; box-shadow:inset 0 0 0 1px #ffffff3d; }.blackout-time-axis {
  margin-top:4px;
  color:#33485e;
  font-size:calc(clamp(10px,.72vw,14px) * var(--blackout-scale));
  font-weight:700;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
  text-shadow:0 1px 0 #fff;
}.blackout-time-axis .is-half-hour { color:#657488; font-size:.88em; font-weight:600; opacity:1; }.blackout-slot.is-unknown { background:repeating-linear-gradient(135deg,#b8c0c8 0 3px,#e4e8eb 3px 6px); }.blackout-empty { font-size:calc(clamp(12px,.8vw,15px) * var(--blackout-scale)); font-weight:700; }.blackout-legend {
  gap:3px 7px;
  margin-top:2px;
  color:#33485e;
  font-size:calc(clamp(10px,.68vw,13px) * var(--blackout-scale));
  font-weight:700;
  line-height:1.3;
}.blackout-legend i { width:11px; height:11px; flex:0 0 11px; }.blackout-legend i.is-out, .blackout-legend i.is-past { margin-left:4px; }.blackout-note { margin-top:1px; font-size:calc(clamp(9px,.6vw,12px) * var(--blackout-scale)); line-height:1.25; }.blackout-time-axis { color:#263b52; font-size:calc(clamp(11px,.76vw,15px) * var(--blackout-scale)); font-weight:750; }.blackout-time-axis .is-half-hour { color:#52657a; font-size:.9em; font-weight:700; }.blackout-legend { color:#263b52; font-size:calc(clamp(11px,.72vw,14px) * var(--blackout-scale)); font-weight:700; }.blackout-note { color:#76501b; font-size:calc(clamp(10px,.64vw,13px) * var(--blackout-scale)); font-weight:600; }#blackoutMessage { font-size:calc(clamp(12px,.78vw,15px) * var(--blackout-scale)); }#blackoutMessage {
  padding:4px 8px;
  border-radius:4px;
  color:#28543f;
  background:#e8f1df;
  font-size:calc(clamp(11px,.72vw,14px) * var(--blackout-scale));
  font-weight:750;
  line-height:1.25;
}#blackoutMessage[data-state="stale"], #blackoutMessage[data-state="error"] { color:#713923; background:#f8e6cf; }#blackoutMessage[data-state="error"] { color:#7d1f2c; background:#ffe1e5; }#blackoutUpdated.freshness-badge { top:4px; right:8px; }
@media (max-width:700px) {.blackout-legend { gap:4px 8px; }.blackout-time-axis { font-size:calc(10px * var(--blackout-scale)); }
}.freshness-badge[data-state="error"] { border-color:#e65d69; color:#7d1f2c; background:#ffe1e5; }#threatMapUpdated.freshness-badge[data-level="fresh"] { border-color:#4d9c78; color:#246346; background:#e4f4e8; }#threatMapUpdated.freshness-badge[data-level="aging"] { border-color:#c58b2c; color:#79520e; background:#fff0c9; }#threatMapUpdated.freshness-badge[data-level="stale"] { border-color:#bd6948; color:#8d3727; background:#ffe4d8; }#threatMapUpdated.freshness-badge[data-level="error"] { border-color:#e65d69; color:#7d1f2c; background:#ffe1e5; }#threatMapUpdated.freshness-badge[data-level="waiting"] { border-color:#c58b2c; color:#79520e; background:#fff0c9; }#threatFeedStatus[data-level="ok"] { border-color:#3c9b76; color:#dff8eb; background:#174b3d; }#threatFeedStatus[data-level="warning"], #threatFeedStatus[data-level="coordinates-unavailable"] { border-color:#dca967; color:#21180d; background:#d89143; }#threatFeedStatus[data-level="error"] { border-color:#e65d69; color:#ffdce0; background:#54202a; }#threatFeedStatus[data-level="waiting"] { border-color:#a8843e; color:#f8e6b4; background:#10243a; }

@media(max-width:760px) {
}body[data-sources-visible="false"] [data-source-attribution] { display:none !important; }.source-attribution { color:inherit; font-size:clamp(9px,.65vw,12px); line-height:1.2; text-align:right; text-decoration:underline; text-underline-offset:2px; }.air-alert { position:relative; }.air-alert .source-attribution { align-self:flex-end; flex:0 0 100%; margin-left:0; }.weather-panel { position:relative; padding-bottom:calc(22px * var(--weather-scale)); }.weather-panel > .source-attribution { position:absolute; right:8px; bottom:4px; color:#53657a; }.blackout-panel { padding-bottom:calc(8px * var(--blackout-scale)); }.blackout-panel > .source-attribution { align-self:flex-end; margin-top:auto; color:#53657a; }.schedule-source { align-self:flex-end; flex:0 0 auto; margin-top:3px; color:var(--muted); }.threat-map-sidebar { position:relative; }.threat-map-attribution { text-align:right; }.threat-map-attribution > [data-source-attribution] { display:block; }.threat-map-attribution > [data-source-attribution][hidden] { display:none; }

@media (max-width:760px) {.threat-map-layout { grid-template-columns:1fr; }
}
@media (max-width:900px) {.threat-map-bottom-legend { padding:2px 4px; }.threat-map-target-legend { gap:1px 2px; }.threat-map-target-legend > span { gap:2px; font-size:calc(8px * var(--threat-scale,1)); }.threat-map-bottom-legend svg { width:22px; height:22px; flex-basis:22px; }.threat-map-bottom-legend .osm-attribution { text-align:center; }
}/* Full cycle labels remain readable while following each panel's independent scale. */
.cycle-countdown { position:absolute; z-index:3; top:4px; left:8px; width:max-content; max-width:min(40%,460px); padding:4px 9px; border:1px solid #d7b64e; border-radius:10px; color:#f6df91; background:#263348; font-size:calc(clamp(10px,.72vw,13px) * var(--schedule-scale,1)); font-weight:800; line-height:1.2; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.threat-map-heading .cycle-countdown { max-width:min(32%,320px); }.schedule-title .cycle-countdown { top:4px; left:8px; right:auto; max-width:min(38%,460px); color:#f6df91; }
@media(max-width:760px) {.cycle-countdown { position:static; width:auto; max-width:100%; justify-self:center; white-space:normal; overflow-wrap:anywhere; }.schedule-title .cycle-countdown { position:static; max-width:100%; }
}/* Offline display: reserve separate rows for every message to prevent overlap. */
.offline-panel {
  justify-content:space-evenly;
  gap:clamp(8px,1.4vh,16px);
  padding:clamp(18px,3vh,42px) 5vw;
  overflow:auto;
  opacity:1;
  transform:translateY(0);
  transition:opacity .52s ease,transform .52s ease;
}.offline-panel.is-leaving { opacity:0 !important; transform:translateY(10px); pointer-events:none; }.offline-panel .offline-court {
  position:static;
  flex:0 0 auto;
  width:96vw;
  max-width:none;
  font-size:calc(clamp(14px,1.8vw,34px) * var(--offline-scale,1));
  line-height:1.12;
  white-space:nowrap;
  overflow-wrap:normal;
}.offline-emblem {
  position:relative;
  flex:0 1 auto;
  width:min(calc(66vw * var(--offline-scale,1)),calc(52vh * var(--offline-scale,1)),760px);
  height:min(calc(66vw * var(--offline-scale,1)),calc(52vh * var(--offline-scale,1)),760px);
  max-width:80vw;
  max-height:52vh;
  animation:none;
}.offline-panel h1, .offline-status, .offline-detail {
  position:static;
  flex:0 0 auto;
  width:min(100%,1600px);
  margin:0;
  overflow-wrap:anywhere;
}.offline-panel h1 {
  font-size:calc(clamp(26px,4.2vw,64px) * var(--offline-scale,1));
  line-height:1.08;
}.offline-panel .offline-status {
  color:#fff0b5;
  font-size:calc(clamp(15px,1.8vw,26px) * var(--offline-scale,1));
  line-height:1.25;
}.offline-panel .offline-detail {
  max-width:88vw;
  color:#d8e0ea;
  font-size:calc(clamp(12px,1.25vw,19px) * var(--offline-scale,1));
  line-height:1.35;
}
@media(max-height:560px) {.offline-panel { justify-content:flex-start; gap:8px; padding:12px 5vw; }.offline-emblem { width:min(42vw,38vh,420px); height:min(42vw,38vh,420px); max-height:38vh; }.offline-panel .offline-court { font-size:calc(clamp(14px,2.2vw,24px) * var(--offline-scale,1)); }.offline-panel h1 { font-size:calc(clamp(17px,3vh,25px) * var(--offline-scale,1)); }.offline-panel .offline-status { font-size:calc(clamp(12px,2.4vh,17px) * var(--offline-scale,1)); }.offline-panel .offline-detail { font-size:calc(11px * var(--offline-scale,1)); }
}

@media(max-width:760px) {.offline-panel .offline-court {
    width:100%;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:calc(clamp(13px,3.6vw,24px) * var(--offline-scale,1));
  }.offline-emblem { width:min(calc(70vw * var(--offline-scale,1)),calc(42vh * var(--offline-scale,1)),420px); height:min(calc(70vw * var(--offline-scale,1)),calc(42vh * var(--offline-scale,1)),420px); max-height:42vh; }
}/* Keep the stand fixed; move the loaded balance assembly and the falling documents in sync. */
.offline-emblem svg { filter:drop-shadow(0 0 9px #e7c65b33) drop-shadow(0 5px 12px #0008); animation:offline-warm-glow 10s ease-in-out infinite; }.offline-balance-assembly { transform-box:view-box; transform-origin:320px 145px; animation:offline-load-balance 12s ease-in-out infinite; }.offline-law-book { filter:drop-shadow(0 3px 6px #0008) drop-shadow(0 0 4px #d6b64c33); }.offline-book-contact-shadow { filter:blur(2px); }.offline-pan { transform-box:view-box; }.offline-document-stack { transform-box:view-box; }/* Documents stay fixed to the trays and inherit the balance assembly's exact swing. */
.offline-doc-left { animation:offline-documents-drop-left 12s ease-in-out infinite; }.offline-doc-right { animation:offline-documents-drop-right 12s ease-in-out infinite; }.offline-pan-impact { animation:offline-pan-impact 12s linear infinite; }.offline-beam-glint { animation:offline-beam-glow 8s ease-in-out infinite; }.offline-scale-sparkle { opacity:.52; }
@keyframes offline-warm-glow {0%, 100% { filter:drop-shadow(0 0 8px #d6b64c2b) drop-shadow(0 5px 12px #0008); }50% { filter:drop-shadow(0 0 12px #f5d66b4d) drop-shadow(0 5px 12px #0008); } }
@keyframes offline-load-balance {0%, 17% { transform:rotate(0deg); }22%, 40% { transform:rotate(-1.4deg); }50%, 60% { transform:rotate(0deg); }65%, 83% { transform:rotate(1.4deg); }93%, 100% { transform:rotate(0deg); }
}
@keyframes offline-documents-drop-left {0%, 8% { opacity:0; transform:translateY(-54px) scale(.94); }16% { opacity:.72; transform:translateY(-3px) scale(.99); }17% { opacity:1; transform:translateY(0) scale(1); }18.5% { opacity:1; transform:translateY(3px) scale(1.01); }20% { opacity:1; transform:translateY(-1px) scale(1); }22% { opacity:1; transform:translateY(0) scale(1); }42% { opacity:1; transform:translateY(0) scale(1); }50%, 100% { opacity:0; transform:translateY(10px) scale(.99); }
}
@keyframes offline-documents-drop-right {0%, 50% { opacity:0; transform:translateY(-54px) scale(.94); }59% { opacity:.72; transform:translateY(-3px) scale(.99); }60% { opacity:1; transform:translateY(0) scale(1); }61.5% { opacity:1; transform:translateY(3px) scale(1.01); }63% { opacity:1; transform:translateY(-1px) scale(1); }65% { opacity:1; transform:translateY(0) scale(1); }85% { opacity:1; transform:translateY(0) scale(1); }93%, 100% { opacity:0; transform:translateY(10px) scale(.99); }
}

@keyframes offline-pan-impact {0%, 16% { opacity:0; }17% { opacity:.95; }18.5% { opacity:.35; }20%, 59% { opacity:0; }60% { opacity:.95; }61.5% { opacity:.35; }63%, 100% { opacity:0; }
}
@keyframes offline-beam-glow {0%, 100% { opacity:.18; }50% { opacity:.42; } }
@media(prefers-reduced-motion:reduce) {.offline-panel { transition:none !important; }.offline-document-stack, .offline-beam-glint, .offline-pan-impact, .offline-flag-cloth, .offline-balance-assembly, .offline-emblem svg { animation:none !important; }.offline-doc-left, .offline-doc-right { opacity:1; transform:none; filter:none; animation:none !important; }.offline-pan-impact { opacity:0 !important; }
}/* National symbols flank the emblem in the clear outer margins. */
.offline-flag-cloth { transform-box:view-box; transform-origin:44px 100px; animation:offline-flag-wave 6.5s ease-in-out infinite; }
@keyframes offline-flag-wave {0%, 100% { transform:skewY(0deg); }50% { transform:skewY(-.45deg); } }
@media(prefers-reduced-motion:reduce) {.offline-flag-cloth { animation:none !important; } }/* Keep the flag, coat of arms, and judge medallion in one warm metallic visual language. */
.offline-national-flag, .offline-national-emblem, .offline-central-judge { filter:drop-shadow(0 0 6px #d6b64c44) drop-shadow(0 3px 7px #0009); }.offline-flag-cloth { filter:drop-shadow(0 0 5px #e4c66b55); }/* A fitted shield frame shares the flag and scales' warm gold finish while preserving the official trident artwork. */
.offline-coat-frame-shadow { fill:#6a5016; stroke:#40300f; stroke-width:5; opacity:.95; }.offline-coat-frame { fill:url(#offlineCourtScalesGold); stroke:#8e7024; stroke-width:2.5; }.offline-coat-frame-inner { fill:#17334a; stroke:#fff0ad; stroke-width:1.5; opacity:.98; }.offline-coat-art { filter:sepia(.2) saturate(.94) drop-shadow(0 0 4px #f5d66b77) drop-shadow(0 2px 4px #0008); }.offline-coat-frame-rim { fill:none; stroke:url(#offlineCourtScalesGold); stroke-width:4; stroke-linejoin:round; }.offline-coat-frame-glint { fill:none; stroke:#fff4c4; stroke-width:1.5; opacity:.78; }.offline-mini-coat-shadow { fill:#6a5016; stroke:#40300f; stroke-width:2; }.offline-mini-coat-art { filter:sepia(.16) saturate(.96) drop-shadow(0 0 2px #ffe89a) drop-shadow(0 1px 2px #6a5016); }.offline-mini-coat-rim { fill:none; stroke:url(#offlineCourtScalesGold); stroke-width:1.8; stroke-linejoin:round; }.offline-national-emblem image { image-rendering:auto; }/* Compact, consistent information hierarchy in the threat-map sidebar. */
.threat-map-status { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); justify-content:stretch; gap:calc(5px * var(--threat-scale)); padding:calc(6px * var(--threat-scale)) calc(8px * var(--threat-scale)) 0; }.threat-map-status .threat-status-chip { box-sizing:border-box; width:100%; min-height:calc(30px * var(--threat-scale)); padding:calc(5px * var(--threat-scale)) calc(8px * var(--threat-scale)); overflow-wrap:anywhere; }.threat-map-status #threatAlertStatus, .threat-map-status .source-comparison-status { grid-column:1/-1; }.ukrainealarm-active-regions { max-height:min(24%,calc(170px * var(--threat-scale))); }.threat-map-notice { margin:calc(4px * var(--threat-scale)) calc(8px * var(--threat-scale)); padding:calc(5px * var(--threat-scale)) calc(7px * var(--threat-scale)); border-left:2px solid #d89143; border-radius:0 5px 5px 0; background:#10243a; font-size:calc(clamp(9px,.68vw,12px) * var(--threat-scale)); line-height:1.25; }.threat-map-attribution { padding:0 calc(8px * var(--threat-scale)) calc(7px * var(--threat-scale)); font-size:calc(clamp(9px,.62vw,11px) * var(--threat-scale)); line-height:1.2; }.threat-map-items { scrollbar-width:thin; scrollbar-color:#526d88 #0b1b2d; }.threat-map-items > * { min-width:0; overflow-wrap:anywhere; }.threat-map-notice { flex:0 0 auto; }/* Scale each whole panel while keeping its scaled width matched to the available slot. */
.panel-scale-viewport { display:contents; }.panel-scale-viewport[hidden] { display:none !important; }.panel-scale-content--group, .schedule-display { display:contents; }.panel-scale-viewport.is-scaled {
  display:block;
  position:relative;
  box-sizing:border-box;
  width:100%;
  height:var(--panel-view-height);
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:none;
  flex:0 0 var(--panel-view-height);
  align-self:stretch;
  justify-self:stretch;
  margin-inline:0;
  overflow:hidden;
}.panel-scale-viewport.is-scaled[data-scale-panel="schedule"], .panel-scale-viewport.is-scaled[data-scale-panel="threat-map"] {
  /* These panels must receive their parent's remaining height before the
     scaled child is measured. A custom-property flex basis is unset on the
     first render, so it collapses this viewport to zero and hides both the
     schedule and maps. */
  height:auto;
  flex:1 1 0;
}.panel-scale-viewport.is-scaled > .panel-scale-content {
  position:absolute;
  inset:0 0 auto 0;
  box-sizing:border-box;
  width:100%;
  height:auto;
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:none;
}.panel-scale-viewport.is-scaled > .panel-scale-content--group { display:flex; flex-direction:column; gap:4px; }.panel-scale-viewport.is-scaled > .schedule-display { display:flex; flex-direction:column; }.schedule-display[hidden] { display:none !important; }.panel-scale-viewport.is-offline-viewport {
  position:fixed;
  z-index:12000;
  left:0;
  top:50%;
  width:100vw;
  transform:translateY(-50%);
}.panel-scale-viewport.is-offline-viewport > .offline-panel {
  position:absolute !important;
  inset:0 auto auto 0 !important;
  height:var(--panel-base-height) !important;
  max-width:100% !important;
  max-height:none !important;
}.board-header { --header-scale:1 !important; }.schedule { --schedule-scale:1 !important; }.air-alert { --alert-title-size:clamp(30px,3.6vw,60px) !important; --alert-meta-size:clamp(20px,2vw,36px) !important; --alert-padding-y:clamp(18px,2vh,34px) !important; --alert-padding-x:clamp(16px,2vw,32px) !important; --alert-gap-y:18px !important; --alert-gap-x:24px !important; --alert-source-size:clamp(13px,1vw,17px) !important; }.blackout-panel { --blackout-scale:1 !important; --weather-scale:1 !important; }.weather-panel { --weather-scale:1 !important; }.threat-map-panel { --threat-scale:1 !important; }.offline-panel { --offline-scale:1 !important; }/* UkraineAlarm status records are already the primary list in this mode.
   Keep them compact and stable so refreshes do not resize the sidebar. */
.threat-item--official {
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"head head" "place kind";
  align-items:center;
  gap:3px 10px;
  padding:6px 9px;
}.threat-item--official .threat-item-header { grid-area:head; }.threat-item--official .threat-item-location {
  grid-area:place;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:calc(clamp(12px,.82vw,15px) * var(--threat-scale));
}.threat-item--official .threat-item-meta {
  grid-area:kind;
  color:#b9cee2;
  text-align:right;
  white-space:nowrap;
  font-size:calc(clamp(10px,.68vw,12px) * var(--threat-scale));
}.threat-item--official strong { font-size:calc(clamp(13px,.9vw,16px) * var(--threat-scale)); }.threat-item--official .threat-item-time { font-size:calc(clamp(10px,.66vw,12px) * var(--threat-scale)); }.threat-item--neptun, .threat-item--mapa, .threat-item--combined { gap:calc(3px * var(--threat-scale)); padding:calc(6px * var(--threat-scale)) calc(9px * var(--threat-scale)); }.threat-item--neptun { border-left:2px solid #55b7bd; }.threat-item--mapa { border-left:2px solid #46b7d5; }.threat-item--combined { border-left:2px solid #d1a4e8; }.threat-item-meta-row { display:flex; align-items:baseline; justify-content:space-between; gap:8px; min-width:0; }.threat-item-meta-row .threat-item-meta { min-width:0; }.threat-item-meta-row .threat-item-received { flex:0 0 auto; white-space:nowrap; font-size:calc(clamp(9px,.62vw,11px) * var(--threat-scale)); }
@media (max-width:900px) {.threat-item--official { grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "place" "kind"; }.threat-item--official .threat-item-meta { text-align:left; white-space:normal; }.threat-item-meta-row { align-items:flex-start; flex-direction:column; gap:2px; }.threat-item-meta-row .threat-item-received { white-space:normal; }
}/* Threat map overlays: keep map controls inside the canvas and freshness in its status panel. */
.threat-map-map-heading {
  position:absolute;
  z-index:4;
  top:0;
  left:50%;
  width:100%;
  min-width:0;
  transform:translateX(-50%);
  pointer-events:none;
}.threat-map-map-heading h2 {
  width:fit-content;
  max-width:calc(100% - 230px);
  margin:0 auto;
  padding:0 8px;
  border:0;
  border-radius:0;
  color:#ff963f;
  background:transparent;
  box-shadow:none;
  text-shadow:0 2px 4px #071525,0 0 8px #071525;
  font-size:calc(clamp(18px,1.5vw,27px) * var(--threat-scale));
  line-height:1.12;
  text-align:center;
  text-wrap:balance;
  pointer-events:auto;
}.threat-map-sidebar-heading {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:6px;
  min-width:0;
  padding:calc(5px * var(--threat-scale)) calc(8px * var(--threat-scale));
  border-bottom:1px solid #345676;
  background:#10243a;
}.threat-map-sidebar-heading h3 {
  min-width:0;
  padding:0;
  border:0;
  text-align:center;
}#threatMapUpdated.freshness-badge {
  position:static;
  grid-column:2;
  grid-row:1;
  justify-self:end;
  max-width:min(40%,320px);
  margin:0;
  font-size:calc(clamp(9px,.68vw,12px) * var(--threat-scale));
  line-height:1.15;
  white-space:normal;
}.threat-map-status { justify-content:stretch; }
@media(max-width:760px) {.threat-map-map-heading { top:4px; display:flex; flex-direction:column; align-items:center; gap:4px; padding:0 6px; }.threat-map-map-heading h2 { order:0; max-width:100%; font-size:calc(clamp(15px,3.6vw,21px) * var(--threat-scale)); }.threat-map-sidebar-heading { grid-template-columns:minmax(0,1fr); }.threat-map-sidebar-heading h3 { grid-column:1; grid-row:1; padding-right:0; }#threatMapUpdated.freshness-badge { grid-column:1; grid-row:2; justify-self:end; max-width:100%; }
}/* Keep the regional legend off the map face; the disclosure opens upward from the footer. */
.threat-map-bottom-legend {
  position:relative;
  grid-template-columns:max-content minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  gap:2px 8px;
}.threat-map-bottom-legend .threat-map-legend-bottom {
  position:relative;
  top:auto;
  left:auto;
  grid-column:1;
  grid-row:1;
  align-self:center;
  width:max-content;
  max-width:190px;
  padding:0;
  border:0;
  border-radius:0;
  color:#dce8f4;
  background:transparent;
  font-size:clamp(8px,.68vw,11px);
  font-weight:800;
}.threat-map-bottom-legend .threat-map-legend-bottom > summary {
  width:max-content;
  padding:0;
  border:0;
  border-radius:0;
  color:#dce8f4;
  background:transparent;
  font-size:clamp(8px,.68vw,11px);
  font-weight:800;
  line-height:1.2;
  list-style-position:outside;
  white-space:nowrap;
}.threat-map-bottom-legend .threat-map-legend-bottom[open] {
  position:absolute;
  z-index:5;
  bottom:calc(100% + 3px);
  left:4px;
  width:fit-content;
  max-width:min(520px,calc(100% - 8px));
  padding:6px 8px;
  border:1px solid #476783;
  border-radius:7px;
  background:#071525f5;
  box-shadow:0 3px 12px #0008;
}.threat-map-bottom-legend .threat-map-legend-bottom .threat-map-legend-items { gap:4px 9px; }.threat-map-bottom-legend .threat-map-legend-bottom .threat-map-legend-items span { max-width:100%; white-space:normal; overflow-wrap:anywhere; }.threat-map-bottom-legend .threat-target-legend-control { grid-column:2; grid-row:1; }.threat-map-bottom-legend > .osm-attribution { grid-column:1/-1; grid-row:2; }.threat-map-sidebar-heading {
  grid-template-columns:minmax(0,1fr) auto;
  min-height:calc(38px * var(--threat-scale));
  padding:calc(4px * var(--threat-scale)) calc(7px * var(--threat-scale));
}.threat-map-sidebar-heading h3 {
  font-size:calc(clamp(14px,.95vw,17px) * var(--threat-scale));
  line-height:1.15;
  text-wrap:balance;
}#threatMapUpdated.freshness-badge {
  max-width:min(43%,300px);
  min-height:0;
  padding:calc(3px * var(--threat-scale)) calc(7px * var(--threat-scale));
  font-size:calc(clamp(8px,.58vw,10px) * var(--threat-scale));
}.threat-map-sidebar .threat-map-status {
  flex:0 0 auto;
  padding-top:calc(5px * var(--threat-scale));
}.threat-map-sidebar .threat-map-items {
  overscroll-behavior:contain;
}
@media(max-width:760px) {.threat-map-bottom-legend { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:2px 5px; }.threat-map-bottom-legend .threat-map-legend-bottom { max-width:100%; }.threat-map-sidebar-heading { grid-template-columns:minmax(0,1fr) auto; }.threat-map-sidebar-heading h3 { grid-column:1; grid-row:1; }#threatMapUpdated.freshness-badge { grid-column:2; grid-row:1; max-width:min(45vw,220px); }
}/* Keep the two map legend controls visually equal, using the original legend text color. */
.threat-map-bottom-legend .threat-map-legend-bottom > summary, .threat-map-bottom-legend .threat-target-legend-control > summary {
  color:#dce8f4;
  font-family:inherit;
  font-size:calc(clamp(10px,.68vw,12px) * var(--threat-scale));
  font-weight:700;
}/* Crisp legend text: prevent underlying map labels and glow effects from muddying the controls. */
.threat-map-bottom-legend .threat-map-legend-bottom[open] { background:#071525; }.threat-map-bottom-legend .threat-map-legend-bottom > summary, .threat-map-bottom-legend .threat-target-legend-control > summary {
  font-family:"Segoe UI",Arial,sans-serif;
  font-weight:600;
  text-shadow:none;
  -webkit-text-stroke:0;
}.threat-map-bottom-legend .threat-map-legend-items span {
  color:#e7eff8;
  font-family:"Segoe UI",Arial,sans-serif;
  font-weight:500;
  text-shadow:none;
}.threat-map-bottom-legend .threat-map-target-legend > span {
  color:#e7eff8;
  font-family:"Segoe UI",Arial,sans-serif;
  font-weight:500;
  text-shadow:none;
}.threat-map-bottom-legend .threat-map-target-legend b {
  color:inherit;
  font-weight:600;
  text-shadow:none;
}.threat-map-bottom-legend .legend-dot { box-shadow:none; }/* Compact the live alert sidebar while keeping every distinct source/status visible. */
.threat-map-sidebar-heading {
  grid-template-columns:minmax(0,1fr) auto;
  gap:calc(4px * var(--threat-scale));
  min-height:calc(34px * var(--threat-scale));
  padding:calc(3px * var(--threat-scale)) calc(7px * var(--threat-scale));
}.threat-map-sidebar-heading h3 {
  font-size:calc(clamp(13px,.86vw,16px) * var(--threat-scale));
  line-height:1.1;
  white-space:nowrap;
}#threatMapUpdated.freshness-badge {
  max-width:min(43%,280px);
  padding:calc(2px * var(--threat-scale)) calc(6px * var(--threat-scale));
  font-size:calc(clamp(8px,.54vw,9px) * var(--threat-scale));
  line-height:1.1;
}.threat-map-sidebar .threat-map-status {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:calc(3px * var(--threat-scale));
  padding:calc(4px * var(--threat-scale)) calc(6px * var(--threat-scale)) 0;
}.threat-map-sidebar .threat-map-status .threat-status-chip {
  min-height:calc(24px * var(--threat-scale));
  padding:calc(3px * var(--threat-scale)) calc(7px * var(--threat-scale));
  border-radius:calc(8px * var(--threat-scale));
  font-size:calc(clamp(10px,.74vw,13px) * var(--threat-scale));
  line-height:1.15;
}.threat-map-sidebar .threat-map-status #threatAlertStatus, .threat-map-sidebar .threat-map-status #sourceComparisonStatus { grid-column:1/-1; }.threat-map-sidebar .ukrainealarm-active-regions {
  max-height:min(19%,calc(125px * var(--threat-scale)));
  margin:calc(3px * var(--threat-scale)) calc(7px * var(--threat-scale));
  padding:calc(4px * var(--threat-scale)) calc(6px * var(--threat-scale));
}.threat-map-sidebar .ukrainealarm-active-regions li { padding:calc(1px * var(--threat-scale)) calc(4px * var(--threat-scale)); }
@media(max-width:760px) {.threat-map-sidebar-heading h3 { white-space:normal; }#threatMapUpdated.freshness-badge { max-width:min(44vw,220px); }
}.threat-map-bottom-legend .threat-map-legend-bottom[open] {
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}/* Expanded legend uses its own footer space instead of covering map geography. */
.threat-map-bottom-legend .threat-map-legend-bottom > summary { list-style-position:inside; }.threat-map-bottom-legend .threat-map-legend-bottom[open] {
  position:static;
  grid-column:1/-1;
  grid-row:1;
  align-self:end;
  width:min(520px,100%);
  max-width:100%;
  margin-left:calc(5px * var(--threat-scale));
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}.threat-map-bottom-legend .threat-map-legend-bottom[open] .threat-map-legend-items {
  padding-top:calc(3px * var(--threat-scale));
}.threat-map-bottom-legend .threat-target-legend-control { align-self:end; }.threat-map-bottom-legend .threat-map-legend-bottom[open] ~ .threat-target-legend-control { grid-column:1/-1; grid-row:2; }.threat-map-bottom-legend .threat-map-legend-bottom[open] ~ .osm-attribution { grid-row:3; }
@media(max-width:760px) {.threat-map-bottom-legend .threat-map-legend-bottom[open] { width:100%; margin-left:0; }
}/* Keep the map legend on one compact line so its footer does not consume map height. */
.threat-map-bottom-legend {
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto;
  row-gap:calc(1px * var(--threat-scale));
}.threat-map-bottom-legend .threat-map-legend-bottom { grid-column:1/-1; grid-row:1; }.threat-map-bottom-legend .threat-map-legend-bottom[open] {
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:center;
  column-gap:calc(8px * var(--threat-scale));
  width:100%;
  max-width:100%;
  margin:0;
}.threat-map-bottom-legend .threat-map-legend-bottom[open] > summary { grid-column:1; grid-row:1; }.threat-map-bottom-legend .threat-map-legend-bottom[open] .threat-map-legend-items {
  grid-column:2;
  grid-row:1;
  flex-wrap:nowrap;
  align-items:center;
  gap:calc(3px * var(--threat-scale)) calc(7px * var(--threat-scale));
  min-width:0;
  padding:0;
}.threat-map-bottom-legend .threat-map-legend-bottom[open] .threat-map-legend-items span {
  flex:0 0 auto;
  max-width:none;
  white-space:nowrap;
  overflow-wrap:normal;
  font-size:calc(clamp(9px,.58vw,10px) * var(--threat-scale));
}.threat-map-bottom-legend .threat-target-legend-control { grid-column:1/-1; grid-row:2; }.threat-map-bottom-legend .threat-map-legend-bottom[open] ~ .threat-target-legend-control { grid-column:1/-1; grid-row:2; }.threat-map-bottom-legend > .osm-attribution, .threat-map-bottom-legend .threat-map-legend-bottom[open] ~ .osm-attribution { grid-column:1/-1; grid-row:3; }.threat-map-bottom-legend .threat-map-target-legend svg {
  width:calc(23px * var(--threat-scale));
  height:calc(23px * var(--threat-scale));
  flex-basis:calc(23px * var(--threat-scale));
}
@media(max-width:900px) {.threat-map-bottom-legend .threat-map-legend-bottom[open] .threat-map-legend-items { flex-wrap:wrap; }.threat-map-bottom-legend .threat-map-legend-bottom[open] .threat-map-legend-items span { white-space:normal; }
}/* Place the short regional heading and freshness state on one compact header line. */
.threat-map-sidebar-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:calc(6px * var(--threat-scale));
  min-height:calc(34px * var(--threat-scale));
}.threat-map-sidebar-heading h3 {
  flex:0 1 auto;
  min-width:0;
  margin:0;
  text-align:left;
  white-space:nowrap;
  font-size:calc(clamp(12px,.78vw,14px) * var(--threat-scale));
}#threatMapUpdated.freshness-badge {
  position:static;
  flex:0 0 auto;
  width:max-content;
  max-width:62%;
  margin:0;
  padding:calc(2px * var(--threat-scale)) calc(6px * var(--threat-scale));
  font-size:calc(clamp(8px,.52vw,9px) * var(--threat-scale));
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:760px) {.threat-map-sidebar-heading { display:flex; justify-content:space-between; }.threat-map-sidebar-heading h3 { grid-column:auto; grid-row:auto; white-space:normal; }#threatMapUpdated.freshness-badge { grid-column:auto; grid-row:auto; max-width:58%; }
}
/* Full-screen nationwide minute of silence, shared by TV and admin preview. */
.minute-silence-overlay {
  position:fixed; inset:0; z-index:1000; display:grid; place-items:center;
  padding:clamp(18px,4vw,64px); overflow:hidden; color:#f6e9c1;
  background:radial-gradient(ellipse at 50% 58%,rgba(91,59,23,.35),transparent 42%),rgba(5,13,24,.97);
  isolation:isolate;
}
.minute-silence-overlay[hidden] { display:none; }
.minute-silence-overlay::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.22; background:linear-gradient(135deg,transparent 35%,rgba(226,187,92,.08),transparent 70%); }
.minute-silence-card { box-sizing:border-box; width:min(100%,1400px); min-height:min(72vh,720px); display:grid; grid-template-columns:minmax(130px,20%) minmax(0,1fr); align-items:center; justify-items:center; gap:clamp(20px,5vw,76px); padding:clamp(28px,6vw,92px); border:1px solid rgba(226,187,92,.36); border-radius:clamp(16px,2.2vw,30px); background:linear-gradient(145deg,rgba(16,34,52,.92),rgba(9,20,32,.94)); box-shadow:0 0 75px rgba(207,153,53,.12),inset 0 1px 0 rgba(255,244,200,.12); text-align:center; }
.minute-silence-ukraine-outline { display:none; }
.minute-silence-candle { width:clamp(100px,15vw,220px); filter:drop-shadow(0 0 20px rgba(239,174,67,.22)); }
.minute-silence-candle svg { display:block; width:100%; height:auto; overflow:visible; shape-rendering:geometricPrecision; }
.candle-body { fill:url(#minuteCandleGold); stroke:#f6df9c; stroke-width:1.8; stroke-linejoin:round; }
.candle-body-highlight { fill:none; stroke:rgba(255,244,190,.62); stroke-width:2.2; stroke-linecap:round; }
.candle-top { fill:url(#minuteWaxGold); stroke:#fff0b0; stroke-width:1.5; }
.candle-rim,.candle-wick { fill:none; stroke:#f3d889; stroke-width:3; stroke-linecap:round; }
.candle-drip-fill { fill:#f4d27b; stroke:#fff0b0; stroke-width:.8; stroke-linejoin:round; }
.candle-flame-glow { fill:#efa942; opacity:.3; filter:blur(8px); transform-origin:60px 45px; animation:minute-flame-glow 2.8s ease-in-out infinite alternate; }
.candle-flame { fill:url(#minuteFlameGold); stroke:#fff3bf; stroke-width:1.5; transform-origin:60px 45px; animation:minute-flame 1.7s ease-in-out infinite alternate; }
.candle-flame-core { fill:#fff9d4; opacity:.86; transform-origin:60px 45px; animation:minute-flame 1.5s ease-in-out infinite alternate; }
.minute-silence-copy { max-width:1000px; }
.minute-silence-eyebrow { margin:0 0 .3em; color:#d5b86f; font-size:clamp(16px,2vw,30px); letter-spacing:.18em; text-transform:uppercase; }
.minute-silence-copy h1 { margin:0; color:#f5d987; font-size:clamp(38px,7vw,104px); line-height:1.04; letter-spacing:.015em; text-shadow:0 2px 24px rgba(218,168,72,.18); }
.minute-silence-subtitle { margin:clamp(14px,2.2vw,32px) 0 0; color:#e7eaf0; font-size:clamp(19px,2.7vw,40px); line-height:1.25; }
.minute-silence-countdown { display:inline-flex; margin-top:clamp(20px,3vw,42px); min-width:3.4em; justify-content:center; color:#f4d58a; font-variant-numeric:tabular-nums; font-size:clamp(28px,4.3vw,64px); letter-spacing:.08em; }
.minute-silence-overlay.layout-ukraine-candle { background:#100c08; }
.minute-silence-overlay.layout-ukraine-candle .minute-silence-card { position:relative; overflow:hidden; height:min(86vh,780px); min-height:min(78vh,620px); grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto minmax(0,1fr) auto; gap:clamp(8px,1.2vh,16px); padding:clamp(18px,3vh,40px) clamp(18px,5vw,72px); border-color:rgba(235,190,81,.24); background:linear-gradient(180deg,#17110b 0%,#100c08 66%,#090807 100%); box-shadow:none; }
.layout-ukraine-candle .minute-silence-ukraine-outline { position:absolute; z-index:0; display:block; inset:30% 18% 12%; width:64%; height:58%; overflow:visible; pointer-events:none; filter:drop-shadow(0 0 4px rgba(22,112,223,.34)) drop-shadow(0 0 9px rgba(239,190,64,.12)); shape-rendering:geometricPrecision; }
.minute-outline-blue,.minute-outline-gold { fill:none; vector-effect:non-scaling-stroke; stroke-linejoin:round; stroke-linecap:round; }
.minute-outline-blue { stroke:#1475df; stroke-width:6; }
.minute-outline-gold { stroke:#ffda59; stroke-width:2.5; }
.layout-ukraine-candle .minute-silence-copy { display:contents; }
.layout-ukraine-candle .minute-silence-eyebrow,.layout-ukraine-candle .minute-silence-copy h1 { z-index:1; grid-column:1; justify-self:center; align-self:center; max-width:100%; margin:0; color:#fff5df; font-family:Georgia,"Times New Roman",serif; font-weight:700; line-height:1.08; text-align:center; text-shadow:0 2px 4px #000; }
.layout-ukraine-candle .minute-silence-eyebrow { grid-row:1; padding:0; font-size:clamp(19px,2.5vw,36px); letter-spacing:.04em; text-transform:none; }
.layout-ukraine-candle .minute-silence-copy h1 { grid-row:2; font-size:clamp(34px,4.6vw,68px); letter-spacing:0; text-wrap:balance; }
.layout-ukraine-candle .minute-silence-subtitle { z-index:1; grid-column:1; grid-row:3; justify-self:center; max-width:100%; margin:0; color:#f1c96c; font-family:Georgia,"Times New Roman",serif; font-size:clamp(18px,2.4vw,34px); font-weight:700; line-height:1.15; text-align:center; text-shadow:0 2px 4px #000; }
.layout-ukraine-candle .minute-silence-candle { position:absolute; z-index:1; top:53%; left:50%; width:clamp(110px,18vh,175px); height:auto; max-height:none; transform:translate(-50%,-50%); filter:drop-shadow(0 0 10px rgba(255,190,67,.24)) drop-shadow(0 5px 8px rgba(0,0,0,.4)); pointer-events:none; }
.layout-ukraine-candle .minute-silence-countdown { z-index:1; grid-column:1; grid-row:5; justify-self:center; margin:0; min-width:0; color:#fff0d4; font-family:Georgia,"Times New Roman",serif; font-size:clamp(32px,4.5vw,68px); font-weight:700; letter-spacing:.015em; text-shadow:0 2px 5px #000; }
.layout-ukraine-candle .minute-silence-countdown::before { content:"До завершення: "; }
.layout-ukraine-candle.night { background:#07101b; }
.layout-ukraine-candle.night .minute-silence-card { background:linear-gradient(180deg,#121b27 0%,#0b1420 66%,#070d15 100%); }
.layout-ukraine-candle.night .minute-silence-subtitle { color:#e3c875; }
.minute-silence-overlay.night { background:radial-gradient(ellipse at 50% 58%,rgba(44,55,91,.3),transparent 42%),rgba(4,9,20,.98); }
.minute-silence-overlay.night .minute-silence-card { border-color:rgba(143,166,216,.35); background:linear-gradient(145deg,rgba(18,28,48,.95),rgba(7,14,27,.97)); }
.minute-silence-overlay.night .minute-silence-copy h1,.minute-silence-overlay.night .minute-silence-countdown { color:#d4def5; }
.minute-silence-overlay.glow-subtle .minute-silence-card { box-shadow:0 0 28px rgba(207,153,53,.06),inset 0 1px 0 rgba(255,244,200,.1); }
.minute-silence-overlay.glow-bright .minute-silence-card { box-shadow:0 0 110px rgba(207,153,53,.24),inset 0 1px 0 rgba(255,244,200,.18); }
.minute-silence-overlay.animation-static .candle-flame,.minute-silence-overlay.animation-static .candle-flame-glow { animation:none; }
.minute-silence-overlay.animation-eco .candle-flame,.minute-silence-overlay.animation-eco .candle-flame-glow { animation-duration:5s; }
.minute-silence-overlay.animation-slow .candle-flame,.minute-silence-overlay.animation-slow .candle-flame-glow { animation-duration:3.8s; }
body.minute-silence-active #enableAlertAudio { position:fixed; z-index:1100; top:clamp(12px,2vh,24px); right:clamp(12px,2vw,28px); }
@keyframes minute-flame { from { transform:rotate(-2deg) scale(.98,1); } to { transform:rotate(2deg) scale(1.02,.98); } }
@keyframes minute-flame-glow { from { opacity:.18; transform:scale(.94); } to { opacity:.34; transform:scale(1.08); } }
@media (max-width:700px) { .minute-silence-card { grid-template-columns:1fr; min-height:0; gap:16px; padding:30px 20px; }.minute-silence-candle { width:clamp(76px,20vw,120px); }.minute-silence-copy h1 { font-size:clamp(34px,10vw,64px); }.layout-ukraine-candle .minute-silence-card { width:100%; height:min(92vh,760px); min-height:520px; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto minmax(0,1fr) auto; gap:clamp(7px,1vh,12px); padding:14px 10px; }.layout-ukraine-candle .minute-silence-eyebrow { grid-row:1; font-size:clamp(18px,5vw,26px); }.layout-ukraine-candle .minute-silence-copy h1 { grid-row:2; font-size:clamp(29px,7.5vw,46px); }.layout-ukraine-candle .minute-silence-subtitle { grid-row:3; font-size:clamp(16px,4vw,22px); }.layout-ukraine-candle .minute-silence-ukraine-outline { inset:36% 5% 12%; width:90%; height:52%; }.layout-ukraine-candle .minute-silence-candle { top:56%; width:clamp(100px,18vh,138px); }.layout-ukraine-candle .minute-silence-countdown { grid-row:5; font-size:clamp(27px,7vw,44px); } }
@media (prefers-reduced-motion:reduce) { .minute-silence-candle * { animation:none!important; } }

/* Presentation content follows the live map's navy, gold and restrained glow palette. */
.presentation-announcement,.presentation-bottom-info { display:flex; align-items:center; gap:clamp(10px,1.2vw,22px); min-width:0; padding:clamp(8px,.7vw,14px) clamp(14px,1.4vw,26px); color:#f5e7bd; border:1px solid rgba(220,178,77,.7); border-radius:10px; background:linear-gradient(110deg,rgba(18,43,66,.98),rgba(9,25,41,.97)); box-shadow:0 4px 18px rgba(0,0,0,.2),inset 0 1px rgba(255,244,203,.12); }
.presentation-announcement { margin:clamp(4px,.4vw,8px) 0; border-left:4px solid #e5bd55; }
.presentation-announcement strong { flex:0 0 auto; color:#f2ca66; font-size:clamp(14px,1.05vw,22px); }
.presentation-announcement span,.presentation-bottom-info span { flex:1 1 auto; min-width:0; font-size:clamp(13px,.95vw,20px); line-height:1.3; }
.presentation-bottom-info { justify-content:center; margin-top:clamp(5px,.5vw,10px); border-radius:8px; background:linear-gradient(90deg,rgba(12,30,47,.98),rgba(20,43,64,.98),rgba(12,30,47,.98)); }
.presentation-bottom-info strong { flex:0 0 auto; color:#f2ca66; font-size:clamp(14px,1.05vw,22px); }
.presentation-announcement[data-background="gold"],.presentation-bottom-info[data-background="gold"] { color:#14243a; border-color:#f2d47a; background:linear-gradient(110deg,#f5d66d,#fbe9a8 52%,#e9bf4e); }
.presentation-announcement[data-background="red"],.presentation-bottom-info[data-background="red"] { color:#fff5f4; border-color:#ff8c88; background:linear-gradient(110deg,#8e2634,#c63a44 52%,#842631); }
.presentation-announcement[data-background="green"],.presentation-bottom-info[data-background="green"] { color:#f2fff9; border-color:#64cca1; background:linear-gradient(110deg,#145a49,#198164 52%,#0e5142); }
.presentation-announcement[data-background="blue"],.presentation-bottom-info[data-background="blue"] { color:#f3f7ff; border-color:#79a9ed; background:linear-gradient(110deg,#193d70,#255da0 52%,#17375f); }
.presentation-announcement[data-background="cyan"],.presentation-bottom-info[data-background="cyan"] { color:#efffff; border-color:#63d3d4; background:linear-gradient(110deg,#0d5965,#168393 52%,#104d5a); }
.presentation-announcement[data-background="purple"],.presentation-bottom-info[data-background="purple"] { color:#fff5ff; border-color:#c49be8; background:linear-gradient(110deg,#50306f,#7546a1 52%,#492d68); }
.presentation-announcement[data-background="orange"],.presentation-bottom-info[data-background="orange"] { color:#fff8ed; border-color:#ffd08a; background:linear-gradient(110deg,#8a4816,#d07825 52%,#7b3d12); }
.presentation-announcement[data-background="burgundy"],.presentation-bottom-info[data-background="burgundy"] { color:#fff2f4; border-color:#dc8295; background:linear-gradient(110deg,#431321,#7f1f39 52%,#511527); }
.presentation-announcement[data-background="teal"],.presentation-bottom-info[data-background="teal"] { color:#effffd; border-color:#6fd3c6; background:linear-gradient(110deg,#0b4145,#147a78 52%,#0c4c50); }
.presentation-announcement[data-background="plum"],.presentation-bottom-info[data-background="plum"] { color:#fff2ff; border-color:#d097c8; background:linear-gradient(110deg,#442145,#703660 52%,#492348); }
.presentation-announcement[data-background="graphite"],.presentation-bottom-info[data-background="graphite"] { color:#f4f6fa; border-color:#a8b4c3; background:linear-gradient(110deg,#202b38,#394656 52%,#242d39); }
.presentation-announcement[data-background="gold"] strong,.presentation-bottom-info[data-background="gold"] strong { color:#10243a; }
.presentation-announcement[data-background="red"] strong,.presentation-bottom-info[data-background="red"] strong { color:#fff0d7; }
.presentation-announcement[data-background="green"] strong,.presentation-bottom-info[data-background="green"] strong { color:#ffe18a; }
.presentation-announcement[data-background="blue"] strong,.presentation-bottom-info[data-background="blue"] strong { color:#d9e8ff; }
.presentation-announcement[data-background="cyan"] strong,.presentation-bottom-info[data-background="cyan"] strong { color:#d9ffff; }
.presentation-announcement[data-background="purple"] strong,.presentation-bottom-info[data-background="purple"] strong { color:#f0d9ff; }
.presentation-announcement[data-background="orange"] strong,.presentation-bottom-info[data-background="orange"] strong { color:#ffedc9; }
.presentation-announcement[data-accent="white"] strong,.presentation-bottom-info[data-accent="white"] strong { color:#fff; }
.presentation-announcement[data-accent="cyan"] strong,.presentation-bottom-info[data-accent="cyan"] strong { color:#75efff; }
.presentation-announcement[data-accent="mint"] strong,.presentation-bottom-info[data-accent="mint"] strong { color:#7df0bf; }
.presentation-announcement[data-accent="orange"] strong,.presentation-bottom-info[data-accent="orange"] strong { color:#ffb15e; }
.presentation-announcement[data-accent="burgundy"] strong,.presentation-bottom-info[data-accent="burgundy"] strong { color:#ff9aae; }
.presentation-announcement[data-background="gold"][data-accent="white"] strong,.presentation-bottom-info[data-background="gold"][data-accent="white"] strong { color:#24364c; }
.presentation-announcement[data-background="gold"][data-accent="burgundy"] strong,.presentation-bottom-info[data-background="gold"][data-accent="burgundy"] strong { color:#7f2037; }
.presentation-announcement span,.presentation-bottom-info span { white-space:pre-wrap; }
.presentation-announcement .notice-copy,.presentation-bottom-info .notice-copy { align-items:stretch; text-align:center; }
.presentation-announcement .notice-copy strong,.presentation-bottom-info .notice-copy strong { align-self:center; width:100%; text-align:center; }
.presentation-announcement .notice-copy span[data-align="left"],.presentation-bottom-info .notice-copy span[data-align="left"] { text-align:left; }
.presentation-announcement .notice-copy span[data-align="center"],.presentation-bottom-info .notice-copy span[data-align="center"] { text-align:center; }
.presentation-announcement .notice-copy span[data-align="right"],.presentation-bottom-info .notice-copy span[data-align="right"] { text-align:right; }
.presentation-announcement[data-text-size="large"] span,.presentation-bottom-info[data-text-size="large"] span { font-size:clamp(17px,1.25vw,26px); }
.presentation-announcement[data-text-size="xlarge"] span,.presentation-bottom-info[data-text-size="xlarge"] span { font-size:clamp(21px,1.7vw,36px); }
.presentation-announcement[data-title-size="large"] strong,.presentation-bottom-info[data-title-size="large"] strong { font-size:clamp(18px,1.4vw,30px); }
.presentation-announcement[data-title-size="xlarge"] strong,.presentation-bottom-info[data-title-size="xlarge"] strong { font-size:clamp(23px,1.8vw,38px); }
.presentation-announcement[data-text-size="custom"] span,.presentation-bottom-info[data-text-size="custom"] span { font-size:var(--notice-body-font-size,16px); }
.presentation-announcement[data-title-size="custom"] strong,.presentation-bottom-info[data-title-size="custom"] strong { font-size:var(--notice-title-font-size,24px); }
.presentation-announcement.is-bold span,.presentation-bottom-info.is-bold span { font-weight:800; }
.evacuation-slides-overlay { position:fixed; inset:0; z-index:10000; display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:clamp(10px,2vh,24px); box-sizing:border-box; padding:clamp(16px,3vw,48px); color:#fff8df; background:radial-gradient(ellipse at center,#17314b 0%,#071524 75%); }
.evacuation-slides-overlay[hidden] { display:none; }
.evacuation-slides-overlay > header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:10px 16px; border:1px solid #d6b54e; border-radius:10px; background:#0a1a2b; color:#f0cf68; font-size:clamp(16px,2.2vw,32px); }
.evacuation-slides-overlay > figure { display:grid; place-items:center; min-height:0; margin:0; overflow:hidden; }
.evacuation-slides-overlay > figure img { display:block; width:100%; height:100%; object-fit:contain; }
.evacuation-slides-overlay > p { margin:0; padding:10px 16px; border-radius:8px; background:#0a1a2bd9; text-align:center; font-size:clamp(16px,2.4vw,36px); font-weight:700; }
.presentation-slides-panel { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:clamp(8px,.6vw,14px); width:100%; min-height:clamp(190px,35vh,640px); margin:clamp(6px,.5vw,12px) 0; padding:clamp(6px,.45vw,10px); border:1px solid #cda83e; border-radius:12px; background:linear-gradient(145deg,#10243a,#091a2c); box-shadow:0 0 24px rgba(204,161,57,.08),inset 0 1px rgba(255,244,203,.12); }
.presentation-slides-panel[hidden],.presentation-announcement[hidden],.presentation-bottom-info[hidden] { display:none; }
.presentation-slide-visual,.presentation-slide-copy { position:relative; min-width:0; min-height:0; margin:0; overflow:hidden; border:1px solid rgba(173,137,55,.65); border-radius:8px; background:radial-gradient(ellipse at 50% 45%,#1a3550,#0b1c2e 76%); }
.presentation-slide-visual { display:grid; place-items:center; }
.presentation-slide-visual img { display:block; width:100%; height:100%; min-height:clamp(180px,34vh,620px); object-fit:contain; }
.presentation-slide-copy { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:clamp(16px,2.2vw,44px); color:#e9edf4; text-align:center; }
.presentation-slide-copy::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(#ffe08b,#ad7e24,#ffe08b); opacity:.85; }
.presentation-slide-copy .eyebrow { width:100%; margin:0 0 .8em; color:var(--slide-accent,#e5bd55); font-size:clamp(12px,.8vw,17px); letter-spacing:.08em; text-align:center; text-transform:uppercase; }
.presentation-slide-copy #presentationSlideCaption { width:100%; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:clamp(20px,2vw,42px); line-height:1.35; text-shadow:0 1px 8px rgba(0,0,0,.25); }
.presentation-slide-copy #presentationSlidePosition { width:100%; margin-top:auto; padding-top:1.2em; color:#b9c9d8; font-size:clamp(11px,.7vw,15px); text-align:center; }
.presentation-slides-panel[data-background="gold"] .presentation-slide-copy { color:#14243a; background:linear-gradient(110deg,#f5d66d,#fbe9a8 52%,#e9bf4e); }
.presentation-slides-panel[data-background="red"] .presentation-slide-copy { color:#fff5f4; background:linear-gradient(110deg,#8e2634,#c63a44 52%,#842631); }
.presentation-slides-panel[data-background="burgundy"] .presentation-slide-copy { color:#fff2f4; background:linear-gradient(110deg,#431321,#7f1f39 52%,#511527); }
.presentation-slides-panel[data-background="green"] .presentation-slide-copy { color:#f2fff9; background:linear-gradient(110deg,#145a49,#198164 52%,#0e5142); }
.presentation-slides-panel[data-background="teal"] .presentation-slide-copy { color:#effffd; background:linear-gradient(110deg,#0b4145,#147a78 52%,#0c4c50); }
.presentation-slides-panel[data-background="blue"] .presentation-slide-copy { color:#f3f7ff; background:linear-gradient(110deg,#193d70,#255da0 52%,#17375f); }
.presentation-slides-panel[data-background="cyan"] .presentation-slide-copy { color:#efffff; background:linear-gradient(110deg,#0d5965,#168393 52%,#104d5a); }
.presentation-slides-panel[data-background="purple"] .presentation-slide-copy { color:#fff5ff; background:linear-gradient(110deg,#50306f,#7546a1 52%,#492d68); }
.presentation-slides-panel[data-background="plum"] .presentation-slide-copy { color:#fff2ff; background:linear-gradient(110deg,#442145,#703660 52%,#492348); }
.presentation-slides-panel[data-background="orange"] .presentation-slide-copy { color:#fff8ed; background:linear-gradient(110deg,#8a4816,#d07825 52%,#7b3d12); }
.presentation-slides-panel[data-background="graphite"] .presentation-slide-copy { color:#f4f6fa; background:linear-gradient(110deg,#202b38,#394656 52%,#242d39); }
.presentation-slides-panel[data-accent="white"] { --slide-accent:#fff; }.presentation-slides-panel[data-accent="cyan"] { --slide-accent:#75efff; }.presentation-slides-panel[data-accent="mint"] { --slide-accent:#7df0bf; }.presentation-slides-panel[data-accent="orange"] { --slide-accent:#ffb15e; }.presentation-slides-panel[data-accent="burgundy"] { --slide-accent:#ff9aae; }
.presentation-slides-panel[data-background="gold"][data-accent="gold"],.presentation-slides-panel[data-background="gold"][data-accent="white"] { --slide-accent:#24364c; }.presentation-slides-panel[data-background="gold"][data-accent="burgundy"] { --slide-accent:#7f2037; }
.presentation-slides-panel[data-align="left"] .presentation-slide-copy { align-items:flex-start; text-align:left; }.presentation-slides-panel[data-align="left"] .presentation-slide-copy .eyebrow { text-align:center; }.presentation-slides-panel[data-align="left"] #presentationSlidePosition { text-align:left; }
.presentation-slides-panel[data-align="right"] .presentation-slide-copy { align-items:flex-end; text-align:right; }.presentation-slides-panel[data-align="right"] .presentation-slide-copy .eyebrow { text-align:center; }.presentation-slides-panel[data-align="right"] #presentationSlidePosition { text-align:right; }
.presentation-slides-panel[data-text-size="normal"] #presentationSlideCaption { font-size:clamp(17px,1.5vw,32px); }.presentation-slides-panel[data-text-size="large"] #presentationSlideCaption { font-size:clamp(22px,2vw,44px); }.presentation-slides-panel[data-text-size="xlarge"] #presentationSlideCaption { font-size:clamp(28px,2.8vw,60px); }.presentation-slides-panel.caption-bold #presentationSlideCaption { font-weight:800; }
.presentation-schedule-hidden { display:none!important; }
.presentation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
.presentation-card { display:grid; align-content:start; gap:9px; min-width:0; padding:14px; border:1px solid #536f89; border-radius:10px; background:linear-gradient(145deg,#132b43,#0d2033); }
.presentation-card h3 { margin:0 0 4px; color:#f1c75e; }
.presentation-card label,.presentation-profile-row label { display:grid; gap:5px; }
.presentation-card input:not([type=checkbox]),.presentation-card textarea,.presentation-card select,.presentation-profile-row select { width:100%; }
.presentation-profile-row { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin:12px 0; }
.presentation-profile-row label { min-width:min(280px,100%); }
.presentation-slides-list { display:grid; gap:6px; max-height:230px; overflow:auto; margin:0; padding-left:24px; }
.presentation-slides-list li { padding:5px 8px; border:1px solid #35536d; border-radius:6px; background:#0b1c2e; }
.presentation-slides-list button { margin-left:8px; }
body.presentation-high-readability .schedule-display { font-size:1.16em; }
body.presentation-high-readability .schedule-display th,body.presentation-high-readability .schedule-display td { padding-top:.8em; padding-bottom:.8em; }
body.presentation-large-screen .schedule-display { font-size:1.12em; }
body.presentation-uhd .schedule-display { font-size:1.16em; }
body.presentation-uhd .threat-map-panel svg { shape-rendering:geometricPrecision; text-rendering:geometricPrecision; }
body.presentation-fhd .schedule-display { font-size:1.08em; }
body.presentation-fhd .threat-map-panel svg { shape-rendering:geometricPrecision; text-rendering:geometricPrecision; }
body.presentation-fhd .threat-map-panel text { paint-order:stroke; stroke:rgba(4,16,29,.45); stroke-width:1px; stroke-linejoin:round; }
body.presentation-hd .schedule-display { font-size:1.18em; }
body.presentation-hd .schedule-display th,body.presentation-hd .schedule-display td { padding-top:.85em; padding-bottom:.85em; text-shadow:0 0 1px currentColor; }
body.presentation-hd .threat-map-panel text { paint-order:stroke; stroke:rgba(4,16,29,.8); stroke-width:2px; stroke-linejoin:round; }
:root[data-theme="light"] body.presentation-hd .threat-map-panel text { stroke:rgba(255,255,255,.9); }
body.presentation-hd .threat-map-canvas,body.presentation-hd .threat-map-sidebar { border-width:2px; }
.screen-profile-test-overlay { position:fixed; z-index:11500; inset:0; display:grid; align-content:center; justify-items:center; gap:clamp(12px,2vh,24px); padding:clamp(18px,4vw,56px); color:#f4f7fb; background:#071525f5; text-align:center; }
.screen-profile-test-overlay[hidden] { display:none !important; }
.screen-profile-test-overlay > header { display:grid; gap:7px; color:#f1c75e; font-size:clamp(18px,2vw,30px); }
.screen-profile-test-overlay > header span,.screen-profile-test-overlay > p,.screen-profile-test-overlay > footer { color:#d7e5f4; font-size:clamp(13px,1.2vw,18px); }
.screen-profile-test-samples { display:grid; justify-items:center; gap:clamp(8px,1.4vh,18px); width:min(100%,1100px); padding:clamp(14px,3vw,36px); border:1px solid #66809a; border-radius:12px; background:linear-gradient(145deg,#142f4b,#0b1b2d); }
.screen-profile-test-samples .sample-xl { font-size:clamp(26px,3vw,40px); }.screen-profile-test-samples .sample-lg { font-size:clamp(20px,2.2vw,30px); }.screen-profile-test-samples .sample-md { font-size:clamp(16px,1.6vw,22px); }.screen-profile-test-samples .sample-sm { color:#b7c8d8; font-size:clamp(13px,1.2vw,17px); }
.screen-profile-test-colors { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }.screen-profile-test-colors > * { padding:9px 13px; border:1px solid #748ba2; border-radius:7px; }.screen-profile-test-colors b:nth-of-type(1) { color:#fff; background:#123c64; }.screen-profile-test-colors b:nth-of-type(2) { color:#f7d36f; background:#123c64; }.screen-profile-test-colors b:nth-of-type(3) { color:#12283d; background:#f4f7fb; }
.screen-profile-test-comparison { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(8px,1.2vw,16px); width:min(100%,1400px); }
.screen-profile-test-comparison article { display:grid; align-content:center; justify-items:center; gap:clamp(7px,1vh,13px); min-width:0; min-height:clamp(150px,24vh,260px); padding:clamp(10px,1.8vw,22px); border:1px solid #66809a; border-radius:10px; background:linear-gradient(145deg,#142f4b,#0b1b2d); }
.screen-profile-test-comparison h2 { margin:0; color:#f1c75e; font-size:clamp(17px,1.6vw,24px); }
.screen-profile-test-comparison strong { color:#fff; font-size:clamp(18px,2vw,28px); }.screen-profile-test-comparison p { margin:0; font-size:clamp(14px,1.35vw,19px); line-height:1.35; }.screen-profile-test-comparison small { color:#b7c8d8; font-size:clamp(12px,1.05vw,15px); }
.screen-profile-test-comparison .profile-sample-hd { border-width:2px; text-shadow:0 0 1px currentColor; }.screen-profile-test-comparison .profile-sample-fhd { outline:1px solid #a8c4dc; }.screen-profile-test-comparison .profile-sample-uhd { box-shadow:inset 0 0 0 1px #f1c75e; }
@media(max-width:720px) { .screen-profile-test-comparison { grid-template-columns:minmax(0,1fr); max-height:54vh; overflow:auto; }.screen-profile-test-comparison article { min-height:110px; } }
body.presentation-cell-borders .schedule-display td,body.presentation-cell-borders .schedule-display th { border:1px solid rgba(196,164,86,.45); }
body.presentation-quiet .schedule-display *,body.presentation-quiet .schedule-display *::before,body.presentation-quiet .schedule-display *::after,body.presentation-quiet .threat-map-panel *,body.presentation-quiet .threat-map-panel *::before,body.presentation-quiet .threat-map-panel *::after { scroll-behavior:auto!important; animation-duration:0s!important; transition-duration:0s!important; }
@media(max-width:800px) { .presentation-slides-panel { grid-template-columns:minmax(0,1fr); }.presentation-slide-visual img { min-height:clamp(180px,32vh,420px); }.presentation-slide-copy { min-height:150px; }.presentation-grid { grid-template-columns:1fr; } }

/* Expandable source-by-source alert and area monitoring details. */
.threat-region-details { box-sizing:border-box; flex:0 0 auto; align-self:stretch; min-width:0; margin:calc(4px * var(--threat-scale)) calc(8px * var(--threat-scale)); border:1px solid #395574; border-radius:7px; background:#0b1b2d; color:#eaf2fb; }
.threat-region-details > summary { padding:calc(6px * var(--threat-scale)) calc(9px * var(--threat-scale)); color:#ffd261; font-weight:800; cursor:pointer; }
.threat-region-details-content { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:calc(7px * var(--threat-scale)); max-height:min(38vh,420px); overflow:auto; padding:0 calc(7px * var(--threat-scale)) calc(7px * var(--threat-scale)); }
.threat-detail-source { min-width:0; padding:calc(7px * var(--threat-scale)); border:1px solid #395574; border-radius:6px; background:#10243a; }
.threat-detail-source > strong { display:block; margin-bottom:4px; color:#ffd261; }
.threat-detail-source > p { margin:3px 0; color:#d5e1ed; overflow-wrap:anywhere; }
.threat-detail-source > ul { display:grid; gap:3px; margin:5px 0 0; padding-left:18px; }
.threat-detail-source li { color:#d5e1ed; overflow-wrap:anywhere; }
.threat-detail-source time { color:#9fb4c9; font-variant-numeric:tabular-nums; }
.threat-detail-state { display:inline-block; margin-left:5px; padding:2px 6px; border-radius:999px; font-size:.85em; font-weight:800; background:#40556b; }
.threat-detail-source[data-state="fresh"] .threat-detail-state { color:#d8fff0; background:#185b45; }
.threat-detail-source[data-state="stale"] .threat-detail-state { color:#fff0c0; background:#73541c; }
.threat-detail-source[data-state="error"] .threat-detail-state { color:#ffe3e6; background:#702d39; }
.threat-detail-empty { color:#aebfd0 !important; }
@media(max-width:760px) { .threat-region-details-content { grid-template-columns:minmax(0,1fr); max-height:42vh; } }

/* Light board surfaces and readable text colors. */
:root[data-theme="light"] {
  color-scheme:light;
  --page:#eef3f8; --surface:#fff; --panel:#e4edf6; --edge:#b9cadb;
  --gold:#825e0c; --text:#172b40; --muted:#52677d;
}
:root[data-theme="light"] body { background:#eef3f8; }
:root[data-theme="light"] .board-header,
:root[data-theme="light"] .schedule,
:root[data-theme="light"] .pair-card,
:root[data-theme="light"] .presentation-slides-panel,
:root[data-theme="light"] .presentation-slide-visual,
:root[data-theme="light"] .presentation-slide-copy,
:root[data-theme="light"] .threat-map-sidebar { color:var(--text); background:#fff; border-color:var(--edge); }
:root[data-theme="light"] .board-header { box-shadow:0 2px 10px #243b5310; }
:root[data-theme="light"] .board-header h1,
:root[data-theme="light"] #boardDate,
:root[data-theme="light"] #clock { color:#73550e; }
:root[data-theme="light"] .board-header .quiet,
:root[data-theme="light"] .pair-card > p:not(.eyebrow):not(.status),
:root[data-theme="light"] .schedule-message,
:root[data-theme="light"] footer { color:var(--muted); }
:root[data-theme="light"] button { color:#19334c; background:#e4edf6; border-color:#aabed2; }
:root[data-theme="light"] button.primary { color:#fff; background:#27689d; border-color:#27689d; }
:root[data-theme="light"] th { color:#17324c; background:#dce8f3; }
:root[data-theme="light"] td { color:#172b40; background:#fff; }
:root[data-theme="light"] tbody tr:nth-child(even) td { background:#edf3f8; }
:root[data-theme="light"] tr.next-case td,
:root[data-theme="light"] tr.next-case td.time,
:root[data-theme="light"] tr.next-case td.case-number { color:#f5fbff !important; background:#145344 !important; }
:root[data-theme="light"] tr.next-case td { border-color:#28b889; }
:root[data-theme="light"] tr.next-case td:first-child { color:#fff; }
:root[data-theme="light"] .schedule-title h2 { color:#3975b8; }
:root[data-theme="light"] .schedule-title .freshness-badge { color:#14583e; }
:root[data-theme="light"] .threat-map-sidebar h3 { color:#8a4d12; background:#f6f9fc; border-color:var(--edge); }
:root[data-theme="light"] .threat-map-sidebar-heading { background:#10243a; border-color:#d7e0e9; }
:root[data-theme="light"] .threat-map-sidebar-heading h3 { color:#fff !important; }
:root[data-theme="light"] .ukrainealarm-active-regions { color:#263d54; background:#f4f7fa; border-color:#c4d1df; }
:root[data-theme="light"] .ukrainealarm-active-regions strong { color:#704f08; }
:root[data-theme="light"] .ukrainealarm-active-regions li { color:#243c54; background:#e2ebf3; }
:root[data-theme="light"] .threat-map-notice { color:#713d0a; background:#fff2d8; border-left-color:#c47a22; }
:root[data-theme="light"] .threat-map-attribution { color:#40566d; }
:root[data-theme="light"] .threat-map-attribution a { color:#145b9a; }
:root[data-theme="light"] .threat-item { color:#172b40; background:#f4f7fa; border-color:#c6d3df; }
:root[data-theme="light"] .threat-item strong { color:#73550e; }
:root[data-theme="light"] .threat-item-location { color:#172b40; }
:root[data-theme="light"] .threat-item-meta,
:root[data-theme="light"] .threat-item-received,
:root[data-theme="light"] .threat-map-attribution { color:#52677d; }
:root[data-theme="light"] .threat-region-details { color:#172b40; background:#f5f8fb; border-color:#b9cadb; }
:root[data-theme="light"] .threat-region-details > summary { color:#704f08; }
:root[data-theme="light"] .threat-detail-source { color:#172b40; background:#fff; border-color:#c4d1df; }
:root[data-theme="light"] .threat-detail-source p,
:root[data-theme="light"] .threat-detail-source li,
:root[data-theme="light"] .threat-detail-source time { color:#40566d; }
:root[data-theme="light"] .threat-detail-source[data-state="fresh"] .threat-detail-state { color:#07543a; background:#ccebdc; }
:root[data-theme="light"] .threat-detail-source[data-state="stale"] .threat-detail-state { color:#674500; background:#f7e7b8; }
:root[data-theme="light"] .threat-detail-source[data-state="error"] .threat-detail-state { color:#76202d; background:#f5d4d8; }
:root[data-theme="light"] .threat-map-filters { color:#20374d; background:#edf3f8; border-color:#bdcddd; }
:root[data-theme="light"] .threat-map-filter-controls label { color:#354e66; }
:root[data-theme="light"] .threat-map-filter-controls select,
:root[data-theme="light"] .threat-map-filter-controls button { color:#19334c; background:#e4edf6; border-color:#aabed2; }
:root[data-theme="light"] .threat-map-panel { background:#fff; border-color:var(--edge); }
:root[data-theme="light"] .threat-map-viewport,
:root[data-theme="light"] .threat-map-canvas { background:radial-gradient(ellipse at center,#f8fafc 0,#e8eff5 78%); }
:root[data-theme="light"] .threat-map-canvas { border-color:#9aafc1; }
:root[data-theme="light"] .threat-neighbor-region { fill:#cbd8e3; fill-opacity:.54; stroke:#8298aa; stroke-opacity:.9; }
:root[data-theme="light"] .threat-oblast-shape:not(.alert-level-red):not(.alert-level-yellow):not(.alert-level-green) { fill:#f6f2e8; fill-opacity:1; stroke:#b68b2e; }
:root[data-theme="light"] .threat-oblast-outline:not(.alert-level-red):not(.alert-level-yellow):not(.alert-level-green) { stroke:#9a762b; }
:root[data-theme="light"] .threat-district-boundary { stroke:#758b9d; stroke-opacity:.88; }
:root[data-theme="light"] .threat-neighbor-label { fill:#536b80; fill-opacity:1; stroke:#f3f6f8; stroke-width:3.5px; }
:root[data-theme="light"] .threat-district-label,
:root[data-theme="light"] .threat-city-label:not(.threat-city-label--priority) { fill:#263e54; stroke:#fff; stroke-width:3.5px; }
.threat-map-sidebar .ukrainealarm-active-regions > summary { cursor:pointer; font-weight:800; text-align:center; }
.threat-map-sidebar .ukrainealarm-active-regions { box-sizing:border-box; flex:0 0 auto; min-height:30px; }
.threat-map-sidebar .ukrainealarm-active-regions:not([open]) { max-height:none; overflow:visible; }
.threat-map-sidebar .ukrainealarm-active-regions[open] { max-height:min(38vh,420px); overflow:auto; }
:root[data-theme="light"] .threat-map-sidebar-heading { background:#fff2d8; border-color:#dfbf73; }
:root[data-theme="light"] .threat-map-sidebar-heading h3 { color:#172b40 !important; background:transparent; border-color:transparent; }
:root[data-theme="light"] .ukrainealarm-active-regions > summary { color:#704f08; }
:root[data-theme="light"] .presentation-announcement[data-background="navy"],
:root[data-theme="light"] .presentation-bottom-info[data-background="navy"] { color:#713d0a; border-color:#c47a22; background:linear-gradient(110deg,#fff2d8,#fff7e8 52%,#ffedcb); box-shadow:0 2px 10px rgba(113,61,10,.10); }
:root[data-theme="light"] .presentation-announcement[data-background="navy"] strong,
:root[data-theme="light"] .presentation-bottom-info[data-background="navy"] strong { color:#713d0a; }
:root:not([data-theme="light"]) .presentation-announcement,
:root:not([data-theme="light"]) .presentation-bottom-info { border-color:#e52f58; box-shadow:inset 0 0 0 1px #e52f58,0 0 0 1px rgba(229,47,88,.22),0 4px 18px rgba(0,0,0,.2); }
.panel-scale-viewport.is-scaled[data-scale-panel="announcement"],
.panel-scale-viewport.is-scaled[data-scale-panel="bottom-info"] { position:relative; z-index:1; overflow:visible; margin-block:3px; }
.blackout-panel { --blackout-scale:1; }
.blackout-period-summary { display:grid; gap:4px; margin-top:2px; padding:5px 8px; border:1px solid #d5ad50; border-radius:5px; color:#263b52; background:#fff8e6; font-size:clamp(11px,.74vw,14px); line-height:1.25; }
.blackout-period-summary > strong { color:#28543f; font-size:inherit; font-weight:800; text-align:center; }
.blackout-period-list { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:3px 6px; }
.blackout-period-group { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:3px; }
.blackout-period-chip { display:inline-block; padding:2px 6px; border:1px solid #bd6948; border-radius:4px; color:#7d3028; background:#fff0e8; font-size:clamp(10px,.68vw,12px); font-weight:750; font-variant-numeric:tabular-nums; white-space:nowrap; }
.blackout-period-chip.is-current { border-color:#9e2938; color:#fff; background:#a83a43; }
.blackout-period-chip.is-past { border-color:#aeb8c4; color:#56677a; background:#e9edf1; }
:root[data-theme="light"] .blackout-period-summary { color:#263b52; background:#fff8e6; }
.blackout-panel h2 { font-size:calc(clamp(16px,1.35vw,24px) * var(--blackout-text-compensation,1)) !important; }
#blackoutAddress, .blackout-days h3, .blackout-time-axis, .blackout-legend, .blackout-note, .blackout-empty, #blackoutMessage, #blackoutUpdated, .blackout-panel > .source-attribution { font-size:calc(clamp(9px,.72vw,14px) * var(--blackout-text-compensation,1)) !important; }
.blackout-period-summary, .blackout-period-chip, .blackout-legend { font-size:calc(clamp(10px,.74vw,14px) * var(--blackout-text-compensation,1)) !important; }
.blackout-period-summary { padding:2px 0; border:0; color:#59451f; background:transparent; }
.blackout-period-summary > strong { color:#59451f; }
.blackout-period-chip { border-color:#762137; color:#762137; background:#f7e8ec; }
.blackout-period-chip.is-current { border-color:#762137; color:#fff; background:#762137; }
.blackout-period-chip.is-past { border-color:#aeb8c4; color:#56677a; background:#e9edf1; }
#blackoutMessage, #blackoutMessage[data-state="stale"], #blackoutMessage[data-state="error"] { padding:0; border:0; color:#59451f; background:transparent; }
.blackout-interval-overlay { position:absolute; z-index:2; inset:2px auto 2px 2px; border-left:2px solid #9ac3ff; border-right:2px solid #9ac3ff; background:rgba(151,193,255,.56); pointer-events:none; }
.blackout-interval-overlay.is-period-start { border-left-width:2px; }
.blackout-interval-overlay.is-period-end { border-right-width:2px; }
.blackout-timeline.shade-elapsed::after { z-index:3; }
.blackout-timeline.shade-elapsed::after { background:rgba(83,94,108,.64); }
.blackout-panel header.blackout-heading { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:clamp(6px,.7vw,12px); min-height:28px; padding:0; overflow:visible; }
.blackout-panel h2 { grid-column:2; max-width:none; padding:0; box-sizing:content-box; white-space:nowrap; text-align:center; }
#blackoutAddress { position:static; left:auto; top:auto; transform:none; grid-column:1; grid-row:1; justify-self:start; }
#blackoutUpdated, .blackout-panel header #blackoutUpdated.freshness-badge { position:static !important; inset:auto; transform:none; grid-column:3; grid-row:1; justify-self:end; width:max-content; max-width:100%; min-height:24px; padding:4px 10px; overflow:hidden; text-overflow:ellipsis; font-size:clamp(11px,.7vw,13px) !important; line-height:1.1; white-space:nowrap; }
.blackout-timeline { min-height:clamp(36px,4vh,48px) !important; }
.blackout-slot.is-on { background:#104f43; }
.blackout-period-chip.is-past { border-color:#cfa7a0; color:#762137; background:#f2e2df; }
.blackout-slot.is-out { background:#762137; }
.blackout-legend i.is-on { background:#104f43; }
.blackout-legend #blackoutHighlightLegend { display:inline-flex; align-items:center; gap:4px; }
.blackout-legend #blackoutHighlightLegend[hidden] { display:none; }
.blackout-legend i.is-out { background:#762137; }
.blackout-legend i.is-highlight { margin-left:5px; border:1px solid #9ac3ff; background:rgba(151,193,255,.82); }
:root[data-theme="light"] .blackout-period-summary, :root[data-theme="light"] #blackoutMessage { color:#59451f; background:#fff8e6; }
.weather-panel { --weather-text-compensation:1; }
.weather-hours[data-display-hours="8"], .weather-hours[data-display-hours="12"] { align-items:stretch; }
.weather-hours[data-display-hours="8"][data-smooth-scroll="false"] .weather-hour, .weather-hours[data-display-hours="12"] .weather-hour { flex:1 1 0; min-width:0; }
.weather-panel .weather-heading strong { font-size:calc(clamp(16px,1.35vw,24px) * var(--weather-scale) * var(--weather-text-compensation,1)); font-weight:800; letter-spacing:.01em; }
.weather-panel .weather-current-main strong { font-size:calc(clamp(13px,1.05vw,19px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel .weather-current-temp { font-size:calc(clamp(21px,1.8vw,32px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel .weather-current-details span { font-size:calc(clamp(10px,.75vw,13px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel .weather-hour > strong { font-size:calc(clamp(11px,.84vw,15px) * var(--weather-scale) * var(--weather-text-compensation,1)); font-weight:800; }
.weather-panel .weather-hour small { color:#33485e; font-size:calc(clamp(10px,.76vw,13px) * var(--weather-scale) * var(--weather-text-compensation,1)); font-weight:650; }
.weather-panel .weather-hour .weather-temp { font-size:calc(clamp(19px,1.55vw,27px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel .weather-icon { width:calc(clamp(20px,1.5vw,27px) * var(--weather-scale) * var(--weather-text-compensation,1)); height:calc(clamp(20px,1.5vw,27px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel #weatherFreshness.freshness-badge { min-height:24px; padding:4px 10px; font-size:calc(clamp(10px,.68vw,12px) * var(--weather-text-compensation,1)) !important; line-height:1.1; }
.weather-panel > .source-attribution { font-size:calc(clamp(9px,.65vw,12px) * var(--weather-text-compensation,1)) !important; }
.weather-panel .weather-topline { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; row-gap:4px; min-width:0; padding-top:0; }
.weather-panel .weather-heading { grid-column:1; grid-row:1; justify-content:center; max-width:100%; }
.weather-panel .weather-heading strong { white-space:nowrap; font-size:calc(clamp(16px,1.35vw,24px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel .weather-current { grid-column:1; grid-row:2; display:grid; grid-template-columns:auto auto minmax(0,1fr); justify-content:initial; width:100%; }
.weather-panel .weather-current-details { justify-content:flex-end; margin-left:auto; }
.blackout-panel header #blackoutUpdated.freshness-badge, .weather-panel #weatherFreshness.freshness-badge { min-height:24px; padding:4px 10px; border-radius:999px; font-size:clamp(11px,.7vw,13px) !important; font-weight:800; line-height:1.1; text-align:center; white-space:nowrap; }
.blackout-panel header #blackoutUpdated.freshness-badge, .weather-panel #weatherFreshness.freshness-badge { min-height:28px; padding:6px 12px; font-size:clamp(13px,.82vw,15px) !important; }
.blackout-panel header #blackoutUpdated.freshness-badge { position:absolute !important; top:4px; right:8px; bottom:auto; left:auto; grid-column:auto; grid-row:auto; justify-self:auto; }
.weather-panel .weather-topline { grid-template-rows:auto auto; }
.weather-panel .weather-current { display:contents; }
.weather-panel .weather-current-icon { position:absolute; top:31px; left:8px; transform:translateY(-50%); margin:0; }
.weather-panel .weather-current-main { position:absolute; top:31px; left:42px; transform:translateY(-50%); }
.weather-panel .weather-current-details { grid-column:1; grid-row:2; justify-self:end; align-self:center; margin:0; }
.weather-panel .weather-current-main { left:38px; gap:4px; }
.weather-panel .weather-current-main strong { font-size:calc(clamp(12px,.9vw,17px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.weather-panel .weather-current-temp { font-size:calc(clamp(18px,1.45vw,26px) * var(--weather-scale) * var(--weather-text-compensation,1)); }
.blackout-panel[data-smooth-scroll="true"] header.blackout-heading { position:static; grid-template-rows:auto; min-height:28px; }
.blackout-panel[data-smooth-scroll="true"] { padding-bottom:24px; }
.blackout-panel[data-smooth-scroll="true"] #blackoutAddress { position:absolute; top:auto; right:auto; bottom:4px; left:8px; z-index:1; grid-column:auto; grid-row:auto; justify-self:start; width:max-content; max-width:45%; height:auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:1.2; text-align:left; }
.blackout-panel[data-smooth-scroll="true"] > .source-attribution { position:absolute; right:8px; bottom:4px; max-width:48%; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:1.2; }
.blackout-panel[data-smooth-scroll="true"] .blackout-days.without-tomorrow #blackoutTodayDay h3 { width:auto; margin:calc(2px * var(--blackout-scale)) 0 calc(4px * var(--blackout-scale)); text-align:center; }
.blackout-panel .blackout-legend { font-size:calc(clamp(8px,.56vw,10px) * var(--blackout-text-compensation,1)) !important; }
.blackout-panel #blackoutMessage { font-size:calc(clamp(8px,.58vw,11px) * var(--blackout-text-compensation,1)) !important; }
.blackout-panel .blackout-legend > i:not(.is-highlight) { width:30px; height:30px; flex:0 0 30px; border:1px solid #34495e; border-radius:4px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 0 0 1px rgba(52,73,94,.16); }
.blackout-panel .blackout-legend #blackoutHighlightLegend > i.is-highlight { width:30px; height:30px; flex:0 0 30px; margin-left:0; border:1px solid #34495e; border-radius:4px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 0 0 1px rgba(52,73,94,.16); }
.threat-district-alert-shape.alert-level-red { fill:#e31837; fill-opacity:.58; stroke:#ff4058; stroke-width:1.4px; vector-effect:non-scaling-stroke; }
.threat-district-alert-shape.alert-level-yellow { fill:#ffc400; fill-opacity:.58; stroke:#ffdf00; stroke-width:1.4px; vector-effect:non-scaling-stroke; }
.weather-panel[data-compact-scale="true"] .weather-topline { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); grid-template-rows:auto auto; align-items:center; row-gap:1px; column-gap:4px; }
.weather-panel[data-compact-scale="true"] .weather-heading { grid-column:2; grid-row:1; justify-content:center; z-index:1; }
.weather-panel[data-compact-scale="true"] .weather-current { display:contents; }
.weather-panel[data-compact-scale="true"] .weather-current-condition { grid-column:1; grid-row:1; display:flex; min-width:0; align-items:center; gap:4px; }
.weather-panel[data-compact-scale="true"] .weather-current-icon { position:static; width:calc(clamp(20px,1.5vw,27px) * var(--weather-text-compensation)); height:calc(clamp(20px,1.5vw,27px) * var(--weather-text-compensation)); transform:none; margin:0; }
.weather-panel[data-compact-scale="true"] .weather-current-main { position:static; transform:none; gap:2px; }
.weather-panel[data-compact-scale="true"] .weather-current-details { grid-column:3; grid-row:2; justify-self:end; flex-wrap:nowrap; gap:2px; margin:0; }
.weather-panel[data-compact-scale="true"] .weather-current-details span { padding:2px 4px; }
.weather-panel[data-compact-scale="true"] .weather-hours[data-display-hours="8"] .weather-hour { flex:0 0 calc(12.5% - 7px); min-width:0; }
.threat-map-status .regional-alert-summary { grid-column:1/-1; }
.threat-map-status .source-comparison-status[data-level="warning"] { color:#fff4e8; background:#70253a; border-color:#e36b82; }

/* Light board map: cream legend and sharper neutral geography. Alert overlays
   and all reported-target symbols retain their shared dark/light styling. */
:root[data-theme="light"] .threat-map-bottom-legend {
  border-top-color:#dfbf73;
  background:#fff2d8;
  color:#263e54;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-legend-bottom > summary,
:root[data-theme="light"] .threat-map-bottom-legend .threat-target-legend-control > summary {
  color:#69480c;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-legend-bottom[open] {
  border-color:#dfbf73;
  background:#fff2d8f5;
  box-shadow:0 3px 12px #31435433;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-legend-bottom[open] > summary,
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-legend-items,
:root[data-theme="light"] .threat-map-bottom-legend .threat-target-legend-control > summary {
  color:#263e54;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-legend-items span,
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend > span,
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend b {
  color:#344b60;
  text-shadow:none;
}
:root[data-theme="light"] .threat-map-bottom-legend .osm-attribution {
  color:#52677d;
  background:transparent;
}
:root[data-theme="light"] .threat-map-bottom-legend .osm-attribution a { color:#145b9a; }
:root[data-theme="light"] .threat-map-canvas svg {
  shape-rendering:geometricPrecision;
  text-rendering:geometricPrecision;
}
:root[data-theme="light"] .threat-district-boundary { stroke:#647d91; stroke-width:1.15px; stroke-opacity:.94; }
:root[data-theme="light"] .threat-oblast-outline:not(.alert-level-red):not(.alert-level-yellow):not(.alert-level-green) { stroke:#8c681d; stroke-width:2px; }
:root[data-theme="light"] .threat-city-shape:not(.threat-city-shape--priority) { stroke:#ad7c4f; stroke-width:1.15px; }
:root[data-theme="light"] .threat-settlement-boundary--city { stroke:#b8752f; stroke-width:1.25px; stroke-opacity:.96; }
:root[data-theme="light"] .threat-settlement-boundary--town { stroke:#647d91; stroke-width:.9px; stroke-opacity:.82; }
:root[data-theme="light"] .threat-settlement-label--city { fill:#62401c; stroke:#fff8e9; stroke-width:3px; }
:root[data-theme="light"] .threat-settlement-label--town { fill:#344e64; stroke:#fff; stroke-width:2.5px; }
:root[data-theme="light"] .cycle-countdown {
  color:#59451f;
  border-color:#d6b65f;
  background:#fff2d8;
  box-shadow:0 1px 3px rgba(78,58,21,.12);
}
.threat-item--removed { border-style:dashed; border-color:#8395a7; background:rgba(91,107,123,.12); color:var(--muted); font-size:clamp(11px,.72vw,13px); pointer-events:none; }
:root[data-theme="light"] .threat-item--removed { border-color:#9aa9b7; background:#edf1f5; color:#53677d; }
.threat-map-canvas svg { shape-rendering:geometricPrecision; text-rendering:geometricPrecision; }
.threat-district-boundary-casing { fill:none; stroke:#07182a; stroke-width:3px; stroke-opacity:.8; stroke-linejoin:round; vector-effect:non-scaling-stroke; pointer-events:none; }
.threat-district-boundary { stroke:#ffdc83; stroke-width:1.45px; stroke-opacity:.98; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.threat-settlement-boundary--city { stroke-width:1.3px; stroke-opacity:.98; }
.threat-settlement-boundary--town { stroke-width:.9px; stroke-opacity:.74; }
.threat-village-center { fill:#8de0bf; stroke:#09253a; stroke-width:1px; vector-effect:non-scaling-stroke; pointer-events:all; }
.threat-village-label { fill:#d9ffe9; stroke:#092638; stroke-width:2.8px; font-family:"Segoe UI",Arial,sans-serif; font-size:9px; font-weight:700; paint-order:stroke; stroke-linejoin:round; pointer-events:none; }
.legend-dot.settlement-village { color:#8de0bf; background:#8de0bf; border:1px solid #31594d; }
:root[data-theme="light"] .threat-district-boundary-casing { stroke:#fffdf7; stroke-width:3.4px; stroke-opacity:.98; }
:root[data-theme="light"] .threat-district-boundary { stroke:#80601a; stroke-width:1.55px; stroke-opacity:1; }
:root[data-theme="light"] .threat-village-center { fill:#14755c; stroke:#fffdf7; stroke-width:1.2px; }
:root[data-theme="light"] .threat-village-label { fill:#174b3e; stroke:#fffdf7; stroke-width:3px; }
:root[data-theme="light"] .legend-dot.settlement-village { color:#14755c; background:#14755c; border-color:#e8fff4; }
.threat-hromada-boundary-casing { fill:none; stroke:#08182a; stroke-width:2.7px; stroke-opacity:.78; stroke-linejoin:round; vector-effect:non-scaling-stroke; pointer-events:none; }
.threat-hromada-boundary { fill:none; stroke:#8fc5dd; stroke-width:1px; stroke-opacity:.95; stroke-dasharray:4 3; stroke-linejoin:round; vector-effect:non-scaling-stroke; pointer-events:stroke; }
.threat-district-boundary { pointer-events:stroke; cursor:help; }
.threat-hromada-boundary { cursor:help; }
.threat-settlement-center--city { fill:#ffd277; stroke:#542f12; stroke-width:1.7px; vector-effect:non-scaling-stroke; }
.threat-settlement-center--town { fill:#70c6e8; stroke:#123d5b; stroke-width:1.25px; vector-effect:non-scaling-stroke; }
.threat-map-scale-bar { pointer-events:none; }
.threat-map-scale-bar rect { fill:#061426e8; stroke:#d8e8f7; stroke-width:1px; vector-effect:non-scaling-stroke; }
.threat-map-scale-bar path { fill:none; stroke:#fff; stroke-width:2px; stroke-linecap:square; vector-effect:non-scaling-stroke; }
.threat-map-scale-bar text { fill:#fff; stroke:#071525; stroke-width:2.4px; paint-order:stroke; font:800 11px "Segoe UI",Arial,sans-serif; }
.threat-map-scale-bar .threat-map-scale-caption { font-size:8px; font-weight:700; letter-spacing:.08em; stroke-width:1.8px; }
.legend-boundary.district { border-top:2px solid #ffd778; }
.legend-boundary.hromada { border-top:2px dashed #8fc5dd; }
:root[data-theme="light"] .threat-hromada-boundary-casing { stroke:#fffdf7; stroke-width:3px; stroke-opacity:1; }
:root[data-theme="light"] .threat-hromada-boundary { stroke:#4d7f98; stroke-width:1.1px; stroke-opacity:.95; }
:root[data-theme="light"] .threat-settlement-center--city { fill:#b8750a; stroke:#fff8e8; stroke-width:1.8px; }
:root[data-theme="light"] .threat-settlement-center--town { fill:#1477a1; stroke:#f5fbff; stroke-width:1.4px; }
:root[data-theme="light"] .threat-map-scale-bar rect { fill:#ffffffed; stroke:#284763; }
:root[data-theme="light"] .threat-map-scale-bar path { stroke:#173149; }
:root[data-theme="light"] .threat-map-scale-bar text { fill:#173149; stroke:#fff; }
:root[data-theme="light"] .threat-map-controls { color:#173149; background:#fffdf4ed; border-color:#b5c8d8; }
:root[data-theme="light"] .threat-map-controls button, :root[data-theme="light"] .threat-map-controls select { color:#173149; background:#f4f7fb; border-color:#a8bed2; }
.threat-map-controls { position:absolute; z-index:6; top:42px; right:6px; display:flex; align-items:flex-end; gap:5px; max-width:calc(100% - 12px); padding:4px 5px; border:1px solid #58728d; border-radius:7px; color:#e7f0fa; background:#071525e8; font-size:10px; }
.threat-map-controls[hidden] { display:none !important; }
.threat-map-controls > label { display:grid; gap:2px; margin:0; color:inherit; font-size:9px; font-weight:750; }
.threat-map-controls > .threat-map-control-drag-handle { cursor:grab; touch-action:none; user-select:none; }
.threat-map-controls > .threat-map-control-drag-handle:active { cursor:grabbing; }
.threat-map-controls select { max-width:clamp(100px,13vw,190px); min-height:28px; padding:3px 20px 3px 6px; font-size:10px; }
.threat-map-zoom-controls { display:flex; align-items:flex-end; gap:3px; }
.threat-map-controls button { min-width:28px; min-height:28px; padding:2px 6px; border:1px solid #58728d; border-radius:5px; color:#edf5ff; background:#183653; font-size:12px; font-weight:800; }
.threat-map-controls button:last-child { font-size:9px; }
.threat-map-scale-lock[data-sync-state="error"] { border-color:#dc5064; box-shadow:0 0 0 1px #dc506455; }
.threat-map-scale-lock[data-sync-state="saved"] { border-color:#36b884; }
.threat-map-zoom-controls output { min-width:38px; color:inherit; font-size:10px; font-weight:800; text-align:center; }
.threat-map-legend-items [hidden], .threat-map-target-legend [hidden] { display:none !important; }
#threatMapSvg { touch-action:none; cursor:grab; }
#threatMapSvg:active { cursor:grabbing; }
@media(max-width:760px) { .threat-map-controls { top:42px; right:4px; flex-direction:column; align-items:stretch; gap:3px; padding:3px; }.threat-map-controls > label { display:flex; align-items:center; justify-content:space-between; gap:4px; }.threat-map-controls select { max-width:150px; }.threat-map-zoom-controls { justify-content:space-between; } }
:root[data-theme="light"] .legend-boundary.district { border-color:#80601a; }
:root[data-theme="light"] .legend-boundary.hromada { border-color:#4d7f98; }
.threat-map-layer-settings { display:grid; gap:7px; margin:8px 0; padding:9px 11px; border:1px solid var(--border,#36536f); border-radius:8px; background:color-mix(in srgb, var(--surface,#10243a) 78%, transparent); }
.threat-map-layer-settings > summary { color:var(--accent,#ffd15c); font-weight:800; cursor:pointer; }
.threat-map-layer-settings > label { margin:0; }
.threat-map-layer-notice { display:block; margin-top:6px; padding:5px 8px; border-left:3px solid #e5aa37; color:#d6e2ef; background:#172a3d; font-size:10px; line-height:1.35; }
.threat-map-layer-notice[hidden] { display:none !important; }
:root[data-theme="light"] .threat-map-layer-notice { color:#344c62; background:#fff4d7; }
.threat-map-scale-bar { pointer-events:all; cursor:grab; touch-action:none; }
.threat-map-scale-bar[data-locked="true"] { cursor:default; }
.threat-map-scale-bar rect { pointer-events:all; }
.threat-map-scale-lock { min-width:30px !important; font-size:13px !important; }
.threat-settlement-center { stroke:none; }
.threat-settlement-center--city .threat-settlement-marker-halo { fill:#38240e; stroke:#fff0c2; stroke-width:1.35px; vector-effect:non-scaling-stroke; }
.threat-settlement-center--city .threat-settlement-marker-core { fill:#ffc24f; stroke:#6f410b; stroke-width:.75px; vector-effect:non-scaling-stroke; }
.threat-settlement-center--town .threat-settlement-marker-halo { fill:#102c42; stroke:#a4e8ff; stroke-width:1px; vector-effect:non-scaling-stroke; }
.threat-settlement-center--town .threat-settlement-marker-core { fill:#b8edff; stroke:#174963; stroke-width:.65px; vector-effect:non-scaling-stroke; }
.threat-settlement-boundary--city { stroke-width:1.5px; stroke-opacity:.98; }
.threat-settlement-boundary--town { stroke-width:.9px; stroke-opacity:.76; }
.threat-settlement-label--city { font-size:13px; font-weight:850; stroke-width:3px; }
.threat-settlement-label--town { font-size:10.5px; font-weight:700; stroke-width:2.4px; }
:root[data-theme="light"] .threat-settlement-center--city .threat-settlement-marker-halo { fill:#fff8e8; stroke:#77520f; }
:root[data-theme="light"] .threat-settlement-center--city .threat-settlement-marker-core { fill:#b8750a; stroke:#fff8e8; }
:root[data-theme="light"] .threat-settlement-center--town .threat-settlement-marker-halo { fill:#f5fbff; stroke:#14516d; }
:root[data-theme="light"] .threat-settlement-center--town .threat-settlement-marker-core { fill:#1477a1; stroke:#f5fbff; }
.threat-map-bottom-legend .threat-map-target-legend svg {
  box-sizing:border-box;
  width:clamp(25px,2.2vw,36px);
  height:clamp(25px,2.2vw,36px);
  flex:0 0 clamp(25px,2.2vw,36px);
  padding:3px;
  border:1px solid #5d7895;
  border-radius:50%;
  background:#17324b;
  shape-rendering:geometricPrecision;
}
.threat-map-bottom-legend .threat-map-target-legend .threat-drone-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-jet-icon {
  stroke:#071a2b;
  stroke-width:3.4px;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:none;
  filter:none;
}
.threat-map-bottom-legend .threat-map-target-legend .threat-fpv-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-missile-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-bomb-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-banderole-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-kab-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-fab-icon,
.threat-map-bottom-legend .threat-map-target-legend .threat-generic-icon {
  filter:none;
}
.threat-map-bottom-legend .threat-map-target-legend .threat-drone-icon { fill:#fff8e8; }
.threat-map-bottom-legend .threat-map-target-legend .threat-jet-icon { fill:#7ceeff; }
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend svg {
  border-color:#9aafc1;
  background:#e4edf5;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend .threat-drone-icon {
  fill:#18354e;
  stroke:#fffdf5;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend .threat-jet-icon {
  fill:#087a99;
  stroke:#f7ffff;
}
.threat-map-bottom-legend .threat-map-target-legend .threat-fpv-icon { stroke:#68b9ff; }
.threat-map-bottom-legend .threat-map-target-legend .threat-fpv-icon circle {
  fill:#176fb4;
  stroke:#e5f4ff;
}
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend .threat-fpv-icon { stroke:#075da8; }
:root[data-theme="light"] .threat-map-bottom-legend .threat-map-target-legend .threat-fpv-icon circle {
  fill:#1479c8;
  stroke:#fff;
}
.threat-target--ballistic-missile .threat-target-halo { fill:#1769c2; stroke:#ffe28a; filter:drop-shadow(0 0 8px rgba(23,105,194,.9)); }
.threat-target--ballistic-missile.threat-target--stale .threat-target-halo { fill:#77818d; stroke:#e1e6eb; filter:none; }
.threat-ballistic-icon { overflow:visible; pointer-events:none; }
.threat-ballistic-body { fill:#ffc247; stroke:#142a42; stroke-width:3.2px; stroke-linejoin:round; stroke-linecap:round; paint-order:stroke fill; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 1px rgba(255,250,228,.85)); }
.threat-ballistic-trajectory { fill:none; stroke:#ff6547; stroke-width:3.1px; stroke-linecap:round; stroke-dasharray:3 2; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 1px rgba(255,210,150,.85)); }
.threat-ballistic-highlight { fill:none; stroke:#fff8dd; stroke-width:1.8px; stroke-linecap:round; vector-effect:non-scaling-stroke; pointer-events:none; }
.threat-ballistic-flame { fill:#ff6747; stroke:#fff0b4; stroke-width:1.4px; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.threat-map-bottom-legend .threat-ballistic-body { stroke-width:2.4px; vector-effect:none; }
.threat-map-bottom-legend .threat-ballistic-trajectory { stroke-width:2.5px; vector-effect:none; }
.threat-map-bottom-legend .threat-ballistic-highlight { stroke-width:1.4px; vector-effect:none; }
.threat-map-bottom-legend .threat-ballistic-flame { stroke-width:1px; vector-effect:none; }
.threat-target--ballistic-missile .threat-ballistic-body { fill:#ffd15c; stroke:#102b45; }
.threat-target--ballistic-missile .threat-ballistic-trajectory { stroke:#ff644d; }
:root[data-theme="light"] .threat-ballistic-body { fill:#ec761e; stroke:#4a260d; filter:none; }
:root[data-theme="light"] .threat-ballistic-trajectory { stroke:#c73d26; filter:none; }
:root[data-theme="light"] .threat-ballistic-highlight { stroke:#fff9e9; }
:root[data-theme="light"] .threat-ballistic-flame { fill:#d94728; stroke:#55250f; }
:root[data-theme="light"] .threat-target--ballistic-missile .threat-ballistic-body { fill:#f08a1f; stroke:#3c260f; }
:root[data-theme="light"] .threat-target--ballistic-missile .threat-ballistic-trajectory { stroke:#c93d28; }

/* Keep all target types on one TV legend row and reclaim the label column. */
.threat-map-bottom-legend .threat-target-legend-control {
  display:flex;
  align-items:center;
  gap:clamp(4px,.45vw,8px);
}
.threat-map-bottom-legend .threat-target-legend-control > summary {
  flex:0 0 auto;
  align-self:center;
}
.threat-map-bottom-legend .threat-map-target-legend {
  display:flex;
  flex:1 1 auto;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:2px clamp(2px,.35vw,6px);
  min-width:0;
}
.threat-map-bottom-legend .threat-map-target-legend > span {
  flex:0 1 auto;
  justify-content:flex-start;
  gap:3px;
  min-width:0;
  font-size:clamp(8px,.58vw,10px);
  text-shadow:none;
}
.threat-map-bottom-legend .threat-map-target-legend b {
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
}
.threat-map-bottom-legend .threat-map-target-legend svg {
  width:clamp(24px,1.65vw,30px);
  height:clamp(24px,1.65vw,30px);
  flex:0 0 clamp(24px,1.65vw,30px);
}
@media(max-width:900px) {
  .threat-map-bottom-legend .threat-target-legend-control { display:grid; grid-template-columns:minmax(0,1fr); gap:3px; }
  .threat-map-bottom-legend .threat-target-legend-control > summary { grid-column:1; }
  .threat-map-bottom-legend .threat-map-target-legend { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); justify-content:initial; flex-wrap:wrap; gap:3px 5px; }
  .threat-map-bottom-legend .threat-map-target-legend > span { justify-content:flex-start; white-space:normal; }
  .threat-map-bottom-legend .threat-map-target-legend b { white-space:normal; }
  .threat-map-bottom-legend .threat-map-target-legend svg { width:25px; height:25px; flex-basis:25px; }
}

/* Fill the target legend's available strip width without squeezing icons or labels. */
.threat-map-bottom-legend .threat-target-legend-control {
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  grid-column:1/-1;
  grid-row:2;
  align-items:center;
  column-gap:clamp(6px,.6vw,10px);
  min-width:0;
  width:100%;
}
.threat-map-bottom-legend .threat-target-legend-control > summary {
  grid-column:1;
  grid-row:1;
}
.threat-map-bottom-legend .threat-map-target-legend {
  display:grid;
  grid-column:2;
  grid-row:1;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,108px),1fr));
  align-items:center;
  justify-content:stretch;
  gap:3px clamp(5px,.5vw,9px);
  min-width:0;
  width:100%;
}
.threat-map-bottom-legend .threat-map-target-legend > span {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(3px,.3vw,5px);
  min-width:0;
  white-space:nowrap;
}
.threat-map-bottom-legend .threat-map-target-legend b {
  min-width:0;
  white-space:nowrap;
}
@media(max-width:560px) {
  .threat-map-bottom-legend .threat-target-legend-control {
    grid-template-columns:minmax(0,1fr);
    row-gap:3px;
  }
  .threat-map-bottom-legend .threat-target-legend-control > summary,
  .threat-map-bottom-legend .threat-map-target-legend {
    grid-column:1;
  }
  .threat-map-bottom-legend .threat-map-target-legend {
    grid-row:2;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,104px),1fr));
  }
  .threat-map-bottom-legend .threat-map-target-legend > span {
    justify-content:flex-start;
  }
}

/* Optional TV interaction modes configured by the administrator. */
body.presentation-touch-controls button,
body.presentation-touch-controls summary,
body.presentation-touch-controls .threat-map-controls select {
  min-height:44px;
  touch-action:manipulation;
}
body.presentation-touch-controls .threat-map-controls { gap:7px; padding:7px; }
body.presentation-touch-controls .threat-map-controls button { min-width:44px; min-height:44px; padding:6px 9px; font-size:14px; }
body.presentation-touch-controls .threat-map-controls select { min-height:44px; padding:7px 26px 7px 9px; font-size:13px; }
body.presentation-touch-controls .threat-map-control-drag-handle { touch-action:none; }
body.presentation-remote-controls :focus-visible {
  outline:3px solid #ffd15c;
  outline-offset:3px;
  box-shadow:0 0 0 2px #071525;
}
:root[data-theme="light"] body.presentation-remote-controls :focus-visible {
  outline-color:#145b9a;
  box-shadow:0 0 0 2px #fff;
}
.presentation-announcement.has-qr,.presentation-bottom-info.has-qr { position:relative; box-sizing:border-box; min-height:calc(var(--notice-qr-size,144px) + 18px); padding-right:calc(var(--notice-qr-size,144px) + clamp(14px,1.4vw,26px) + 14px); }
.notice-copy { display:flex; flex:1 1 auto; flex-direction:column; justify-content:center; gap:clamp(3px,.28vw,7px); min-width:0; width:100%; }
.notice-copy strong,.notice-copy span { display:block; flex:none; width:100%; min-width:0; overflow-wrap:anywhere; }
.notice-copy strong:empty,.notice-copy span:empty { display:none; }
.presentation-announcement.has-qr[data-align="center"],.presentation-bottom-info.has-qr[data-align="center"] { flex-direction:row; }
.presentation-announcement.has-qr .notice-copy,.presentation-bottom-info.has-qr .notice-copy { box-sizing:border-box; min-height:calc(var(--notice-qr-size,144px) + 24px); padding-right:clamp(4px,.5vw,10px); }
.presentation-announcement.has-qr,.presentation-bottom-info.has-qr { min-height:calc(var(--notice-qr-size,144px) + 42px); }
.notice-qr { position:absolute; top:50%; right:clamp(7px,.7vw,14px); display:flex; flex-direction:column; align-items:center; gap:3px; width:var(--notice-qr-size,144px); margin:0; transform:translateY(-50%); }
.notice-qr[hidden] { display:none; }
.notice-qr img { display:block; box-sizing:border-box; max-width:100%; object-fit:contain; padding:4px; border:1px solid rgba(255,255,255,.86); border-radius:5px; background:#fff; image-rendering:pixelated; }
.notice-qr figcaption { display:-webkit-box; max-width:100%; max-height:2.4em; overflow:hidden; color:inherit; font-size:clamp(9px,.62vw,13px); font-weight:700; line-height:1.1; text-align:center; text-overflow:ellipsis; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.presentation-announcement.has-qr .notice-qr,.presentation-bottom-info.has-qr .notice-qr { z-index:1; }
@media(max-width:700px) { .presentation-announcement.has-qr,.presentation-bottom-info.has-qr { padding-right:calc(var(--notice-qr-size,112px) + 24px); }.notice-qr { right:6px; } }
.presentation-notice-group.has-two-notices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:clamp(6px,.6vw,12px); width:100%; }
.presentation-notice-group.has-two-notices > .presentation-announcement,.presentation-notice-group.has-two-notices > .presentation-bottom-info { width:100%; min-width:0; margin-block:3px; }
.presentation-notice-group.has-two-notices .notice-copy { min-width:0; }
.presentation-notice-group.has-two-notices .notice-qr figcaption { max-width:100%; overflow-wrap:anywhere; }
.notice-secondary-card { border-left:1px solid rgba(220,178,77,.7); }
.notice-secondary-card { position:relative; padding-top:clamp(22px,1.8vw,30px); }
.notice-badge { position:absolute; top:5px; left:clamp(8px,.8vw,14px); max-width:calc(100% - 24px); padding:2px 7px; overflow:hidden; border:1px solid currentColor; border-radius:999px; color:#f5d987; background:rgba(5,18,32,.48); font-size:clamp(9px,.58vw,12px); font-weight:800; letter-spacing:.035em; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.notice-badge[hidden] { display:none !important; }
:root[data-theme="light"] .notice-badge { color:#714b12; background:rgba(255,248,227,.82); }
.presentation-remote-mode-button { min-height:32px; padding:5px 9px; font-size:clamp(10px,.62vw,13px); white-space:nowrap; }
body.presentation-view-schedule #presentationAnnouncementGroup,body.presentation-view-schedule #presentationBottomInfoGroup { display:none !important; }
body.presentation-view-notices #schedulePanel > :not(#presentationAnnouncementGroup):not(#presentationBottomInfoGroup),body.presentation-view-notices #environmentPanels,body.presentation-view-notices #presentationSlidesPanel { display:none !important; }
body.presentation-view-notices #schedulePanel { display:flex; justify-content:center; }
.panel-scale-viewport.is-scaled > .presentation-notice-group.has-two-notices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:700px) { .presentation-notice-group.has-two-notices { grid-template-columns:1fr; }.panel-scale-viewport.is-scaled > .presentation-notice-group.has-two-notices { grid-template-columns:1fr; } }
.presentation-notice-group.has-two-notices { grid-template-columns:minmax(0,var(--notice-first-share,50%)) minmax(0,1fr); }
.panel-scale-viewport.is-scaled > .presentation-notice-group.has-two-notices { grid-template-columns:minmax(0,var(--notice-first-share,50%)) minmax(0,1fr); }
@media(max-width:700px) { .presentation-notice-group.has-two-notices,.panel-scale-viewport.is-scaled > .presentation-notice-group.has-two-notices { grid-template-columns:1fr; } }
