:root {
  color-scheme: light;
  --ink: #172a3a;
  --muted: #536574;
  --navy: #102b40;
  --accent: #23685f;
  --paper: #f3f5f6;
  --surface: #fff;
  --line: #cdd6dc;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;
  --radius: .25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b37815; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; }
p { margin-bottom: var(--s2); }
.container { width: min(1200px, calc(100% - 4rem)); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 2; padding: 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s4); min-height: 5rem; flex-wrap: wrap; padding-block: var(--s2); }
.wordmark { font-weight: 700; letter-spacing: .16em; font-size: 1.25rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand-symbol { display: inline-block; font-size: 1.75rem; vertical-align: middle; margin-right: .25rem; }
.brand-lockup { display: block; flex: 0 0 auto; line-height: 0; }
.brand-lockup img { display: block; width: 9.4rem; height: auto; }
nav { display: flex; flex: 1; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; }
nav a, .login-link { color: var(--ink); font-size: .9375rem; text-decoration: none; padding-block: .625rem; }
nav a[aria-current], .login-link[aria-current] { box-shadow: 0 2px var(--accent); color: var(--accent); }
.login-link { border: 1px solid var(--line); padding-inline: 1rem; border-radius: var(--radius); }
.preview-strip { background: #e5ecef; color: #354d5d; padding-block: .625rem; font-size: .875rem; }
.preview-strip span { margin-inline: .75rem; }
.hero { display: grid; grid-template-columns: 1fr 1.12fr; gap: var(--s5); padding-block: var(--s5); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: .08em; margin-bottom: .5rem; }
.hero-tagline { font-family: Georgia, serif; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.25; max-width: 22ch; }
.eyebrow, .metadata-label { font-size: .875rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.eyebrow { margin-bottom: var(--s2); }
.lede { color: var(--muted); max-width: 60ch; font-size: 1.0625rem; }
.button { display: inline-flex; align-items: center; gap: var(--s4); padding: .8rem 1.25rem; background: var(--navy); color: white; text-decoration: none; border-radius: var(--radius); font-weight: 600; }
.button:hover { background: #23475f; }
.intelligence-view { background: var(--navy); color: #f0f5f7; border: 1px solid #28485c; border-radius: var(--radius); overflow: hidden; }
.panel-heading, .panel-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.25rem; font-size: .875rem; }
.panel-heading { border-bottom: 1px solid #3b5365; }
.panel-footer { border-top: 1px solid #3b5365; color: #c6d3dc; }
.map-container { min-height: 19rem; position: relative; display: grid; place-items: center; padding: var(--s4); }
.globe { width: 14rem; height: 14rem; max-width: 100%; border: 1px solid #567488; border-radius: 50%; position: absolute; top: 1.5rem; opacity: .5; background: repeating-linear-gradient(0deg, transparent 0, transparent 2.7rem, #567488 2.75rem, transparent 2.8rem); }
.globe::before, .globe::after { content: ""; position: absolute; inset: 0 25%; border: 1px solid #567488; border-radius: 50%; }
.globe::after { inset: 0 43%; }
.map-caption { position: relative; text-align: center; align-self: end; background: var(--navy); margin-top: 10rem; padding-top: .75rem; }
.map-caption p { font-size: .875rem; color: #c6d3dc; margin: .5rem 0 0; max-width: 40ch; }
.section { margin-block: var(--s5); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--s2); margin-bottom: var(--s3); flex-wrap: wrap; }
.section-heading h2, .section-heading .eyebrow { margin-bottom: .5rem; }
.section-heading a { font-size: .9375rem; padding-block: .5rem; }
.three-column, .two-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); padding: var(--s3); border-radius: var(--radius); min-width: 0; overflow-wrap: anywhere; }
.card h3 { margin-block: var(--s2); }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.badge { display: inline-block; border: 1px solid var(--line); padding: .15rem .5rem; border-radius: 2px; font-size: .875rem; font-weight: 500; }
.intelligence-view .badge { border-color: #6a8192; color: #dde6ec; }
.badge-example { background: #fff3d6; border-color: #d8b667; color: #695017; }
.empty-state { margin-top: var(--s4); padding: var(--s3); border: 1px dashed var(--line); color: var(--muted); }
.timeline-placeholder { list-style: none; margin: var(--s3) 0; padding-left: 1.25rem; border-left: 2px solid var(--line); }
.timeline-placeholder li { padding-block: .5rem; }
.probability { display: flex; align-items: center; gap: var(--s3); margin-block: var(--s3) var(--s1); font-size: .875rem; }
.probability strong { font-size: 3rem; font-variant-numeric: tabular-nums; line-height: 1; }
.probability strong span { font-size: 1.5rem; }
meter { width: 100%; height: 1.25rem; accent-color: var(--accent); }
.metadata { display: flex; gap: var(--s2); justify-content: space-between; flex-wrap: wrap; font-size: .875rem; border-top: 1px solid var(--line); padding-top: var(--s2); margin-top: var(--s3); }
dt { color: var(--muted); }
dd { margin: 0; }
.chart-container { border: 1px dashed var(--line); padding: var(--s3); min-height: 8rem; margin-top: var(--s3); }
.chart-container p { margin-top: 1rem; }
.trust-panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); border-block: 1px solid var(--line); padding-block: var(--s5); }
.explore-cta { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; flex-wrap: wrap; margin-block: var(--s5); }
.explore-cta h2 { margin-bottom: .5rem; }
.explore-cta p { color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: #e8edf0; padding-block: var(--s4); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); }
.footer-inner p, .footer-inner > div:last-child { font-size: .875rem; color: var(--muted); }
.footer-inner > div:last-child { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.page-heading { padding-top: var(--s5); max-width: 55rem; }
.link-card { color: var(--ink); text-decoration: none; display: block; }
.link-card:hover { border-color: var(--accent); }
.link-card span:last-child { color: var(--accent); }
.link-card h2 { margin-block: 1rem; }
.definition-list dt { font-weight: 600; color: var(--ink); margin-top: var(--s2); }
.definition-list dd { color: var(--muted); }
.prose { max-width: 48rem; }
.prose section { margin-bottom: var(--s4); }
.notice { border-left: 3px solid var(--accent); background: #e5ecef; padding: var(--s3); }
.account-shell { max-width: 42rem; }
.account-shell h2 { margin-top: var(--s3); }
.muted { color: var(--muted); }
.table-container { overflow-x: auto; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem); gap: var(--s5); align-items: start; }
.account-form { display: grid; gap: var(--s2); }
.field { display: grid; gap: .4rem; }
.field input, .account-form input { width: 100%; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.field input:focus { outline: 3px solid #b37815; outline-offset: 2px; }
.errorlist { color: #8b1e1e; margin: 0; padding-left: 1.25rem; }
.button.secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.account-nav { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.account-nav form { margin-left: auto; }
.account-nav button { border: 0; background: none; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); }
th { font-size: .875rem; color: var(--muted); }
.product-intro { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); padding-block: 1.75rem 1.25rem; }
.product-intro .eyebrow, .product-intro h1, .product-intro > p { margin-bottom: 0; }
.product-intro h1 { font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.product-intro > p { color: var(--muted); font-family: Georgia, serif; font-size: 1.05rem; }
.intelligence-shell { background: #0d2739; color: #edf4f6; border: 1px solid #29495d; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1rem 3rem rgba(16,43,64,.14); }
.intelligence-toolbar { min-height: 5.25rem; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s3); padding: 1rem 1.25rem; border-bottom: 1px solid #365164; }
.intelligence-toolbar .eyebrow { color: #9eb2bf; margin-bottom: .25rem; font-size: .75rem; }
.intelligence-toolbar h2 { font-size: 1.1rem; margin-bottom: 0; letter-spacing: 0; }
.surface-controls { display: flex; gap: .25rem; padding: .25rem; background: #153246; border: 1px solid #365164; }
.layer-control { border: 0; border-radius: 2px; padding: .45rem .7rem; background: transparent; color: #9eb2bf; font: inherit; font-size: .78rem; }
.layer-control.is-active { background: #e7efef; color: var(--navy); }
.layer-control:disabled { opacity: .58; }
.data-state { margin: 0; color: #b9c9d2; font-size: .75rem; white-space: nowrap; }
.data-state span { display: inline-block; width: .5rem; height: .5rem; margin-right: .4rem; border-radius: 50%; background: #b5c2c9; }
.data-state strong { color: #e8eff2; font-weight: 600; }
.map-workspace { min-height: clamp(27rem, 58vh, 39rem); display: grid; grid-template-columns: minmax(0, 1fr) 20rem; }
.world-map { position: relative; min-width: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #193a4f 0, #102e42 48%, #0b2334 100%); }
.world-map svg { width: 100%; height: 100%; min-height: 26rem; color: rgba(127,160,177,.12); }
.map-grid { pointer-events: none; }
.map-lines { fill: none; stroke: #608095; stroke-width: 1; opacity: .22; vector-effect: non-scaling-stroke; }
.map-region { fill: #426779; stroke: #8aa1ad; stroke-width: 1.5; cursor: pointer; transition: fill .15s ease, stroke .15s ease, transform .15s ease; transform-box: fill-box; transform-origin: center; }
.map-region:hover, .map-region:focus, .map-region[aria-pressed="true"] { fill: #6e948f; stroke: #e2eeee; outline: none; transform: translateY(-2px); }
.map-region:focus-visible { filter: drop-shadow(0 0 5px #f4c46b); }
.map-instruction { position: absolute; left: 1.25rem; bottom: 1rem; margin: 0; color: #a9bbc5; font-size: .75rem; }
.intelligence-drawer { position: relative; padding: 1.5rem; border-left: 1px solid #365164; background: #122d40; }
.intelligence-drawer .eyebrow { color: #95aab7; font-size: .75rem; margin-bottom: .75rem; }
.intelligence-drawer h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.intelligence-drawer p { color: #b9c9d2; font-size: .875rem; }
.drawer-close { display: none; position: absolute; right: .75rem; top: .5rem; border: 0; background: transparent; color: white; font-size: 1.75rem; cursor: pointer; }
.intelligence-facts { margin: 1.5rem 0; }
.intelligence-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #365164; font-size: .8rem; }
.intelligence-facts dt { color: #91a8b6; }
.intelligence-facts dd { color: #eef4f6; text-align: right; }
.drawer-note { border-left: 2px solid #6e948f; padding-left: .75rem; }
.surface-status { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem 1.25rem; border-top: 1px solid #365164; color: #aabdc7; font-size: .72rem; letter-spacing: .03em; }
.product-section { margin-block: 3.5rem; }
.operational-empty { display: grid; grid-template-columns: minmax(12rem, .4fr) 1fr; gap: var(--s3); padding: 1.25rem 0; border-block: 1px solid var(--line); color: var(--muted); }
.operational-empty strong { color: var(--ink); }
.forecast-empty { display: grid; grid-template-columns: 9rem 1fr; align-items: center; gap: var(--s4); padding: var(--s3); background: var(--surface); border: 1px solid var(--line); }
.forecast-empty p { margin: .4rem 0 0; color: var(--muted); }
.probability-placeholder { font-size: 4rem; line-height: 1; font-weight: 600; color: #71828d; font-variant-numeric: tabular-nums; border-right: 1px solid var(--line); }
.probability-placeholder span { font-size: 1.5rem; }
.product-explanation { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--line); }
.product-explanation .eyebrow { margin-bottom: .5rem; }
.product-explanation p { color: var(--muted); }
.explanation-links { grid-column: 2; display: flex; gap: var(--s3); flex-wrap: wrap; }
@media (max-width: 960px) {
  .header-inner { gap: 1rem 2rem; }
  nav { order: 3; flex-basis: 100%; }
  .login-link { margin-left: auto; }
  .hero { gap: var(--s3); }
  .three-column { grid-template-columns: 1fr; }
  .intelligence-toolbar { grid-template-columns: 1fr auto; }
  .data-state { grid-column: 1 / -1; }
  .map-workspace { grid-template-columns: 1fr; }
  .intelligence-drawer { display: none; position: absolute; z-index: 3; right: 2rem; width: min(22rem, calc(100% - 4rem)); min-height: 22rem; margin-top: 1rem; border: 1px solid #456174; box-shadow: 0 1rem 3rem rgba(0,0,0,.35); }
  .has-selection .intelligence-drawer { display: block; }
  .drawer-close { display: block; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .hero, .two-column, .trust-panel { grid-template-columns: 1fr; }
  .hero { padding-block: var(--s4); }
  .section { margin-block: var(--s4); }
  nav { gap: 0 1.1rem; }
  nav a { padding-block: .75rem; }
  .hero-tagline { max-width: 24ch; }
  .panel-heading, .panel-footer { padding: 1rem; }
  .map-container { padding: 1rem; }
  .trust-panel { gap: var(--s2); padding-block: var(--s4); }
  .footer-inner > div:last-child { gap: 1rem; }
  .brand-lockup img { width: 2.35rem; height: 2.35rem; object-fit: contain; }
  .product-intro { align-items: start; flex-direction: column; gap: .35rem; padding-block: 1.25rem 1rem; }
  .product-intro > p { font-size: .95rem; }
  .intelligence-toolbar { grid-template-columns: 1fr; align-items: start; }
  .surface-controls { width: 100%; }
  .layer-control { flex: 1; }
  .data-state { white-space: normal; }
  .map-workspace { min-height: 29rem; position: relative; }
  .world-map svg { min-height: 29rem; transform: scale(1.3); }
  .map-instruction { right: 1rem; text-align: center; }
  .intelligence-drawer { position: absolute; inset: auto 0 0; width: 100%; min-height: 18rem; margin: 0; border-width: 1px 0 0; }
  .surface-status span:last-child { display: none; }
  .operational-empty, .product-explanation { grid-template-columns: 1fr; }
  .operational-empty { gap: .35rem; }
  .forecast-empty { grid-template-columns: 6rem 1fr; gap: var(--s2); }
  .probability-placeholder { font-size: 3rem; }
  .explanation-links { grid-column: 1; }
  .account-layout { grid-template-columns: 1fr; gap: var(--s3); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .button { display: none; }
  body, .card { background: white; }
  .container { width: 100%; }
}

/* Global situation room: the map is the homepage canvas. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-home { background: #071219; color: #e8eff2; }
.page-home #main { width: 100%; outline: 0; }
.page-home .site-footer { background: #091720; border-color: #20333d; color: #b8c5cb; }
.page-home .site-footer .wordmark { color: #eef4f6; }
.situation-room { --hud: rgba(7,18,25,.88); position: relative; width: 100vw; height: 100dvh; min-height: 42rem; overflow: hidden; background: #071219; color: #eef4f6; isolation: isolate; }
.map-canvas, .geo-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-map { display: block; touch-action: none; cursor: grab; }
.geo-map:active { cursor: grabbing; }
.geo-map:focus-visible { outline: 2px solid #dcb870; outline-offset: -3px; }
.graticule path { fill: none; stroke: #7d969f; stroke-width: .6; opacity: .12; vector-effect: non-scaling-stroke; }
.countries path { fill: #1d3036; stroke: #789097; stroke-width: .65; opacity: .98; vector-effect: non-scaling-stroke; }
.countries path:nth-child(3n) { fill: #20343a; }
.countries path:nth-child(5n) { fill: #1a2d33; }
.lakes path { fill: #0c1b24; stroke: #526d76; stroke-width: .5; vector-effect: non-scaling-stroke; }
.city-layer circle { fill: #81959b; }
.city-layer text { fill: #aab9bd; font-size: 7px; font-weight: 500; letter-spacing: .02em; paint-order: stroke; stroke: #102027; stroke-width: 2px; stroke-linejoin: round; }
.observation-marker { cursor: pointer; outline: none; }
.observation-halo { fill: rgba(224,174,87,.08); stroke: rgba(230,185,103,.55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.observation-core { fill: #e6b45e; stroke: #101a20; stroke-width: 2; vector-effect: non-scaling-stroke; }
.observation-marker:hover .observation-halo, .observation-marker:focus-visible .observation-halo, .observation-marker.is-selected .observation-halo { fill: rgba(242,201,120,.3); stroke: #f6d18a; stroke-width: 2.5; }
.observation-marker.is-selected { filter: url(#selected-glow); }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #aebdc2; background: #071219; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; z-index: 1; }
.map-loading[hidden] { display: none; }
.ops-nav { position: absolute; z-index: 10; inset: 0 0 auto; min-height: 56px; display: grid; grid-template-columns: 13rem 1fr auto; align-items: center; gap: 1rem; padding: 0 20px; background: linear-gradient(180deg, rgba(5,14,20,.96), rgba(5,14,20,.72)); border-bottom: 1px solid rgba(160,180,188,.2); backdrop-filter: blur(12px); }
.ops-wordmark { color: #f1f5f5; font-size: 1rem; font-weight: 700; letter-spacing: .26em; text-decoration: none; }
.ops-nav nav { justify-content: center; gap: 2rem; }
.ops-nav nav a { color: #aab9be; padding: 1rem 0; font-size: .69rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.ops-nav nav a:hover, .ops-nav nav a[aria-current] { color: #fff; box-shadow: inset 0 -1px #c9a865; }
.ops-nav-status { display: flex; align-items: center; gap: 1.25rem; color: #aab9be; font-size: .69rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; text-transform: uppercase; }
.live-indicator, .situation-freshness { display: flex; align-items: center; gap: .5rem; }
.live-indicator::before, .live-dot, .system-condition i { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6fb69c; box-shadow: 0 0 0 3px rgba(111,182,156,.13); }
.situation-identity { position: absolute; z-index: 4; top: 88px; left: 22px; max-width: 29rem; padding: .9rem 1rem 1rem; background: linear-gradient(90deg, rgba(6,17,23,.86), rgba(6,17,23,.2)); border-left: 2px solid rgba(205,171,100,.65); text-shadow: 0 1px 12px #061117; }
.ops-kicker { margin: 0 0 .45rem; color: #91a5ac; font-size: .64rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.situation-identity h1 { margin: 0; color: #f2f5f5; font-size: clamp(1.55rem, 2.2vw, 2rem); letter-spacing: -.025em; }
.situation-freshness { margin: .55rem 0 0; color: #9eb0b5; font-size: .72rem; }
.situation-freshness strong { color: #c7ddd4; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.situation-freshness span:last-child::before { content: '/'; margin-right: .5rem; color: #667b82; }
.layer-panel { position: absolute; z-index: 5; left: 22px; top: 205px; width: 210px; background: var(--hud); border: 1px solid rgba(151,174,181,.23); backdrop-filter: blur(10px); box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.panel-label { display: flex; justify-content: space-between; padding: .65rem .75rem; color: #889ca3; border-bottom: 1px solid rgba(151,174,181,.18); font-size: .59rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.layer-toggle, .layer-unavailable { width: 100%; display: flex; align-items: center; gap: .65rem; min-height: 40px; padding: .6rem .75rem; color: #bac7ca; background: transparent; border: 0; border-bottom: 1px solid rgba(151,174,181,.13); font: inherit; font-size: .72rem; text-align: left; }
.layer-toggle { cursor: pointer; }
.layer-toggle:hover, .layer-toggle:focus-visible { background: rgba(126,157,165,.12); outline: 2px solid #dcb870; outline-offset: -2px; }
.layer-toggle > span, .layer-unavailable > span { width: 8px; height: 8px; border-radius: 50%; background: #576c73; }
.layer-toggle.is-active > span { background: #e6b45e; box-shadow: 0 0 0 3px rgba(230,180,94,.13); }
.layer-unavailable { color: #65777d; flex-wrap: wrap; }
.layer-unavailable small { margin-left: auto; color: #65777d; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.map-controls { position: absolute; z-index: 5; left: 22px; bottom: 64px; top: auto; display: flex; gap: 4px; }
.map-controls button { min-width: 38px; min-height: 38px; padding: 0 .65rem; border: 1px solid rgba(155,177,184,.3); border-radius: 0; background: var(--hud); color: #dce5e7; font: inherit; font-size: .72rem; cursor: pointer; backdrop-filter: blur(8px); }
.map-controls button:hover, .map-controls button:focus-visible { background: #1b3038; outline: 2px solid #dcb870; outline-offset: 1px; }
.change-rail { position: absolute; z-index: 6; top: 72px; right: 20px; bottom: 56px; width: min(350px, calc(100vw - 40px)); display: flex; flex-direction: column; overflow: hidden; background: rgba(6,16,22,.9); border: 1px solid rgba(151,174,181,.23); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.change-rail > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid rgba(151,174,181,.18); }
.change-rail h2 { margin: 0; color: #f0f4f5; font-size: 1.05rem; letter-spacing: -.01em; }
.rail-toggle, .detail-close { min-width: 36px; min-height: 36px; border: 0; color: #c3d0d3; background: transparent; font-size: 1.2rem; cursor: pointer; }
.rail-toggle:focus-visible, .detail-close:focus-visible { outline: 2px solid #dcb870; }
.change-list { overflow-y: auto; scrollbar-color: #40565d transparent; }
.change-item { width: 100%; display: grid; grid-template-columns: 4.3rem 1fr; gap: .18rem .75rem; padding: .9rem 1rem; color: #d8e1e3; background: transparent; border: 0; border-bottom: 1px solid rgba(151,174,181,.13); font: inherit; text-align: left; cursor: pointer; }
.change-item time { grid-row: 1 / 4; color: #8fa3a9; font-size: .66rem; font-variant-numeric: tabular-nums; }
.change-item strong { font-size: .78rem; font-weight: 650; }
.change-item span { color: #aab9bd; font-size: .7rem; line-height: 1.35; }
.change-item small { color: #70858b; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
.change-item:hover, .change-item:focus-visible, .change-item.is-selected { background: rgba(154,176,181,.11); outline: none; box-shadow: inset 2px 0 #d5ad60; }
.rail-message { margin: 0; padding: 1.2rem; color: #a9b8bd; font-size: .76rem; }
.event-detail { position: absolute; inset: 0; z-index: 2; padding: 1.25rem; overflow-y: auto; background: rgba(7,18,25,.98); }
.event-detail .detail-close { position: absolute; top: .5rem; right: .5rem; }
.event-detail h3 { max-width: 90%; margin: .75rem 0 1.25rem; font-size: 1.15rem; }
.event-detail dl { margin: 0; }
.event-detail dl div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(151,174,181,.16); font-size: .72rem; }
.event-detail dt { color: #80949a; }
.event-detail dd { color: #dbe3e5; }
.event-detail a { display: inline-block; margin-top: 1rem; color: #d9ba77; font-size: .72rem; }
.map-attribution { position: absolute; z-index: 4; right: 386px; bottom: 46px; padding: .15rem .35rem; color: #697d83; background: rgba(5,14,20,.72); font-size: .55rem; }
.map-attribution a { color: #8fa1a6; }
.system-strip { position: absolute; z-index: 8; inset: auto 0 0; min-height: 38px; display: flex; align-items: center; gap: 0; padding: 0 20px; color: #85989e; background: rgba(5,14,20,.96); border-top: 1px solid rgba(151,174,181,.2); font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(12px); }
.system-strip > span { padding: 0 1rem; border-right: 1px solid rgba(151,174,181,.15); white-space: nowrap; }
.system-strip > span:first-child { padding-left: 0; }
.system-strip strong { color: #c4d0d3; font-weight: 650; }
.system-condition { display: flex; align-items: center; gap: .5rem; }
[data-intelligence-state="unavailable"] .live-dot, [data-intelligence-state="unavailable"] .live-indicator::before, [data-intelligence-state="unavailable"] .system-condition i { background: #be806f; }
.homepage-content { width: min(1180px, calc(100% - 4rem)); margin: 0 auto; padding: 5rem 0 6rem; color: #172a3a; }
.page-home .homepage-content .eyebrow { color: #657780; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.home-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-bottom: 4rem; border-bottom: 1px solid #cbd4d8; }
.home-section h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.home-section > p { align-self: end; color: #536574; font-size: 1.05rem; }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #cbd4d8; }
.home-grid a { min-height: 17rem; display: flex; flex-direction: column; padding: 2rem; color: #172a3a; border-right: 1px solid #cbd4d8; text-decoration: none; }
.home-grid a:last-child { border: 0; }
.home-grid span { color: #657780; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.home-grid strong { margin-top: 2rem; font-size: 1.25rem; line-height: 1.35; }
.home-grid em { margin-top: auto; color: #23685f; font-size: .78rem; font-style: normal; }
.home-method { max-width: 48rem; padding-top: 4rem; }
.home-method p { color: #536574; }

@media (max-width: 800px) {
  .situation-room { min-height: 36rem; }
  .ops-nav { grid-template-columns: 1fr auto; padding: 0 14px; }
  .ops-nav nav { display: none; }
  .ops-nav-status [data-system-label] { display: none; }
  .ops-nav-status { gap: .5rem; }
  .situation-identity { top: 70px; left: 12px; right: 12px; max-width: none; padding: .65rem .75rem; }
  .situation-identity h1 { font-size: 1.35rem; }
  .layer-panel { top: 155px; left: 12px; width: 180px; }
  .layer-unavailable { display: none; }
  .change-rail { top: auto; right: 0; bottom: 38px; width: 100%; max-height: 42dvh; border-width: 1px 0 0; }
  .change-rail > header { padding: .75rem 1rem; }
  .change-list { max-height: 28dvh; }
  .change-item { grid-template-columns: 4rem 1fr; padding: .75rem 1rem; }
  .event-detail { min-height: min(42dvh, 22rem); }
  .map-controls { left: 12px; bottom: calc(42dvh + 50px); }
  .map-attribution { right: 8px; bottom: calc(42dvh + 42px); }
  .system-strip { padding: 0 12px; overflow: hidden; }
  .system-strip > span { padding: 0 .6rem; }
  .system-strip > span:nth-child(2), .system-strip > span:last-child { display: none; }
  .homepage-content { width: calc(100% - 2rem); padding: 3rem 0; }
  .home-section, .home-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-section { padding-bottom: 2.5rem; }
  .home-grid a { min-height: 11rem; border-right: 0; border-bottom: 1px solid #cbd4d8; padding: 1.5rem 0; }
  .home-grid a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .observation-marker, .change-item { transition: none !important; } }

/* Public read projection controls; existing map-first layout retained. */
.world-map { position: relative; min-width: 0; }
.world-map svg { touch-action: none; }
.map-controls { position: absolute; z-index: 2; top: .75rem; left: .75rem; display: flex; gap: .4rem; }
.map-controls button { min-width: 44px; min-height: 44px; background: #132b3b; color: #fff; border: 1px solid #5a8399; border-radius: 4px; cursor: pointer; }
.observation-marker { fill: #f2c56b; stroke: #091926; stroke-width: 3px; cursor: pointer; }
.observation-marker:focus { fill: #fff; stroke: #f2c56b; outline: none; }
.intelligence-facts dd, .surface-status { overflow-wrap: anywhere; }

.observation-picker { display: block; padding: .75rem; color: #b9ced8; }
.observation-picker select { display: block; width: 100%; max-width: 100%; min-height: 44px; margin-top: .4rem; background: #132b3b; color: white; border: 1px solid #5a8399; }
.drawer-close { min-width: 44px; min-height: 44px; }

/* Keep the complete world and finite snapshot date visible on mobile. */
.world-map svg { transform: none; }
.surface-status span:last-child { display: inline; }

/* Specificity guard against the retired inline-map compatibility rules above. */
.situation-room .map-controls { position: absolute; z-index: 5; left: 22px; top: auto; bottom: 64px; display: flex; gap: 4px; }
.situation-room .map-controls button { min-width: 38px; min-height: 38px; padding: 0 .65rem; border: 1px solid rgba(155,177,184,.3); border-radius: 0; background: var(--hud); color: #dce5e7; font: inherit; font-size: .72rem; cursor: pointer; }
.situation-room .observation-marker { fill: initial; stroke: initial; stroke-width: initial; }
.situation-room .observation-marker:focus { fill: initial; stroke: initial; }
@media (max-width: 800px) {
  .situation-room .map-controls { left: 12px; top: auto; bottom: calc(42dvh + 50px); }
}
