:root {
  color: #e8f5ef;
  background: #050807;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  --canvas: #050807;
  --surface: #08100e;
  --surface-raised: #0b1512;
  --surface-deep: #060c0a;
  --ink: #e8f5ef;
  --muted: #8fa59c;
  --dim: #5d7068;
  --line: rgba(105, 214, 171, .25);
  --line-soft: rgba(105, 214, 171, .13);
  --mint: #56efb4;
  --mint-soft: #bdf9dc;
  --amber: #e5b75f;
  --mono: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --telemetry-floor: .625rem;
  --ease: 160ms cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--canvas); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); -webkit-font-smoothing: antialiased; background: var(--canvas); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint-soft); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.mono { font-family: var(--mono); }

.console-app { min-height: 100vh; overflow: hidden; background:
  linear-gradient(rgba(86, 239, 180, .035) 1px, transparent 1px),
  linear-gradient(90deg, rgba(86, 239, 180, .035) 1px, transparent 1px),
  radial-gradient(70% 50% at 60% 0%, rgba(29, 138, 99, .16), transparent 74%),
  var(--canvas); background-size: 40px 40px, 40px 40px, auto, auto; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: -48px; padding: 9px 12px; color: var(--canvas); background: var(--mint); font: 600 .7rem var(--mono); }
.skip-link:focus { top: 16px; }

.topbar, .preview-banner, .page-shell, .footer { width: min(100% - 56px, 1380px); margin-inline: auto; }
.topbar { min-height: 68px; display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(300px, 1fr); align-items: center; gap: 28px; border-bottom: 1px solid var(--line); font-family: var(--mono); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--mint); background: rgba(23, 69, 53, .25); }
.brand-mark img { width: 23px; height: 23px; object-fit: contain; filter: saturate(.8) brightness(1.15); }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: .82rem; letter-spacing: .08em; }
.brand-copy small { margin-top: 3px; color: var(--dim); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; gap: 24px; align-items: center; font-size: .65rem; white-space: nowrap; }
.primary-nav a { position: relative; color: var(--muted); padding: 24px 0 22px; transition: color var(--ease); }
.primary-nav a:hover, .primary-nav a.is-current { color: var(--mint-soft); }
.primary-nav a.is-current::after { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; content: ""; background: var(--mint); }
.topbar-meta { display: flex; justify-content: flex-end; align-items: center; gap: 12px; color: var(--dim); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.health-chip { display: inline-flex; gap: 7px; align-items: center; color: var(--mint); }
.health-chip i, .watch-dot { width: 7px; height: 7px; display: inline-block; background: var(--mint); box-shadow: 0 0 0 4px rgba(86, 239, 180, .08); }
.health-chip.is-stale { color: var(--amber); }
.health-chip.is-stale i { background: var(--amber); box-shadow: 0 0 0 4px rgba(229, 183, 95, .08); }
.meta-divider { width: 1px; height: 16px; background: var(--line-soft); }
.preview-banner { display: flex; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 9px 12px; border: 1px solid rgba(229, 183, 95, .45); color: var(--amber); background: rgba(229, 183, 95, .055); font: .61rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.preview-banner span:first-child { display: flex; gap: 8px; align-items: center; }
.preview-banner i { width: 7px; height: 7px; display: inline-block; background: var(--amber); }
.preview-banner span:nth-child(2) { flex: 1; color: rgba(229, 183, 95, .72); text-align: right; }
.state-switch { display: inline-flex; flex: none; gap: 7px; align-items: center; padding: 3px 0 3px 12px; border: 0; border-left: 1px solid rgba(229, 183, 95, .28); color: var(--amber); background: transparent; cursor: pointer; font: inherit; letter-spacing: .08em; text-transform: uppercase; transition: color var(--ease), opacity var(--ease); }
.state-switch:hover { color: var(--mint-soft); }
.state-switch.is-stale { color: var(--mint); }

.page-shell { padding: 28px 0 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(460px, 1.35fr) minmax(230px, .7fr); gap: 22px; align-items: start; }
.forecast-column { display: grid; gap: 14px; min-width: 0; }
.identity-column { display: flex; flex-direction: column; min-width: 0; padding: 8px 10px 0 2px; }
.eyebrow, .section-kicker, .instrument-title, .instrument-subtitle, .module-kicker, .reading-label, .footer, .table-head, .table-row, .event-facts, .linked-sources, .evidence-note, .inspector-links, .watch-note { font-family: var(--mono); }
.eyebrow { display: flex; gap: 9px; align-items: center; margin: 0 0 26px; color: var(--muted); font-size: .58rem; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-rule { width: 24px; height: 1px; flex: none; background: var(--mint); }
h1 { max-width: 380px; margin: 0; font-size: clamp(3.4rem, 6vw, 6.4rem); font-weight: 640; letter-spacing: -.09em; line-height: .83; }
.hero-deck { margin: 27px 0 28px; color: var(--mint); font: .72rem/1.65 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-deck span { color: var(--muted); letter-spacing: .02em; text-transform: none; }
.elapsed-module, .return-module, .forecast-instrument, .status-module, .latest-module, .timeline-section, .event-inspector, .archive-overview, .events-table, .watch-module, .about-strip { border: 1px solid var(--line); background: rgba(8, 16, 14, .88); }
.elapsed-module { margin-top: auto; padding: 17px 18px 16px; }
.module-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .58rem; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.module-kicker strong { color: var(--mint); font-weight: 500; }
.module-code { color: var(--dim); }
.elapsed-value { margin: 13px 0 7px; color: var(--mint-soft); font: 700 clamp(2.2rem, 4vw, 3.7rem)/.9 var(--mono); letter-spacing: -.1em; }
.elapsed-value span { margin-left: 3px; color: var(--muted); font-size: .9rem; letter-spacing: 0; }
.elapsed-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font: .61rem var(--mono); }
.elapsed-arrow { color: var(--mint); }
.elapsed-module > p { margin: 13px 0 0; color: var(--dim); font-size: .64rem; line-height: 1.5; }
.beg-module { margin-top: 14px; padding: 14px 17px; border: 1px dashed rgba(229, 183, 95, .35); background: rgba(229, 183, 95, .035); }
.beg-module .module-kicker { color: var(--amber); }
.beg-module .module-kicker strong { color: var(--amber); font-size: .52rem; }
.beg-row { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-top: 11px; }
.beg-row > div { display: grid; gap: 3px; min-width: 0; }
.beg-row > div strong { color: var(--amber); font: 700 1.75rem/1 var(--mono); letter-spacing: -.08em; }
.beg-row > div span { color: var(--muted); font: .57rem var(--mono); }
.beg-row button { display: inline-flex; gap: 7px; align-items: center; padding: 8px 9px; border: 1px solid rgba(229, 183, 95, .6); color: var(--amber); background: transparent; cursor: pointer; font: .57rem var(--mono); white-space: nowrap; transition: color var(--ease), background var(--ease), transform var(--ease); }
.beg-emoji { font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; font-size: .9rem; line-height: 1; }
.beg-row button:hover { color: var(--canvas); background: var(--amber); }
.beg-row button:active { transform: translateY(1px); }
.beg-module > p { margin: 10px 0 0; color: var(--dim); font-size: .59rem; line-height: 1.45; }
.return-module { margin-top: 14px; padding: 15px 17px; border-color: rgba(86, 239, 180, .16); background: rgba(7, 15, 13, .7); }
.return-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.return-head .module-kicker { margin-bottom: 8px; color: var(--mint); }
.return-head strong { display: block; max-width: 230px; font-size: .81rem; font-weight: 600; line-height: 1.3; }
.change-count { color: var(--mint); font: 1.1rem var(--mono); }
.return-copy { margin: 10px 0 12px; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.text-button { display: inline-flex; gap: 8px; align-items: center; padding: 0; border: 0; color: var(--mint); background: transparent; cursor: pointer; font: .62rem var(--mono); letter-spacing: .02em; }
.text-button:hover { color: var(--mint-soft); }
.return-details { display: grid; grid-template-rows: repeat(3, auto); max-height: 0; min-height: 0; overflow: hidden; opacity: 0; transition: max-height 220ms ease, opacity 180ms ease; }
.return-module.is-open .return-details { max-height: 180px; opacity: 1; margin-top: 13px; }
.return-details div { display: flex; gap: 13px; padding-top: 7px; border-top: 1px solid var(--line-soft); color: var(--muted); font: .6rem var(--mono); }
.return-details div + div { margin-top: 7px; }
.return-details div span { width: 40px; color: var(--mint); }
.return-details div strong { font-weight: 500; }
.return-details small { margin-top: 10px; color: var(--dim); font-size: .56rem; }
.return-strip { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(220px, 1.25fr) auto; gap: 18px; align-items: center; margin-top: 22px; }
.return-strip .return-details { grid-column: 1 / -1; }

.forecast-instrument { position: relative; min-width: 0; overflow: hidden; background: rgba(7, 17, 14, .94); }
.forecast-instrument::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(60% 80% at 48% 45%, rgba(42, 169, 117, .12), transparent 70%); }
.instrument-header, .instrument-footer, .section-heading, .inspector-head { position: relative; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.instrument-header { padding: 17px 19px 14px; border-bottom: 1px solid var(--line); }
.instrument-title { margin: 0; color: var(--mint); font-size: .79rem; letter-spacing: .11em; text-transform: uppercase; }
.instrument-subtitle { margin: 4px 0 0; color: var(--dim); font-size: .58rem; letter-spacing: .04em; }
.instrument-state { color: var(--amber); font: .6rem var(--mono); text-transform: uppercase; }
.instrument-state.is-stale { color: var(--amber); }
.forecast-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-soft); }
.forecast-tabs button { position: relative; min-height: 48px; border: 0; border-right: 1px solid var(--line-soft); color: var(--muted); background: transparent; cursor: pointer; font: .67rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.forecast-tabs button:last-child { border-right: 0; }
.forecast-tabs button:hover { color: var(--mint-soft); background: rgba(86, 239, 180, .04); }
.forecast-tabs button.is-active { color: var(--mint); background: rgba(86, 239, 180, .08); }
.forecast-tabs button.is-active::after { position: absolute; right: 14px; bottom: -1px; left: 14px; height: 2px; content: ""; background: var(--mint); }
.forecast-tabs span { display: block; margin-top: 3px; color: var(--dim); font-size: .5rem; letter-spacing: .1em; }
.forecast-tabs button.is-active span { color: var(--mint); }
.forecast-reading { position: relative; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(160px, .8fr) minmax(150px, 1fr); align-items: center; gap: 12px; padding: 25px 18px 21px; }
.signal-ring-card { display: grid; justify-items: center; gap: 9px; min-width: 0; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.signal-ring-card:hover .telemetry-ring, .signal-ring-card.is-active .telemetry-ring { border-color: var(--mint); }
.signal-ring-card.is-active .ring-action, .signal-ring-card:hover .ring-action { color: var(--mint); }
.ring-horizon { color: var(--mint-soft); font: 700 .68rem var(--mono); letter-spacing: .12em; }
.telemetry-ring { --progress: attr(data-progress type(<percentage>), 10%); position: relative; display: grid; width: clamp(140px, 15vw, 188px); aspect-ratio: 1; place-items: center; border: 1px solid rgba(86, 239, 180, .28); border-radius: 50%; isolation: isolate; background: repeating-conic-gradient(from -90deg, rgba(86, 239, 180, .48) 0deg 5deg, transparent 5deg 10deg); transition: border-color var(--ease), transform var(--ease); }
.telemetry-ring::before { position: absolute; inset: 12px; z-index: -1; border: 1px solid rgba(86, 239, 180, .24); border-radius: 50%; content: ""; background: var(--surface-deep); }
.telemetry-ring::after { position: absolute; inset: -5px; border: 1px solid rgba(86, 239, 180, .08); border-radius: 50%; content: ""; }
.signal-ring-card:hover .telemetry-ring { transform: translateY(-2px); }
.ring-core { position: absolute; inset: 22px; border-radius: 50%; background: conic-gradient(from -90deg, var(--mint) 0 var(--progress), rgba(86, 239, 180, .06) var(--progress) 100%); opacity: .14; }
.ring-center { position: absolute; z-index: 1; inset: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.ring-value { display: block; margin: 0; color: var(--mint-soft); font: 700 clamp(1.7rem, 3vw, 2.5rem)/1 var(--mono); letter-spacing: -.1em; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.ring-value small, .forecast-explanation strong small { margin-left: 2px; color: var(--mint); font-size: .5em; letter-spacing: 0; }
.ring-caption { margin-top: 13px; color: var(--dim); font: .49rem/1.35 var(--mono); letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.ring-action { color: var(--dim); font: .56rem var(--mono); transition: color var(--ease); }
.signal-ring-card.is-stale .telemetry-ring { border-color: rgba(229, 183, 95, .34); }
.signal-ring-card.is-stale .telemetry-ring::before { border-color: rgba(229, 183, 95, .2); }
.signal-ring-card.is-stale .ring-core { background: conic-gradient(from -90deg, var(--amber) 0 0%, rgba(229, 183, 95, .04) 0 100%); opacity: .18; }
.signal-ring-card.is-stale .ring-value, .signal-ring-card.is-stale .ring-action { color: var(--amber); }
.signal-ring-card.is-stale .ring-caption { color: rgba(229, 183, 95, .72); }
.forecast-explanation { min-width: 0; padding: 0 2px; text-align: center; }
.reading-label { color: var(--dim); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.forecast-explanation strong { display: flex; justify-content: center; width: 100%; margin: 10px 0 9px; color: var(--mint-soft); font: 700 clamp(1.8rem, 3vw, 2.65rem)/.9 var(--mono); letter-spacing: -.11em; font-variant-numeric: tabular-nums; text-align: center; }
.reading-telemetry { display: grid; gap: 6px; margin: 0 0 13px; padding: 9px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: left; }
.reading-telemetry div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.reading-telemetry div span { color: var(--dim); font: .55rem var(--mono); }
.reading-telemetry div strong { display: inline; width: auto; margin: 0; color: var(--muted); font: 500 .58rem var(--mono); letter-spacing: 0; text-align: right; white-space: nowrap; }
.reading-telemetry div:first-child strong { color: var(--mint); }
.reading-telemetry div strong.is-amber { color: var(--amber); }
.forecast-explanation p { min-height: 53px; margin: 0 auto 15px; color: var(--muted); font-size: .69rem; line-height: 1.5; }
.reading-meter { height: 4px; overflow: hidden; background: rgba(86, 239, 180, .12); }
.reading-meter span { display: block; width: attr(data-progress type(<percentage>), 0%); height: 100%; background: var(--mint); transition: width 360ms cubic-bezier(.2, .75, .2, 1); }
.reading-meter.is-stale { background: rgba(229, 183, 95, .16); }
.reading-meter.is-stale span { background: var(--amber); }
.reading-scale { display: flex; justify-content: space-between; margin-top: 5px; color: var(--dim); font: .51rem var(--mono); }
.outline-button, .watch-button { border: 1px solid var(--mint); color: var(--mint); background: transparent; cursor: pointer; }
.outline-button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; width: 100%; margin-top: 18px; padding: 10px 8px; font: .58rem var(--mono); transition: color var(--ease), background var(--ease); }
.outline-button:hover { color: var(--canvas); background: var(--mint); }
.instrument-footer { padding: 11px 18px; border-top: 1px solid var(--line-soft); color: var(--dim); font: .55rem var(--mono); }
.refresh-glyph { font-size: .95rem; }
.compare-strip { position: relative; display: grid; grid-template-columns: auto auto auto 1fr; gap: 12px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line-soft); color: var(--muted); background: rgba(86, 239, 180, .035); font: .57rem var(--mono); }
.compare-strip strong { color: var(--mint-soft); }
.compare-strip em { color: var(--mint); font-style: normal; }
.compare-strip small { color: var(--dim); text-align: right; }

.forecast-column > .return-strip { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; margin-top: 0; }
.forecast-column > .return-strip .return-head, .forecast-column > .return-strip .return-copy, .forecast-column > .return-strip > .text-button { grid-column: 1 / -1; }
.forecast-column > .return-strip .return-copy { margin: 0; }

.status-column { display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 14px; min-width: 0; }
.status-module, .latest-module { padding: 18px; }
.status-module .module-kicker strong { color: var(--mint); }
.status-list { margin-top: 24px; }
.status-list div { display: grid; grid-template-columns: 8px 1fr auto; gap: 9px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font: .59rem var(--mono); }
.status-list div:last-child { border-bottom: 1px solid var(--line-soft); }
.status-list i { width: 7px; height: 7px; background: var(--mint); }
.status-list strong { color: var(--mint); font-weight: 500; }
.status-list div.is-stale i { background: var(--amber); }
.status-list div.is-stale strong, .status-module.is-stale .module-kicker strong { color: var(--amber); }
.latest-module { display: flex; flex-direction: column; }
.latest-module time { display: block; margin: auto 0 7px; color: var(--mint-soft); font: 700 clamp(1.65rem, 2.6vw, 2.25rem)/1 var(--mono); letter-spacing: -.08em; }
.latest-module p { margin: 0 0 19px; color: var(--muted); font-size: .71rem; }
.ad-module { padding: 14px; border: 1px dashed rgba(229, 183, 95, .36); background: rgba(229, 183, 95, .035); }
.ad-label { display: flex; justify-content: space-between; gap: 10px; color: var(--amber); font: .53rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ad-label span:last-child { color: rgba(229, 183, 95, .62); }
.ad-frame { display: flex; min-height: 104px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; border: 1px dashed rgba(229, 183, 95, .28); color: rgba(229, 183, 95, .78); text-align: center; }
.ad-frame { aspect-ratio: 6 / 5; min-height: 0; }

/* Production integration overrides (kept last so the prototype defaults do
   not reintroduce page overflow or the compact ad sizing). */
.timeline-section { overflow-x: auto; min-width: 0; max-width: 100%; }
.timeline-track { display: flex; grid-template-columns: none; min-width: max-content; }
.timeline-node { flex: 0 0 104px; }
.future-node { flex: 0 0 68px; }
.watch-module { min-width: 0; }
.watch-module > div, .watch-module h2, .watch-module p, .watch-note { min-width: 0; overflow-wrap: anywhere; }
.partner-slot { width: 300px; height: 250px; min-height: 250px; overflow: hidden; padding: 14px; border: 1px dashed rgba(229, 183, 95, .36); background: rgba(229, 183, 95, .035); }
.right-rail > .partner-slot { order: 4; }
.partner-slot .sponsor-label { margin: 0 0 12px; color: var(--amber); font: var(--telemetry-floor) var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.partner-slot .adsense-placement { display: flex; height: 194px; min-height: 0; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed rgba(229, 183, 95, .28); color: rgba(229, 183, 95, .78); text-align: center; }
.partner-slot .adsense-placement strong { color: var(--amber); font: 600 .74rem var(--mono); letter-spacing: .04em; }
.partner-slot .adsense-placement span { max-width: 220px; color: var(--dim); font: var(--telemetry-floor)/1.45 var(--mono); }
.partner-slot .direct-sponsor { display: flex; height: 194px; min-height: 0; flex-direction: column; justify-content: space-between; gap: 14px; color: var(--muted); }
.partner-slot .direct-sponsor-copy { display: grid; gap: 7px; }
.partner-slot .direct-sponsor-copy strong { color: var(--mint-soft); font: 600 .9rem var(--mono); }
.partner-slot .direct-sponsor-copy span { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.partner-slot .direct-sponsor-cta { color: var(--mint); font: var(--telemetry-floor) var(--mono); }
.source-meta { color: var(--dim); font: var(--telemetry-floor)/1.5 var(--mono); }
.status-module, .latest-module, .status-list, .status-list div, .status-list strong { min-width: 0; }
.status-list strong, .latest-module p, .event-facts dd, .linked-head, .source-meta { overflow-wrap: anywhere; }
.event-facts div { min-width: 0; }
.status-list div.is-good i { background: var(--mint); }
.status-list div.is-amber i { background: var(--amber); }
.status-list div.is-muted i { background: var(--dim); }
.status-list div.is-muted strong { color: var(--muted); }
.timeline-node .event-label { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 560px) {
  .partner-slot { width: auto; height: 138px; min-height: 138px; }
  .partner-slot .adsense-placement, .partner-slot .direct-sponsor { height: 82px; min-height: 0; }
  .timeline-track { min-width: max-content; }
  .timeline-node { flex-basis: 92px; }
  .watch-button { width: 100%; max-width: 100%; justify-content: center; white-space: normal; }
  .watch-note { white-space: normal; }
  .watch-module > div, .watch-module h2, .watch-module p, .watch-note { min-width: 0; overflow-wrap: anywhere; }
  .footer nav { flex-wrap: wrap; gap: 10px 14px; }
}

/* Production integration overrides: the live ledger can contain more events
   than the compact prototype timeline. Keep it inspectable without creating
   page-level horizontal overflow. */
.timeline-section { overflow-x: auto; }
.timeline-track { display: flex; grid-template-columns: none; min-width: max-content; }
.timeline-node { flex: 0 0 104px; }
.future-node { flex: 0 0 68px; }

/* Monetization mounts into the right rail only when a real mode is enabled or
   the explicit review query is present. None mode creates no slot at all. */
.partner-slot { width: 300px; height: 250px; min-height: 250px; overflow: hidden; padding: 14px; border: 1px dashed rgba(229, 183, 95, .36); background: rgba(229, 183, 95, .035); }
.right-rail > .partner-slot { order: 4; }
.partner-slot .sponsor-label { margin: 0 0 12px; color: var(--amber); font: var(--telemetry-floor) var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.partner-slot .adsense-placement { display: flex; height: 194px; min-height: 0; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed rgba(229, 183, 95, .28); color: rgba(229, 183, 95, .78); text-align: center; }
.partner-slot .adsense-placement strong { color: var(--amber); font: 600 .74rem var(--mono); letter-spacing: .04em; }
.partner-slot .adsense-placement span { max-width: 220px; color: var(--dim); font: var(--telemetry-floor)/1.45 var(--mono); }
.partner-slot .direct-sponsor { display: flex; height: 194px; min-height: 0; flex-direction: column; justify-content: space-between; gap: 14px; color: var(--muted); }
.partner-slot .direct-sponsor-copy { display: grid; gap: 7px; }
.partner-slot .direct-sponsor-copy strong { color: var(--mint-soft); font: 600 .9rem var(--mono); }
.partner-slot .direct-sponsor-copy span { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.partner-slot .direct-sponsor-cta { color: var(--mint); font: var(--telemetry-floor) var(--mono); }
.source-meta { color: var(--dim); font: var(--telemetry-floor)/1.5 var(--mono); }
.status-list div.is-good i { background: var(--mint); }
.status-list div.is-amber i { background: var(--amber); }
.status-list div.is-muted i { background: var(--dim); }
.status-list div.is-muted strong { color: var(--muted); }
.timeline-node .event-label { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 560px) {
  .partner-slot { width: auto; height: 138px; min-height: 138px; }
  .partner-slot .adsense-placement, .partner-slot .direct-sponsor { height: 82px; min-height: 0; }
  .timeline-track { min-width: max-content; }
  .timeline-node { flex-basis: 92px; }
  .watch-button { width: 100%; max-width: 100%; justify-content: center; white-space: normal; }
  .watch-note { white-space: normal; }
  .footer nav { flex-wrap: wrap; gap: 10px 14px; }
}
.ad-frame strong { color: var(--amber); font: 700 .78rem var(--mono); letter-spacing: .14em; }
.ad-frame span { font: .54rem/1.45 var(--mono); letter-spacing: .08em; }
.ad-module p { margin: 10px 0 0; color: var(--dim); font: .57rem/1.4 var(--mono); }

.timeline-section { position: relative; margin-top: 22px; padding: 0 18px 20px; }
.section-heading { padding: 15px 0; }
.section-heading h2 { margin: 7px 0 0; font-size: 1.1rem; font-weight: 590; letter-spacing: -.03em; }
.section-kicker { margin: 0; color: var(--mint); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.timeline-hint { display: none; margin-top: 8px; color: var(--amber); font: .56rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.filter-group { display: flex; gap: 4px; }
.filter-group button { min-width: 66px; padding: 8px 11px; border: 1px solid var(--line-soft); color: var(--muted); background: transparent; cursor: pointer; font: .58rem var(--mono); text-transform: capitalize; }
.filter-group button:hover, .filter-group button.is-active { border-color: var(--mint); color: var(--mint); }
.timeline-track { position: relative; display: grid; grid-template-columns: repeat(7, 1fr) 68px; gap: 0; min-height: 144px; padding: 26px 7px 0; }
.track-line { position: absolute; right: 23px; bottom: 53px; left: 23px; height: 1px; background: var(--mint); opacity: .75; }
.timeline-node { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 0; padding: 0; border: 0; color: var(--dim); background: transparent; cursor: pointer; font-family: var(--mono); }
.timeline-node > span { font-size: .52rem; }
.timeline-node strong { color: var(--muted); font-size: .64rem; font-weight: 500; }
.timeline-node i { width: 14px; height: 14px; margin-top: 30px; border: 2px solid var(--mint); border-radius: 50%; background: var(--canvas); transition: box-shadow var(--ease), transform var(--ease), background var(--ease); }
.timeline-node.targeted i { border-color: var(--amber); }
.timeline-node small { margin-top: 16px; color: var(--dim); font-size: .5rem; text-transform: uppercase; }
.timeline-node:hover i { transform: scale(1.17); }
.timeline-node.is-selected i { transform: scale(1.34); background: var(--mint-soft); box-shadow: 0 0 0 5px rgba(86, 239, 180, .12), 0 0 20px rgba(86, 239, 180, .4); }
.timeline-node.is-selected strong, .timeline-node.is-selected small { color: var(--mint); }
.future-node { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 4px; color: var(--dim); font: .54rem/1.35 var(--mono); text-align: center; }
.future-node i { width: 13px; height: 13px; margin-top: 33px; border: 1px dashed var(--dim); border-radius: 50%; background: var(--canvas); }

.archive-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.8fr); gap: 22px; margin-top: 22px; align-items: start; }
.event-inspector { min-width: 0; padding: 17px; }
.inspector-head { align-items: start; }
.close-button { width: 24px; height: 24px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.close-button:hover { color: var(--mint); }
.event-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 15px 0 17px; }
.event-title-row h2 { margin: 0; color: var(--mint-soft); font: 700 1.58rem/1 var(--mono); letter-spacing: -.08em; }
.event-title-row > span { padding: 5px 8px; border: 1px solid var(--mint); color: var(--mint); font: .53rem var(--mono); text-transform: uppercase; }
.event-title-row > span.targeted { border-color: var(--amber); color: var(--amber); }
.event-facts { margin: 0; }
.event-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 11px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: .58rem; }
.event-facts dt { color: var(--dim); text-transform: uppercase; }
.event-facts dd { margin: 0; color: var(--muted); }
.linked-sources { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.linked-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--muted); font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; }
.linked-sources > button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 0; border: 0; border-top: 1px solid var(--line-soft); color: var(--muted); background: transparent; cursor: pointer; text-align: left; font: .59rem var(--mono); }
.linked-sources > button:hover { color: var(--mint-soft); }
.linked-sources > button i { width: 8px; height: 10px; border: 1px solid currentColor; }
.linked-sources > button b { margin-left: auto; color: var(--dim); font-weight: 400; }
.evidence-note { margin-top: 14px; border-top: 1px solid var(--line); }
.evidence-note summary { display: flex; justify-content: space-between; padding: 12px 0 8px; color: var(--mint); cursor: pointer; font-size: .6rem; text-transform: uppercase; }
.evidence-note summary span { color: var(--muted); }
.evidence-note p { margin: 0 0 4px; color: var(--muted); font-family: var(--mono); font-size: .61rem; line-height: 1.55; }
.inspector-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.inspector-links button { padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: .57rem; text-align: left; }
.inspector-links button:hover { color: var(--mint); }
.archive-main { display: grid; gap: 22px; min-width: 0; }
.archive-overview, .events-table { padding: 0 17px 17px; }
.section-heading.compact { padding-bottom: 12px; }
.section-heading.compact h2 { font-size: .98rem; }
.coverage-chip { padding: 5px 8px; border: 1px solid var(--line); color: var(--mint); font: .53rem var(--mono); text-transform: uppercase; }
.overview-stats { display: grid; grid-template-columns: 1fr 1.4fr 1fr; border-top: 1px solid var(--line); }
.overview-stats > div { display: grid; gap: 4px; min-width: 0; padding: 17px 14px 2px 0; border-right: 1px solid var(--line-soft); }
.overview-stats > div + div { padding-left: 17px; }
.overview-stats > div:last-child { border-right: 0; }
.overview-stats strong { overflow: hidden; color: var(--mint-soft); font: 700 clamp(1.3rem, 2.3vw, 1.85rem)/1 var(--mono); letter-spacing: -.07em; text-overflow: ellipsis; white-space: nowrap; }
.overview-stats span, .overview-stats small { color: var(--muted); font: .6rem var(--mono); }
.overview-stats small { color: var(--dim); text-transform: uppercase; }
.table-head, .table-row { display: grid; grid-template-columns: 106px 68px minmax(110px, 1fr) minmax(160px, 1.3fr) 66px; gap: 12px; align-items: center; }
.table-head { padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); color: var(--dim); font-size: .53rem; text-transform: uppercase; }
.table-row { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); background: transparent; cursor: pointer; text-align: left; font-size: .59rem; transition: color var(--ease), background var(--ease); }
.table-row:hover, .table-row.is-selected { color: var(--mint-soft); background: rgba(86, 239, 180, .045); }
.table-row time { color: var(--mint); }
.table-row strong { color: var(--mint); font-weight: 500; }
.table-row.targeted time, .table-row.targeted strong { color: var(--amber); }
.table-empty { color: var(--muted); font: .64rem var(--mono); }

.watch-module { display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto; gap: 22px; align-items: center; min-width: 0; margin-top: 22px; padding: 18px; background: rgba(16, 42, 31, .42); }
.watch-module > div, .watch-module h2, .watch-module p, .watch-note { min-width: 0; overflow-wrap: anywhere; }
.watch-module h2 { margin: 8px 0 4px; font-size: 1.15rem; letter-spacing: -.04em; }
.watch-module p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: .7rem; }
.watch-button { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; font: .61rem var(--mono); white-space: nowrap; transition: color var(--ease), background var(--ease); }
.watch-button:hover, .watch-module.is-watching .watch-button { color: var(--canvas); background: var(--mint); }
.watch-module.is-watching .watch-dot { background: var(--canvas); box-shadow: none; }
.watch-note { color: var(--dim); font-size: .54rem; white-space: nowrap; }
.about-strip { display: flex; gap: 18px; align-items: center; margin-top: 22px; padding: 11px 14px; color: var(--dim); font: .57rem var(--mono); }
.about-strip span:first-child { color: var(--mint); }
.about-strip a { margin-left: auto; color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .56rem; }
.footer nav { display: flex; gap: 17px; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; padding: 11px 14px; border: 1px solid var(--mint); color: var(--mint-soft); background: #09130f; box-shadow: 0 10px 30px rgba(0,0,0,.24); font: .62rem var(--mono); }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; border-top: 1px solid var(--line-soft); }
  .primary-nav a { padding: 13px 0 12px; }
  .topbar-meta { justify-self: end; }
  .hero-grid { grid-template-columns: minmax(230px, .72fr) minmax(430px, 1.28fr); }
  .status-column { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .status-column .ad-module { grid-column: 1 / -1; }
  .status-list { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
@media (max-width: 820px) {
  .topbar, .preview-banner, .page-shell, .footer { width: min(100% - 32px, 680px); }
  .topbar { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 12px 0 0; }
  .brand { flex: 1; }
  .topbar-meta { order: 3; width: 100%; justify-content: flex-start; padding: 10px 0; border-top: 1px solid var(--line-soft); }
  .primary-nav { order: 4; width: 100%; justify-content: flex-start; gap: 19px; overflow-x: auto; }
  .preview-banner { flex-direction: column; gap: 5px; }
  .preview-banner span:nth-child(2) { text-align: left; }
  .state-switch { align-self: flex-start; padding: 7px 0 0; border-top: 1px solid rgba(229, 183, 95, .2); border-left: 0; }
  .hero-grid, .archive-grid { grid-template-columns: 1fr; }
  .return-strip { grid-template-columns: minmax(0, 1fr) auto; }
  .return-strip .return-copy { margin: 0; }
  .identity-column { padding-right: 0; }
  h1 { font-size: clamp(3.7rem, 18vw, 6.4rem); }
  .elapsed-module { margin-top: 0; }
  .status-column { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .timeline-track { min-width: 700px; }
  .timeline-section { overflow-x: auto; }
  .timeline-hint { display: block; }
  .watch-module { grid-template-columns: 1fr; gap: 13px; }
  .watch-button { width: max-content; }
  .about-strip { flex-wrap: wrap; }
  .about-strip a { margin-left: 0; }
}
@media (max-width: 560px) {
  .topbar, .preview-banner, .page-shell, .footer { width: min(100% - 24px, 520px); }
  .primary-nav { gap: 15px; font-size: .59rem; }
  .engine-meta, .ledger-meta, .meta-divider { display: none; }
  .topbar-meta { font-size: .56rem; }
  .forecast-reading { grid-template-columns: 1fr 1fr; gap: 18px 10px; padding-inline: 10px; }
  .return-strip { grid-template-columns: 1fr; gap: 11px; }
  .forecast-column > .return-strip { grid-template-columns: 1fr; }
  .return-strip .return-copy { margin: 0; }
  .forecast-explanation { grid-column: 1 / -1; grid-row: 2; }
  .signal-ring-card { grid-row: 1; }
  .telemetry-ring { width: min(40vw, 165px); }
  .instrument-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .compare-strip { grid-template-columns: 1fr 1fr; }
  .compare-strip small { grid-column: 1 / -1; text-align: left; }
  .status-column { grid-template-columns: 1fr; }
  .status-column .ad-module { grid-column: auto; }
  .status-list { grid-template-columns: 1fr 1fr; }
  .timeline-section { padding-inline: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .filter-group { width: 100%; }
  .filter-group button { flex: 1; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr auto; gap: 5px 10px; padding: 12px 0; }
  .table-row time { grid-column: 1; }
  .table-row span:nth-child(2) { grid-column: 2; grid-row: 1; }
  .table-row span:nth-child(3), .table-row span:nth-child(4) { grid-column: 1 / -1; }
  .table-row strong { grid-column: 2; grid-row: 3; text-align: right; }
  .overview-stats { grid-template-columns: 1fr; }
  .overview-stats > div, .overview-stats > div + div { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .overview-stats > div:last-child { border-bottom: 0; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* v0.3 readability floor: dense telemetry stays compact without dropping below 10px. */
.brand-copy small,
.topbar-meta,
.preview-banner,
.eyebrow,
.module-kicker,
.beg-module .module-kicker strong,
.beg-module > p,
.return-details small,
.instrument-subtitle,
.instrument-state,
.reading-label,
.reading-scale,
.outline-button,
.instrument-footer,
.compare-strip,
.status-list div,
.ring-caption,
.ring-action,
.ad-label,
.ad-frame span,
.ad-module p,
.filter-group button,
.timeline-node > span,
.future-node,
.event-facts div,
.linked-head,
.linked-sources > button,
.event-title-row > span,
.inspector-links button,
.table-head,
.table-row,
.watch-note,
.about-strip,
.footer,
.beg-row > div span,
.beg-row button,
.state-switch,
.timeline-hint,
.coverage-chip,
.reading-telemetry div span,
.reading-telemetry div strong { font-size: var(--telemetry-floor); }

.ad-frame { aspect-ratio: 6 / 5; min-height: 0; }

/* Final production overrides. */
.timeline-section { overflow-x: auto; min-width: 0; max-width: 100%; }
.timeline-track { display: flex; grid-template-columns: none; min-width: max-content; }
.timeline-node { flex: 0 0 104px; }
.future-node { flex: 0 0 68px; }
.watch-module { min-width: 0; }
.watch-module > div, .watch-module h2, .watch-module p, .watch-note { min-width: 0; overflow-wrap: anywhere; }
.partner-slot { width: 300px; height: 250px; min-height: 250px; overflow: hidden; padding: 14px; border: 1px dashed rgba(229, 183, 95, .36); background: rgba(229, 183, 95, .035); }
.right-rail > .partner-slot { order: 4; }
.partner-slot .sponsor-label { margin: 0 0 12px; color: var(--amber); font: var(--telemetry-floor) var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.partner-slot .adsense-placement { display: flex; height: 194px; min-height: 0; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed rgba(229, 183, 95, .28); color: rgba(229, 183, 95, .78); text-align: center; }
.partner-slot .adsense-placement strong { color: var(--amber); font: 600 .74rem var(--mono); letter-spacing: .04em; }
.partner-slot .adsense-placement span { max-width: 220px; color: var(--dim); font: var(--telemetry-floor)/1.45 var(--mono); }
.partner-slot .direct-sponsor { display: flex; height: 194px; min-height: 0; flex-direction: column; justify-content: space-between; gap: 14px; color: var(--muted); }
.partner-slot .direct-sponsor-copy { display: grid; gap: 7px; }
.partner-slot .direct-sponsor-copy strong { color: var(--mint-soft); font: 600 .9rem var(--mono); }
.partner-slot .direct-sponsor-copy span { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.partner-slot .direct-sponsor-cta { color: var(--mint); font: var(--telemetry-floor) var(--mono); }
.source-meta { color: var(--dim); font: var(--telemetry-floor)/1.5 var(--mono); }
.status-list div.is-good i { background: var(--mint); }
.status-list div.is-amber i { background: var(--amber); }
.status-list div.is-muted i { background: var(--dim); }
.status-list div.is-muted strong { color: var(--muted); }
.timeline-node .event-label { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 560px) {
  .partner-slot { width: auto; height: 138px; min-height: 138px; }
  .partner-slot .adsense-placement, .partner-slot .direct-sponsor { height: 82px; min-height: 0; }
  .timeline-track { min-width: max-content; }
  .timeline-node { flex-basis: 92px; }
  .watch-button { width: 100%; max-width: 100%; justify-content: center; white-space: normal; }
  .watch-note { white-space: normal; }
  .watch-module > div, .watch-module h2, .watch-module p, .watch-note { min-width: 0; overflow-wrap: anywhere; }
  .footer nav { flex-wrap: wrap; gap: 10px 14px; }
}
