@font-face {
  font-family: Manrope;
  src: url('/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url('/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Manrope, system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--surface);
  --display: "Instrument Serif", Georgia, serif;
  --surface: #f6f5f2;
  --map: #efeff3;
  --atmosphere: #dce1ef;
  --reading-surface: #fcfbf9;
  --overlay: #f9f9fc;
  --ink: #22232a;
  --muted: #4f5464;
  --accent: #3047ac;
  --line: #c2c5d0;
  --control-line: #6f7588;
  --icon-filter: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #181818;
  --map: #1d1d20;
  --atmosphere: #343541;
  --reading-surface: #212124;
  --overlay: #292a32;
  --ink: #f1efed;
  --muted: #c1c2ce;
  --accent: #b9c7ff;
  --line: #484953;
  --control-line: #9295a7;
  --icon-filter: invert(.9);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: transparent; border: 0; padding: 0; cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ui-icon { width: 16px; height: 16px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.ui-icon { filter: var(--icon-filter); }
.shell { width: min(1520px, calc(100% - clamp(48px, 9vw, 160px))); margin-inline: auto; }
.top { position: relative; z-index: 10; }
.bar { display: flex; height: 70px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 750; letter-spacing: .08em; white-space: nowrap; }
.brand-mark { flex: 0 0 auto; }
.wordmark { color: var(--muted); font-size: .63em; font-weight: 500; letter-spacing: .13em; margin-left: 6px; text-transform: uppercase; }
.header-tools { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.theme-toggle { font-size: 12px; font-weight: 700; min-height: 42px; white-space: nowrap; }
.theme-toggle > span { display: flex; align-items: center; gap: 7px; }
.theme-toggle .theme-dark,
[data-theme="dark"] .theme-toggle .theme-light { display: none; }
[data-theme="dark"] .theme-toggle .theme-dark { display: flex; }
.locale-widget { position: relative; font-size: 12px; }
.locale-widget summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 42px; cursor: pointer; }
.locale-widget summary::-webkit-details-marker, .guide summary::-webkit-details-marker { display: none; }
.locale-widget summary .ui-icon { width: 12px; }
.locale-widget summary #locale-flag { object-fit: cover; }
.locale-menu { position: absolute; right: 0; top: calc(100% + 8px); width: max-content; min-width: 195px; border: 1px solid var(--control-line); background: var(--overlay); padding: 5px 12px; }
.locale-menu button { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 10px; text-align: left; }
.locale-menu button:hover, .locale-menu button[aria-pressed=true] { color: var(--accent); }
.locale-menu img { width: 18px; height: 13px; object-fit: cover; }
.locale-menu .browser-locale { border-top: 1px solid var(--line); }

.observatory {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 45%, var(--atmosphere), var(--map) 55%, var(--surface) 100%);
}
.stage {
  min-height: 690px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(172px, 1fr) minmax(0, 2.3fr) minmax(172px, 1fr);
  grid-template-rows: 66px minmax(495px, min(65vh, 690px)) auto;
  column-gap: clamp(20px, 3.25vw, 54px);
}
.globe-field { position: absolute; inset: 47px 10% 105px; touch-action: none; }
.globe-field.zoomed { mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); }
.globe-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#world { cursor: grab; outline-offset: -3px; }
#world:active { cursor: grabbing; }
#boundaries { pointer-events: none; }

.intro, .radar, .map-top, .legend, .map-controls, .timebar { position: relative; z-index: 2; min-width: 0; }
.intro { grid-area: 2 / 1; align-self: center; padding-bottom: 38px; pointer-events: none; }
.intro h1 { font: 400 clamp(75px, 9.35vw, 158px)/.9 var(--display); letter-spacing: -.025em; white-space: nowrap; margin-left: -.026em; }
.intro-text { color: var(--muted); font-size: 14px; margin-top: 19px; line-height: 1.5; max-width: 235px; }
.readout { max-width: 240px; margin-top: 38px; padding-top: 14px; border-top: 1px solid var(--line); pointer-events: auto; }
.readout-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 13px; }
.label, .eyebrow { font-size: 10px; font-weight: 750; letter-spacing: .11em; color: var(--muted); }
.phase { color: var(--accent); font-size: 11px; font-weight: 700; }
.reading { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 7px 0 5px; }
.reading strong { font-variant-numeric: tabular-nums; font-size: clamp(28px, 3.25vw, 55px); font-weight: 500; line-height: 1.1; letter-spacing: -.065em; white-space: nowrap; }
.reading canvas { width: 64px; height: 24px; max-width: 28%; }
.readout p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.niño-sectors { display: grid; grid-template-columns: 1fr 1fr; column-gap: 13px; margin-top: 11px; }
.niño-sectors button { display: flex; justify-content: space-between; gap: 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; padding-block: 8px; text-align: left; }
.niño-sectors button b { color: var(--ink); white-space: nowrap; font-weight: 650; }
.niño-sectors button:hover, .niño-sectors button[aria-pressed=true] { color: var(--accent); border-color: var(--accent); }

.map-top { grid-area: 1 / 1 / 2 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.map-top form, .layers { display: flex; align-items: center; gap: 8px; }
.map-top form { justify-self: start; min-width: 0; border-bottom: 1px solid var(--control-line); color: var(--muted); }
.map-top input { border: 0; background: transparent; width: clamp(100px, 11vw, 170px); min-width: 0; padding: 7px 0; font-size: 12px; }
.map-top input::placeholder { color: var(--muted); }
.map-top form button { padding: 7px 0 7px 8px; }
.layers { grid-column: 2; gap: clamp(12px, 2.2vw, 31px); }
.layers button { position: relative; display: flex; align-items: center; gap: 7px; min-height: 38px; font-size: 12px; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; }
.layers button[aria-pressed=true] { color: var(--ink); border-color: var(--accent); }
button:not(:disabled):hover, .timeline a:hover { color: var(--accent); }
.map-controls { grid-area: 2 / 2; justify-self: end; align-self: end; margin-bottom: 65px; display: flex; flex-direction: column; }
.map-controls button { width: 35px; height: 33px; border-bottom: 1px solid var(--line); background: var(--overlay); }
.map-controls button:last-child { border-bottom: none; }
.legend { grid-area: 2 / 2; align-self: end; justify-self: center; width: min(300px, calc(100% - 35px)); padding: 10px 13px 6px; background: var(--overlay); pointer-events: none; margin-bottom: 5px; }
.legend-title, .ticks, .legend-note { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.legend-title { font-size: 11px; font-weight: 750; }
.legend-title b, .legend-note, .ticks { color: var(--muted); font-size: 11px; font-weight: 550; }
.legend-note { margin-top: 6px; font-size: 9px; }
.legend-note #scale { white-space: nowrap; }
.gradient { height: 5px; margin: 7px 0 3px; background: linear-gradient(90deg,#354bd1,#2c90d3 25%,#143e51 50%,#efac58 67%,#f04945 83%,#ffe4b5); }
.legend[data-layer=air] .gradient { background: linear-gradient(90deg,#332864,#5456a4,#3a81bb,#86b6cf,#c2dfdb,#edeac1,#eac06b,#de8358,#bc464f,#792846); }
.legend[data-layer=rain] .gradient { background: linear-gradient(90deg,#00784b,#00ac0c,#7bd700,#fbe400,#ff9a00,#ff4221,#e30000,#a00000,#330000); }
.legend[data-layer=rain] .snow-ramp { background: linear-gradient(90deg,#aefaef,#82c7e7,#5d99d5,#465fca,#4939d5,#6731e1,#7a08a7,#3a0330); margin-top: 3px; }
.legend[data-layer=rain] .ticks { font-size: 8px; }
.map-tip, .globe-state { background: var(--overlay); color: var(--ink); border-top: 1px solid var(--control-line); padding: 10px 13px; }
.map-tip { position: absolute; z-index: 4; pointer-events: none; width: min(185px, 59vw); transform: translate(-50%, calc(-100% - 11px)); font-size: 12px; line-height: 1.45; }
.map-tip small { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.map-tip .map-value { color: var(--accent); font-size: 13px; margin-block: 3px; }
.globe-state { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); text-align: center; width: min(240px, 80%); font-size: 13px; pointer-events: none; }

.radar { grid-area: 2 / 3; width: 100%; max-width: 265px; justify-self: end; align-self: center; padding-top: 14px; margin-bottom: 42px; border-top: 1px solid var(--line); }
.radar-head { display: flex; justify-content: space-between; gap: 9px; align-items: center; }
.radar-head button { font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.radar h2 { font: 400 clamp(30px, 3.05vw, 49px)/1.02 var(--display); letter-spacing: -.015em; margin: 11px 0 14px; overflow-wrap: anywhere; }
.radar-subtitle { color: var(--muted); font-size: 11px; margin: -5px 0 11px; }
.radar-subtitle:empty { display: none; }
.radar-items { min-height: 150px; max-height: 255px; overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.radar article { border-top: 1px solid var(--line); padding: 9px 3px 11px 0; }
.radar article a, .safety-link, .bulletins article a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.radar article a { font-size: 12px; font-weight: 650; line-height: 1.45; }
.radar article .ui-icon { width: 12px; height: 12px; }
.radar article a:hover, .safety-link:hover { color: var(--accent); }
.article-meta { font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 3px; }
.safety-link { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 11px; font-weight: 650; }
.safety-link .ui-icon { width: 13px; height: 13px; }
.quiet { font-size: 13px; color: var(--muted); line-height: 1.6; margin-block: 10px; }

.timebar { grid-area: 3 / 1 / 4 / -1; display: grid; grid-template-columns: minmax(174px, .8fr) minmax(0, 3fr); align-items: center; gap: 20px 30px; padding: 19px 0 23px; border-top: 1px solid var(--line); min-height: 87px; }
.date-box { display: grid; gap: 5px; }
.date-box b { font-variant-numeric: tabular-nums; font-size: clamp(16px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.035em; }
.date-box small { color: var(--muted); font-size: 11px; }
.date-box small:empty { display: none; }
.timeline { display: flex; align-items: center; gap: clamp(13px, 2.5vw, 38px); min-width: 0; }
.date-buttons { display: flex; flex: 0 0 auto; align-items: center; border: 1px solid var(--control-line); }
.date-buttons button { width: 34px; height: 36px; font-size: 24px; font-weight: 400; line-height: 1; }
.date-buttons button + button { border-left: 1px solid var(--line); }
.date-buttons .ui-icon { width: 13px; height: 13px; }
.date-track { flex: 1; min-width: 0; }
.date-track input { display: block; width: 100%; height: 18px; accent-color: var(--accent); margin: 0; cursor: pointer; }
.date-edges { position: relative; display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 11px; }
.date-edges a { position: absolute; left: clamp(47px, var(--onset, 14%), calc(100% - 160px)); max-width: calc(100% - 115px); text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 10px; }

.editorial-surface { background: var(--reading-surface); border-block: 1px solid var(--line); }
.editorial { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: clamp(30px, 8.5vw, 155px); padding: clamp(48px, 7vw, 105px) 0; scroll-margin: 15px; }
.editorial + .editorial { border-top: 1px solid var(--line); }
.editorial-head h2 { font: 400 clamp(44px, 5.7vw, 87px)/.98 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.editorial-head p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 13px; }
.outline, .editorial-link { display: inline-flex; align-items: baseline; gap: 8px; width: fit-content; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; line-height: 1.5; }
.outline { margin-top: 24px; }
.editorial-link { display: flex; margin-top: 13px; }
.editorial a:hover { color: var(--accent); }
.bulletins article { display: grid; grid-template-columns: minmax(88px, .55fr) minmax(0, 2fr); align-items: baseline; gap: clamp(12px, 3vw, 40px); border-bottom: 1px solid var(--line); padding: 15px 0; }
.bulletins .article-meta { font-size: 11px; }
.bulletins article a { color: var(--ink); font-size: clamp(15px, 1.43vw, 21px); line-height: 1.35; font-weight: 650; letter-spacing: -.022em; }
.bulletins article:first-child { border-top: 1px solid var(--line); }
.guide { border-bottom: 1px solid var(--line); }
.guide:first-child { border-top: 1px solid var(--line); }
.guide summary { display: flex; align-items: center; gap: 13px; min-height: 59px; padding-block: 12px; font-size: clamp(15px, 1.5vw, 21px); font-weight: 650; letter-spacing: -.025em; cursor: pointer; list-style: none; }
.guide summary .disclosure { margin-left: auto; width: 15px; height: 15px; transition: transform .16s ease; }
.guide[open] summary .disclosure { transform: rotate(180deg); }
.guide ol { margin: 0 0 15px; padding-left: 26px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.guide li + li { margin-top: 7px; }
.guide .editorial-link { margin: 0 0 19px 27px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 22px 46px; padding-block: 30px; }
.data-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.data-links a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; }
.data-links a:hover { color: var(--ink); text-decoration: underline; }
.data-links .ui-icon { width: 12px; height: 12px; }

@media (max-width: 1050px) {
  .stage { column-gap: 14px; }
  .globe-field { inset-inline: 6%; }
  .readout { margin-top: 28px; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 44px); }
  .bar { height: 57px; }
  .stage { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(405px, 76vw) auto auto; gap: 0; }
  .intro { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: 18px; padding: 28px 0 20px; align-self: stretch; align-content: center; }
  .intro h1 { font-size: clamp(49px, 12.6vw, 104px); align-self: end; }
  .intro-text { grid-area: 2 / 1; font-size: 12px; margin-top: 10px; }
  .readout { grid-area: 1 / 2 / 3 / 3; width: 100%; justify-self: end; align-self: center; margin: 0; padding-top: 0; border: none; }
  .reading strong { font-variant-numeric: tabular-nums; font-size: clamp(25px, 5vw, 42px); }
  .niño-sectors { margin-top: 5px; column-gap: 6px; }
  .niño-sectors button { font-size: 9px; padding-block: 5px; }
  .map-top { grid-area: 2 / 1; display: flex; justify-content: space-between; padding-bottom: 5px; }
  .globe-field { position: relative; inset: auto; grid-area: 3 / 1; margin-inline: -17px; }
  .map-controls { grid-area: 3 / 1; margin-bottom: 53px; }
  .legend { grid-area: 3 / 1; margin-bottom: 7px; width: min(270px, calc(100% - 83px)); }
  .timebar { grid-area: 4 / 1; padding-block: 15px 19px; }
  .radar { grid-area: 5 / 1; margin: 10px 0 27px; max-width: none; }
  .radar-items { min-height: 0; max-height: 235px; }
  .editorial { grid-template-columns: 1fr; gap: 24px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 510px) {
  .shell { width: calc(100% - 36px); }
  .stage { grid-template-rows: auto auto minmax(365px, 90vw) auto auto; }
  .intro { grid-template-columns: minmax(0, 1fr) minmax(153px, .85fr); column-gap: 14px; }
  .niño-sectors button span { white-space: nowrap; }
  .theme-toggle > span { gap: 5px; }
  .intro-text { max-width: 140px; }
  .readout p { font-size: 10px; }
  .label, .phase { font-size: 9px; }
  .map-top { flex-direction: column; align-items: stretch; gap: 5px; }
  .map-top form { align-self: flex-start; }
  .map-top input { width: 144px; }
  .layers { justify-content: space-between; gap: 8px; }
  .layers button { font-size: 11px; min-height: 32px; gap: 5px; }
  .layers .ui-icon { width: 13px; height: 13px; }
  .timebar { grid-template-columns: 1fr; gap: 11px; }
  .date-buttons button { width: 32px; height: 39px; }
  .date-edges a { left: 43%; max-width: 58px; }
  .confirmation-full { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; }
}
@media (max-width: 365px) {
  .header-tools { gap: 10px; }
  .theme-toggle > span > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .theme-toggle { min-width: 32px; }
  .theme-toggle > span { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide .disclosure { transition: none; }
}

.monitor-shell { padding: 0 0 clamp(30px, 4vw, 54px); }
.monitor-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(172px, 1.1fr) minmax(0, 2.3fr) max-content;
  align-items: center;
  column-gap: clamp(18px, 3vw, 44px);
  min-height: 84px;
  padding: 17px clamp(16px, 2.4vw, 32px);
  background: var(--overlay);
  border: 1px solid var(--line);
}
.monitor-card::before { content: ""; position: absolute; inset: -1px auto auto -1px; width: 37px; height: 2px; background: var(--accent); }
.monitor-stamp { display: flex; align-items: center; gap: 12px; }
.monitor-stamp h2, .monitor-data dt { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.35; }
.monitor-stamp time { display: block; margin-top: 4px; font-size: clamp(14px, 1.28vw, 19px); font-variant-numeric: tabular-nums; font-weight: 680; letter-spacing: -.03em; }
.monitor-data { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 15px; margin: 0; }
.monitor-data dd { margin: 4px 0 0; font-size: 13px; line-height: 1.4; font-variant-numeric: tabular-nums; font-weight: 620; }
.monitor-aside { display: grid; justify-items: end; gap: 5px; }
.monitor-aside span { color: var(--muted); font-size: 12px; }
.monitor-aside span:empty { display: none; }
.monitor-aside a { padding-block: 5px; color: var(--accent); font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }

.official-alerts .editorial-head p { max-width: 32ch; line-height: 1.65; margin: 17px 0 24px; }
.alerts-desk { min-width: 0; }
.alerts-filters { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 24px); }
.alerts-filters label { min-width: 0; display: grid; gap: 8px; align-content: start; color: var(--muted); font-size: 13px; font-weight: 650; }
.alerts-filters select {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 8px 35px 8px 12px;
  border: 1px solid var(--control-line);
  border-radius: 0;
  background: var(--surface) url('/ui/chevron-down.svg') no-repeat right 11px center / 14px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
:root[data-theme="dark"] .alerts-filters select {
  background-image: url('/ui/chevron-down-light.svg');
}
.alerts-filters select:disabled { opacity: .65; }
.alerts-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 14px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.alert-modes { display: flex; gap: clamp(13px, 2.5vw, 30px); }
.alert-modes button { position: relative; min-height: 40px; color: var(--muted); font-size: 14px; font-weight: 690; }
.alert-modes button[aria-pressed="true"] { color: var(--ink); }
.alert-modes button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); }
#alert-count { padding-bottom: 11px; color: var(--muted); font-size: 12px; min-width: 0; text-align: right; }
.alert-list { --hazard: var(--accent); min-height: 140px; }
.alert-entry { display: grid; grid-template-columns: minmax(90px, 136px) minmax(0, 1fr); gap: 13px 22px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.alert-entry[data-level="extreme"] { --hazard: #a52138; }
.alert-entry[data-level="severe"] { --hazard: #a44313; }
.alert-entry[data-level="moderate"] { --hazard: #795506; }
:root[data-theme="dark"] .alert-entry[data-level="extreme"] { --hazard: #ff9caa; }
:root[data-theme="dark"] .alert-entry[data-level="severe"] { --hazard: #ffb58e; }
:root[data-theme="dark"] .alert-entry[data-level="moderate"] { --hazard: #f0ca79; }
.alert-level { border-left: 2px solid var(--hazard); padding: 3px 0 3px 10px; align-self: start; }
.alert-level strong { display: block; color: var(--hazard); font-size: 12px; line-height: 1.35; }
.alert-level small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; line-height: 1.3; }
.alert-issuer, .alert-location, .alert-validity { color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.alert-issuer { margin-bottom: 4px; }
.alert-entry h3 { font-size: clamp(16px, 1.4vw, 20px); font-weight: 690; line-height: 1.28; letter-spacing: -.025em; overflow-wrap: anywhere; }
.alert-entry h3 a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.alert-entry h3 a:hover { text-decoration-color: var(--accent); }
.alert-location { margin-top: 6px; }
.alert-validity { display: block; margin-top: 4px; }
.alert-empty { padding: 22px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
#alert-more { margin-top: 14px; }

@media (max-width: 900px) {
  .monitor-card { grid-template-columns: minmax(140px, 1fr) minmax(0, 2.6fr); gap: 13px 20px; }
  .monitor-aside { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .monitor-aside a { margin-left: auto; }
}
@media (max-width: 540px) {
  .monitor-shell { padding-bottom: 27px; }
  .monitor-card { grid-template-columns: 1fr; gap: 12px; }
  .monitor-data { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; border-top: 1px solid var(--line); padding-top: 11px; }
  .monitor-data dd { font-size: 12px; }
  .alerts-top { flex-wrap: wrap; }
  .alert-entry { grid-template-columns: 1fr; gap: 7px; padding-block: 15px; }
  .alert-level { display: flex; gap: 8px; align-items: baseline; }
  .alert-level small { margin-top: 0; }
}
