@layer reset, tokens, base, layout, components, pages, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
  button, input { font: inherit; }
  a { color: inherit; text-decoration: none; }
  svg { display: block; }
  [hidden] { display: none !important; }
}

@layer tokens {
  :root {
    --bg: oklch(0.17 0.012 263);
    --bg-deep: oklch(0.135 0.012 263);
    --surface: oklch(0.205 0.014 263);
    --surface-2: oklch(0.245 0.015 263);
    --surface-3: oklch(0.28 0.017 263);
    --ink: oklch(0.96 0.008 260);
    --ink-soft: oklch(0.79 0.014 260);
    --muted: oklch(0.62 0.018 260);
    --line: oklch(0.35 0.018 263 / .55);
    --line-strong: oklch(0.48 0.025 263 / .68);
    --trust: oklch(0.69 0.15 259);
    --trust-strong: oklch(0.75 0.13 254);
    --trust-tint: oklch(0.68 0.15 259 / .12);
    --safe: oklch(0.78 0.13 165);
    --safe-tint: oklch(0.72 0.13 165 / .11);
    --atmos: oklch(0.7 0.16 292);
    --atmos-tint: oklch(0.7 0.16 292 / .11);
    --quiet: oklch(0.71 0.055 78);
    --shadow: 0 22px 70px oklch(0.08 0.02 263 / .34);
    --shadow-soft: 0 10px 35px oklch(0.08 0.02 263 / .2);
    --radius-sm: 11px;
    --radius: 17px;
    --radius-lg: 24px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
    --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  }
  :root[data-theme="light"] {
    --bg: oklch(0.965 0.009 86);
    --bg-deep: oklch(0.93 0.012 85);
    --surface: oklch(0.995 0.004 86);
    --surface-2: oklch(0.945 0.011 84);
    --surface-3: oklch(0.91 0.014 82);
    --ink: oklch(0.22 0.02 263);
    --ink-soft: oklch(0.4 0.022 263);
    --muted: oklch(0.57 0.025 263);
    --line: oklch(0.82 0.018 84 / .78);
    --line-strong: oklch(0.71 0.025 84 / .8);
    --trust: oklch(0.58 0.18 259);
    --trust-strong: oklch(0.49 0.19 259);
    --trust-tint: oklch(0.63 0.17 259 / .1);
    --safe: oklch(0.55 0.14 162);
    --safe-tint: oklch(0.58 0.14 162 / .1);
    --atmos: oklch(0.57 0.17 292);
    --atmos-tint: oklch(0.61 0.17 292 / .09);
    --quiet: oklch(0.5 0.07 78);
    --shadow: 0 22px 70px oklch(0.45 0.04 80 / .14);
    --shadow-soft: 0 10px 35px oklch(0.45 0.04 80 / .1);
  }
}

@layer base {
  body {
    min-width: 320px; min-height: 100vh; overflow-x: hidden;
    background: var(--bg); color: var(--ink); font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
  }
  body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  }
  button, a { -webkit-tap-highlight-color: transparent; }
  button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--trust); outline-offset: 3px; }
  .skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; padding: .7rem 1rem; border-radius: 10px; background: var(--ink); color: var(--bg); }
  .skip-link:focus { top: 1rem; }
  .ambient { position: fixed; z-index: -2; border-radius: 999px; filter: blur(100px); pointer-events: none; opacity: .18; }
  .ambient-one { width: 33vw; height: 33vw; top: -16vw; left: 28vw; background: var(--trust); }
  .ambient-two { width: 28vw; height: 28vw; right: -15vw; bottom: -10vw; background: var(--atmos); opacity: .11; }
  .reveal { animation: reveal .7s var(--ease) both; }
  .delay-1 { animation-delay: .07s; } .delay-2 { animation-delay: .14s; } .delay-3 { animation-delay: .21s; } .delay-4 { animation-delay: .28s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@layer layout {
  .shell { display: flex; min-height: 100vh; }
  .sidebar {
    position: fixed; z-index: 30; inset: 0 auto 0 0; width: 252px; display: flex; flex-direction: column;
    border-right: 1px solid var(--line); background: color-mix(in oklch, var(--surface) 86%, transparent);
    box-shadow: inset -1px 0 0 color-mix(in oklch, white 3%, transparent); backdrop-filter: blur(24px) saturate(1.2);
  }
  .workspace { width: calc(100% - 252px); min-width: 0; margin-left: 252px; }
  .topbar {
    position: sticky; z-index: 20; top: 0; height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 22px;
    border-bottom: 1px solid var(--line); background: color-mix(in oklch, var(--bg) 78%, transparent); backdrop-filter: blur(22px) saturate(1.3);
  }
  .main { width: min(1480px, 100%); margin: 0 auto; padding: 48px clamp(24px, 4vw, 68px) 28px; }
  .page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 20px 2px 4px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
}

@layer components {
  .brand-block { display: flex; align-items: center; padding: 21px 18px 17px; }
  .org-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
  .org-brand > span:last-child { display: flex; flex-direction: column; min-width: 0; }
  .org-brand strong { font-size: 15px; letter-spacing: -.015em; }
  .org-brand small { margin-top: 1px; color: var(--muted); font: 9px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
  .brand-mark { width: 34px; height: 34px; border: 1px solid color-mix(in oklch, var(--quiet) 35%, var(--line)); border-radius: 11px; box-shadow: 0 7px 20px oklch(0.08 0.02 263 / .3), inset 0 1px 0 color-mix(in oklch, white 12%, transparent); }
  .nav-list { display: grid; gap: 3px; padding: 0 11px; }
  .nav-list a { display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 0 11px; border-radius: 11px; color: var(--muted); font-size: 12.5px; transition: color .2s, background .2s, transform .2s; }
  .nav-list a:hover { color: var(--ink); background: color-mix(in oklch, var(--surface-2) 60%, transparent); transform: translateX(1px); }
  .nav-list a.active { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 1px 0 color-mix(in oklch, white 5%, transparent), var(--shadow-soft); }
  .nav-list a.active .nav-icon { color: var(--trust-strong); }
  .nav-list em { margin-left: auto; min-width: 21px; padding: 2px 6px; border-radius: 10px; background: var(--surface-3); color: var(--muted); font: normal 9px var(--mono); text-align: center; }
  .nav-icon { width: 18px; color: var(--ink-soft); font: 17px/1 var(--mono); text-align: center; }
  .sidebar-spacer { flex: 1; }
  .side-pulse-card { margin: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in oklch, var(--surface-2) 42%, transparent); }
  .side-pulse-card svg { width: 100%; height: 58px; margin-bottom: 8px; }
  .pulse-grid { fill: none; stroke: var(--line); stroke-width: .6; }
  .pulse-path { fill: none; stroke: url(#none); stroke: var(--trust); stroke-width: 1.6; filter: drop-shadow(0 0 5px color-mix(in oklch, var(--trust) 45%, transparent)); stroke-dasharray: 4 3; animation: dash 5s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -35; } }
  .side-pulse-card span { color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .side-pulse-card strong { float: right; color: var(--ink-soft); font: 10px var(--mono); font-weight: 500; }
  .icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: transform .2s var(--ease), border .2s, color .2s; }
  .icon-button:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-1px); }
  .nav-open, .nav-close { display: none; }
  .crumb { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in oklch, var(--surface) 70%, transparent); color: var(--ink-soft); font: 9.5px var(--mono); letter-spacing: .12em; }
  .fingerprint-mini { color: var(--trust); font-size: 13px; }
  .top-spine { display: flex; align-items: center; gap: 3px; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .top-spine i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
  .top-spine i.complete { background: var(--safe); } .top-spine i.active { background: var(--trust); box-shadow: 0 0 0 3px var(--trust-tint); }
  .top-spine span { margin-left: 6px; }
  .topbar-space { flex: 1; }
  .as-of { color: var(--muted); font: 9.5px var(--mono); }
  .theme-toggle .sun { display: none; } :root[data-theme="light"] .theme-toggle .sun { display: inline; } :root[data-theme="light"] .theme-toggle .moon { display: none; }
  .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
  .page-head > div:first-child { max-width: 740px; }
  .eyebrow, .section-label { display: block; margin-bottom: 10px; color: var(--trust-strong); font: 9px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
  .page-head h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 540; line-height: 1.04; letter-spacing: -.045em; }
  .page-head > div > p:last-child { max-width: 680px; margin-top: 13px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
  .panel { border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in oklch, var(--surface) 91%, transparent); box-shadow: var(--shadow-soft), inset 0 1px 0 color-mix(in oklch, white 4%, transparent); }
  .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 22px; border-bottom: 1px solid var(--line); }
  .panel-head .section-label { margin-bottom: 6px; }
  .panel-head h2 { font-size: 17px; font-weight: 550; letter-spacing: -.02em; }
  .panel-head > a, .text-link { color: var(--ink-soft); font-size: 11px; transition: color .2s; } .panel-head > a:hover, .text-link:hover { color: var(--trust-strong); }
  .state-pill { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--surface-2); font: 8px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
  .state-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
  .state-pill.operational, .state-pill.ready, .state-pill.healthy { border-color: color-mix(in oklch, var(--safe) 26%, var(--line)); background: var(--safe-tint); color: var(--safe); }
  .state-pill.operational::before, .state-pill.ready::before, .state-pill.healthy::before { background: var(--safe); }
  .state-pill.prepared { border-color: color-mix(in oklch, var(--atmos) 25%, var(--line)); background: var(--atmos-tint); color: var(--atmos); }
  .state-pill.prepared::before { background: var(--atmos); }
  .state-pill.captured { border-color: color-mix(in oklch, var(--trust) 25%, var(--line)); background: var(--trust-tint); color: var(--trust-strong); }
  .state-pill.captured::before { background: var(--trust); }
  .state-pill.stale, .state-pill.attention { color: var(--muted); background: transparent; }
  .state-pill.stale::before { background: var(--line-strong); } .state-pill.attention::before { background: var(--quiet); }
  .quiet-notices { margin-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
  .quiet-notices summary { display: flex; align-items: center; gap: 10px; padding: 14px 2px; cursor: pointer; list-style: none; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  .quiet-notices summary::-webkit-details-marker { display: none; }
  .quiet-notices summary small { opacity: .75; } .quiet-notices summary b { margin-left: auto; font-size: 14px; font-weight: 400; transition: transform .2s; }
  .quiet-notices[open] summary b { transform: rotate(45deg); }
  .quiet-notices > div { display: grid; gap: 8px; padding: 0 2px 14px; }
  .quiet-notices p { display: flex; gap: 16px; font-size: 11px; line-height: 1.55; }
  .quiet-notices strong { min-width: 130px; color: var(--ink-soft); font-weight: 500; }
  .empty-refined { display: grid; justify-items: center; padding: 45px 24px; text-align: center; color: var(--muted); }
  .empty-refined > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--trust); font-size: 21px; }
  .empty-refined strong { color: var(--ink-soft); font-size: 14px; } .empty-refined p { max-width: 430px; margin-top: 7px; font-size: 11px; line-height: 1.6; }
  .empty-refined.compact { padding: 32px 20px; } .empty-refined.wide { grid-column: 1 / -1; width: 100%; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
}

@layer pages {
  .coverage-card { position: relative; min-height: 365px; overflow: hidden; padding: 28px 30px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 16% 48%, var(--trust-tint), transparent 32%), linear-gradient(128deg, var(--bg-deep), color-mix(in oklch, var(--surface) 91%, var(--trust) 9%)); box-shadow: var(--shadow), inset 0 1px 0 color-mix(in oklch, white 6%, transparent); }
  .coverage-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent); }
  .coverage-head { position: relative; z-index: 4; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
  .coverage-head .section-label { margin-bottom: 7px; }
  .coverage-head h2 { max-width: 720px; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.1; font-weight: 530; letter-spacing: -.035em; }
  .coverage-ready { display: flex; align-items: center; gap: 8px; margin-top: 2px; padding: 7px 10px; border: 1px solid color-mix(in oklch, var(--safe) 28%, var(--line)); border-radius: 999px; background: color-mix(in oklch, var(--surface) 78%, transparent); color: var(--safe); font: 8.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
  .coverage-ready i { width: 6px; height: 6px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 4px var(--safe-tint); }
  .coverage-flow { position: relative; z-index: 2; display: grid; grid-template-columns: 116px minmax(45px, 1fr) 116px minmax(45px, 1fr) 116px minmax(45px, 1fr) 116px minmax(45px, 1fr) 116px; align-items: center; min-height: 190px; margin-top: 23px; isolation: isolate; }
  .coverage-flow::before { content: ""; position: absolute; z-index: -1; left: 2%; right: 2%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--trust), var(--trust), var(--safe), transparent); box-shadow: 0 0 16px var(--trust-tint); }
  .coverage-stage { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid color-mix(in oklch, var(--trust) 44%, var(--line)); border-radius: 50%; background: radial-gradient(circle at 35% 28%, color-mix(in oklch, var(--surface-2) 88%, var(--trust) 12%), var(--surface)); box-shadow: 0 0 0 7px color-mix(in oklch, var(--trust) 5%, transparent), 0 14px 30px oklch(0.08 0.02 263 / .3), inset 0 1px 0 color-mix(in oklch, white 8%, transparent); text-align: center; }
  .coverage-stage::before, .coverage-stage::after { content: ""; position: absolute; border: 1px solid color-mix(in oklch, var(--trust) 28%, transparent); border-radius: 50%; }
  .coverage-stage::before { inset: 6px; border-style: dashed; animation: spin 28s linear infinite; }
  .coverage-stage::after { width: 7px; height: 7px; right: 8px; top: 21px; border: 0; background: var(--trust-strong); box-shadow: 0 0 9px var(--trust); }
  .coverage-stage span { max-width: 84px; color: var(--ink-soft); font: 7.5px/1.25 var(--mono); letter-spacing: .08em; }
  .coverage-stage b { margin-top: 5px; color: var(--ink); font: 500 29px/1 var(--mono); letter-spacing: -.08em; }
  .coverage-stage small { margin-top: 3px; color: var(--muted); font-size: 7.5px; }
  .coverage-stage.ready { border-color: color-mix(in oklch, var(--safe) 58%, var(--line)); background: radial-gradient(circle at 35% 28%, color-mix(in oklch, var(--surface-2) 84%, var(--safe) 16%), var(--surface)); box-shadow: 0 0 0 7px var(--safe-tint), 0 0 32px var(--safe-tint), 0 14px 30px oklch(0.08 0.02 263 / .3); }
  .coverage-stage.ready::before { border-color: color-mix(in oklch, var(--safe) 38%, transparent); }
  .coverage-stage.ready::after { background: var(--safe); box-shadow: 0 0 9px var(--safe); }
  .coverage-stage.ready b { color: var(--safe); }
  .coverage-link { position: relative; z-index: 1; width: calc(100% + 16px); height: 66px; margin: 0 -8px; opacity: .54; filter: drop-shadow(0 0 12px var(--trust-tint)); }
  .coverage-link::after { content: ""; }
  .flow-ribbons { position: absolute; z-index: 0; inset: 10px -30px; overflow: hidden; pointer-events: none; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
  .flow-ribbons span { position: absolute; left: 0; top: 18%; width: max-content; max-width: none; color: var(--trust-strong); font: 7.5px var(--mono); letter-spacing: .025em; opacity: .16; white-space: nowrap; animation: ribbon-flow 24s linear infinite; animation-delay: calc(-7s + (var(--flow-index) * -4.2s)); }
  .flow-ribbons span:nth-child(3n+2) { top: 49%; color: var(--atmos); animation-duration: 29s; }
  .flow-ribbons span:nth-child(3n) { top: 78%; color: var(--safe); animation-duration: 33s; }
  @keyframes ribbon-flow { from { transform: translateX(-110%); } to { transform: translateX(calc(100vw + 150%)); } }
  .coverage-explainer { position: relative; z-index: 4; color: var(--muted); font-size: 9.5px; text-align: center; }
  .metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 14px; }
  .metric-card { position: relative; min-height: 135px; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 1px 0 color-mix(in oklch, white 4%, transparent); }
  .metric-card span { display: block; color: var(--ink-soft); font-size: 10px; }
  .metric-card strong { display: block; margin: 8px 0 3px; font: 500 32px/1 var(--mono); letter-spacing: -.06em; }
  .metric-card small { color: var(--muted); font-size: 9px; }
  .metric-card i { position: absolute; width: 95px; height: 95px; right: -30px; bottom: -38px; border-radius: 50%; opacity: .14; filter: blur(1px); }
  .metric-card.trust strong { color: var(--trust-strong); } .metric-card.trust i { background: var(--trust); }
  .metric-card.safe strong { color: var(--safe); } .metric-card.safe i { background: var(--safe); }
  .metric-card.atmos strong { color: var(--atmos); } .metric-card.atmos i { background: var(--atmos); }
  .metric-card.neutral i { background: var(--ink-soft); }
  .overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 14px; margin-top: 14px; }
  .workflow-stack { padding: 4px 12px 10px; }
  .workflow-row { display: grid; grid-template-columns: 38px minmax(170px, 1fr) auto 62px 12px; align-items: center; gap: 12px; min-height: 73px; padding: 10px; border-bottom: 1px solid var(--line); transition: background .2s; }
  .workflow-row:last-child { border-bottom: 0; } .workflow-row:hover { background: color-mix(in oklch, var(--surface-2) 44%, transparent); }
  .workflow-copy { display: grid; min-width: 0; } .workflow-copy strong { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 540; text-overflow: ellipsis; white-space: nowrap; } .workflow-copy small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .workflow-row time { color: var(--muted); font: 8.5px var(--mono); text-align: right; } .workflow-row > b { color: var(--muted); font-weight: 400; }
  .workflow-glyph { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
  .workflow-glyph i { position: absolute; width: 16px; height: 1px; background: var(--trust); transform-origin: center; }
  .workflow-glyph i:nth-child(2) { transform: rotate(60deg); } .workflow-glyph i:nth-child(3) { transform: rotate(-60deg); }
  .workflow-glyph.operational i, .workflow-glyph.ready i { background: var(--safe); } .workflow-glyph.prepared i { background: var(--atmos); }
  .workflow-glyph.large { width: 46px; height: 46px; border-radius: 14px; } .workflow-glyph.large i { width: 22px; }
  .synthesis-card { min-height: 100%; padding-bottom: 20px; }
  .verified-badge { padding: 5px 8px; border: 1px solid color-mix(in oklch, var(--safe) 27%, var(--line)); border-radius: 12px; color: var(--safe); background: var(--safe-tint); font: 7.5px var(--mono); letter-spacing: .1em; }
  .synthesis-orbit { position: relative; display: grid; place-items: center; width: 168px; height: 168px; margin: 28px auto 20px; }
  .orbit-ring { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; } .orbit-ring.one { inset: 16px; border-style: dashed; animation: spin 18s linear infinite; } .orbit-ring.two { inset: 34px; border-color: color-mix(in oklch, var(--trust) 40%, var(--line)); }
  @keyframes spin { to { transform: rotate(360deg); } }
  .orbit-core { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid color-mix(in oklch, var(--trust) 45%, var(--line)); border-radius: 50%; background: var(--trust-tint); color: var(--trust-strong); font: 500 24px var(--mono); box-shadow: 0 0 36px var(--trust-tint); }
  .synthesis-orbit small { position: absolute; top: 122px; color: var(--muted); font: 8px/1.4 var(--mono); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
  .change-ledger { margin: 0 20px 18px; border-top: 1px solid var(--line); }
  .change-ledger div { display: flex; justify-content: space-between; padding: 10px 1px; border-bottom: 1px solid var(--line); }
  .change-ledger dt { color: var(--muted); font-size: 10px; } .change-ledger dd { color: var(--ink-soft); font: 10px var(--mono); }
  .synthesis-card > .text-link { display: block; margin: 0 21px; }

  .control-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
  .search-field { position: relative; display: flex; align-items: center; width: min(340px, 100%); }
  .search-field > span { position: absolute; left: 12px; color: var(--muted); }
  .search-field input { width: 100%; height: 37px; padding: 0 14px 0 36px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: var(--bg); color: var(--ink); font-size: 11px; }
  .search-field input:focus { border-color: var(--trust); }
  .filter-pills { display: flex; align-items: center; gap: 4px; }
  .filter-pills button { padding: 8px 11px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; }
  .filter-pills button:hover { color: var(--ink); } .filter-pills button.active { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 1px 0 color-mix(in oklch, white 4%, transparent); }
  .filter-pills b { margin-left: 5px; font: 8px var(--mono); }
  .workflow-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .workflow-card { display: flex; flex-direction: column; min-height: 300px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface), color-mix(in oklch, var(--surface) 94%, var(--trust) 6%)); box-shadow: var(--shadow-soft), inset 0 1px 0 color-mix(in oklch, white 4%, transparent); transition: transform .25s var(--ease), border .25s; }
  .workflow-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
  .workflow-card-top { display: flex; align-items: center; justify-content: space-between; }
  .workflow-card h2 { margin-top: 22px; font-size: 17px; line-height: 1.25; font-weight: 550; letter-spacing: -.025em; }
  .workflow-card > p { display: -webkit-box; overflow: hidden; margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .mini-pipeline { display: flex; align-items: flex-start; margin-top: auto; padding-top: 23px; }
  .mini-pipeline span { display: grid; justify-items: center; gap: 6px; min-width: 45px; color: var(--muted); font: 7px var(--mono); text-transform: uppercase; }
  .mini-pipeline span i { width: 7px; height: 7px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
  .mini-pipeline span.done { color: var(--safe); } .mini-pipeline span.done i { border-color: var(--safe); background: var(--safe); box-shadow: 0 0 0 3px var(--safe-tint); }
  .mini-pipeline > b { flex: 1; height: 1px; margin-top: 3px; background: var(--line); }
  .workflow-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); }
  .workflow-card-foot div { display: flex; gap: 6px; } .workflow-card-foot a { padding: 4px 7px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); transition: border .2s, color .2s; } .workflow-card-foot a:hover { border-color: var(--trust); color: var(--trust-strong); }

  .library-banner { position: relative; display: flex; align-items: center; gap: 30px; min-height: 128px; margin-bottom: 15px; padding: 25px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--surface), color-mix(in oklch, var(--surface) 90%, var(--trust) 10%), color-mix(in oklch, var(--surface) 91%, var(--atmos) 9%)); box-shadow: var(--shadow-soft); }
  .library-banner::after { content: ""; position: absolute; width: 300px; height: 300px; right: -140px; top: -180px; border: 1px solid color-mix(in oklch, var(--atmos) 30%, transparent); border-radius: 50%; box-shadow: 0 0 0 35px color-mix(in oklch, var(--atmos) 4%, transparent), 0 0 0 70px color-mix(in oklch, var(--atmos) 3%, transparent); }
  .library-banner > div { display: flex; align-items: center; gap: 15px; min-width: 260px; }
  .library-banner > div > span:last-child { display: grid; } .library-banner strong { font-size: 12px; font-weight: 550; } .library-banner small { margin-top: 4px; color: var(--muted); font-size: 9px; }
  .library-number { color: var(--trust-strong); font: 500 35px var(--mono); letter-spacing: -.07em; } .library-number.accent { color: var(--atmos); }
  .library-banner > i { width: 1px; height: 54px; background: var(--line); }
  .library-arrow { margin-left: auto; margin-right: 55px; color: var(--muted); font-size: 25px; }
  .library-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .document-list { overflow: hidden; }
  .count-badge { display: grid; place-items: center; min-width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 10px; color: var(--trust-strong); background: var(--trust-tint); font: 10px var(--mono); }
  .count-badge.accent { color: var(--atmos); background: var(--atmos-tint); }
  .document-row { display: grid; grid-template-columns: 35px minmax(140px, 1fr) auto 10px; align-items: center; gap: 12px; min-height: 76px; padding: 11px 20px; border-bottom: 1px solid var(--line); transition: background .2s; }
  .document-row:last-child { border-bottom: 0; } .document-row:hover { background: var(--surface-2); }
  .doc-icon { display: grid; place-items: center; width: 32px; height: 37px; border: 1px solid color-mix(in oklch, var(--trust) 30%, var(--line)); border-radius: 7px 11px 7px 7px; background: var(--trust-tint); color: var(--trust-strong); font: 11px var(--mono); }
  .aop-list .doc-icon { color: var(--atmos); background: var(--atmos-tint); border-color: color-mix(in oklch, var(--atmos) 30%, var(--line)); }
  .document-row > span:nth-child(2) { display: grid; min-width: 0; } .document-row strong { overflow: hidden; font-size: 11px; font-weight: 530; text-overflow: ellipsis; white-space: nowrap; } .document-row small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
  .document-row time, .document-row em { color: var(--muted); font: normal 8px var(--mono); } .document-row em { padding: 4px 6px; border-radius: 8px; background: var(--safe-tint); color: var(--safe); } .document-row em.muted { background: var(--surface-2); color: var(--muted); }
  .document-row > b { color: var(--muted); font-weight: 400; }

  .fleet-hero { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
  .fleet-radar { position: relative; min-height: 380px; overflow: hidden; background: radial-gradient(circle at center, var(--trust-tint), transparent 62%), var(--bg-deep); }
  .fleet-radar svg { width: 100%; height: 100%; min-height: 380px; }
  .radar-label { position: absolute; z-index: 2; left: 24px; top: 22px; display: grid; }
  .radar-label span { color: var(--trust-strong); font: 8px var(--mono); letter-spacing: .15em; } .radar-label strong { margin-top: 5px; font-size: 14px; font-weight: 540; } .radar-label small { margin-top: 3px; color: var(--muted); font: 8px var(--mono); }
  .radar-wash { fill: url(#radar); } .radar-ring { fill: none; stroke: var(--line); stroke-width: .7; stroke-dasharray: 3 5; } .radar-axis { stroke: var(--line); stroke-width: .55; } .radar-core { fill: var(--trust); filter: drop-shadow(0 0 8px var(--trust)); }
  .fleet-node .halo { fill: var(--trust-tint); animation: node-breathe 3.4s ease-in-out infinite; transform-origin: center; } .fleet-node .point { fill: var(--safe); } .fleet-node .point.stale { fill: var(--line-strong); } .fleet-node .point.attention { fill: var(--quiet); }
  .fleet-node:nth-child(3n) .halo { animation-delay: -1.2s; } .fleet-node:nth-child(3n+1) .halo { animation-delay: -2.3s; }
  @keyframes node-breathe { 50% { opacity: .35; transform: scale(1.35); } }
  .radar-legend { position: absolute; display: flex; gap: 15px; left: 22px; bottom: 18px; color: var(--muted); font: 7.5px var(--mono); }
  .radar-legend span { display: flex; align-items: center; gap: 5px; } .radar-legend i { width: 5px; height: 5px; border-radius: 50%; } .radar-legend i.healthy { background: var(--safe); } .radar-legend i.stale { background: var(--line-strong); } .radar-legend i.attention { background: var(--quiet); }
  .fleet-summary { display: flex; flex-direction: column; justify-content: center; padding: 38px; border-left: 1px solid var(--line); }
  .fleet-summary h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 530; letter-spacing: -.045em; } .fleet-summary > p { margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }
  .fleet-summary > small { margin-top: 18px; color: var(--muted); font: 8px var(--mono); }
  .fleet-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--line); }
  .fleet-stat-grid div { display: grid; padding: 13px; background: var(--surface-2); } .fleet-stat-grid strong { color: var(--trust-strong); font: 500 20px var(--mono); } .fleet-stat-grid span { margin-top: 3px; color: var(--muted); font-size: 8px; }
  .fleet-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px; margin-top: 14px; }
  .distribution-list { padding: 8px 21px 17px; }
  .distribution-list > div { display: grid; grid-template-columns: 125px 1fr 40px; align-items: center; gap: 14px; padding: 11px 0; }
  .distribution-list span { display: grid; } .distribution-list strong { font-size: 10px; font-weight: 530; } .distribution-list small { margin-top: 2px; color: var(--muted); font-size: 7.5px; }
  .distribution-list > div > i { height: 5px; overflow: hidden; border-radius: 4px; background: var(--surface-3); } .distribution-list > div > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--trust), var(--safe)); }
  .distribution-list em { color: var(--muted); font: normal 8px var(--mono); text-align: right; } .atmos-bars > div > i b { background: linear-gradient(90deg, var(--atmos), var(--trust)); }
  .fleet-table-panel { margin-top: 14px; overflow: hidden; } .quiet-label { color: var(--muted); font: 8px var(--mono); }
  .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 10px; } th { padding: 11px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 7.5px var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; } td { padding: 13px 20px; border-bottom: 1px solid var(--line); color: var(--ink-soft); } tr:last-child td { border-bottom: 0; }
  .install-id { display: flex; align-items: center; gap: 8px; font-family: var(--mono); } .install-id i { width: 6px; height: 6px; border-radius: 50%; background: var(--trust); box-shadow: 0 0 0 3px var(--trust-tint); }
  .inline-note { display: block; margin-top: 2px; color: var(--muted); font: 7px var(--mono); }
  .unavailable-card { display: grid; grid-template-columns: 42% 58%; min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
  .unavailable-card > div:last-child { display: flex; flex-direction: column; justify-content: center; padding: 45px; } .unavailable-card h2 { font-size: 32px; font-weight: 530; letter-spacing: -.04em; } .unavailable-card p { max-width: 500px; margin-top: 14px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; } .unavailable-card small { margin-top: 18px; color: var(--muted); font: 8px var(--mono); }
  .signal-ghost { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--bg-deep); } .signal-ghost i { position: absolute; width: 90px; height: 90px; border: 1px solid var(--line); border-radius: 50%; } .signal-ghost i:nth-child(2) { width: 170px; height: 170px; } .signal-ghost i:nth-child(3) { width: 260px; height: 260px; border-style: dashed; } .signal-ghost span { color: var(--muted); font-size: 32px; }

  .history-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 245px; padding: 36px 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--surface), color-mix(in oklch, var(--surface) 91%, var(--trust) 9%)); box-shadow: var(--shadow-soft); }
  .history-hero h2 { font-size: clamp(27px, 3.5vw, 43px); line-height: 1.07; font-weight: 530; letter-spacing: -.045em; } .history-hero p { max-width: 520px; margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.7; }
  .history-stats { display: flex; align-items: center; justify-content: space-around; gap: 18px; } .history-stats > span { display: grid; justify-items: center; } .history-stats strong { color: var(--trust-strong); font: 500 31px var(--mono); } .history-stats small { margin-top: 5px; color: var(--muted); font: 7.5px var(--mono); text-transform: uppercase; } .history-stats > i { width: 1px; height: 55px; background: var(--line); }
  .timeline { max-width: 1000px; margin: 32px auto 0; }
  .timeline-entry { display: grid; grid-template-columns: 36px 1fr; gap: 19px; }
  .timeline-rail { position: relative; display: flex; justify-content: center; } .timeline-rail::after { content: ""; position: absolute; top: 24px; bottom: -1px; width: 1px; background: var(--line-strong); } .timeline-entry:last-child .timeline-rail::after { display: none; } .timeline-rail span { position: relative; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--muted); font: 8px var(--mono); }
  .timeline-entry.latest .timeline-rail span { border-color: var(--safe); color: var(--safe); box-shadow: 0 0 0 5px var(--safe-tint); }
  .timeline-card { margin-bottom: 15px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
  .timeline-entry.latest .timeline-card { border-color: color-mix(in oklch, var(--safe) 27%, var(--line)); background: linear-gradient(120deg, var(--surface), color-mix(in oklch, var(--surface) 96%, var(--safe) 4%)); }
  .timeline-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; } .timeline-top .section-label { margin-bottom: 5px; } .timeline-top h2 { font-size: 15px; font-weight: 550; } .timeline-top code { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font: 8px var(--mono); }
  .latest-label { display: block; margin-bottom: 5px; color: var(--safe); font: 8px var(--mono); letter-spacing: .12em; }
  .timeline-card > p { margin-top: 14px; color: var(--ink-soft); font-size: 10.5px; }
  .change-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; } .change-chips span { padding: 5px 8px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font: 7.5px var(--mono); }
  .timeline-card details { margin-top: 14px; border-top: 1px solid var(--line); } .timeline-card summary { padding-top: 12px; color: var(--muted); cursor: pointer; font: 8px var(--mono); } .timeline-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 8px; line-height: 1.7; }

  .how-hero { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 34px; min-height: 235px; padding: 34px 42px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 8% 50%, color-mix(in oklch, var(--quiet) 14%, transparent), transparent 31%), linear-gradient(125deg, var(--surface), color-mix(in oklch, var(--surface) 92%, var(--trust) 8%)); box-shadow: var(--shadow); }
  .how-hero img { width: 132px; height: 132px; border: 1px solid color-mix(in oklch, var(--quiet) 35%, var(--line)); border-radius: 35px; box-shadow: 0 18px 45px oklch(0.08 0.02 263 / .35); }
  .how-hero h2 { max-width: 770px; font-size: clamp(29px, 4vw, 48px); line-height: 1.06; font-weight: 530; letter-spacing: -.045em; }
  .how-hero p { max-width: 760px; margin-top: 14px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
  .how-spine { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto; align-items: start; gap: 10px; margin: 14px 0; padding: 19px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); list-style: none; }
  .how-spine li:nth-child(odd) { display: grid; grid-template-columns: 25px max-content; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 9px; }
  .how-spine b { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid color-mix(in oklch, var(--trust) 40%, var(--line)); border-radius: 50%; background: var(--trust-tint); color: var(--trust-strong); font: 9px var(--mono); }
  .how-spine li:nth-child(even) { align-self: center; height: 1px; background: linear-gradient(90deg, var(--trust), var(--safe)); opacity: .48; }
  .how-spine li:last-child b { border-color: color-mix(in oklch, var(--safe) 45%, var(--line)); background: var(--safe-tint); color: var(--safe); }
  .how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .how-grid article { position: relative; min-height: 320px; padding: 28px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface), color-mix(in oklch, var(--surface) 96%, var(--trust) 4%)); box-shadow: var(--shadow-soft), inset 0 1px 0 color-mix(in oklch, white 4%, transparent); }
  .how-grid article::after { content: ""; position: absolute; width: 120px; height: 120px; right: -62px; bottom: -70px; border: 1px solid color-mix(in oklch, var(--trust) 20%, transparent); border-radius: 50%; box-shadow: 0 0 0 22px color-mix(in oklch, var(--trust) 3%, transparent); }
  .how-grid article > span { color: var(--trust-strong); font: 8px var(--mono); letter-spacing: .16em; }
  .how-grid h2 { margin-top: 10px; font-size: 21px; font-weight: 550; letter-spacing: -.025em; }
  .how-grid p, .how-grid li { color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
  .how-grid p { margin-top: 12px; }
  .how-grid ul { margin: 12px 0 0; padding-left: 18px; }
  .how-grid li { margin: 4px 0; }
  .how-grid li::marker { color: var(--trust); }
  .how-assurance { padding: 10px 12px; border-left: 2px solid var(--safe); border-radius: 0 8px 8px 0; background: var(--safe-tint); }
  .prototype-scope { margin-top: 14px; padding: 31px 34px; border: 1px solid color-mix(in oklch, var(--safe) 24%, var(--line)); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--surface), color-mix(in oklch, var(--surface) 94%, var(--safe) 6%)); }
  .prototype-scope h2 { max-width: 850px; font-size: clamp(24px, 3vw, 37px); line-height: 1.1; font-weight: 530; letter-spacing: -.04em; }
  .prototype-scope p { max-width: 900px; margin-top: 13px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }

  .breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--muted); font: 9px var(--mono); } .breadcrumb a:hover { color: var(--trust-strong); }
  .document-hero { display: grid; grid-template-columns: 1fr 280px; gap: 45px; padding: 35px 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(125deg, var(--surface), color-mix(in oklch, var(--surface) 92%, var(--atmos) 8%)); box-shadow: var(--shadow); }
  .document-hero > div { display: flex; flex-direction: column; justify-content: center; } .doc-type { width: max-content; margin-bottom: 16px; padding: 5px 9px; border: 1px solid color-mix(in oklch, var(--trust) 32%, var(--line)); border-radius: 9px; background: var(--trust-tint); color: var(--trust-strong); font: 9px var(--mono); letter-spacing: .12em; } .doc-type.aop { color: var(--atmos); background: var(--atmos-tint); border-color: color-mix(in oklch, var(--atmos) 32%, var(--line)); }
  .document-hero h1 { max-width: 800px; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; font-weight: 530; letter-spacing: -.045em; } .document-hero > div > p { max-width: 760px; margin-top: 14px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
  .document-hero > aside { display: flex; flex-direction: column; justify-content: center; padding-left: 27px; border-left: 1px solid var(--line); } .document-hero > aside > span { color: var(--muted); font: 8px var(--mono); letter-spacing: .13em; } .document-hero > aside > strong { margin-top: 9px; font-size: 16px; font-weight: 550; } .safe-text { color: var(--safe); } .document-hero > aside > small { margin-top: 4px; color: var(--muted); font-size: 8px; }
  .document-hero dl { margin-top: 21px; border-top: 1px solid var(--line); } .document-hero dl div { display: flex; justify-content: space-between; padding-top: 8px; color: var(--muted); font: 8px var(--mono); }
  .document-layout { display: grid; grid-template-columns: minmax(0, 850px) 230px; justify-content: center; gap: 50px; margin-top: 18px; padding: 44px 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
  .prose { min-width: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
  .prose h1 { display: none; } .prose h2 { margin: 2em 0 .65em; color: var(--ink); font-size: 22px; line-height: 1.25; font-weight: 570; letter-spacing: -.025em; } .prose h2:first-child { margin-top: 0; } .prose h3 { margin: 1.6em 0 .55em; color: var(--ink); font-size: 16px; font-weight: 560; } .prose p { margin: .8em 0; } .prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .42em 0; padding-left: .25em; } .prose li::marker { color: var(--trust); } .prose code { padding: .16em .35em; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--ink); font: .88em var(--mono); } .prose pre { position: relative; overflow-x: auto; margin: 1.2em 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-deep); color: var(--ink-soft); font: 11px/1.65 var(--mono); } .prose pre code { padding: 0; border: 0; background: transparent; } .prose blockquote { margin: 1.2em 0; padding: 2px 0 2px 17px; border-left: 2px solid var(--atmos); color: var(--ink-soft); } .prose hr { height: 1px; margin: 2em 0; border: 0; background: var(--line); } .prose a { color: var(--trust-strong); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--trust) 40%, transparent); text-underline-offset: 3px; }
  .document-spine { position: sticky; top: 90px; align-self: start; padding-left: 22px; border-left: 1px solid var(--line); } .document-spine > span { color: var(--muted); font: 8px var(--mono); letter-spacing: .13em; } .document-spine > div { display: grid; gap: 3px; margin-top: 12px; } .document-spine > div a { padding: 6px 8px; border-radius: 8px; color: var(--muted); font-size: 9px; line-height: 1.4; } .document-spine > div a:hover { background: var(--surface-2); color: var(--ink); } .document-spine > div a.sub { padding-left: 17px; font-size: 8px; } .document-spine > div small { color: var(--muted); font-size: 8px; } .document-spine > a { display: block; margin-top: 20px; color: var(--trust-strong); font-size: 9px; }
}

@layer responsive {
  @media (max-width: 1180px) {
    .coverage-flow { grid-template-columns: 104px minmax(28px, 1fr) 104px minmax(28px, 1fr) 104px minmax(28px, 1fr) 104px minmax(28px, 1fr) 104px; }
    .overview-grid { grid-template-columns: 1fr; } .synthesis-card { min-height: 350px; }
    .synthesis-orbit { float: left; margin-left: 30px; } .change-ledger { margin-top: 48px; }
    .workflow-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fleet-hero { grid-template-columns: 1fr; } .fleet-summary { border-top: 1px solid var(--line); border-left: 0; }
  }
  @media (max-width: 920px) {
    .sidebar { transform: translateX(-105%); transition: transform .3s var(--ease); box-shadow: 20px 0 65px color-mix(in oklch, var(--bg-deep) 75%, transparent); }
    .nav-visible .sidebar { transform: none; } .nav-scrim { position: fixed; z-index: 25; inset: 0; visibility: hidden; background: oklch(0.08 0.01 263 / .55); opacity: 0; transition: opacity .25s; } .nav-visible .nav-scrim { visibility: visible; opacity: 1; }
    .workspace { width: 100%; margin-left: 0; } .nav-open, .nav-close { display: grid; } .nav-close { margin-left: auto; }
    .main { padding-top: 36px; }
    .coverage-card { padding-inline: 22px; } .coverage-flow { grid-template-columns: 92px minmax(18px, 1fr) 92px minmax(18px, 1fr) 92px minmax(18px, 1fr) 92px minmax(18px, 1fr) 92px; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .library-columns { grid-template-columns: 1fr; }
    .document-hero { grid-template-columns: 1fr; } .document-hero > aside { padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .document-layout { grid-template-columns: 1fr; } .document-spine { position: static; order: -1; padding: 0 0 20px; border-bottom: 1px solid var(--line); border-left: 0; }
    .document-spine > div { display: flex; flex-wrap: wrap; } .document-spine > a { display: none; }
  }
  @media (max-width: 700px) {
    .topbar { padding: 0 12px; } .crumb, .as-of { display: none; } .top-spine { margin-left: 2px; }
    .main { padding: 29px 15px 22px; }
    .page-head { align-items: flex-start; margin-bottom: 24px; } .page-head h1 { font-size: 34px; }
    .coverage-card { min-height: 0; padding: 23px 18px; } .coverage-head { align-items: flex-start; flex-direction: column; gap: 13px; } .coverage-head h2 { font-size: 26px; } .coverage-ready { order: -1; align-self: flex-end; }
    .coverage-flow { display: grid; grid-template-columns: 72px 1fr; gap: 0 14px; min-height: 560px; margin: 19px auto 5px; padding: 8px 0; }
    .coverage-flow::before { left: 35px; right: auto; top: 4%; bottom: 4%; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--trust), var(--trust), var(--safe), transparent); }
    .coverage-stage { grid-column: 1; width: 72px; }
    .coverage-stage span { position: absolute; left: 88px; top: 11px; width: 190px; max-width: none; color: var(--ink); font-size: 9px; text-align: left; }
    .coverage-stage b { position: absolute; left: 88px; top: 31px; margin: 0; font-size: 24px; }
    .coverage-stage small { position: absolute; left: 124px; top: 39px; margin: 0; white-space: nowrap; }
    .coverage-stage::after { right: 3px; top: 13px; }
    .coverage-link { grid-column: 1; width: 34px; height: 35px; margin: -7px 0 -7px 19px; transform: rotate(90deg); opacity: .38; }
    .flow-ribbons { inset: 0 -18px 0 60px; mask-image: linear-gradient(90deg, transparent, black 15%, black 92%, transparent); }
    .flow-ribbons span { font-size: 6.5px; animation-duration: 18s; }
    .coverage-explainer { margin-top: 15px; text-align: left; }
    .metric-grid { gap: 8px; margin-top: 8px; } .metric-card { min-height: 125px; padding: 17px; } .metric-card strong { font-size: 27px; }
    .overview-grid { gap: 8px; margin-top: 8px; } .panel-head { padding: 18px 16px; }
    .workflow-row { grid-template-columns: 36px minmax(120px, 1fr) 10px; } .workflow-row .state-pill, .workflow-row time { display: none; }
    .synthesis-orbit { float: none; margin: 23px auto 0; } .change-ledger { margin-top: 0; }
    .control-strip { align-items: stretch; flex-direction: column; } .search-field { width: 100%; } .filter-pills { overflow-x: auto; padding-bottom: 2px; } .filter-pills button { white-space: nowrap; }
    .workflow-gallery { grid-template-columns: 1fr; }
    .library-banner { align-items: flex-start; flex-direction: column; gap: 16px; padding: 23px; } .library-banner > i { width: 100%; height: 1px; } .library-banner > div { min-width: 0; } .library-arrow { display: none; }
    .fleet-radar { min-height: 320px; } .fleet-radar svg { min-height: 320px; } .radar-legend { flex-direction: column; gap: 4px; } .fleet-summary { padding: 29px 24px; } .fleet-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
    .fleet-table-panel .table-wrap { overflow-x: visible; }
    .fleet-table-panel table { table-layout: fixed; font-size: 7.5px; }
    .fleet-table-panel th, .fleet-table-panel td { padding: 10px 5px; }
    .fleet-table-panel th:nth-child(1), .fleet-table-panel td:nth-child(1) { width: 21%; padding-left: 12px; }
    .fleet-table-panel th:nth-child(2), .fleet-table-panel td:nth-child(2) { width: 14%; }
    .fleet-table-panel th:nth-child(3), .fleet-table-panel td:nth-child(3) { width: 20%; overflow-wrap: anywhere; }
    .fleet-table-panel th:nth-child(4), .fleet-table-panel td:nth-child(4) { width: 14%; }
    .fleet-table-panel th:nth-child(5), .fleet-table-panel td:nth-child(5) { width: 31%; padding-right: 12px; }
    .fleet-table-panel th { font-size: 6px; letter-spacing: .02em; }
    .fleet-table-panel .install-id { gap: 4px; }
    .fleet-table-panel .install-id i { flex: 0 0 auto; width: 4px; height: 4px; }
    .fleet-table-panel .state-pill { width: 100%; justify-content: center; padding: 4px; font-size: 5.5px; line-height: 1.3; text-align: center; white-space: normal; }
    .fleet-table-panel .state-pill::before { flex: 0 0 auto; width: 4px; height: 4px; }
    .unavailable-card { grid-template-columns: 1fr; } .signal-ghost { min-height: 260px; } .unavailable-card > div:last-child { padding: 31px 24px; }
    .history-hero { grid-template-columns: 1fr; gap: 30px; padding: 29px 24px; } .history-stats { justify-content: space-between; }
    .timeline-entry { grid-template-columns: 27px 1fr; gap: 10px; } .timeline-card { padding: 17px; } .timeline-top { align-items: flex-start; flex-direction: column; }
    .document-hero { gap: 25px; padding: 28px 23px; } .document-hero h1 { font-size: 34px; } .document-layout { padding: 30px 22px; }
    .how-hero { grid-template-columns: 68px 1fr; gap: 18px; min-height: 0; padding: 23px; } .how-hero img { width: 68px; height: 68px; border-radius: 19px; } .how-hero h2 { font-size: 27px; } .how-hero p { font-size: 11px; }
    .how-spine { grid-template-columns: 1fr; gap: 0; padding: 18px; } .how-spine li:nth-child(odd) { grid-template-columns: 25px 1fr; min-height: 34px; } .how-spine li:nth-child(even) { width: 1px; height: 16px; margin-left: 12px; background: linear-gradient(var(--trust), var(--safe)); }
    .how-grid { grid-template-columns: 1fr; gap: 8px; } .how-grid article { min-height: 0; padding: 24px 22px; } .prototype-scope { padding: 26px 23px; }
    .quiet-notices p { flex-direction: column; gap: 3px; }
    .page-footer { align-items: flex-start; flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .flow-ribbons { display: none; }
  }
  @media print {
    .sidebar, .topbar, .ambient, .quiet-notices, .page-footer, .document-spine { display: none !important; }
    .workspace { width: 100%; margin: 0; } .main { width: 100%; padding: 0; } .document-hero, .document-layout { border-color: #ccc; box-shadow: none; } body { background: white; color: black; }
  }
}
