:root { --bg: #f7f9fa; --surface: #ecf0f2; --ink: #1f3038; --muted: #4f5e65; --accent: #0d7480; --line: #dbe2e5; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0f1a1f; --surface: #172429; --ink: #e8eef0; --muted: #a7b4b9; --accent: #5cc8c8; --line: #26363d; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0f1a1f; --surface: #172429; --ink: #e8eef0; --muted: #a7b4b9; --accent: #5cc8c8; --line: #26363d; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 "Figtree", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: 3px; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in oklab, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); }
.top__in, .doc { max-width: 820px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 19px/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.02em; }
.brand i { width: 26px; height: 27px; background: currentColor; -webkit-mask: url("../assets/brand/logo-mark.png") center/contain no-repeat; mask: url("../assets/brand/logo-mark.png") center/contain no-repeat; }
.back { font-size: 15px; font-weight: 500; text-decoration: none; }
.doc { padding-block: 56px 96px; }
.kicker { font: 500 13px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 14px 0 8px; font: 500 clamp(34px, 5vw, 52px)/1.05 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.summary { padding: 20px 22px; border-radius: 16px; background: var(--surface); margin-bottom: 40px; }
.summary p { margin: 0; }
h2 { margin: 48px 0 12px; font: 600 23px/1.25 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.02em; scroll-margin-top: 84px; }
h3 { margin: 26px 0 6px; font-size: 17px; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 22px; } li { margin: 6px 0; }
.toc { display: grid; gap: 4px; padding: 0; list-style: none; columns: 2; font-size: 15px; }
.toc li { margin: 0 0 4px; break-inside: avoid; }
.tbl { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--surface); }
mark.pend { background: #fde68a; color: #3d2c00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
@media (max-width: 640px) { .toc { columns: 1; } body { font-size: 16px; } }
