:root {
  color-scheme: dark;
  --bg: #121117;
  --panel: #1c1a24;
  --raised: #24212e;
  --line: #2e2a3a;
  --line-strong: #3b3549;
  --text: #ece9f2;
  --muted: #8f88a0;
  --accent: #ff5d8f;
  --violet: #a970ff;
  --pro: linear-gradient(90deg, #ff5d8f, #a970ff);
  --good: #5fd39a;
  --warn: #f2b45a;
  --bad: #ff6b6b;
  --info: #8fb4ff;
  --radius: 10px;
  --side: 232px;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd { font: 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
td code { white-space: nowrap; word-break: normal; }
code { color: #c9c2d6; background: var(--raised); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; word-break: break-all; }
kbd { display: inline-block; min-width: 18px; padding: 0 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; color: var(--muted); text-align: center; font-size: 11px; }
.i { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 50; top: 10px; left: 10px; padding: 10px 16px; background: var(--raised); border-radius: 8px; }
[hidden] { display: none !important; }

.preview-banner { position: relative; z-index: 5; padding: 7px 16px; text-align: center; font-size: 12.5px; font-weight: 600; color: #1b1220; background: repeating-linear-gradient(135deg, #f2b45a 0 14px, #f4c070 14px 28px); }

/* ---------- layout ---------- */
.layout { min-height: 100vh; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 16px 10px 12px; border-right: 1px solid var(--line); background: #15141b; }
.brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 18px; }
.mark { width: 30px; height: 30px; flex: none; }
.brand strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.brand span { display: block; color: var(--muted); font-size: 12px; }
.nav-group { margin-bottom: 14px; }
.nav-label { display: block; padding: 0 10px 6px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
details.nav-group > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; min-height: 28px; border-radius: 6px; }
details.nav-group > summary::-webkit-details-marker { display: none; }
details.nav-group > summary::after { content: "▸"; font-size: 10px; transition: transform .15s; }
details.nav-group[open] > summary::after { transform: rotate(90deg); }
details.nav-group > summary:hover { color: var(--text); }
nav .nav-group a { min-height: 34px; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 7px; color: #b9b2c7; margin: 1px 0; }
nav .nav-group a:hover { background: var(--raised); color: var(--text); }
nav .nav-group a[aria-current="page"] { background: #2a2333; color: var(--text); box-shadow: inset 2px 0 0 var(--accent); font-weight: 600; }
nav .nav-group a[aria-current="page"] .i { color: var(--accent); }
nav .nav-group a kbd { margin-left: auto; opacity: 0; transition: opacity .15s; }
nav .nav-group a:hover kbd { opacity: 1; }
nav .nav-group a b { margin-left: auto; padding: 0 7px; border-radius: 10px; background: var(--accent); color: #1b1220; font-size: 11px; }
.side-foot { margin-top: auto; }
.shortcut-hint { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 10px; margin-bottom: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); text-align: left; }
.shortcut-hint:hover { background: var(--raised); color: var(--text); }
.shortcut-hint kbd { margin-left: auto; }
.owner { border-top: 1px solid var(--line); padding: 10px 4px 0; display: flex; align-items: center; gap: 9px; min-width: 0; }
.owner > div { flex: 1; min-width: 0; }
.owner strong, .owner small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner small { color: var(--muted); font-size: 12px; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--pro); color: #fff; font-weight: 700; font-size: 13px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--raised); color: var(--text); }

.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 28px; border-bottom: 1px solid var(--line); background: rgba(18, 17, 23, .92); backdrop-filter: blur(8px); }
.mobile-nav, .mobile-brand { display: none; }
.global-search { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; }
.global-search .i { position: absolute; left: 11px; color: var(--muted); width: 16px; height: 16px; pointer-events: none; }
.global-search input { width: 100%; height: 36px; padding: 0 36px 0 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.global-search input::placeholder { color: var(--muted); }
.global-search input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255, 93, 143, .18); }
.global-search kbd { position: absolute; right: 9px; }
.top-meta { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.env { display: inline-flex; gap: 6px; }
.fresh { color: var(--muted); font-size: 12px; white-space: nowrap; }
.fresh.warn { color: var(--warn); }

.main { max-width: 1320px; margin: 0 auto; padding: 18px 28px 56px; }
.main:focus { outline: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12.5px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 18px; }
h1 { font-size: 24px; font-weight: 680; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.page-head p { color: var(--muted); margin-top: 2px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
h2 { font-size: 14px; font-weight: 640; letter-spacing: -.005em; }
h3.sub { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 8px; }
p, .muted { color: var(--muted); }
.footnote { color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ---------- surfaces ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; min-width: 0; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-head p { font-size: 12.5px; margin-top: 2px; }
.panel-head > :last-child:not(:first-child) { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.panel-foot { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: 12.5px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-2 > .panel { margin-bottom: 16px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.detail-side { position: sticky; top: 72px; }

.source-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.source-strip li { outline: 1px solid var(--line); }
.source-strip a { display: flex; flex-direction: column; gap: 4px; min-height: 76px; height: 100%; padding: 10px 12px; background: var(--panel); }
.source-strip a:hover { background: var(--raised); }
.src-name { font-size: 12px; color: var(--muted); }
.src-state { display: flex; gap: 4px; flex-wrap: wrap; }
.source-strip small { color: var(--muted); font-size: 11.5px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpis.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
a.kpi:hover { border-color: var(--line-strong); background: var(--raised); }
.kpi-label { font-size: 12px; color: var(--muted); }
.kpi-value { font-size: 24px; font-weight: 680; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.kpi-value.bad { color: var(--bad); }
.kpi-value.warn { color: var(--warn); }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 21px; }
.kpi-source { flex: none; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #2b2836; color: #c6bfd3; border: 1px solid transparent; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip.muted::before, .chip.pro::before { display: none; }
.chip.good { background: rgba(95, 211, 154, .12); color: var(--good); }
.chip.warn { background: rgba(242, 180, 90, .13); color: var(--warn); }
.chip.bad { background: rgba(255, 107, 107, .13); color: var(--bad); }
.chip.info { background: rgba(143, 180, 255, .13); color: var(--info); }
.chip.live { background: rgba(255, 107, 107, .16); color: #ffb3b3; border-color: rgba(255, 107, 107, .4); }
.chip.pro { background: var(--pro); color: #fff; }
.chip.muted { color: var(--muted); }
.badges { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.badge { padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 5px; font-size: 11px; color: var(--muted); }
.warn-text { color: var(--warn); }
.bad-text { color: var(--bad); font-weight: 600; }

/* ---------- tables ---------- */
.table-wrap { overflow: auto; max-height: 70vh; margin: 0 -16px; border-top: 1px solid var(--line); }
.table-wrap:focus-visible { outline-offset: -2px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
th { position: sticky; top: 0; z-index: 1; background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
th.num, td.num { text-align: right; white-space: nowrap; }
tbody tr:hover td { background: rgba(255, 255, 255, .025); }
tbody tr:last-child td { border-bottom: 0; }
td small { display: block; color: var(--muted); font-size: 12px; }
td .chip + small { margin-top: 3px; }
.row-link { display: block; }
.row-link strong { font-weight: 600; }
.row-link:hover strong { color: var(--accent); }
th .sort, th button.sort { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
th .sort span { font-size: 10px; opacity: .6; }
th .sort.on, th[aria-sort] { color: var(--text); }
th .sort:hover { color: var(--text); }
.wrap { white-space: normal; max-width: 420px; }
.events-list summary { cursor: pointer; color: var(--muted); }
.events-list ul { margin-top: 6px; display: grid; gap: 3px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; color: var(--muted); font-size: 12.5px; }

/* ---------- forms and buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--raised); color: var(--text); font-weight: 600; font-size: 13px; white-space: nowrap; }
.button:hover { border-color: #554c66; background: #2c2838; }
.button.primary { border-color: transparent; background: var(--accent); color: #1b1220; }
.button.primary:hover { background: #ff7aa3; }
.button.ghost { background: transparent; }
.button.small { min-height: 30px; padding: 0 10px; font-size: 12px; }
.button .i { width: 15px; height: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; font-size: 13px; }
.text-link:hover { text-decoration: underline; }
.text-link .i { width: 14px; height: 14px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.field.grow { flex: 1; min-width: 200px; }
.field label, .editor-form label { color: var(--muted); font-size: 12px; font-weight: 600; }
input, select, textarea { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: #16141c; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255, 93, 143, .18); }
textarea { resize: vertical; }
.editor-form { display: grid; gap: 8px; max-width: 520px; }
.editor-form .button { justify-self: start; margin-top: 6px; }

/* ---------- states ---------- */
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 9px; background: rgba(255, 255, 255, .012); }
.empty .i { color: var(--muted); }
.empty strong { font-size: 13.5px; }
.empty p { font-size: 13px; max-width: 70ch; }
.empty.bad { border-color: rgba(255, 107, 107, .35); }
.empty.bad .i { color: var(--bad); }
.empty.warn { border-color: rgba(242, 180, 90, .35); }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; margin-bottom: 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--raised); }
.callout p { font-size: 13px; }
.callout.warn { border-color: rgba(242, 180, 90, .4); background: rgba(242, 180, 90, .07); }
.callout.warn > .i { color: var(--warn); }
.callout.bad { border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .07); }
.callout.bad > .i { color: var(--bad); }
.callout.good { border-color: rgba(95, 211, 154, .4); background: rgba(95, 211, 154, .07); color: var(--good); }

/* ---------- lists ---------- */
.attention li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.attention li:last-child { border-bottom: 0; }
.attention .i { margin-top: 1px; }
.attention .bad > .i { color: var(--bad); }
.attention .warn > .i { color: var(--warn); }
.attention .info > .i { color: var(--info); }
.attention strong a:hover { color: var(--accent); }
.attention p { font-size: 12.5px; }
.timeline li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline li:last-child { border-bottom: 0; }
.timeline .dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--line-strong); }
.timeline .good .dot { background: var(--good); }
.timeline .bad .dot { background: var(--bad); }
.timeline .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 3px; font-size: 12px; color: var(--muted); }
.timeline .meta .row-link { display: inline; }
.timeline .meta small { display: none; }
.timeline time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.list li, .inbox li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.list li:last-child, .inbox li:last-child { border-bottom: 0; }
.list strong { font-variant-numeric: tabular-nums; }
.inbox small { display: block; color: var(--muted); font-size: 12px; }
.inbox .unread strong::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.notes { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: #c9c2d6; }
.facts div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 12.5px; }
.facts dd { overflow-wrap: anywhere; }
.detail-side .facts div { grid-template-columns: 1fr; gap: 2px; }
.plan-hero { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.plan-hero > div { max-width: 60ch; }
.plan-hero .chip { height: 26px; padding: 0 12px; font-size: 13px; }
.plan-hero p { margin-top: 8px; color: var(--text); }
.mini { display: flex; gap: 18px; flex-wrap: wrap; }
.mini dt { color: var(--muted); font-size: 12px; }
.release-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.release-hero > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

.tabs { display: flex; gap: 2px; margin-bottom: 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 600; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs .count { padding: 0 6px; border-radius: 8px; background: var(--raised); font-size: 11px; font-variant-numeric: tabular-nums; }

/* ---------- charts ---------- */
.bars svg, .chart svg { width: 100%; height: auto; display: block; }
.bars rect { fill: var(--accent); }
.bars text { fill: var(--text); font-size: 11px; font-variant-numeric: tabular-nums; }
.bars text.tick { fill: var(--muted); }
.bars .axis { stroke: var(--line-strong); }
.bars figcaption, .chart figcaption { color: var(--muted); font-size: 12px; margin-top: 6px; display: flex; justify-content: space-between; }
.grid-line { stroke: var(--line); fill: none; }
.chart-area { fill: rgba(255, 93, 143, .12); }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.chart circle { fill: var(--accent); }

/* ---------- dialog ---------- */
dialog { width: min(440px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel); color: var(--text); }
dialog::backdrop { background: rgba(6, 5, 10, .65); }
.keys { display: grid; gap: 2px; margin: 14px 0 16px; }
.keys div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
.keys dd { color: var(--muted); }

/* ---------- sign-in ---------- */
.login-page .login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; }
.login-page .preview-banner { position: fixed; top: 0; left: 0; right: 0; }
.login-card { width: min(400px, 100%); display: grid; gap: 10px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.login-card .mark { width: 40px; height: 40px; margin-bottom: 6px; }
.login-card h1 { font-size: 26px; }
.login-card form { display: grid; gap: 8px; margin-top: 8px; }
.login-card label { color: var(--muted); font-size: 12px; font-weight: 600; }
.login-card .button { margin-top: 6px; min-height: 44px; }
.eyebrow { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow .i { width: 14px; height: 14px; }
.login-footer { font-size: 12px; margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .layout { display: block; }
  .sidebar { display: none; }
  .topbar { flex-wrap: wrap; padding: 8px 16px; gap: 8px; }
  .mobile-brand { display: inline-flex; }
  .mobile-nav { display: block; }
  .mobile-nav > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; list-style: none; cursor: pointer; }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-panel { position: absolute; left: 8px; right: 8px; top: calc(100% + 4px); max-height: calc(100vh - 80px); overflow-y: auto; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #17161e; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
  .mobile-panel nav .nav-group a { min-height: 44px; }
  .mobile-panel nav a kbd { display: none; }
  .mobile-panel details.nav-group > summary { min-height: 44px; }
  .global-search { order: 3; flex-basis: 100%; max-width: none; }
  .global-search input { height: 44px; }
  .global-search kbd { display: none; }
  .top-meta { margin-left: auto; }
  .fresh { display: none; }
  .main { padding: 14px 16px 48px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 21px; }
  .button, .icon-button, .tabs a { min-height: 44px; }
  .icon-button { width: 44px; height: 44px; }
  input, select { min-height: 44px; }
  .filters .field, .filters .field.grow { flex: 1 1 100%; }
  .filters .button { flex: 1; }
  .panel { padding: 14px; }
  .table-wrap { margin: 0 -14px; max-height: none; }
  th:first-child, td:first-child { padding-left: 14px; }
  td { white-space: nowrap; }
  td small.wrap, .wrap { white-space: normal; min-width: 220px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi-value { font-size: 20px; }
  .source-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .row-link, .text-link { min-height: 32px; }
  .timeline li { grid-template-columns: 14px minmax(0, 1fr); }
  .timeline li > time { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
