@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("assets/fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: var(--ds-color-sheet);
  --surface: var(--ds-color-surface);
  --surface-2: var(--ds-color-surface-2);
  --ink: var(--ds-color-ink);
  --muted: var(--ds-color-muted);
  --line: var(--ds-color-line);
  --line-strong: var(--ds-color-line-2);
  --form: var(--ds-color-form);
  --accent: var(--ds-color-accent);
  --accent-strong: var(--ds-color-accent-strong);
  --accent-soft: var(--ds-color-accent-soft);
  --accent-ink: var(--ds-color-accent-ink);
  --ok: var(--ds-color-ok);
  --warn: var(--ds-color-warn);

  --fs-12: .75rem; --fs-13: .8125rem; --fs-14: .875rem; --fs-15: .9375rem; --fs-16: 1rem;
  --fs-17: 1.0625rem; --fs-19: 1.1875rem; --fs-22: 1.375rem; --fs-26: 1.625rem; --fs-32: 2rem; --fs-44: 2.75rem;
  --r-s: var(--ds-radius-s); --r-m: var(--ds-radius-m); --r-pill: var(--ds-radius-pill);
  --ease: var(--ds-ease-out);
  --t-fast: var(--ds-motion-fast); --t-mid: var(--ds-motion-mid); --t-slow: var(--ds-motion-slow);
  --font: var(--ds-font-ui);
  --top-h: 64px;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-15);
  line-height: var(--ds-type-lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: var(--ds-type-track-title); text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
@media (hover: hover) { a:hover { text-decoration: underline; } }
:focus-visible { outline: var(--ds-line-rule) solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); box-shadow: 0 0 0 5px var(--accent-soft), 0 8px 22px -6px var(--ds-color-glow); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { display: inline-block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; letter-spacing: var(--ds-type-track-number); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: var(--r-m); color: var(--accent-ink); background: var(--accent); font-weight: 600; }
.skip:focus { top: 12px; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--ds-size-control); max-width: 100%; padding: 0 var(--ds-space-2); border-radius: var(--r-m); border: var(--ds-line-hair) solid transparent; font-size: var(--fs-15); font-weight: 600; line-height: var(--ds-type-lh-ui); white-space: nowrap; text-decoration: none; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast), border-color var(--t-fast); }
.btn .ico { width: 17px; height: 17px; }
.btn-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.btn-primary::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: var(--ds-elev-primaryGlow); opacity: 0; transition: opacity var(--t-mid) var(--ease); pointer-events: none; }
.btn-primary:focus-visible::after { opacity: 1; }
.btn-secondary { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
@media (hover: hover) {
  .btn:hover { text-decoration: none; }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
  .btn-primary:hover::after { opacity: 1; }
  .btn-secondary:hover { border-color: var(--form); }
}
.btn:active { transform: translateY(0) scale(.98); }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: var(--r-s); font-size: var(--fs-13); font-weight: 500; color: var(--ink); border: var(--ds-line-hair) solid var(--line-strong); background: var(--surface); white-space: nowrap; }
.chip .ico { width: 14px; height: 14px; }

.status { --s: var(--ok); display: inline-flex; align-items: center; gap: 8px; min-height: 28px; font-size: var(--fs-15); font-weight: 600; color: var(--s); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--s); }
.status.pre { --s: var(--accent); }
.status.pre::before { background: transparent; border: 1.5px dashed var(--s); }

.site { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 6; background: var(--bg); border-bottom: var(--ds-line-hair) solid var(--line-strong); }
.topbar-in { width: min(1160px, 100%); height: var(--top-h); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; color: var(--ink); font-size: var(--fs-17); font-weight: 700; letter-spacing: var(--ds-type-track-title); }
.brand:hover { text-decoration: none; }
.logo-mark { display: block; flex: none; background: url("assets/brand/rfx-mark.svg") center / contain no-repeat; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .logo-mark { background-image: url("assets/brand/rfx-mark-on-light.svg"); } }
:root[data-theme="light"] .logo-mark { background-image: url("assets/brand/rfx-mark-on-light.svg"); }
.brand .logo-mark { width: 32px; height: 32px; }
.topbar .status { margin-left: 4px; }
.topbar .status.pre { min-height: 0; padding: 1px 6px; border: var(--ds-line-hair) solid var(--accent); border-radius: var(--r-s); font-size: var(--fs-12); font-weight: 700; color: var(--accent); }
.topbar .status.pre::before { display: none; }
.topbar .spacer { flex: 1; }
.topbar nav { display: flex; align-items: center; gap: 8px; }
.topbar .btn { white-space: nowrap; }
html, body { overflow-x: clip; }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--ds-size-control); height: var(--ds-size-control); border-radius: var(--r-m); border: var(--ds-line-hair) solid var(--line-strong); background: var(--surface); color: var(--ink); transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.theme-toggle .ico { width: 18px; height: 18px; }
.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .ico-sun { display: block; }
  :root:not([data-theme]) .theme-toggle .ico-moon { display: none; }
}
:root[data-theme="light"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
@media (hover: hover) { .theme-toggle:hover { border-color: var(--form); } }
.theme-toggle:active { transform: scale(.94); }

.foot { margin-top: auto; border-top: var(--ds-line-hair) solid var(--line-strong); background: var(--bg); }
.foot-in { width: min(1160px, 100%); margin: 0 auto; padding: 28px 32px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: var(--fs-14); color: var(--muted); }
.foot-brand .logo-mark { width: 24px; height: 24px; }
.foot-brand b { color: var(--ink); font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--fs-14); }
.foot-links a { color: var(--muted); font-weight: 600; }
.foot-links a:hover { color: var(--ink); }
.foot-links a[aria-current="page"] { color: var(--accent); }
.foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0 -11px; padding: 0; list-style: none; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-m); color: var(--muted); transition: color var(--t-fast), background-color var(--t-fast); }
.foot-social a:hover { color: var(--ink); background: var(--accent-soft); }
.ico-brand { fill: currentColor; stroke: none; }
@media (min-width: 761px) {
  .foot-in { justify-content: center; gap: 14px 32px; }
  .foot-links { order: 2; flex-basis: 100%; justify-content: center; padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (min-width: 1200px) {
  .foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
  .foot-brand { justify-self: start; }
  .foot-links { order: 0; justify-content: center; padding-top: 0; border-top: 0; }
  .foot-social { justify-self: end; }
}
@media (min-width: 1200px) { .foot-tag { display: none; } }
@media (max-width: 760px) {
  .foot-in { flex-direction: column; justify-content: flex-start; gap: 22px; padding: 40px 28px 44px; text-align: center; }
  .foot-brand { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .foot-tag { flex-basis: 100%; }
  .foot-social { order: 1; justify-content: center; gap: 8px; margin: 0; }
  .foot-links { order: 2; justify-content: center; align-items: center; gap: 2px 0; padding-top: 22px; width: min(100%, 360px); border-top: 1px solid var(--line); }
  .foot-links::before, .foot-links::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .foot-links::after { order: 3; }
  .foot-links a:nth-child(n+3) { order: 2; }
  .foot-links a:nth-child(n+5) { order: 4; }
  .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-links a:nth-child(even)::before, .foot-links a:nth-child(7)::before { content: ""; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: var(--muted); opacity: .55; }
}
@media (max-width: 639px) { .foot-in { padding: 40px 16px 44px; } }

.page { width: min(1160px, 100%); margin: 0 auto; padding: var(--ds-space-6) 32px var(--ds-space-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ds-space-3); align-content: start; }

.panel { position: relative; border-radius: var(--r-m); background: var(--surface); border: var(--ds-line-hair) solid var(--line-strong); }
.panel > * { position: relative; }

.doc-head { display: grid; gap: var(--ds-space-2); padding: 0 0 var(--ds-space-4); border: 0; border-bottom: var(--ds-line-hair) solid var(--line-strong); border-radius: 0; background: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: 700; color: var(--accent); }
.kicker .k-ico { display: grid; place-items: center; width: 16px; height: 16px; color: var(--accent); }
.kicker .k-ico .ico { width: 16px; height: 16px; }
.doc-head h1 { font-size: var(--fs-44); line-height: var(--ds-type-lh-snug); letter-spacing: var(--ds-type-track-display); }
.lede { max-width: var(--measure); font-size: var(--fs-19); line-height: var(--ds-type-lh-read); color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.notice { display: flex; gap: var(--ds-space-1h); align-items: flex-start; max-width: 78ch; padding: var(--ds-space-1h) var(--ds-space-2); border-radius: var(--r-s); font-size: var(--fs-15); line-height: var(--ds-type-lh-body); color: var(--ink); background: var(--surface); border: var(--ds-line-hair) solid var(--line-strong); border-left: var(--ds-line-cap) solid var(--accent); }
.notice .ico { margin-top: 2px; color: var(--accent); }

.seg { display: inline-flex; flex-wrap: wrap; justify-self: start; max-width: 100%; padding: 0; gap: 0; border-radius: var(--r-m); overflow: hidden; background: var(--surface); border: var(--ds-line-hair) solid var(--line-strong); }
.seg a { display: inline-flex; align-items: center; min-height: var(--ds-size-control); padding: 0 var(--ds-space-2); color: var(--muted); font-size: var(--fs-14); font-weight: 500; white-space: nowrap; transition: color var(--t-fast); }
.seg a + a { border-left: var(--ds-line-hair) solid var(--line-strong); }
.seg a:hover { color: var(--ink); text-decoration: none; }
.seg a[aria-current="page"] { color: var(--bg); background: var(--ink); font-weight: 700; }

.short { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.short li { display: grid; align-content: start; gap: var(--ds-space-1); padding: var(--ds-space-2) 0 0; border-top: var(--ds-line-rule) solid var(--accent); }
.short .s-ico { display: grid; place-items: center; width: 22px; height: 22px; color: var(--accent); }
.short h2 { font-size: var(--fs-17); line-height: var(--ds-type-lh-title); }
.short p { font-size: var(--fs-15); line-height: var(--ds-type-lh-body); color: var(--muted); }

.doc { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: var(--ds-space-4); align-items: start; }
.toc { position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: 2px; padding: 0; }
.toc h2 { padding: 0 10px 8px; font-size: var(--fs-14); font-weight: 700; color: var(--ink); letter-spacing: 0; }
.toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; gap: 10px; align-items: baseline; min-height: 32px; padding: 6px 10px; border-left: var(--ds-line-strong) solid transparent; color: var(--muted); font-size: var(--fs-14); font-weight: 500; line-height: var(--ds-type-lh-ui); transition: color var(--t-fast), border-color var(--t-fast); }
.toc a .n { flex: none; min-width: 1.4em; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); text-decoration: none; border-left-color: var(--accent); }

.article { padding: 0; border: 0; border-radius: 0; background: none; }
.clause { padding: var(--ds-space-4) 0 var(--ds-space-2); border-top: var(--ds-line-hair) solid var(--line-strong); scroll-margin-top: calc(var(--top-h) + 16px); }
.clause:first-child { border-top: 0; }
.clause h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--ds-space-1h); font-size: var(--fs-26); line-height: var(--ds-type-lh-title); }
.clause h2 .n { flex: none; font-size: var(--fs-16); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.clause h3 { margin: var(--ds-space-3) 0 6px; font-size: var(--fs-19); line-height: var(--ds-type-lh-title); }
.clause p, .clause li { max-width: var(--measure); font-size: var(--fs-17); line-height: var(--ds-type-lh-read); color: var(--ink); }
.clause p + p, .clause p + ul, .clause ul + p, .clause .cards + p, .clause p + .cards { margin-top: 12px; }
.clause .quiet { color: var(--muted); font-size: var(--fs-15); line-height: var(--ds-type-lh-body); }
.clause strong { font-weight: 700; }
.clause ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clause ul li { position: relative; padding-left: 22px; }
.clause ul li::before { content: ""; position: absolute; left: 3px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; max-width: 78ch; margin: 0; padding: 0; list-style: none; }
.clause .cards li { display: grid; align-content: start; gap: 6px; max-width: none; padding: var(--ds-space-2); border-radius: var(--r-m); background: var(--surface); border: var(--ds-line-hair) solid var(--line-strong); font-size: var(--fs-15); line-height: var(--ds-type-lh-body); }
.clause .cards li::before { display: none; }
.cards .c-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; min-height: 30px; }
.cards b { font-size: var(--fs-16); font-weight: 700; }
.cards .c-body { color: var(--muted); font-size: var(--fs-15); line-height: var(--ds-type-lh-body); }

.sec-main { display: grid; gap: 20px; min-width: 0; }
.sec-main h4 { margin: 0; font-weight: 700; }
.sec-h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: var(--fs-26); line-height: var(--ds-type-lh-title); }
.sec-h2-note { font-size: var(--fs-14); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.sec-timeline { display: grid; gap: 14px; }
.sec-timeline > .sec-h2 { padding: 0 4px; }
.sec-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.sec-list { position: relative; display: grid; gap: 20px; margin: 0; padding: 0 0 0 30px; list-style: none; }
.sec-list::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--line-strong); }
.sec-list > li { position: relative; min-width: 0; }
.sec-list > li::before { content: ""; position: absolute; left: -29px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }

.sec-entry { display: grid; gap: var(--ds-space-4); padding: var(--ds-space-4); scroll-margin-top: calc(var(--top-h) + 16px); }
.sec-entry-head { display: grid; gap: 12px; }
.sec-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sec-entry-meta .chip { color: var(--ink); font-weight: 600; }
.sec-kind { font-size: var(--fs-14); font-weight: 700; color: var(--accent); }
.sec-entry h3 { max-width: 30ch; font-size: var(--fs-32); line-height: var(--ds-type-lh-snug); letter-spacing: var(--ds-type-track-display); font-weight: 700; }
.sec-entry h3 em { font-style: normal; color: var(--accent); }
.sec-lede { max-width: var(--measure); font-size: var(--fs-17); line-height: var(--ds-type-lh-read); color: var(--muted); }

.sec-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.sec-record { display: grid; align-content: start; gap: 12px; padding: var(--ds-space-2) var(--ds-space-3); border-radius: var(--r-m); background: var(--surface); border: var(--ds-line-strong) solid var(--form); font-size: var(--fs-15); }
.sec-record h4 { font-family: var(--font); font-size: var(--fs-14); font-weight: 700; color: var(--accent); }
.sec-record dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 16px; margin: 0; }
.sec-record dt { color: var(--muted); }
.sec-record dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sec-verdict { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: var(--ds-line-strong) dotted var(--line-strong); color: var(--ink); font-weight: 700; }
.sec-pill { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: var(--r-pill); font-family: var(--font); font-size: var(--fs-14); font-weight: 700; color: var(--accent-ink); background: var(--accent); font-variant-numeric: tabular-nums; }

.sec-levels-wrap { display: grid; }
.sec-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; overflow: hidden; border-radius: var(--r-m); border: var(--ds-line-hair) solid var(--line-strong); background: var(--line-strong); }
.sec-levels li { display: grid; align-content: center; gap: 3px; padding: var(--ds-space-2) var(--ds-space-3); background: var(--surface); }
.sec-n { font-size: var(--fs-44); font-weight: 700; line-height: 1; letter-spacing: var(--ds-type-track-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.sec-l { margin-top: 6px; font-size: var(--fs-16); font-weight: 700; color: var(--ink); }
.sec-s { font-size: var(--fs-14); color: var(--muted); }

.sec-block { display: grid; gap: 12px; padding-top: var(--ds-space-3); border-top: var(--ds-line-hair) solid var(--line-strong); }
.sec-block h4 { font-size: var(--fs-22); line-height: var(--ds-type-lh-title); letter-spacing: var(--ds-type-track-title); }
.sec-block p { max-width: var(--measure); font-size: var(--fs-17); line-height: var(--ds-type-lh-read); }
.sec-block p.sec-sub, .sec-sub { max-width: var(--measure); font-size: var(--fs-16); line-height: var(--ds-type-lh-body); color: var(--muted); }
.sec-note { color: var(--muted); }
.sec-block p.sec-note { font-size: var(--fs-14); line-height: var(--ds-type-lh-body); }

.sec-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.sec-facts li { display: grid; align-content: start; gap: 6px; padding: var(--ds-space-2) 0 0; border-top: var(--ds-line-rule) solid var(--accent); }
.sec-facts b { font-size: var(--fs-17); font-weight: 700; }
.sec-facts span { font-size: var(--fs-15); line-height: var(--ds-type-lh-body); color: var(--muted); }

.sec-dots { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sec-dots li { position: relative; padding-left: 22px; font-size: var(--fs-17); line-height: 1.6; }
.sec-dots li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.sec-table { width: 100%; margin-top: 4px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--r-m); border: var(--ds-line-hair) solid var(--line-strong); background: var(--surface); font-size: var(--fs-15); }
.sec-table th, .sec-table td { padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.sec-table tbody tr:last-child td { border-bottom: 0; }
.sec-table th { font-size: var(--fs-13); font-weight: 700; letter-spacing: 0; color: var(--muted); background: var(--surface-2); }
.sec-table td:first-child { font-weight: 600; }
.sec-table .what { display: block; margin-top: 2px; font-size: var(--fs-13); font-weight: 400; line-height: 1.45; color: var(--muted); }
.sec-table .sec-req { font-size: var(--fs-15); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sec-table th:nth-child(2) { text-align: right; }
.sec-table .sec-barcell { width: 32%; }
.sec-table .sec-found { font-size: var(--fs-15); font-weight: 700; color: var(--accent); text-align: center; font-variant-numeric: tabular-nums; }
.sec-table th:last-child { text-align: center; }
.sec-bar { display: block; height: 6px; border-radius: 2px; overflow: hidden; background: var(--accent-soft); }
.sec-bar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.sec-bar .w-100 { width: 100%; }
.sec-bar .w-99 { width: 99%; }
.sec-bar .w-94 { width: 94%; }
.sec-bar .w-93 { width: 93%; }
.sec-bar .w-85 { width: 85%; }
.sec-bar .w-78 { width: 78%; }
.sec-bar .w-64 { width: 64%; }
.sec-bar .w-63 { width: 63%; }
.sec-bar .w-62 { width: 62%; }
.sec-bar .w-41 { width: 41%; }
.sec-bar .w-51 { width: 51%; }
.sec-bar .w-50 { width: 50%; }
.sec-bar .w-29 { width: 29%; }
.sec-bar .w-27 { width: 27%; }
.sec-bar .w-22 { width: 22%; }
.sec-bar .w-18 { width: 18%; }
.sec-bar .w-10 { width: 10%; }
.sec-bar .w-2 { width: 2%; }
.sec-bar .w-1 { width: 1%; }

.sec-next { display: grid; gap: 12px; margin-left: 30px; padding: var(--ds-space-4); scroll-margin-top: calc(var(--top-h) + 16px); }
.sec-road { display: grid; margin: 12px 0 0 7px; padding: 0; list-style: none; border-left: 2px solid var(--line-strong); }
.sec-road li { position: relative; display: grid; gap: 4px; padding: 0 0 22px 24px; }
.sec-road li:last-child { padding-bottom: 0; }
.sec-road li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); }
.sec-road li.now::before { border-color: var(--accent); background: var(--accent); }
.sec-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sec-row b { font-size: var(--fs-17); font-weight: 700; }
.sec-road p { max-width: var(--measure); font-size: var(--fs-15); line-height: 1.6; color: var(--muted); }
.sec-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: var(--r-s); font-size: var(--fs-13); font-weight: 700; letter-spacing: 0; }
.sec-tag.now { color: var(--accent-ink); background: var(--accent); }
.sec-tag.next { color: var(--accent); background: var(--surface); border: var(--ds-line-hair) solid var(--accent); }
.sec-tag.plan { color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }

@keyframes rise { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
.rise { animation: rise var(--t-slow) var(--ease) both; }
.rise.d1 { animation-delay: 60ms; }
.rise.d2 { animation-delay: 120ms; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1023px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 0; }
  .toc h2 { padding: 0 4px 8px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a .n { min-width: 0; }
  .toc a { gap: 7px; min-height: 36px; padding: 4px 12px; border: var(--ds-line-hair) solid var(--line-strong); border-radius: var(--r-m); background: var(--surface); }
}
@media (max-width: 760px) {
  .sec-entry, .sec-next { padding: var(--ds-space-3); gap: var(--ds-space-3); }
  .sec-next { gap: 12px; }
  .sec-entry h3 { font-size: var(--fs-26); }
  .sec-result { grid-template-columns: minmax(0, 1fr); }
  .sec-block { padding-top: 22px; }
  .topbar .status, .topbar nav a[href^="https://app."] { display: none; }
  .doc-head { padding: 0 0 var(--ds-space-3); }
  .doc-head h1 { font-size: var(--fs-32); }
  .article { padding: 0; }
  .clause h2 { font-size: var(--fs-22); }
}
@media (max-width: 560px) {
  .topbar-in { height: 58px; padding: 0 12px 0 16px; gap: 8px; }
  .brand { gap: 9px; font-size: var(--fs-15); }
  .brand .logo-mark { width: 30px; height: 30px; }
  .topbar nav { gap: 6px; }
  .topbar .btn { min-height: 44px; padding: 0 12px; font-size: var(--fs-14); }
  .theme-toggle { width: 44px; height: 44px; }
  .seg a { min-height: 44px; }
  .toc a { min-height: 44px; }
  .topbar .btn .long { display: none; }
  .page { padding: var(--ds-space-4) 16px var(--ds-space-6); gap: var(--ds-space-3); }
  .doc-head { padding: 0 0 var(--ds-space-3); gap: var(--ds-space-2); }
  .lede { font-size: var(--fs-15); }
  .article { padding: 0; }
  .clause { padding-top: 22px; }
  .clause p, .clause li { font-size: var(--fs-15); line-height: 1.7; }
  .notice { font-size: var(--fs-13); }
  .seg a { padding: 0 var(--ds-space-1h); }
  .sec-list { padding-left: 22px; }
  .sec-next { margin-left: 22px; }
  .sec-list::before { left: 4px; }
  .sec-list > li::before { left: -23px; top: 30px; width: 12px; height: 12px; }
  .sec-entry, .sec-next { padding: var(--ds-space-3) var(--ds-space-2); }
  .sec-entry h3 { font-size: var(--fs-22); }
  .sec-lede { font-size: var(--fs-15); }
  .sec-levels li { padding: 14px 12px; }
  .sec-l { hyphens: auto; overflow-wrap: break-word; }
  .sec-n { font-size: var(--fs-32); }
  .sec-record { padding: 16px; }
  .sec-block p, .sec-dots li { font-size: var(--fs-15); }
  .sec-table, .sec-table tbody, .sec-table tr, .sec-table td { display: block; }
  .sec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sec-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "req found" "bar bar"; align-items: center; gap: 6px 12px; padding: 12px 16px; border-bottom: var(--ds-line-hair) solid var(--line); }
  .sec-table tbody tr:last-child { border-bottom: 0; }
  .sec-table td { padding: 0; border-bottom: 0; }
  .sec-table td:first-child { grid-area: name; margin-bottom: 2px; }
  .sec-table .sec-req { grid-area: req; }
  .sec-table .sec-found { grid-area: found; }
  .sec-table .sec-barcell { grid-area: bar; width: auto; }
  .sec-table .sec-req { text-align: left; }
  .sec-table .sec-found { text-align: right; }
  .sec-table .sec-req::after { content: " requests"; font-family: var(--font); color: var(--muted); }
  .sec-table .sec-found::before { content: "Found "; font-family: var(--font); font-weight: 600; color: var(--muted); }
}

@media print {
  .topbar nav, .skip, .toc, .seg { display: none !important; }
  .topbar { position: static; }
  body { background: Canvas; color: CanvasText; }
  .panel, .short li, .clause .cards li, .sec-record, .sec-levels li { background: none; }
}
.nowrap { white-space: nowrap; }
