:root {
  color-scheme: light;
  --surface-0: #efefef; --surface-1: #ffffff; --border: #000000; --grid: #dcdcdc;
  --text-primary: #000000; --text-secondary: #262626; --text-muted: #4d4d4d;
  --series-1: #000000; --series-1-soft: rgba(0,0,0,.14); --series-1-softer: rgba(0,0,0,.06);
  --series-2: #8a8a8a; --series-2-soft: rgba(0,0,0,.10); --series-3: #555555; --series-7: #b0b0b0;
  --good: #2A7650; --good-text: #2A7650; --critical: #b3261e; --critical-text: #a02c20;
  --yes: #2A7650; --no: #c4121f;           
  --shadow: #000000; --ticker-bg: #000; --led: #3A8F67; --led-dim: #1F5A41; --led-live: #ff4d3a;
  --ticker-up: #5BA583; --ticker-down: #ff6b6b;   
  --banner-bg: #000000; --banner-text: #ffffff;   
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface-0: #121212; --surface-1: #1a1d20; --border: #80868e; --grid: #2c3035;
    --text-primary: #e0e0e0; --text-secondary: #d1d5db; --text-muted: #a3a8af;
    --series-1: #e0e0e0; --series-1-soft: rgba(224,224,224,.18); --series-1-softer: rgba(224,224,224,.07);
    --series-2: #8f8f8f; --series-2-soft: rgba(255,255,255,.10); --series-3: #bdbdbd; --series-7: #6a6a6a;
    --good: #5BA583; --good-text: #5BA583; --critical: #ff5a4e; --critical-text: #ff7a70;
    --yes: #5BA583; --no: #ff4646;
    --shadow: #0b0c0d; --ticker-bg: #16191c; --led: #3A8F67; --led-dim: #1F5A41; --led-live: #ff4d3a;
    --banner-bg: #000000; --banner-text: #ffffff;   
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-0: #121212; --surface-1: #1a1d20; --border: #80868e; --grid: #2c3035;
  --text-primary: #e0e0e0; --text-secondary: #d1d5db; --text-muted: #a3a8af;
  --series-1: #e0e0e0; --series-1-soft: rgba(224,224,224,.18); --series-1-softer: rgba(224,224,224,.07);
  --series-2: #8f8f8f; --series-2-soft: rgba(255,255,255,.10); --series-3: #bdbdbd; --series-7: #6a6a6a;
  --good: #5BA583; --good-text: #5BA583; --critical: #ff5a4e; --critical-text: #ff7a70;
  --yes: #5BA583; --no: #ff4646;
  --shadow: #0b0c0d; --ticker-bg: #16191c; --led: #3A8F67; --led-dim: #1F5A41; --led-live: #ff4d3a;
  --banner-bg: #000000; --banner-text: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: geometricPrecision; }
body { margin: 0; background: var(--surface-0); color: var(--text-primary);
  font: 14px/1.45 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
body { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 20px 16px 48px; }
.wrap { width: 100%; }
h1 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 30px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; margin: 0; }
h2 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
h3 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
a { color: inherit; }
.muted { color: var(--text-muted); }
.note { color: var(--text-muted); font-size: 12px; }
.up { color: var(--good-text); } .down { color: var(--critical-text); }
html:not([data-edition="web"]) .web-only { display: none !important; }
html[data-edition="web"] .local-only { display: none !important; }
[hidden] { display: none !important; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); }
.seg { display: inline-flex; border: 2px solid var(--border); border-radius: 0; overflow: hidden; background: var(--surface-1); flex-wrap: wrap; }
.seg button { border: 0; background: none; color: var(--text-secondary); padding: 6px 10px; font: inherit; font-size: 12px; cursor: pointer;
  text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.seg button + button { border-left: 2px solid var(--border); }
.seg button[aria-pressed="true"] { background: var(--text-primary); color: var(--surface-1); }
.brandbar { position: sticky; top: 0; z-index: 39; }
.brandbar { background: var(--banner-bg); color: var(--banner-text); border-bottom: 3px solid var(--border); font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px; line-height: 1; text-transform: uppercase; }
.brandbar .in { max-width: 1180px; margin: 0 auto; padding: 0 16px; min-height: 44px; display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1fr); grid-template-areas: "brand title nav"; align-items: center; column-gap: 20px; }
.brandbar .brand { grid-area: brand; justify-self: start; font-weight: 700; letter-spacing: .06em; color: var(--banner-text);
  display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; text-decoration: none; }
.brandbar .bname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brandbar .blogo { flex: none; display: block; height: 34px; width: auto; }
.brandbar .btitle { grid-area: title; justify-self: center; font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: .06em;
  line-height: 1.2; margin: 0; color: var(--banner-text); text-transform: uppercase; text-align: center; white-space: nowrap; }
.brandbar .bnav { grid-area: nav; justify-self: end; display: flex; align-items: center; gap: 22px; min-width: 0; }
.brandbar .bl { color: var(--banner-text); opacity: .78; font-weight: 600; letter-spacing: .06em; white-space: nowrap; cursor: default; text-decoration: none; }
.brandbar a.bl { cursor: pointer; } .brandbar a.bl:hover { opacity: 1; }
.brandbar .bl.signin { border: 2px solid var(--banner-text); border-radius: 0; padding: 3px 10px; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 600; }
.brandbar a.bl:focus-visible, .brandbar a.brand:focus-visible { outline: 2px solid var(--banner-text); outline-offset: 4px; }
.brandbar .bl.cur { color: var(--banner-text); opacity: 1; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.brandbar .bl.off { opacity: .32; cursor: not-allowed; }
.brandbar .soon { display: inline-block; margin-left: 6px; border: 1px solid var(--banner-text); padding: 1px 4px; font-size: 9px; letter-spacing: .1em; line-height: 1; vertical-align: middle; }
@media (max-width: 1100px) { .brandbar { font-size: 13px; } .brandbar .brand, .brandbar .bl, .brandbar .btitle { letter-spacing: .03em; }
  .brandbar .bnav { gap: 14px; } .brandbar .bl.signin { font-size: 11px; padding: 3px 8px; } }
@media (max-width: 860px) { .brandbar .in { column-gap: 14px; } .brandbar .bnav { gap: 12px; } }
@media (max-width: 740px) {
  .brandbar { font-size: 14px; }
  .brandbar .in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand nav" "title title";
    row-gap: 6px; padding-top: 9px; padding-bottom: 9px; }
  .brandbar .btitle { justify-self: center; padding-top: 6px; border-top: 1px solid currentColor; width: 100%; }
  .brandbar .brand { letter-spacing: .02em; gap: 8px; } .brandbar .blogo { height: 28px; } .brandbar .bnav { gap: 14px; } }
@media (max-width: 640px) { .brandbar .bname { display: none; } }
@media (max-width: 400px) {
  .brandbar { font-size: 12.5px; } .brandbar .in { padding-left: 12px; padding-right: 12px; column-gap: 10px; }
  .brandbar .brand, .brandbar .bl, .brandbar .btitle { letter-spacing: 0; } .brandbar .bnav { gap: 10px; }
  .brandbar .brand { gap: 6px; } .brandbar .blogo { height: 24px; } }
.themebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 19; display: flex; flex-direction: column;
  align-items: center; gap: 6px; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.themebar .tl { writing-mode: vertical-rl; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.themebar .seg { flex-direction: column; flex-wrap: nowrap; border-right: 0; box-shadow: -3px 3px 0 var(--shadow); }
.themebar .seg button { writing-mode: vertical-rl; padding: 12px 7px; letter-spacing: .12em; }
.themebar .seg button + button { border-left: 0; border-top: 2px solid var(--border); }
@media (max-width: 1240px) { .wrap { padding-right: 42px; } }
@media (max-width: 600px) { .themebar .tl { display: none; } .themebar .seg button { padding: 9px 4px; font-size: 10.5px; letter-spacing: .06em; }
  .wrap { padding-right: 32px; } }
.card { background: var(--surface-1); border: 2px solid var(--border); border-radius: 0; box-shadow: 4px 4px 0 var(--shadow); padding: 18px 20px; min-width: 0; }
.btn { display: inline-block; font: inherit; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 9px 16px;
  border: 2px solid var(--border); border-radius: 0; background: var(--surface-1); color: var(--text-primary); box-shadow: 2px 2px 0 var(--shadow);
  cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2; }
.btn:hover { border-color: var(--text-muted); }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; }
.btn.primary { background: var(--text-primary); color: var(--surface-1); border-color: var(--text-primary); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: 2px 2px 0 var(--shadow); transform: none; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.hint, .field .hint { font-size: 11px; color: var(--text-muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 14px; padding: 8px 10px; border: 2px solid var(--border); border-radius: 0;
  background: var(--surface-1); color: var(--text-primary); width: 100%; min-width: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--text-primary); outline-offset: 2px; }
.field input[disabled], .field textarea[disabled], .field select[disabled] { opacity: .55; cursor: not-allowed; }
.note { border-left: 3px solid var(--border); padding: 4px 0 4px 10px; }
.note:empty { display: none; }
.tag { display: inline-block; border: 2px solid var(--border); padding: 1px 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.tag.yes { border-color: var(--yes); color: var(--yes); }
.tag.no { border-color: var(--no); color: var(--no); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); }
.sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--border);
  padding-bottom: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.warn { color: var(--critical-text); font-weight: 600; }   
.wm { position: relative; isolation: isolate; }
.wm::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/static/city-day.png) center bottom / cover no-repeat; opacity: .22; image-rendering: pixelated; }
:root[data-theme="dark"] .wm::before { background-image: url(/static/city-night.png); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm::before { background-image: url(/static/city-night.png); } }
.brandbar .blogo { image-rendering: pixelated; }
:root { --em: #3A8F67; --tile: #2A7650; }   
.wm::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border: 2px solid var(--em); box-sizing: border-box; }
.brandbar .blogo { box-sizing: border-box; aspect-ratio: 1; width: auto; object-fit: contain; padding: 3px; border: 2px solid var(--em); border-radius: 50%; background: transparent; }
.htick { display: flex; align-items: stretch; height: 34px; overflow: hidden; background: var(--ticker-bg); border: 1.5px solid var(--em);   
  font: 600 14px/1 "IBM Plex Mono", ui-monospace, monospace; text-transform: uppercase; color: #f2f2f2; }
.htick .tag { flex: none; display: flex; align-items: center; padding: 0 12px; background: var(--tile); color: #fff; text-shadow: 0 1px 0 rgba(20, 61, 43, .55); border: 0; font-weight: 700; letter-spacing: .1em; }   
.htick .view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.htick .track { display: flex; white-space: nowrap; will-change: transform; animation: htick var(--dur, 60s) linear infinite; }
.htick:hover .track { animation-play-state: paused; }
@keyframes htick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.htick .it { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.htick .it + .it { border-left: 2px solid var(--em); }
.htick .lg { color: #000; background: #f2f2f2; padding: 3px 5px; font-size: 11px; }
.htick .sc2 { color: #fff; font-weight: 700; } .htick .dim { color: #bdbdbd; } .htick .live { color: var(--led-live); font-weight: 700; }
.htick .empty2 { padding: 0 18px; }
@media (prefers-reduced-motion: reduce) { .htick .track { animation: none; } .htick .view { overflow-x: auto; } }
footer { border-top: 3px solid var(--border); background: var(--surface-1); font-family: "IBM Plex Mono", ui-monospace, monospace; }
footer .in { max-width: 1180px; margin: 0 auto; padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1240px) { footer .in { padding-right: 42px; } }
@media (max-width: 760px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .grid { gap: 16px; }
  .card { padding: 16px; }
  h1 { font-size: 26px; }
}
@media (max-width: 600px) { footer .in { padding-right: 32px; } }
