@font-face { font-family: 'Author'; src: url('fonts/Author-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Author'; src: url('fonts/Author-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Author'; src: url('fonts/Author-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Author'; src: url('fonts/Author-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #fbf6f0; --surface: #f5efe7; --surface2: #f0e9e0; --raised: #fdfaf5; --field: #ffffff;
  --ink: #251633; --ink-muted: #7e7287; --body: #5f5669; --faint: #9a92a4;
  --hairline: rgba(37, 22, 51, .13); --hairline-strong: rgba(37, 22, 51, .26);
  --accent: #826bff; --accent-ink: #5b41d6; --accent-soft: rgba(130, 107, 255, .13); --accent-glow: rgba(130, 107, 255, .35);
  --gold-ink: #947845; --gold: #ffcc5f; --gold-soft: rgba(255, 204, 95, .22);
  --rose-ink: #b3423a; --rose-soft: rgba(255, 120, 110, .16);
  --teal-ink: #0d9488; --teal-soft: rgba(20, 184, 166, .16);
  --blue-ink: #1f6fe0; --blue-soft: rgba(71, 160, 255, .16);
  --shadow: 0 10px 40px rgba(37, 22, 51, .10);
  --sans: 'Author', 'Iowan Old Style', Georgia, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 12px; --arch: 22px 22px 6px 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0e0b16; --surface: #171226; --surface2: #1d1730; --raised: #171226; --field: #1d1730;
    --ink: #f1ecf7; --ink-muted: #a89dba; --body: #b5abc6; --faint: #8b809d;
    --hairline: rgba(255, 255, 255, .10); --hairline-strong: rgba(255, 255, 255, .22);
    --accent-ink: #a594ff; --accent-soft: rgba(130, 107, 255, .2);
    --gold-ink: #e3bd6a; --gold-soft: rgba(255, 204, 95, .16);
    --rose-ink: #ff9c93; --rose-soft: rgba(255, 120, 110, .18);
    --teal-ink: #5eead4; --teal-soft: rgba(20, 184, 166, .2);
    --blue-ink: #9ccbff; --blue-soft: rgba(71, 160, 255, .2);
    --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e0b16; --surface: #171226; --surface2: #1d1730; --raised: #171226; --field: #1d1730;
  --ink: #f1ecf7; --ink-muted: #a89dba; --body: #b5abc6; --faint: #8b809d;
  --hairline: rgba(255, 255, 255, .10); --hairline-strong: rgba(255, 255, 255, .22);
  --accent-ink: #a594ff; --accent-soft: rgba(130, 107, 255, .2);
  --gold-ink: #e3bd6a; --gold-soft: rgba(255, 204, 95, .16);
  --rose-ink: #ff9c93; --rose-soft: rgba(255, 120, 110, .18);
  --teal-ink: #5eead4; --teal-soft: rgba(20, 184, 166, .2);
  --blue-ink: #9ccbff; --blue-soft: rgba(71, 160, 255, .2);
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .86em; background: var(--surface2); padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 12px 28px; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.wordmark:hover { text-decoration: none; }
.wm-logo { width: 24px; height: 24px; border-radius: 50%; display: block; }
.wm-text em { font-style: normal; font-weight: 400; color: var(--ink-muted); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 6px 12px; border-radius: 999px; color: var(--ink-muted); font-weight: 500; }
.nav a:hover { text-decoration: none; color: var(--ink); background: var(--surface); }
.nav a.active { color: var(--ink); background: var(--surface2); }
.topbar-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn-quiet { background: transparent; border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--ink); }
.btn-quiet:hover { background: var(--surface); }
.btn-quiet.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 500; cursor: pointer; }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn:disabled { opacity: .5; cursor: default; }

.app { max-width: 1480px; margin: 0 auto; padding: 28px 28px 80px; }
.foot { max-width: 1480px; margin: 0 auto; padding: 24px 28px 60px; display: flex; justify-content: space-between; gap: 20px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--hairline); }

/* type */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.025em; margin: 6px 0 14px; font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 500; text-wrap: balance; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 500; }
h4 { font-size: 13px; margin: 0 0 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
p { margin: 0 0 12px; color: var(--body); max-width: 68ch; }
.lede { font-size: 18px; color: var(--body); max-width: 62ch; }
blockquote.job { margin: 0 0 22px; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.3; color: var(--ink); max-width: 60ch; text-wrap: pretty; }
small, .small { font-size: 13px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
ul.plain { list-style: none; padding: 0; margin: 0; }
.stack > * + * { margin-top: 10px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 40px; align-items: end; margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { background: var(--surface); border-radius: var(--arch); padding: 14px 16px 12px; }
.stat b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--ink-muted); }

/* home */
.home-hero { max-width: 900px; margin: 6px 0 26px; }
.thesis { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.32; color: var(--ink); max-width: 40ch; text-wrap: pretty; margin: 0 0 16px; }
.whatis { font-size: 14.5px; color: var(--ink-muted); max-width: 78ch; }
.whatis b { color: var(--ink); font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 14px; border: 1px solid var(--hairline); border-radius: var(--arch); background: var(--raised); }
.tile:hover { border-color: var(--accent); }
.tile-main { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.tile-main:hover { text-decoration: none; }
.tile-name { font-size: 20px; font-weight: 500; line-height: 1.1; }
.tile-job { font-size: 13.5px; color: var(--body); line-height: 1.4; }
.tile-links { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--hairline); }
.tile-meta { background: var(--surface); }
.matrix-title { margin-bottom: 0; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* marks */
.mark { display: inline-block; width: 22px; height: 22px; flex: none; background: var(--paper); position: relative; }
.mark-fans { clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%); background: linear-gradient(135deg, #5eead4, #14b8a6, #0d9488); }
.mark-fans::after { content: ''; position: absolute; inset: 3px; clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%); background: var(--paper); }
.mark-hosts { border-radius: 6px; background: linear-gradient(135deg, #a78bfa, #7c3aed, #6d28d9); }
.mark-hosts::after { content: ''; position: absolute; inset: 3px; border-radius: 4px; background: var(--paper); }
.mark-guests { border-radius: 50%; background: linear-gradient(to right, #947845, #ffcc5f, #e0c995); }
.mark-guests::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--paper); }
.mark-sponsors { border-radius: 50%; background: linear-gradient(135deg, #fca5a5, #ef4444, #991b1b); }
.mark-sponsors::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--paper); }
.mark-beneficiaries { border-radius: 50%; background: linear-gradient(135deg, #9ccbff, #47a0ff, #1f6fe0); }
.mark-beneficiaries::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--paper); }
.mark-meta { border-radius: 50%; background: transparent url(images/dLogos_logo.svg) center / contain no-repeat; }
.mark.lg { width: 44px; height: 44px; }
.mark.lg.mark-fans::after, .mark.lg.mark-hosts::after, .mark.lg.mark-guests::after, .mark.lg.mark-sponsors::after, .mark.lg.mark-beneficiaries::after { inset: 5px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; border: 1px solid transparent; }
.chip.lvl-none { border-color: var(--hairline-strong); color: var(--ink-muted); border-style: dashed; background: transparent; }
.chip.lvl-very_weak { background: var(--rose-soft); color: var(--rose-ink); }
.chip.lvl-weak { background: var(--gold-soft); color: var(--gold-ink); }
.chip.lvl-medium { background: var(--accent-soft); color: var(--accent-ink); }
.chip.lvl-strong { background: var(--teal-soft); color: var(--teal-ink); }
.chip.st-draft { background: var(--surface2); color: var(--ink-muted); }
.chip.st-review { background: var(--gold-soft); color: var(--gold-ink); }
.chip.st-live { background: var(--teal-soft); color: var(--teal-ink); }
.chip.st-partial { background: var(--accent-soft); color: var(--accent-ink); }
.chip.st-planned { border-color: var(--hairline-strong); color: var(--ink-muted); background: transparent; }
.chip.type { background: var(--surface2); color: var(--body); font-family: var(--mono); font-size: 11.5px; font-weight: 400; }
.chip.aud { border-color: var(--hairline); color: var(--ink-muted); background: transparent; }
.prov { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }
.prov::before { display: inline-block; margin-right: 5px; }
.prov.rated_on_call::before { content: '●'; color: var(--accent); }
.prov.read_off_deck::before { content: '◐'; color: var(--gold-ink); }
.prov.inferred::before { content: '○'; color: var(--faint); }

/* matrix */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--raised); box-shadow: var(--shadow); }
table.matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1180px; table-layout: fixed; }
.matrix th, .matrix td { text-align: left; vertical-align: top; }
.matrix thead th { position: sticky; top: 0; background: var(--raised); z-index: 2; }
.matrix th.phase { padding: 12px 12px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 0; }
.matrix th.phase.exe { color: var(--accent-ink); }
.matrix th.step { padding: 4px 12px 12px; font-weight: 500; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.matrix th.step .stepnum { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--surface2); font-family: var(--mono); font-size: 11px; line-height: 20px; text-align: center; margin-right: 6px; color: var(--ink-muted); }
.matrix th.corner { width: 220px; border-bottom: 1px solid var(--hairline); }
.matrix th.phase + th.phase, .matrix th.step + th.step, .matrix td + td { border-left: 1px solid var(--hairline); }
.matrix th.rowhead { width: 220px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); border-right: 1px solid var(--hairline); background: var(--raised); position: sticky; left: 0; z-index: 1; }
.matrix tr:last-child th.rowhead, .matrix tr:last-child td { border-bottom: 0; }
.matrix td { padding: 6px; border-bottom: 1px solid var(--hairline); }
.rowhead a { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.rowhead a:hover { text-decoration: none; }
.rowhead b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.rowhead small { display: block; margin-top: 3px; }
.rowhead .chip { margin-top: 5px; }
.cell { display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 78px; text-align: left; padding: 10px 11px; border: 1px solid transparent; border-radius: 10px; background: var(--surface); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.cell:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .10); border-color: var(--hairline-strong); }
.cell.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cell.lvl-none { background: transparent; border: 1px dashed var(--hairline-strong); }
.cell.lvl-very_weak { background: var(--rose-soft); }
.cell.lvl-weak { background: var(--gold-soft); }
.cell.lvl-medium { background: var(--accent-soft); }
.cell.lvl-strong { background: var(--teal-soft); }
.cell .lvl { font-weight: 500; font-size: 14px; }
.cell.lvl-very_weak .lvl { color: var(--rose-ink); } .cell.lvl-weak .lvl { color: var(--gold-ink); } .cell.lvl-medium .lvl { color: var(--accent-ink); } .cell.lvl-strong .lvl { color: var(--teal-ink); } .cell.lvl-none .lvl { color: var(--ink-muted); }
.cell-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cell-count { font-size: 12.5px; color: var(--ink-muted); margin-top: auto; }
.cell-count b { color: var(--ink); font-weight: 500; }
.cell-count.none { color: var(--faint); }
.cell-meta { background: transparent; border: 1px solid var(--hairline); }
.cell-meta .meta-text { font-size: 13px; color: var(--body); line-height: 1.35; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--ink-muted); align-items: center; }
.legend .sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.legend .sw.lvl-none { border: 1px dashed var(--hairline-strong); } .legend .sw.lvl-very_weak { background: var(--rose-soft); } .legend .sw.lvl-weak { background: var(--gold-soft); } .legend .sw.lvl-medium { background: var(--accent-soft); } .legend .sw.lvl-strong { background: var(--teal-soft); }

/* drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(6, 4, 12, .35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100vw); background: var(--raised); border-left: 1px solid var(--hairline); z-index: 41; overflow-y: auto; padding: 24px 28px 120px; box-shadow: var(--shadow); animation: slidein .18s ease; }
@keyframes slidein { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.drawer-head .spacer { flex: 1; }
.iconbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: transparent; cursor: pointer; display: inline-grid; place-items: center; }
.iconbtn:hover { background: var(--surface); }
.strength-box { border: 1px solid var(--hairline); border-radius: var(--arch); padding: 16px 18px; background: var(--surface); margin: 14px 0 20px; }
.strength-box .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.strength-box p { color: var(--ink); max-width: none; }
details { border-top: 1px solid var(--hairline); padding: 8px 0 0; margin-top: 8px; }
summary { cursor: pointer; color: var(--ink-muted); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sec { margin: 20px 0; }
.sec ul, .sec ol { margin: 0; padding-left: 20px; color: var(--body); }
.sec li { margin-bottom: 6px; }
.sec li::marker { color: var(--faint); }
.dlist { display: grid; gap: 8px; }
.drow { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--paper); color: var(--ink); align-items: start; }
.drow:hover { border-color: var(--accent); text-decoration: none; }
.drow .t { font-weight: 500; }
.drow .m { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.drow .sum { grid-column: 1 / -1; font-size: 13px; color: var(--body); }
.empty { padding: 14px; border: 1px dashed var(--hairline-strong); border-radius: 10px; color: var(--ink-muted); font-size: 14px; }
.stepnav { display: flex; gap: 6px; }

details.more { display: inline; border: 0; padding: 0; margin: 0; }
details.more summary { display: inline; color: var(--accent-ink); cursor: pointer; font-size: 13px; margin-left: 4px; }
details.more[open] summary { display: none; }

/* forms (edit mode) */
.field { display: grid; gap: 4px; margin-bottom: 10px; }
.field label { font-size: 12px; color: var(--ink-muted); font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
select, textarea, input[type=text], input[type=search] { font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--hairline-strong); border-radius: 8px; padding: 8px 10px; width: 100%; }
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.editbar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; display: flex; gap: 10px; align-items: center; padding: 10px 12px 10px 18px; background: var(--ink); color: var(--paper); border-radius: 999px; box-shadow: var(--shadow); font-size: 14px; }
.editbar .btn { padding: 7px 14px; }
.editbar .btn.ghost { color: var(--paper); border-color: rgba(255, 255, 255, .3); }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--raised); color: var(--ink); border: 1px solid var(--hairline-strong); border-radius: 10px; padding: 10px 16px; z-index: 60; box-shadow: var(--shadow); max-width: min(560px, 92vw); font-size: 14px; }
.edited-flag { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }

/* node page */
.node-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .9fr); gap: 34px; margin-bottom: 26px; align-items: start; }
.card { background: var(--surface); border-radius: var(--arch); padding: 18px 20px; }
.card p:last-child { margin-bottom: 0; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--ink-muted); } .kv dd { margin: 0; color: var(--body); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stepcard { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--raised); color: var(--ink); min-height: 150px; }
.stepcard:hover { text-decoration: none; border-color: var(--accent); }
.stepcard .n { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }
.stepcard .name { font-weight: 500; font-size: 17px; }
.stepcard p { font-size: 13.5px; color: var(--body); margin: 0; }
.stepcard .cc { margin-top: auto; font-size: 12.5px; color: var(--ink-muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--raised); }
table.tbl { border-collapse: collapse; width: 100%; font-size: 14px; }
.tbl th { text-align: left; padding: 10px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; background: var(--raised); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; color: var(--body); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.t { color: var(--ink); font-weight: 500; }
.tbl tr:hover td { background: var(--surface); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; align-items: center; }
.filters select, .filters input { width: auto; min-width: 130px; padding: 6px 10px; }
.filters input[type=search] { min-width: 240px; }

/* meta page */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.finding { border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px; background: var(--raised); }
.finding .id { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }
.finding b { display: block; font-weight: 500; margin: 2px 0 6px; }
.finding p { font-size: 14px; margin: 0; max-width: none; }

/* doc page */
.doc { max-width: 860px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; align-items: center; }
.doc-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 16px; font-size: 13.5px; background: var(--surface); padding: 14px 16px; border-radius: 12px; margin-bottom: 22px; }
.doc-kv div span { display: block; color: var(--ink-muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.prose { color: var(--ink); font-size: 16.5px; line-height: 1.6; }
.prose h1 { font-size: 32px; } .prose h2 { font-size: 24px; margin-top: 34px; padding-top: 12px; border-top: 1px solid var(--hairline); } .prose h3 { font-size: 19px; margin-top: 24px; }
.prose p, .prose li { color: var(--body); max-width: 72ch; }
.prose li { margin-bottom: 4px; }
.prose table { border-collapse: collapse; margin: 12px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--hairline); padding: 6px 10px; text-align: left; vertical-align: top; }
.prose pre { background: var(--surface2); padding: 12px 14px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; }
.prose blockquote { border-left: 3px solid var(--hairline-strong); margin: 12px 0; padding: 2px 16px; color: var(--ink-muted); }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 24px 0; }
.tag { font-family: var(--mono); font-size: 11.5px; padding: 1px 6px; border-radius: 5px; background: var(--surface2); }
.tag.SHIPPED { background: var(--teal-soft); color: var(--teal-ink); } .tag.PLANNED { background: var(--accent-soft); color: var(--accent-ink); } .tag.UNDERREVIEW { background: var(--gold-soft); color: var(--gold-ink); } .tag.UNCONFIRMED { background: var(--rose-soft); color: var(--rose-ink); }

@media (max-width: 900px) {
  .topbar { gap: 12px; padding: 10px 16px; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .app { padding: 18px 16px 80px; }
  .hero, .node-hero { grid-template-columns: 1fr; gap: 18px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2, .two { grid-template-columns: 1fr; }
  .drawer { padding: 18px 16px 120px; }
  .foot { flex-direction: column; }
}
