:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #0a1722; color: #e9f4f4;
  --line: #34505e; --quiet: #aec5cb; --orange: #ffc18d; --panel: #102331;
}
* { box-sizing: border-box }
body { margin: 0; min-width: 280px }
a { color: inherit; text-underline-offset: .22em }
a:focus-visible, button:focus-visible, canvas:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffba78; outline-offset: 3px;
}
[hidden] { display: none !important }
.skip, .sr { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden }
.skip:focus { clip-path: none; width: auto; height: auto; padding: 10px; top: 4px; left: 4px; z-index: 2; background: #000 }
header { border-bottom: 1px solid var(--line) }
.headinner, main, footer { max-width: 1320px; margin: auto; padding-inline: clamp(16px, 4vw, 60px) }
.headinner, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.headinner { min-height: 64px }
.brand { color: #b8e2de; font-size: 20px; font-weight: 800; text-decoration: none; letter-spacing: -.055em }
.brand span { font-size: 15px; font-weight: 530; letter-spacing: -.02em; border-left: 1px solid var(--line); margin-left: 8px; padding-left: 12px; color: #edf3ee }
header nav, .sources, .camera-line nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
header nav a, .sources a, .camera-line a, .refresh { text-decoration: none }
header nav a { display: inline-block; color: var(--quiet); padding: 8px 10px; font-size: 14px }
header [aria-current=page] { color: #fff; border-bottom: 2px solid #dcaa79 }
.title-row { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding-block: clamp(26px, 4vw, 58px) 24px }
h1, h2, p { margin: 0 }
h1 { font-size: clamp(32px, 4vw, 58px); line-height: 1.03; letter-spacing: -.055em; font-weight: 640 }
h2 { font-size: clamp(18px, 2vw, 23px); font-weight: 610; letter-spacing: -.035em }
.title-row p, .catalogue > div > p { color: var(--quiet); margin-top: 8px; line-height: 1.55 }
.refresh, .camera-line a, .sources a, button { border: 1px solid var(--line); border-radius: 5px }
.refresh { display: inline-block; padding: 10px 13px; color: #d1e1e2; font-size: 13px; white-space: nowrap }
.sources { gap: 7px; margin: 0 0 15px }
.sources a { padding: 10px 14px; font-weight: 650; background: #102332 }
.sources a span { color: #b6cbd1; font-size: 13px; margin-left: 5px; font-weight: 400 }
.sources [aria-current=page], .camera-line [aria-current=true] { background: #284344; border-color: #78a8a2 }
.sources a:hover, .refresh:hover, .camera-line a:hover, button:hover { background: #27414b }
.instrument { display: grid; grid-template-columns: minmax(0, 2.7fr) minmax(240px, 1fr); gap: 13px }
.map-panel, .source-panel, .section-panel, .catalogue { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 19px 21px 0 }
.subtle { color: var(--quiet); font-size: 13px; line-height: 1.45; margin-top: 5px }
.state { font: 600 11px/1.3 ui-monospace, monospace; padding: 5px 7px; white-space: nowrap; background: #243748; border-radius: 4px }
.state.fresh { color: #b1e7d1; background: #1d3836 }
.state.stale, .state.unavailable { background: #49382d; color: #ffcf9d }
.notice { border-left: 3px solid var(--orange); padding: 12px 14px; line-height: 1.45; margin: 10px 0 15px; background: #342d2b }
.globe-stage { position: relative; height: clamp(285px, 30vw, 450px); margin: 0 6px }
#static-globe, #static-globe svg, #globe { height: 100%; width: 100%; display: block }
#globe { touch-action: none; cursor: grab }
#globe:active { cursor: grabbing }
#globe-tools { position: absolute; right: 14px; bottom: 8px; display: flex; gap: 4px }
button { font: inherit; color: #f0f4f2; background: #17303d; padding: 4px 9px; min-height: 32px; cursor: pointer }
#point-info { position: absolute; left: 12px; top: 8px; border: 1px solid var(--line); border-radius: 4px; color: #f7f5e9; background: #122a37f5; padding: 8px 10px; font-size: 12px; line-height: 1.45; white-space: pre-line; max-width: 75%; pointer-events: none }
.camera-line { display: flex; align-items: center; gap: 10px; padding: 3px 17px 11px; color: var(--quiet); font-size: 12px }
.camera-line a { padding: 5px 9px; color: #ebf3f1 }
.legend { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin: 0; padding: 12px 19px; font-size: 12px; color: #dce6e7; border-top: 1px solid var(--line) }
.dot { display: inline-block; margin-right: 6px; width: 9px; height: 9px; border-radius: 50% }
.d0 { background:#ffb872 }.d1 { background:#eb718b }.d2 { background:#ae9cff }.d3 { background:#a9bfcc }
.source-panel { background: #192d39; padding-bottom: 17px }
.source-panel .panel-top { padding-bottom: 15px }
.count { margin: 0 21px 12px; font-weight: 600; color: #bbded7 }
.metrics { margin: 0 21px; border-block: 1px solid var(--line); padding-block: 15px; display: grid; gap: 15px }
.metrics div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px }
.metrics span, dt { color: var(--quiet); font-size: 12px }
.metrics strong { font: 550 clamp(17px, 2vw, 24px)/1.3 ui-monospace, monospace; color: var(--orange); white-space: nowrap }
dl { margin: 14px 21px }
dt { margin-top: 12px } dd { margin: 4px 0 0; font: 13px/1.4 ui-monospace, monospace }
.agency { margin-inline: 21px; font-size: 13px }
.freshness { margin: 12px 21px 0; font-size: 12px; line-height: 1.45; color: var(--quiet) }
.section-panel { display: grid; grid-template-columns: minmax(165px, 1fr) minmax(0, 2.8fr); align-items: center; gap: 13px; padding: 15px 21px; margin-top: 13px }
.section { width: 100%; max-height: 210px; display: block }
.section text { fill: #bdd0d4; font: 11px ui-monospace, monospace }
.catalogue { margin: 14px 0 25px; background: #eff2ed; color: #1d333e }
.catalogue > div:first-child { padding: 19px 21px 14px }
.catalogue > div > p { color: #435965; font-size: 13px }
.table-scroll { max-height: 370px; overflow: auto }
table { border-collapse: separate; border-spacing: 0; width: 100%; text-align: left; font-size: 13px }
td, th { padding: 9px 12px; border-top: 1px solid #d3dcd8; vertical-align: top }
td:first-child, th:first-child { padding-left: 21px }
th { position: sticky; top: 0; background: #e3eae5; z-index: 1; color: #3d535c; font-size: 12px }
td:not(:first-child) { font-variant-numeric: tabular-nums; white-space: nowrap }
td a { color: #24594e }
.empty { padding: 18px; font-size: 14px }
footer { min-height: 68px; color: var(--quiet); font-size: 12px }
@media(max-width: 780px) { .instrument { grid-template-columns: minmax(0, 1fr) } .metrics { grid-template-columns: repeat(2,minmax(0,1fr)) } dl { display: flex; gap: 5px 10px; align-items: baseline; flex-wrap: wrap } }
@media(max-width: 550px) { .headinner { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 12px 6px }
  header nav a { padding: 5px 10px 6px 0 } .title-row { align-items: flex-start; flex-direction: column; gap: 9px } .sources a { padding: 8px 10px }
  .panel-top { padding: 15px 14px 0 } .globe-stage { height: 280px } .section-panel { grid-template-columns: 1fr; padding: 15px 14px }
  .metrics { grid-template-columns: 1fr } footer { flex-wrap: wrap; align-content: center; gap: 8px } }
