/* ============================================================================
   India Energy Regulation Watch
   Analyst-terminal theme — same family as india-datacenter-watch, but with a
   distinct warm-amber accent so the two products read differently at a glance.
   Dark-first; `html.light` flips to light; system default via prefers-color-scheme
   is applied by js/app.js before first paint. Depth = surface ramp + hairlines.
   System font stack only — no network requests of any kind.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #0C0B08;
  --surface: #15130E;
  --surface-2: #1B1912;
  --surface-3: #232016;

  --border: rgba(255, 251, 235, 0.09);
  --border-strong: rgba(255, 251, 235, 0.16);
  --grid: rgba(255, 251, 235, 0.05);

  --fg: #EDEAE2;
  --muted: #A39E90;
  --faint: #6E695C;

  --primary: #FB923C;               /* the accent: warm amber-orange */
  --primary-foreground: #1A1206;

  --st-rumoured: #64748B;
  --st-drafted: #A78BFA;
  --st-consultation: #FBBF24;
  --st-notified: #38BDF8;
  --st-operational: #34D399;
  --st-concluded: #9CA3AF;
  --st-tracking: #2DD4BF;

  --ok: #34D399;
  --warn: #FBBF24;
  --alert: #F87171;

  --radius: 8px;
  --radius-sm: 6px;
  --radius-full: 9999px;

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --maxw: 1360px;
}

html.light {
  color-scheme: light;

  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F2EC;
  --surface-3: #ECE9E0;

  --border: rgba(26, 18, 6, 0.11);
  --border-strong: rgba(26, 18, 6, 0.20);
  --grid: rgba(26, 18, 6, 0.06);

  --fg: #1C1913;
  --muted: #6E695C;
  --faint: #A39E90;

  --primary: #C2410C;
  --primary-foreground: #FFFFFF;

  --st-rumoured: #475569;
  --st-drafted: #7C3AED;
  --st-consultation: #B45309;
  --st-notified: #0284C7;
  --st-operational: #059669;
  --st-concluded: #6B7280;
  --st-tracking: #0D9488;

  --ok: #059669;
  --warn: #B45309;
  --alert: #DC2626;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; color: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
.mono { font-family: var(--mono); }

.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 20;
  transform: translateY(-160%);
  background: var(--primary); color: var(--primary-foreground);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.app-shell, main, footer {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}
.app-shell { padding-top: clamp(20px, 3vw, 32px); }

.topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.01em; }
h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
h3 { margin-bottom: 0; font-size: 1.04rem; font-weight: 600; line-height: 1.25; }
h4 { margin: 0 0 6px; font-size: 0.94rem; font-weight: 600; line-height: 1.3; }

.byline { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; font-weight: 500; }

.topline-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.edition-select {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 10px; min-height: 38px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--muted);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.edition-select select {
  border: none; background: transparent; color: var(--fg);
  font-family: var(--mono); font-size: 0.82rem; font-weight: 600;
  text-transform: none; letter-spacing: 0; cursor: pointer; outline: none;
}

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--muted);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.icon-btn:hover { background: var(--surface-3); color: var(--fg); border-color: var(--border-strong); }
.icon-btn svg { width: 17px; height: 17px; }

.view-nav {
  position: sticky; top: 0; z-index: 8;
  display: flex; gap: 4px;
  margin-top: 18px; padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-pill {
  min-height: 34px; padding: 0 14px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted);
  font-weight: 600; font-size: 0.85rem; white-space: nowrap; cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.nav-pill:hover { background: var(--surface-3); color: var(--fg); }
.nav-pill.is-active { background: var(--primary); color: var(--primary-foreground); }

main { padding-block: 22px 30px; }
.view { display: none; }
.view.is-active { display: block; animation: view-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes view-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(14px, 2vw, 20px);
}

.section-head { margin: 26px 0 12px; }
.section-head:first-child { margin-top: 0; }
.section-title-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  margin-bottom: 12px; flex-wrap: wrap;
}
.fine-print { color: var(--faint); font-size: 0.72rem; font-weight: 600; }
.lede { color: var(--muted); font-size: 0.96rem; line-height: 1.55; max-width: 74ch; }
.page-heading { margin: 4px 0 18px; max-width: 84ch; }
.page-heading p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

/* ---- badges & chips -------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 20px; padding: 1px 8px; border-radius: var(--radius-full);
  font-size: 0.68rem; font-weight: 600; white-space: nowrap;
  background: var(--surface-3); color: var(--muted);
  border: 1px solid var(--border);
}
.tag.mono { font-family: var(--mono); font-size: 0.64rem; }

.stage-badge {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 20px; padding: 1px 8px 1px 7px; border-radius: var(--radius-full);
  font-size: 0.68rem; font-weight: 700; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--stage-c, var(--muted)) 42%, transparent);
  color: var(--stage-c, var(--muted));
  background: color-mix(in srgb, var(--stage-c, var(--muted)) 10%, transparent);
}
.stage-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--stage-c, var(--muted)); }
.stage-badge[data-stage="rumoured"] { --stage-c: var(--st-rumoured); }
.stage-badge[data-stage="drafted"] { --stage-c: var(--st-drafted); }
.stage-badge[data-stage="consultation"] { --stage-c: var(--st-consultation); }
.stage-badge[data-stage="notified"] { --stage-c: var(--st-notified); }
.stage-badge[data-stage="operational"] { --stage-c: var(--st-operational); }
.stage-badge[data-stage="concluded"] { --stage-c: var(--st-concluded); }
.stage-badge[data-stage="tracking"] { --stage-c: var(--st-tracking); }

.analysis-badge {
  display: inline-flex; align-items: center;
  min-height: 17px; padding: 0 6px; margin-right: 6px;
  border-radius: 4px; vertical-align: 1px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--st-drafted);
  border: 1px solid color-mix(in srgb, var(--st-drafted) 45%, transparent);
  background: color-mix(in srgb, var(--st-drafted) 10%, transparent);
}

.conf-tag {
  display: inline-flex; align-items: center; gap: 3px;
  min-height: 18px; padding: 0 7px; border-radius: var(--radius-full);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.conf-tag[data-conf="confirmed"] {
  color: var(--ok);
  border: 1px solid color-mix(in srgb, var(--ok) 38%, transparent);
  background: color-mix(in srgb, var(--ok) 9%, transparent);
}
.conf-tag[data-conf="reported"] {
  color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 42%, transparent);
  background: color-mix(in srgb, var(--warn) 10%, transparent);
}

.class-badge {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 20px; padding: 1px 8px; border-radius: var(--radius-full);
  font-size: 0.66rem; font-weight: 700; white-space: nowrap;
  border: 1px solid var(--border); color: var(--muted); background: var(--surface-3);
}
.class-badge[data-class="primary-official"] {
  color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent);
  background: color-mix(in srgb, var(--ok) 9%, transparent);
}
.class-badge[data-class="secondary-press"] {
  color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 9%, transparent);
}
.class-badge[data-class="analysis"] {
  color: var(--st-drafted); border-color: color-mix(in srgb, var(--st-drafted) 40%, transparent);
  background: color-mix(in srgb, var(--st-drafted) 9%, transparent);
}

.src-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; min-height: 18px; padding: 0 5px; margin: 0 2px 2px 0;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface-3); color: var(--primary);
  font-family: var(--mono); font-size: 0.64rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.src-chip:hover { background: var(--surface-2); border-color: var(--primary); }

.updated-badge {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 18px; padding: 0 7px; border-radius: var(--radius-full);
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

/* ---- Brief ----------------------------------------------------------------- */
.hero { margin-bottom: 16px; }
.hero .lede { margin-top: 8px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-chip {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.hero-chip .k { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hero-chip .v { font-family: var(--mono); font-size: 1.02rem; font-weight: 600; color: var(--fg); }

.moved-group { margin-bottom: 20px; }
.moved-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.moved-head h3 { font-size: 0.9rem; color: var(--fg); }
.moved-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.event-card {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); padding: 13px 14px;
}
.event-date { font-family: var(--mono); color: var(--primary); font-size: 0.76rem; font-weight: 600; line-height: 1.4; }
.event-card h4 { margin-bottom: 4px; }
.event-card .detail { margin: 0 0 6px; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.event-card .significance { margin: 6px 0 6px; color: var(--fg); font-size: 0.83rem; line-height: 1.5; border-left: 2px solid var(--st-drafted); padding-left: 9px; }
.event-track-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--faint); font-size: 0.7rem; font-weight: 600; text-align: left;
}
.event-track-link:hover { color: var(--primary); }

.stage-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stage-card {
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 14px; cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.stage-card:hover { border-color: var(--primary); background: var(--surface-2); }
.stage-card .row1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.stage-card h4 { margin: 0; }
.stage-card .note { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }

/* ---- Tracks ---------------------------------------------------------------- */
.track-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.track-card {
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 13px; cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.track-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.track-card.is-active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.track-card h4 { margin: 0; font-size: 0.86rem; }
.track-card .meta { display: flex; flex-wrap: wrap; gap: 5px; }

.dossier { border: 1px solid var(--border-strong); }
.dossier-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.dossier-head .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dossier-summary { color: var(--muted); font-size: 0.92rem; line-height: 1.6; max-width: 90ch; }
.dossier-section { margin-top: 20px; }
.dossier-section > h4 {
  color: var(--muted); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.who-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }

.param-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
.param-table-wrap table { min-width: 700px; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: none; }
th {
  background: var(--surface-2); color: var(--muted);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
td .param-label { font-weight: 600; font-size: 0.84rem; }
td .param-value { font-size: 0.85rem; line-height: 1.5; }
td .param-note { color: var(--faint); font-size: 0.75rem; line-height: 1.45; margin-top: 3px; }

.timeline { display: grid; gap: 8px; }
.timeline .event-card { background: var(--surface); }

.crosslink-row { display: grid; gap: 6px; }
.crosslink-row a { font-size: 0.84rem; font-weight: 600; width: fit-content; }

.dossier-sources { display: grid; gap: 6px; }
.dossier-source-row { display: flex; gap: 8px; align-items: baseline; font-size: 0.8rem; }
.dossier-source-row .pub { color: var(--muted); }

/* ---- Watchlist ------------------------------------------------------------- */
.watch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.watch-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); padding: 14px;
  display: flex; flex-direction: column; gap: 9px;
}
.watch-card .trigger-line {
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.5; color: var(--fg);
  border-left: 2px solid var(--warn); padding-left: 10px;
}
.watch-card .why { margin: 0; color: var(--muted); font-size: 0.83rem; line-height: 1.5; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: auto; padding-top: 4px; }
.watch-meta .k { color: var(--faint); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 4px; }
.watch-meta .v { font-size: 0.78rem; font-weight: 600; }
.watch-due { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.watch-due[data-due="overdue"] { color: var(--warn); font-weight: 700; }
.watch-due[data-due="soon"] { color: var(--primary); font-weight: 700; }

/* ---- Sources --------------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 14px; }
.search-box { display: grid; gap: 5px; min-width: min(300px, 100%); flex: 1 1 260px; }
.search-box span { color: var(--muted); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.search-box input {
  width: 100%; min-height: 38px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--fg); outline: none;
}
.search-box input::placeholder { color: var(--faint); }
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }

.filter-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-chip {
  min-height: 34px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--muted);
  font-weight: 600; font-size: 0.8rem; cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.filter-chip:hover { background: var(--surface-3); color: var(--fg); }
.filter-chip.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.filter-chip .ct { font-family: var(--mono); opacity: 0.75; margin-left: 4px; }

.sources-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.sources-table-wrap table { min-width: 860px; }
.sources-table-wrap td { font-size: 0.82rem; }
.sources-table-wrap .src-num { font-family: var(--mono); color: var(--primary); font-weight: 700; white-space: nowrap; }
.sources-table-wrap .src-date { font-family: var(--mono); font-size: 0.76rem; white-space: nowrap; }
.sources-table-wrap .src-note { color: var(--faint); font-size: 0.73rem; line-height: 1.45; margin-top: 3px; }
.sources-table-wrap a.src-out { font-size: 0.78rem; font-weight: 600; overflow-wrap: anywhere; }
tr.src-flash { animation: src-flash 1.8s ease-out 1; }
@keyframes src-flash {
  0% { background: color-mix(in srgb, var(--primary) 26%, transparent); }
  100% { background: transparent; }
}

.empty-note { color: var(--muted); font-size: 0.86rem; padding: 10px 2px; }

/* ---- methodology ----------------------------------------------------------- */
.methodology { margin: 16px 0; padding: 0; overflow: hidden; }
.methodology summary {
  cursor: pointer; list-style: none;
  padding: 12px 18px;
  font-weight: 600; font-size: 0.88rem; color: var(--muted);
  transition: color 140ms ease, background 140ms ease;
}
.methodology summary::before { content: "▸ "; color: var(--primary); font-family: var(--mono); }
.methodology[open] summary::before { content: "▾ "; }
.methodology summary:hover { color: var(--fg); background: var(--surface-2); }
.methodology summary::-webkit-details-marker { display: none; }
.method-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  padding: 4px 18px 18px; border-top: 1px solid var(--border);
}
.method-grid h4 { margin-top: 12px; }
.method-grid p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 20px 0 36px; margin-top: 8px; border-top: 1px solid var(--border);
  color: var(--faint); font-size: 0.76rem;
}
footer .disclaimer { max-width: 68ch; line-height: 1.5; }

.error-state { padding: 60px 20px; text-align: center; }
.is-hidden { display: none !important; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .moved-grid, .watch-grid { grid-template-columns: 1fr; }
  .stage-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-shell, main, footer { width: min(100% - 24px, var(--maxw)); }
  .topline { grid-template-columns: 1fr; align-items: start; }
  .topline-tools { justify-content: flex-start; }
  .stage-board, .track-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- print: the Brief as a clean light one-pager ---------------------------- */
@media print {
  :root {
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F6F5F1; --surface-3: #EFEDE7;
    --border: rgba(26, 18, 6, 0.16); --border-strong: rgba(26, 18, 6, 0.26);
    --grid: transparent;
    --fg: #1C1913; --muted: #55503F; --faint: #8B8574;
    --primary: #C2410C; --primary-foreground: #FFFFFF;
    --st-rumoured: #475569; --st-drafted: #7C3AED; --st-consultation: #B45309;
    --st-notified: #0284C7; --st-operational: #059669; --st-concluded: #6B7280;
    --st-tracking: #0D9488;
    --ok: #059669; --warn: #B45309; --alert: #DC2626;
  }
  body { background: #fff; font-size: 11px; }
  .view-nav, .topline-tools, .skip-link, .toolbar, .methodology { display: none !important; }
  .app-shell, main, footer { width: 100%; }
  .view { display: none !important; }
  .view.is-active { display: block !important; animation: none !important; }
  .panel, .event-card, .stage-card, .watch-card, .track-card { break-inside: avoid; box-shadow: none; }
  a { color: inherit; text-decoration: none; }
  .moved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
