:root {
  color-scheme: dark;
  --black: #030303;
  --surface: #080808;
  --surface-2: #0d0d0d;
  --surface-3: #141414;
  --white: #f5f5f2;
  --soft: #c7c7c2;
  --muted: #81817d;
  --dim: #555552;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --signal-earth: #ffd166;
  --signal-weather: #59d5ff;
  --signal-fire: #ff633e;
  --signal-flood: #4589ff;
  --signal-human: #f28cff;
  --signal-space: #a38bff;
  --rail: 72px;
  --panel: 388px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-domain="geophysical"] { --signal-color: var(--signal-earth); --signal-glow: rgba(255, 209, 102, .72); }
[data-domain="weather"] { --signal-color: var(--signal-weather); --signal-glow: rgba(89, 213, 255, .72); }
[data-domain="fire"] { --signal-color: var(--signal-fire); --signal-glow: rgba(255, 99, 62, .76); }
[data-domain="flood"] { --signal-color: var(--signal-flood); --signal-glow: rgba(69, 137, 255, .76); }
[data-domain="human"] { --signal-color: var(--signal-human); --signal-glow: rgba(242, 140, 255, .68); }
[data-domain="space"] { --signal-color: var(--signal-space); --signal-glow: rgba(163, 139, 255, .7); }

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; background: var(--black); color: var(--white); }
body { letter-spacing: -.01em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.live-banner {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 14px;
  color: #b9b9b4;
  background: #050505;
  border-bottom: 1px solid var(--line);
  font: 500 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .04em;
}
.live-badge { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; letter-spacing: .12em; }
.live-badge b { font: inherit; }
.live-badge i, .connection-state i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.68); }
.live-banner.is-degraded .live-badge i, .connection-state.is-degraded i { background: #777; box-shadow: none; }
.live-banner.is-offline .live-badge i, .connection-state.is-offline i { background: transparent; border: 1px solid #777; box-shadow: none; }
.banner-disclaimer { color: #858580; padding-left: 11px; border-left: 1px solid var(--line); }

.app-shell { height: calc(100% - 28px); display: grid; grid-template: 68px 1fr / var(--rail) 1fr; }
.topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px minmax(260px, 600px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
  background: rgba(5,5,5,.96);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  backdrop-filter: blur(20px);
}
.brand { width: max-content; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-orbit { width: 34px; height: 34px; position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.brand-orbit::before, .brand-orbit::after { content: ""; position: absolute; width: 28px; height: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; transform: rotate(34deg); }
.brand-orbit::after { transform: rotate(-34deg); opacity: .4; }
.brand-orbit i { width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .04em; }

.global-search { height: 39px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #090909; border: 1px solid var(--line); border-radius: 9px; transition: border-color .2s, background .2s; }
.global-search:focus-within { border-color: rgba(255,255,255,.36); background: #0c0c0c; }
.global-search svg { width: 15px; fill: none; stroke: #747471; stroke-width: 1.7; }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #efefec; background: transparent; font-size: 12px; }
.global-search input::placeholder { color: #898984; }
.global-search kbd { color: #696965; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.connection-state { display: flex; align-items: center; gap: 7px; padding-right: 14px; border-right: 1px solid var(--line); color: #aaa; font-size: 10px; }
.free-pill { padding: 6px 8px; border: 1px solid var(--line); border-radius: 99px; color: #aaa; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.oracle-link { padding: 8px 10px; color: #ddd; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 10px; }
.oracle-link:hover { color: #fff; border-color: var(--line-strong); }

.rail { grid-row: 2; display: flex; flex-direction: column; gap: 8px; padding: 14px 7px 10px; background: #050505; border-right: 1px solid var(--line); z-index: 900; }
.rail-item { width: 57px; min-height: 51px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 7px 2px; border: 1px solid transparent; border-radius: 8px; color: #92928d; text-decoration: none; transition: .18s ease; }
.rail-item:hover { color: #ddd; background: #0c0c0c; }
.rail-item.active { color: #fff; border-color: var(--line); background: #0d0d0d; }
.rail-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.rail-item span { font-size: 10px; font-weight: 650; }
.rail-home { margin-top: auto; border-top-color: var(--line); }

.workspace { grid-column: 2; grid-row: 2; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--panel); overflow: hidden; }
.globe-stage { position: relative; min-width: 0; overflow: hidden; isolation: isolate; background: #020202; }
.space-field { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 48% 40%, #111 0, #070707 28%, #020202 67%, #000 100%); }
.space-field::before, .space-field::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.52) 0 1px, transparent 1.2px); background-size: 113px 113px; background-position: 12px 24px; opacity: .19; }
.space-field::after { background-size: 177px 177px; background-position: 71px 12px; opacity: .11; transform: rotate(19deg); }
.globe-root { position: absolute; inset: 0; cursor: grab; touch-action: none; overflow: hidden; }
.globe-root:active { cursor: grabbing; }
.globe-root canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: saturate(1.08) contrast(1.04) brightness(.96); }
.globe-fallback { position: absolute; width: min(63vw, 700px); aspect-ratio: 1; left: 50%; top: 47%; transform: translate(-50%, -50%); border-radius: 50%; background: #111 url('/assets/world-signal/blue-marble-2048.png') center / auto 100% no-repeat; filter: saturate(1.05) contrast(1.04) brightness(.9); box-shadow: inset -90px -25px 120px rgba(0,0,0,.82), inset 16px 0 26px rgba(255,255,255,.08), 0 0 80px rgba(255,255,255,.06); opacity: .88; }
.globe-root.is-ready .globe-fallback { opacity: 0; }
.marker-layer { position: absolute; inset: 0; z-index: 22; pointer-events: none; }
.globe-marker { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; pointer-events: none; cursor: pointer; opacity: 0; transform: scale(.7); transition: opacity .16s, transform .16s; }
.globe-marker.is-visible { opacity: 1; pointer-events: auto; transform: scale(var(--depth-scale, 1)); }
.globe-marker[hidden] { display: none; }
.globe-marker i { position: relative; width: var(--marker-size, 8px); height: var(--marker-size, 8px); border: 1px solid #050505; border-radius: 50%; background: var(--signal-color, #fff); box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 0 16px var(--signal-glow, rgba(255,255,255,.74)); }
.globe-marker i::before { content: ""; position: absolute; inset: -8px; border: 1px solid var(--signal-glow, rgba(255,255,255,.48)); border-radius: 50%; animation: marker-pulse 2.5s ease-out infinite; }
.globe-marker.is-visible[data-severity="low"] { opacity: .72; }
.globe-marker[data-severity="moderate"] i { --marker-size: 9px; }
.globe-marker[data-severity="high"] i { --marker-size: 10px; }
.globe-marker[data-severity="critical"] i { --marker-size: 11px; box-shadow: 0 0 0 3px rgba(255,255,255,.22), 0 0 26px var(--signal-glow, #fff); }
.globe-marker[data-severity="unknown"] i { --marker-size: 9px; background: rgba(3,3,3,.72); border: 1px solid var(--signal-color, #ddd); box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.globe-marker[data-severity="unknown"] i::before { border-style: dashed; opacity: .7; }
.globe-marker.is-selected i { background: var(--signal-color, #fff); border-color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 26px var(--signal-glow, rgba(255,255,255,.8)); }
.globe-marker.is-selected[data-severity="unknown"] i { background: #030303; }
@keyframes marker-pulse { 0% { transform: scale(.55); opacity: .8; } 85%, 100% { transform: scale(1.75); opacity: 0; } }

.globe-heading { position: absolute; z-index: 40; top: 28px; left: 31px; pointer-events: none; }
.eyebrow { display: block; color: #a0a09b; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.globe-heading h1 { margin: 8px 0 6px; max-width: 490px; font-size: clamp(27px, 3.5vw, 48px); line-height: .99; font-weight: 550; letter-spacing: -.055em; }
.globe-heading h1 em { color: #8b8b87; font-family: Georgia, serif; font-weight: 400; }
.globe-heading p { max-width: 430px; margin: 0; color: #898984; font-size: 11px; line-height: 1.45; }

.filter-bar { position: absolute; z-index: 41; top: 128px; left: 31px; right: 24px; max-width: calc(100% - 55px); display: flex; gap: 5px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip { min-height: 31px; flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0 11px; color: #a0a09b; border: 1px solid rgba(255,255,255,.12); border-radius: 99px; background: rgba(8,8,8,.78); backdrop-filter: blur(12px); cursor: pointer; font-size: 11px; transition: .18s; }
.filter-chip::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--signal-color, conic-gradient(var(--signal-earth), var(--signal-fire), var(--signal-flood), var(--signal-space), var(--signal-earth))); box-shadow: 0 0 8px var(--signal-glow, rgba(255,255,255,.35)); }
.filter-chip:hover { color: #ddd; border-color: var(--line-strong); }
.filter-chip.active { color: #080808; background: #f0f0ed; border-color: #f0f0ed; }
.filter-chip b { margin-left: 5px; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.globe-tools { position: absolute; z-index: 40; top: 177px; left: 31px; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: rgba(5,5,5,.72); backdrop-filter: blur(12px); }
.globe-tools button { width: 36px; height: 35px; display: grid; place-items: center; padding: 0; color: #aaa; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; }
.globe-tools button:last-child { border-bottom: 0; }
.globe-tools button:hover { color: #fff; background: rgba(255,255,255,.06); }
.globe-tools svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.globe-tools button:disabled { color: #555; cursor: not-allowed; }
.touch-globe-toggle { display: none !important; }
.freshness-card { position: absolute; z-index: 40; top: 177px; right: 25px; display: flex; gap: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(5,5,5,.72); backdrop-filter: blur(14px); }
.freshness-card div { display: flex; flex-direction: column; gap: 4px; }
.freshness-card span { color: #92928d; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.freshness-card strong { color: #d0d0cb; font: 500 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.globe-credit { position: absolute; z-index: 40; left: 31px; bottom: 216px; display: flex; align-items: center; gap: 10px; color: #9b9b96; font-size: 11px; }
.globe-credit a { color: #b1b1ac; }
.encoding-key { padding-left: 10px; color: #a0a09b; border-left: 1px solid rgba(255,255,255,.18); font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.marker-overflow { position: absolute; z-index: 42; right: 25px; top: 229px; max-width: 260px; padding: 7px 9px; color: #bcbcb7; border: 1px solid var(--line); border-radius: 7px; background: rgba(5,5,5,.82); font-size: 10px; line-height: 1.4; }
.fire-legend { position: absolute; z-index: 43; top: 229px; right: 25px; width: min(290px, calc(100% - 62px)); padding: 12px; color: #b9b9b4; border: 1px solid rgba(255,99,62,.32); border-radius: 9px; background: rgba(8,5,4,.9); box-shadow: 0 14px 40px rgba(0,0,0,.42); }
.fire-legend[hidden] { display: none; }
.fire-legend p { margin: 7px 0 0; font-size: 10px; line-height: 1.4; }
.fire-legend b { color: var(--signal-fire); }
.fire-legend small { display: block; margin-top: 9px; color: #d0a49a; font-size: 10px; line-height: 1.4; }

.signal-drawer { position: absolute; z-index: 45; left: 17px; right: 17px; bottom: 15px; height: 187px; padding: 15px 15px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5,5,5,.9); backdrop-filter: blur(20px); box-shadow: 0 24px 70px rgba(0,0,0,.58); }
.drawer-header, .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drawer-header h2, .section-heading h2 { margin: 5px 0 0; font-size: 14px; font-weight: 600; letter-spacing: -.025em; }
.drawer-state { color: #9a9a95; font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.drawer-actions { display: flex; align-items: center; gap: 9px; }
.load-more-button { min-height: 30px; padding: 0 10px; color: #ccc; border: 1px solid var(--line); border-radius: 6px; background: #0d0d0d; cursor: pointer; font-size: 11px; }
.load-more-button:hover { color: #fff; border-color: var(--line-strong); }
.event-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 7px; margin-top: 11px; overflow-x: auto; padding: 1px 0 4px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.event-card { min-width: 0; padding: 10px; color: inherit; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: rgba(255,255,255,.018); cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.event-card:hover, .event-card:focus-visible { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.055); transform: translateY(-1px); }
.event-card.is-selected { border-color: var(--signal-color, rgba(255,255,255,.28)); background: rgba(255,255,255,.055); box-shadow: inset 2px 0 var(--signal-color, #fff); transform: translateY(-1px); }
.event-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.event-type { min-width: 0; display: inline-flex; align-items: center; gap: 6px; color: #b5b5b0; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-type i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal-color, #fff); box-shadow: 0 0 7px var(--signal-glow, rgba(255,255,255,.5)); }
.event-time { flex: 0 0 auto; color: #a5a5a0; font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.event-card h3 { margin: 8px 0 0; font-size: 12px; line-height: 1.35; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-location { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: #b0b0ab; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-location svg { flex: 0 0 auto; width: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.event-evidence { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.09); color: #a7a7a2; font-size: 10px; }
.event-evidence b { color: #c3c3be; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-empty { grid-column: 1 / -1; padding: 24px 16px; border: 1px dashed var(--line); border-radius: 8px; color: #a0a09b; text-align: center; font-size: 12px; }

.intelligence-panel { height: 100%; min-width: 0; overflow-y: auto; border-left: 1px solid var(--line); background: #060606; scrollbar-width: thin; scrollbar-color: #2b2b2b transparent; }
.detail-panel { position: relative; padding: 22px 20px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0c0c0c 0, #070707 100%); }
.detail-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--signal-color, #fff); box-shadow: 0 0 18px var(--signal-glow, rgba(255,255,255,.25)); }
.detail-status-row { display: flex; align-items: center; justify-content: space-between; color: #999994; font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.status-pill { padding: 4px 7px; color: #eee; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 10px; letter-spacing: .09em; }
.detail-eyebrow { margin-top: 22px; }
.detail-eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--signal-color, #fff); box-shadow: 0 0 8px var(--signal-glow, rgba(255,255,255,.4)); }
.detail-panel h2 { margin: 8px 0 10px; font-size: 25px; line-height: 1.05; font-weight: 540; letter-spacing: -.045em; }
.detail-panel > p { min-height: 47px; margin: 0; color: #a0a09b; font-size: 12px; line-height: 1.55; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); }
.detail-grid div { min-width: 0; padding: 10px; background: #0a0a0a; }
.detail-grid dt { color: #8f8f8a; font: 600 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.detail-grid dd { margin: 5px 0 0; color: #c7c7c2; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.source-link { width: 100%; min-height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; color: #090909; background: #eeeeeb; border-radius: 7px; text-decoration: none; font-size: 11px; font-weight: 650; }
.source-link.is-disabled { color: #676763; background: #111; border: 1px solid var(--line); pointer-events: none; }
.watch-current-button { width: 100%; min-height: 39px; margin-top: 8px; padding: 0 11px; color: #c8c8c3; border: 1px solid var(--line); border-radius: 7px; background: #0d0d0d; cursor: pointer; font-size: 11px; text-align: left; }
.watch-current-button:hover:not(:disabled) { color: #fff; border-color: var(--line-strong); }
.watch-current-button:disabled { color: #555; cursor: not-allowed; }
.panel-section { padding: 19px 20px; border-bottom: 1px solid var(--line); }
.pulse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 14px; }
.pulse-grid article { min-width: 0; padding: 9px 8px; border: 1px solid var(--line); border-radius: 8px; background: #0a0a0a; }
.pulse-grid span, .pulse-grid small { display: block; color: #a5a5a0; font-size: 11px; line-height: 1.35; }
.pulse-grid strong { display: block; margin: 5px 0 3px; color: #eee; font: 500 18px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.05em; overflow: hidden; text-overflow: ellipsis; }
.pulse-grid small { color: #7f7f7a; }
.refresh-button { padding: 7px 9px; color: #b5b5b0; border: 1px solid var(--line); border-radius: 6px; background: #0b0b0b; cursor: pointer; font-size: 10px; }
.refresh-button:hover { color: #fff; border-color: var(--line-strong); }
.refresh-button:disabled { opacity: .45; cursor: wait; }
.source-list { display: grid; gap: 6px; margin-top: 13px; }
.source-row { min-height: 45px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 8px 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: #090909; }
.source-row > i { width: 6px; height: 6px; border-radius: 50%; background: #eee; box-shadow: 0 0 8px rgba(255,255,255,.5); }
.source-row.is-error > i { background: transparent; border: 1px solid #777; box-shadow: none; }
.source-row.is-stale > i { background: #777; box-shadow: none; }
.source-row span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.source-row b { font-size: 11px; font-weight: 600; }
.source-row small { color: #aaa9a4; font-size: 10px; line-height: 1.4; white-space: normal; }
.source-row em { color: #b8b8b3; font: normal 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.coverage-summary, .watchlist-disclaimer { margin: 11px 0 0; color: #aaa9a4; font-size: 11px; line-height: 1.55; }
.coverage-list { display: grid; gap: 6px; margin-top: 12px; }
.coverage-row { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 8px; min-height: 34px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; background: #090909; }
.coverage-row b { color: #d0d0cb; font-size: 10px; }
.coverage-row span { color: #a1a19c; font-size: 10px; line-height: 1.35; }
.coverage-row em { color: #b8b8b3; font: normal 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.coverage-row.is-missing { border-style: dashed; }
.coverage-row.is-missing em { color: #8d8d88; }
.coverage-gaps { margin-top: 10px; padding: 8px; border: 1px dashed var(--line-strong); border-radius: 7px; background: #080808; }
.coverage-gaps summary { color: #c3c3be; cursor: pointer; font-size: 11px; }
.coverage-gap-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.coverage-gap-list span { padding: 5px 6px; color: #aaa9a4; border: 1px solid var(--line); border-radius: 99px; font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: capitalize; }
.local-only-pill { color: #b5b5b0; border: 1px solid var(--line); border-radius: 99px; padding: 4px 6px; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.watchlist-form { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 13px; }
.watchlist-form input { min-width: 0; height: 38px; padding: 0 10px; color: #eee; border: 1px solid var(--line); border-radius: 7px; background: #0a0a0a; font-size: 11px; }
.watchlist-form input::placeholder { color: #8b8b86; }
.watchlist-form button { min-height: 38px; padding: 0 10px; color: #080808; border: 0; border-radius: 7px; background: #ededeb; cursor: pointer; font-size: 10px; font-weight: 700; }
.watchlist-items { display: grid; gap: 6px; margin-top: 9px; }
.watchlist-empty { color: #9f9f9a; font-size: 11px; }
.watchlist-item { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: #090909; }
.watchlist-item span { min-width: 0; color: #d0d0cb; font-size: 11px; overflow-wrap: anywhere; }
.watchlist-item-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 3px; }
.watchlist-item button { min-height: 28px; padding: 0 5px; color: #b0b0ab; border: 0; background: transparent; cursor: pointer; font-size: 10px; }
.watchlist-item button:hover { color: #fff; }
.method-section h2 { margin: 6px 0 9px; font-size: 21px; font-weight: 530; letter-spacing: -.04em; }
.method-section p { margin: 0; color: #a0a09b; font-size: 11px; line-height: 1.6; }
.method-rules { display: grid; gap: 5px; margin-top: 13px; }
.method-rules span { padding: 8px; border-left: 1px solid #888; background: #090909; color: #aaa9a4; font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.panel-footer { display: flex; align-items: center; gap: 12px; padding: 13px 20px 20px; color: #92928d; font-size: 10px; }
.panel-footer span { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.panel-footer i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.panel-footer a { color: #a0a09b; text-decoration: none; }
.panel-footer a:hover { color: #fff; }
.toast { position: fixed; z-index: 3000; left: 50%; bottom: 24px; max-width: calc(100% - 28px); padding: 10px 13px; color: #ddd; background: #101010; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.65); font-size: 10px; text-align: center; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript-message { position: fixed; inset: auto 20px 20px; z-index: 4000; margin: 0; padding: 12px; color: #fff; background: #111; border: 1px solid #555; font-size: 12px; }

@media (max-width: 1180px) {
  :root { --panel: 345px; }
  .topbar { grid-template-columns: 235px minmax(230px, 1fr) auto; gap: 12px; }
  .connection-state { display: none; }
  .pulse-grid { grid-template-columns: 1fr 1fr; }
  .pulse-grid article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  html, body { height: auto; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
  .live-banner { height: auto; min-height: 34px; justify-content: flex-start; flex-wrap: wrap; padding: 7px 12px; line-height: 1.35; }
  .banner-disclaimer { width: 100%; padding: 0 0 0 18px; border: 0; }
  .app-shell { height: auto; min-height: calc(100svh - 34px); display: block; }
  .topbar { position: sticky; top: 0; min-height: 102px; grid-template: 44px 40px / 1fr auto; gap: 6px 10px; padding: 6px 12px; }
  .brand { grid-column: 1; grid-row: 1; }
  .topbar-actions { grid-column: 2; grid-row: 1; }
  .global-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .global-search kbd, .free-pill, .connection-state { display: none; }
  .brand-copy small { display: none; }
  .rail { display: none; }
  .workspace { display: block; overflow: visible; }
  .globe-stage { min-height: 790px; }
  .globe-root { touch-action: pan-y; }
  .globe-root.is-touch-interacting { touch-action: none; }
  .intelligence-panel { height: auto; overflow: visible; border-top: 1px solid var(--line); border-left: 0; }
  .globe-heading { top: 21px; left: 16px; }
  .globe-heading h1 { max-width: 310px; font-size: clamp(28px, 8vw, 39px); }
  .globe-heading p { max-width: 285px; }
  .filter-bar { top: 120px; left: 16px; right: 16px; max-width: calc(100% - 32px); }
  .globe-tools { top: 163px; left: 16px; overflow: visible; }
  .touch-globe-toggle { position: absolute; top: calc(100% + 6px); left: 0; width: 92px !important; min-height: 31px !important; display: block !important; border: 1px solid var(--line) !important; border-radius: 7px; background: rgba(5,5,5,.86) !important; font-size: 10px; white-space: nowrap; }
  .touch-globe-toggle[aria-pressed="true"] { color: #050505; background: #eee !important; }
  .freshness-card { top: 163px; right: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .marker-overflow, .fire-legend { top: 315px; right: 16px; }
  .globe-credit { left: 16px; right: 16px; bottom: 239px; flex-wrap: wrap; gap: 4px 8px; }
  .encoding-key { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .signal-drawer { left: 9px; right: 9px; bottom: 9px; height: 215px; padding: 14px; }
  .event-strip { grid-auto-columns: minmax(238px, 84vw); }
  .globe-fallback { width: min(96vw, 650px); top: 45%; }
  .detail-panel, .panel-section { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 540px) {
  .brand-orbit { width: 29px; height: 29px; transform: scale(.9); }
  .oracle-link { padding: 7px 8px; }
  .globe-stage { min-height: 825px; }
  .globe-heading h1 { max-width: 270px; }
  .globe-heading p { max-width: 230px; }
  .filter-bar { top: 135px; }
  .globe-tools, .freshness-card { top: 179px; }
  .freshness-card { width: 184px; gap: 7px 9px; padding: 9px; }
  .freshness-card strong { font-size: 10px; }
  .marker-overflow, .fire-legend { top: 330px; }
  .globe-credit { bottom: 247px; }
  .signal-drawer { height: 229px; }
  .drawer-actions { align-items: flex-end; flex-direction: column; gap: 5px; }
  .pulse-grid { grid-template-columns: 1fr; }
  .pulse-grid article:last-child { grid-column: auto; }
  .coverage-row { grid-template-columns: 72px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
