/* MapRegula weekly regulatory report.
   Visual grammar (2026-11-15 consulting-report pass): one accent colour (deep navy-blue) on black and grey text,
   charcoal cover band, large light headings, accent lead paragraphs, no shadows or rounded cards, hairline rules
   instead of boxes, tables with horizontal rules only, figures labelled "그림 n" above with notes below.
   Data-type colours in the graphs stay (law, guideline, inspection, action, site) but are desaturated.
   No inline styles anywhere: positions are written through CSSOM by issue.js,
   static widths use the generated w-N and l-N classes at the end of this file. */
:root {
  --bg: #eceef0; --surface: #ffffff; --sunk: #f6f7f8; --ink: #1c2025; --navy: #1c2025; --muted: #5d6570; --faint: #8a919b;
  --line: #e1e4e8; --line-strong: #c3c8ce; --rule: #2a2f35;
  --accent: #1d4f7c; --accent-soft: #edf2f7; --hl: #a8864c; --bar: #8d949d;
  --blue: var(--accent); --bronze: var(--accent); --bronze-strong: var(--accent); --bronze-soft: transparent;
  --sel: var(--accent-soft); --skel: #e8eaed; --on-strong: #ffffff; --shadow: rgba(20, 24, 30, .10);
  --cover: #262a2f; --cover-2: #262a2f; --cover-ink: #f3f4f5; --cover-muted: #a4abb4; --gold: #a4abb4;
  --n-law: #4f6890; --n-guide: #4e8276; --n-case: #ad6a4e; --n-act: #8a5c71; --n-site: #6d7783; --n-note: #998563; --n-event: #756b9b; --n-pend: #c5cad0;
  --j-kr: var(--n-law); --j-us: var(--n-case); --j-eu: var(--n-event); --j-xx: var(--n-site);
  --ok: #2f6a50; --ok-bg: transparent; --warn: #8f4c12; --warn-bg: transparent; --warn-line: #c98d42;
  --mk-old: #f5e2de; --mk-old-line: rgba(150, 62, 50, .6); --mk-new: #f6ecc0;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace; --radius: 2px;
  --measure: 36em;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111316; --surface: #191c20; --sunk: #1f2328; --ink: #e5e7ea; --navy: #e5e7ea; --muted: #9ba3ad; --faint: #747c87;
    --line: #2c3137; --line-strong: #434a53; --rule: #c4c9cf;
    --accent: #8fb3df; --accent-soft: #1e2835; --hl: #c7a86c; --bar: #6c747f;
    --sel: var(--accent-soft); --skel: #282d33; --on-strong: #111316; --shadow: rgba(0, 0, 0, .4);
    --cover: #0c0e10; --cover-2: #0c0e10; --cover-ink: #eef0f2; --cover-muted: #949ca6; --gold: #949ca6;
    --n-law: #9cb0d2; --n-guide: #8dbdb0; --n-case: #d9a185; --n-act: #d0a0b6; --n-site: #a9b3be; --n-note: #cbb68e; --n-event: #b4abd6; --n-pend: #3c434c;
    --ok: #8fc6a6; --warn: #e6b16f; --warn-line: #b5843d;
    --mk-old: #4a2b27; --mk-old-line: rgba(240, 160, 150, .6); --mk-new: #4a4219;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111316; --surface: #191c20; --sunk: #1f2328; --ink: #e5e7ea; --navy: #e5e7ea; --muted: #9ba3ad; --faint: #747c87;
  --line: #2c3137; --line-strong: #434a53; --rule: #c4c9cf;
  --accent: #8fb3df; --accent-soft: #1e2835; --hl: #c7a86c; --bar: #6c747f;
  --sel: var(--accent-soft); --skel: #282d33; --on-strong: #111316; --shadow: rgba(0, 0, 0, .4);
  --cover: #0c0e10; --cover-2: #0c0e10; --cover-ink: #eef0f2; --cover-muted: #949ca6; --gold: #949ca6;
  --n-law: #9cb0d2; --n-guide: #8dbdb0; --n-case: #d9a185; --n-act: #d0a0b6; --n-site: #a9b3be; --n-note: #cbb68e; --n-event: #b4abd6; --n-pend: #3c434c;
  --ok: #8fc6a6; --warn: #e6b16f; --warn-line: #b5843d;
  --mk-old: #4a2b27; --mk-old-line: rgba(240, 160, 150, .6); --mk-new: #4a4219;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 56px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; }
p { margin: 0; }
time { font-variant-numeric: tabular-nums; white-space: nowrap; }
abbr[title] { text-decoration: none; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.mono { font-family: var(--mono); font-size: .92em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 40; background: var(--surface); padding: 8px 12px; }

.page { max-width: 1120px; margin: 0 auto; padding-block: 24px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.book { background: var(--surface); border: 1px solid var(--line); min-width: 0; }

/* spine: running header (report name + chapter tabs) */
.spine { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 20px; padding: 0 16px 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .02em; white-space: nowrap; line-height: 1.4; }
.brand small { font-weight: 400; color: var(--muted); font-size: 12px; letter-spacing: 0; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.spine-nav { display: flex; gap: 2px; overflow-x: auto; min-width: 0; scrollbar-width: none; margin-left: auto; }
.spine-nav::-webkit-scrollbar { display: none; }
.sp { white-space: nowrap; padding: 13px 8px 11px; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.sp em { font-style: normal; color: var(--faint); font-size: 11.5px; margin-right: 4px; }
.sp[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.sp[aria-current="true"] em { color: var(--accent); }
.sp:hover { color: var(--ink); }

section.leaf { padding: 64px 48px 64px; border-bottom: 1px solid var(--line); display: grid; gap: 32px; scroll-margin-top: 48px; min-width: 0; }

/* cover */
section.leaf.cover { padding: 0; gap: 0; }
.cover-band { background: var(--cover); color: var(--cover-ink); padding: 80px 48px 44px; display: grid; gap: 44px; }
.cover-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.cover-top .brand { color: var(--cover-ink); font-size: 14px; letter-spacing: .04em; }
.cover-top .brand small { color: var(--cover-muted); border-left-color: rgba(255, 255, 255, .25); }
.cover-title h1 { color: var(--cover-ink); font-size: 54px; line-height: 1.15; letter-spacing: -.015em; font-weight: 300; }
.cover-title .week { display: block; font-size: 24px; color: var(--cover-muted); font-weight: 300; margin-top: 12px; letter-spacing: 0; }
.cover-meta { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 13px; color: var(--cover-muted); padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.cover-meta b { color: var(--cover-ink); font-weight: 400; margin-left: 4px; }
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-bottom: 1px solid var(--line); }
.ledger li { border-right: 1px solid var(--line); min-width: 0; }
.ledger li:last-child { border-right: 0; }
.ledger a, .ledger .ledg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: baseline; padding: 24px 24px 20px; text-decoration: none; color: inherit; height: 100%; }
.ledger a:hover { background: var(--sunk); }
.ledger b { grid-column: 1 / -1; font-size: 36px; color: var(--ink); font-weight: 300; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ledger b small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.ledger span { font-size: 13.5px; color: var(--muted); }
.ledger em { font-style: normal; font-size: 12px; color: var(--accent); white-space: nowrap; }
.toc { padding: 48px 48px 52px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 56px; }
.toc-h { font-size: 12px; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--rule); }
.toc li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); }
.toc li:first-child { border-top: 0; }
.toc .no { font-size: 20px; font-weight: 300; color: var(--accent); font-variant-numeric: tabular-nums; }
.toc a { color: var(--ink); font-weight: 500; text-decoration: none; font-size: 16.5px; }
.toc a:hover { color: var(--accent); }
.toc .figs { grid-column: 2; display: grid; gap: 0; margin-top: 2px; }
.toc .figs .fig { white-space: normal; max-width: 100%; color: var(--muted); }
.fig { font-size: 12.5px; line-height: 1.6; color: var(--muted); white-space: nowrap; }
.howto { display: grid; gap: 14px; align-content: start; }
.howto p { font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.howto .demo { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.howto .demo .gnode { position: static; animation: none; transform: none; justify-self: start; }
.marks { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.marks div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; align-items: center; }
.marks dd { margin: 0; color: var(--muted); }
.meta { font-size: 13px; color: var(--muted); }

/* chapter head: large light title, accent lead */
.ch-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 24px; align-items: start; }
.ch-head .no { font-size: 60px; font-weight: 200; color: var(--accent); line-height: .95; font-variant-numeric: tabular-nums; grid-row: 1 / span 2; }
.ch-head h2 { font-size: 36px; line-height: 1.25; font-weight: 300; letter-spacing: -.01em; }
.ch-head .promise { grid-column: 2; font-size: 18px; line-height: 1.6; color: var(--accent); max-width: var(--measure); }
.points { grid-column: 2; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; max-width: 40em; font-size: 17px; line-height: 1.6; color: var(--accent); }
.points li { position: relative; padding-left: 20px; }
.points li::before { content: ""; position: absolute; left: 0; top: .82em; width: 9px; height: 1px; background: var(--accent); }
.chapter-body { display: grid; gap: 56px; min-width: 0; }
.sec-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.sec-head h2 { font-size: 36px; line-height: 1.25; font-weight: 300; letter-spacing: -.01em; }
.sec-head .count { margin: 0; }

/* key points */
.keys { list-style: none; margin: 0; padding: 0; counter-reset: key; display: grid; }
.keys li { counter-increment: key; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0 22px; border-top: 1px solid var(--line); }
.keys li:first-child { border-top-color: var(--rule); }
.ffilter + .keys li:first-child { border-top: 0; padding-top: 6px; }
.keys li:last-child { border-bottom: 1px solid var(--line); }
.keys li::before { content: counter(key); grid-row: 1 / span 2; font-size: 26px; font-weight: 300; color: var(--accent); line-height: 1.15; font-variant-numeric: tabular-nums; }
.key-text { grid-column: 2; font-size: 17px; line-height: 1.6; font-weight: 600; color: var(--ink); max-width: 40em; }
.key-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; font-size: 13.5px; }
.go { color: var(--accent); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.en-summary { max-width: 44em; border-left: 2px solid var(--accent); padding: 2px 0 2px 18px; }
.en-summary h3 { font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.en-summary p { font-size: 15.5px; line-height: 1.7; }

/* status and tags: small text labels, no coloured boxes */
.st { display: inline-flex; align-items: center; gap: 5px; vertical-align: 2px; font-size: 12px; line-height: 1.2; font-weight: 500; white-space: nowrap; color: var(--muted); letter-spacing: .01em; }
.st-ok { color: var(--muted); }
.st-ok::before { content: ""; width: 7px; height: 3.5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-2px) rotate(-45deg); }
.st-in { color: var(--muted); }
.st-in::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--muted); }
.st-no { color: var(--warn); }
.st-no::before { content: "!"; font-weight: 800; font-size: 9px; width: 11px; height: 11px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--warn-line); color: #fff; }
.st-note { font-size: 12px; color: var(--muted); margin-left: 6px; }
.jur { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.jur::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--j-xx); }
.jur-kr::before { background: var(--j-kr); }
.jur-us::before { background: var(--j-us); }
.jur-eu::before { background: var(--j-eu); }
.jdot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--j-xx); }
.jdot.kr { background: var(--j-kr); }
.jdot.us { background: var(--j-us); }
.jdot.eu { background: var(--j-eu); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; line-height: 1.2; letter-spacing: .03em; }
.tag-new { color: var(--accent); }
.grade { display: inline-block; font-size: 12px; font-weight: 500; padding: 0 0 1px; white-space: nowrap; line-height: 1.5; }
.grade.g-a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.grade.g-b { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.grade.g-c { color: var(--muted); border-bottom: 1px dashed var(--muted); }

/* blocks */
.block { min-width: 0; }
.block-title { font-size: 21px; line-height: 1.4; margin-bottom: 14px; color: var(--ink); font-weight: 500; }
.block-title .st { vertical-align: 3px; margin-left: 8px; }
.sub-title { font-size: 14px; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.count { font-size: 13.5px; color: var(--muted); margin: -6px 0 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.count b { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.basis { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.7; max-width: 52em; }
.basis-k { font-weight: 600; color: var(--ink); margin-right: 4px; }
ul.plain { margin: 0; padding-left: 1.2em; max-width: 40em; font-size: 15.5px; display: grid; gap: 10px; }

/* folds: hairline above and below, simple chevron */
details.fold { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: transparent; min-width: 0; }
details.fold + details.fold { border-top: 0; }
details.fold > summary { list-style: none; padding: 13px 4px 13px 0; font-size: 15px; font-weight: 600; color: var(--ink); min-height: 48px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
details.fold > summary::before, details.more > summary::before, .sched-week-head::before { content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 2px 2px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); }
details.fold[open] > summary::before, details.more[open] > summary::before, details.sched-week[open] > .sched-week-head::before { transform: rotate(45deg); margin-bottom: 5px; }
details.fold > summary:hover, details.more > summary:hover { color: var(--accent); }
details.fold[open] > summary { border-bottom: 1px solid var(--line); }
details.fold .summary-n { font-weight: 400; color: var(--muted); font-size: 13px; }
details.fold > .tbl-wrap { border: 0; }
.fold-body { padding: 32px 0 36px; display: grid; gap: 48px; min-width: 0; }
details.more { border-top: 1px solid var(--line); }
details.more > summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 10px 0; min-height: 44px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
details.more[open] > summary { border-bottom: 1px solid var(--line); }

/* tables: horizontal rules only */
.tbl-wrap { background: transparent; border: 0; min-width: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; border-top: 1px solid var(--rule); }
.tbl.fixed { table-layout: fixed; }
.col-date { width: 8em; }
.col-jurisdiction { width: 4.5em; }
.col-number { width: 15em; }
.col-num { width: 7em; }
.tbl caption { text-align: left; font-size: 12.5px; color: var(--muted); padding: 0 0 8px; }
.tbl th { text-align: left; padding: 9px 16px 9px 0; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .03em; background: transparent; white-space: nowrap; border-bottom: 1px solid var(--line-strong); }
.tbl td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl tr:last-child td { border-bottom-color: var(--line-strong); }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td.c-title { min-width: 16em; }
.tbl td.c-date, .tbl td.c-number { color: var(--muted); font-size: 13.5px; }
.tbl td.c-date { white-space: nowrap; }
.tbl td a { color: var(--ink); text-decoration-color: var(--line-strong); }
.tbl td a:hover { color: var(--accent); }
.t-main { display: block; font-weight: 600; color: var(--ink); }
.t-main .st { margin-left: 6px; }
.t-kind, .t-note { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.t-kind { color: var(--muted); }
.gtbl { font-size: 13.5px; }
.gtbl .g-group th { background: transparent; color: var(--ink); font-size: 13.5px; padding: 20px 14px 8px 0; white-space: normal; letter-spacing: 0; border-bottom: 1px solid var(--line-strong); }
.gtbl .g-group-sub { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; letter-spacing: 0; }
.gtbl .g-note td { font-size: 12px; color: var(--muted); padding: 10px 14px 3px 0; border-bottom: 0; font-weight: 600; letter-spacing: .02em; }
.gtbl .g-center td { font-weight: 600; }

/* note */
.blk-note { max-width: 44em; border-left: 2px solid var(--line-strong); padding: 2px 0 2px 16px; font-size: 14.5px; color: var(--muted); }
.blk-note p { font-size: 15px; color: var(--ink); }
.blk-note.unverified { border-left-color: var(--warn-line); }
.sources { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* overview board: day strip over columns */
.blk-board { display: grid; gap: 22px; }
.blk-board .block-title { margin-bottom: 0; }
.bd-legend { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; font-size: 13.5px; color: var(--muted); }
.bd-legend .lg { gap: 6px; }
.bd-legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bd-total { color: var(--ink); font-size: 14.5px; }
.bd-total b { font-size: 22px; font-weight: 300; }
.bd-strip { display: grid; gap: 8px; }
.bd-cap { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.bd-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bd-day { width: 100%; height: 100%; min-height: 78px; display: grid; grid-template-rows: auto 1fr auto; gap: 6px; justify-items: start; padding: 9px 8px 8px 0; border: 0; border-top: 2px solid var(--line-strong); border-radius: 0; background: transparent; text-align: left; line-height: 1.3; }
.bd-day:hover:not(:disabled) { border-top-color: var(--ink); }
.bd-day:disabled { cursor: default; background: transparent; border-top-color: var(--line); color: var(--faint); }
.bd-d { display: flex; gap: 5px; align-items: baseline; }
.bd-d b { font-size: 15px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bd-day:disabled .bd-d b { color: var(--faint); font-weight: 400; }
.bd-d small { font-size: 12px; color: var(--muted); }
.bd-dots { display: flex; flex-wrap: wrap; gap: 4px; align-content: center; }
.bd-dots .jdot { width: 9px; height: 9px; }
.bd-dn { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bd-day[aria-pressed="true"] { background: var(--accent-soft); border-top-color: var(--accent); padding-left: 8px; }
.bd-day.mark { border-top-color: var(--hl); }
.bd-statusrow { display: none; flex-wrap: wrap; gap: 6px 12px; align-items: center; min-height: 32px; font-size: 13px; color: var(--muted); }
.js .bd-statusrow { display: flex; }
html:not(.js) .bd-day { cursor: default; }
.bd-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.bd-col { border: 0; border-top: 2px solid var(--rule); background: transparent; min-width: 0; }
.bd-col-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 14px 0 12px; border-bottom: 1px solid var(--line-strong); }
.bd-col-head h4 { font-size: 19px; line-height: 1.3; font-weight: 500; }
.bd-n { font-size: 13px; color: var(--muted); white-space: nowrap; }
.bd-n b { font-size: 30px; line-height: 1; color: var(--ink); font-weight: 300; font-variant-numeric: tabular-nums; margin-right: 2px; }
.bd-desc { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.bd-jc { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.bd-jc span { display: inline-flex; align-items: center; gap: 5px; }
.bd-none { padding: 16px 0; font-size: 13.5px; color: var(--muted); }
.bd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bd-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; min-width: 0; transition: box-shadow .2s ease, opacity .2s ease, background-color .2s ease; }
.bd-card > summary { list-style: none; display: grid; grid-template-columns: 2.8em minmax(0, 1fr); gap: 3px 8px; align-items: start; padding: 12px 6px 12px 0; min-height: 48px; }
.bd-card > summary:hover .bd-short { color: var(--accent); }
.bd-card .jur { margin-top: 4px; justify-self: start; }
.bd-short { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.bd-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.bd-date b { color: var(--ink); font-weight: 500; }
.bd-card[open] { box-shadow: inset 2px 0 0 var(--accent); background: var(--accent-soft); }
.bd-card[open] > summary { padding-left: 10px; }
.bd-card.hl { box-shadow: inset 3px 0 0 var(--hl); }
.bd-card.hl > summary { padding-left: 10px; }
.bd-card.off { opacity: .38; }
.bd-detail { display: grid; gap: 10px; padding: 10px 10px 16px; border-top: 1px dashed var(--line-strong); }
.bd-title { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.bd-title .st { margin-left: 6px; }
.bd-detail .kv { font-size: 13.5px; gap: 5px 12px; }

/* article */
.blk-article { max-width: 46em; display: grid; gap: 0; }
.kicker-a { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.article-title { font-size: 27px; line-height: 1.4; margin-bottom: 14px; font-weight: 400; letter-spacing: -.005em; }
.article-title .st { vertical-align: 5px; margin-left: 8px; }
.dek { font-size: 18px; line-height: 1.6; color: var(--accent); margin-bottom: 28px; max-width: var(--measure); }
.a-body { display: grid; gap: 20px; max-width: var(--measure); }
.para { font-size: 16px; line-height: 1.8; }
.para.unverified { border-left: 2px solid var(--warn-line); padding-left: 14px; }
.questions { margin-top: 36px; border-left: 2px solid var(--accent); padding: 2px 0 4px 20px; }
.questions .sub-title { color: var(--accent); font-size: 12.5px; letter-spacing: .05em; margin-bottom: 10px; }
.questions ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.questions li { font-size: 15.5px; line-height: 1.7; }
.questions li::marker { color: var(--muted); font-size: 14px; }
.blk-article details.fold { margin-top: 14px; }
.blk-article details.fold + details.fold { margin-top: 0; }
.blk-article .questions + details.fold, .blk-article .a-body + details.fold { margin-top: 36px; }
.conn-list { list-style: none; margin: 0; padding: 0; }
.conn-list li { display: grid; grid-template-columns: 7em minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.65; }
.conn-list li:last-child { border-bottom: 0; }
.conn-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.a-sources { margin-top: 28px; font-size: 13px; color: var(--muted); }
.a-sources .sub-title { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px; }
.a-sources ul { margin: 0; padding-left: 1.2em; display: grid; gap: 2px; }

/* timeline */
.tl-axis, .tl-row { display: grid; grid-template-columns: minmax(0, 17em) minmax(0, 1fr); gap: 4px 24px; }
.tl-axis { color: var(--muted); margin-bottom: 6px; }
.tl-axis-track { position: relative; height: 20px; border-bottom: 1px solid var(--rule); font-size: 12px; }
.tl-tick { position: absolute; top: 0; padding-left: 4px; border-left: 1px solid var(--line-strong); height: 20px; line-height: 18px; white-space: nowrap; }
.tl-tick.tick-end { transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--line-strong); padding: 0 4px 0 0; }
.tl-rows { list-style: none; margin: 0; padding: 0; }
.tl-row { padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.tl-label { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.tl-label a { color: var(--ink); }
.tl-track { position: relative; height: 22px; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line-strong); }
.tl-bar { position: absolute; top: 8px; height: 5px; min-width: 5px; background: var(--n-law); }
.tl-pt { position: absolute; top: 5px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--n-law); }
.tl-pt-end { background: var(--n-law); border-color: var(--n-law); }
.tl-today { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 1px dashed var(--accent); }
.tl-key-today { display: inline-block; width: 0; height: 12px; border-left: 1px dashed var(--accent); vertical-align: -1px; margin-right: 4px; }
.tl-dates { grid-column: 2; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 8px; }
.tl-dates time { color: var(--ink); font-weight: 600; }
.tl-days { padding-left: 8px; border-left: 1px solid var(--line-strong); }
.tl-note { grid-column: 2; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* bars (stats, count tables) */
.bars-wrap { border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line-strong); background: transparent; max-width: 52em; }
.bars { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr) 4.5em; gap: 18px; align-items: center; padding: 5px 0; }
.bar-label { font-size: 13.5px; line-height: 1.5; }
.bars-text .bar-label { font-size: 14.5px; }
.bar-label a { color: var(--ink); text-decoration-color: var(--line-strong); }
.bar-label a:hover { color: var(--accent); }
.bar-track { height: 10px; background: var(--skel); overflow: hidden; }
.bar { display: block; height: 100%; background: var(--bar); }
.bars-text .bar { background: var(--bar); }
.bar-row.hl .bar { background: var(--accent); }
.bar-row.hl .bar-label, .bar-row.hl .bar-val { font-weight: 600; }
.bar-row.hl .bar-label a { color: var(--accent); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 400; color: var(--ink); }
.bar-val small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.key-hl { display: inline-block; width: 14px; height: 8px; background: var(--accent); margin-right: 6px; }

/* schedule: week strip + weeks folded */
.wk-strip { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px 10px; }
.wk-strip a { display: flex; flex-direction: column; gap: 4px; padding: 9px 6px 6px 0; border: 0; border-top: 2px solid var(--line-strong); text-decoration: none; color: var(--ink); background: transparent; height: 100%; line-height: 1.4; }
.wk-strip a:hover { border-top-color: var(--accent); }
.wk-strip .cur a { border-top-color: var(--rule); }
.wk-d { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wk-n { font-size: 26px; font-weight: 300; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.wk-n small { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 1px; }
.wk-bar { display: block; height: 3px; background: var(--skel); }
.wk-bar span { display: block; height: 100%; background: var(--bar); }
.wk-strip .cur .wk-bar span { background: var(--accent); }
.wk-split { font-size: 12px; color: var(--muted); }
.sched { display: grid; gap: 0; max-width: 56em; border-bottom: 1px solid var(--line-strong); }
.sched-week { scroll-margin-top: 60px; border: 0; border-top: 1px solid var(--line-strong); background: transparent; }
.sched-week:first-child { border-top-color: var(--rule); }
.sched-week-head { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 13px 0; min-height: 48px; font-size: 15px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sched-week-head:hover { color: var(--accent); }
.sched-week[open] > .sched-week-head { border-bottom: 1px solid var(--line); }
.sched-week-n { margin-left: auto; display: inline-flex; gap: 10px; align-items: baseline; font-weight: 400; font-size: 13px; color: var(--muted); }
.sched-week-n b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.sched-list { list-style: none; margin: 0; padding: 0 0 0 20px; }
.sched-item { border-bottom: 1px solid var(--line); }
.sched-item:last-child { border-bottom: 0; }
.sched-item summary { display: grid; grid-template-columns: 3.8em minmax(0, 1fr) 18px; gap: 16px; align-items: start; padding: 14px 0; list-style: none; min-height: 48px; }
.sched-item summary:hover .sched-title { color: var(--accent); }
.sched-date { display: flex; flex-direction: column; line-height: 1.25; font-variant-numeric: tabular-nums; }
.sched-date time { font-size: 17px; font-weight: 400; color: var(--ink); }
.sched-date small { font-size: 12px; color: var(--muted); }
.sched-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sched-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.sched-title { font-size: 15.5px; line-height: 1.6; }
.dday { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.dday.soon { color: var(--warn); }
.sched-item.past .sched-title, .sched-item.past time { color: var(--muted); }
.sched-chev { width: 7px; height: 7px; margin-top: 9px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg); }
.sched-item details[open] .sched-chev { transform: rotate(-135deg); margin-top: 13px; }
.sched-body { padding: 0 0 16px calc(3.8em + 16px); font-size: 14.5px; line-height: 1.7; display: grid; gap: 6px; max-width: 46em; }
.sched-body .k { font-weight: 600; color: var(--muted); margin-right: 6px; font-size: 12.5px; }
.sched-meta { color: var(--muted); font-size: 12.5px; }
.btn-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--accent); background: transparent; }
.btn-link::after { content: "↗"; margin-left: 5px; font-weight: 400; }
.btn-link:hover { text-decoration: underline; }

/* news */
.news { display: grid; gap: 0; max-width: 48em; }
.theme { border: 0; border-top: 1px solid var(--rule); padding: 22px 0 36px; background: transparent; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.theme-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.theme-head h4 { font-size: 20px; line-height: 1.45; font-weight: 500; }
.theme-n { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.news-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.theme details.more { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme details.more .news-items { padding: 14px 0; }
.news-line { font-size: 15.5px; line-height: 1.6; font-weight: 600; }
.news-line a { color: var(--ink); text-decoration-color: var(--line-strong); }
.news-line a:hover { color: var(--accent); }
.news-line time { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-right: 10px; }
.news-src { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 10px; white-space: nowrap; }
.news-sent { margin-top: 3px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.impl { border-left: 2px solid var(--accent); padding: 2px 0 2px 18px; }
.impl h5, .theme-links h5 { font-size: 12.5px; color: var(--accent); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; letter-spacing: .04em; }
.theme-links h5 { color: var(--muted); }
.impl p { font-size: 15.5px; line-height: 1.75; }
.theme-links ul { margin: 0; padding-left: 1.2em; font-size: 13.5px; display: grid; gap: 2px; }

/* ---------- figure (graph, shelf grammar): label and title above, notes below, no outer box */
.blk-graph { margin: 0; display: grid; gap: 12px; min-width: 0; }
.node-anchor { display: block; height: 0; scroll-margin-top: 60px; }
.caption { color: var(--muted); font-size: 15px; max-width: 44em; }
.gbox { border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; scroll-margin-top: 54px; line-height: 1.5; }
.gbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 6px 12px; padding: 0 0 10px; border-bottom: 1px solid var(--rule); background: transparent; min-width: 0; }
.gttl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.gttl .fig { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gttl .gt { font-size: 14px; color: var(--ink); line-height: 1.45; font-weight: 700; }
.gctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gctl:empty { display: none; }
.btn { border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius); padding: 5px 12px; font-size: 12.5px; line-height: 1.4; color: var(--ink); white-space: nowrap; min-height: 32px; }
.btn:hover { border-color: var(--ink); }
.btn.sm { padding: 3px 10px; }
.btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.gbody { display: grid; grid-template-columns: minmax(0, 1fr) 280px; min-width: 0; }
.nojs-note { grid-column: 1 / -1; margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; }
.canvas { position: relative; overflow: hidden; min-height: 160px; border-right: 1px solid var(--line); min-width: 0; }
.stage { position: relative; }
.stage svg.edges { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 1; }
.side { padding: 14px 0 14px 18px; background: transparent; min-width: 0; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.lg-hint { flex-basis: 100%; font-size: 12px; }
.lg .ring { width: 9px; height: 9px; border-radius: 50%; background: var(--n-law); box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 3px var(--ink); margin: 0 3px; }
.lg .tagk { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-strong); padding: 0 4px; }
.ln { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--line-strong); flex: none; }
.ln.cite { border-top-color: var(--n-guide); }
.ln.share { border-top: 2px dashed var(--n-guide); }
.ln.ed { border-top: 2px dashed var(--n-law); }
.ln.same { border-top-color: var(--n-law); }
.ln.sim { border-top: 2px dotted var(--muted); }
.ln.case { border-top-color: var(--n-case); }
.ln.firm { border-top-color: var(--n-site); }
.ln.date { border-top-color: var(--n-event); }
.ln.note { border-top-color: var(--n-note); }
.dot, .gd { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--n-pend); }
.dot[data-type="law"], .gnode[data-type="law"] .gd { background: var(--n-law); }
.dot[data-type="guide"], .gnode[data-type="guide"] .gd { background: var(--n-guide); }
.dot[data-type="case"], .gnode[data-type="case"] .gd { background: var(--n-case); }
.dot[data-type="act"], .gnode[data-type="act"] .gd { background: var(--n-act); }
.dot[data-type="site"], .gnode[data-type="site"] .gd { background: var(--n-site); }
.shelf { position: absolute; border: 0; border-top: 1px solid var(--line-strong); background: var(--sunk); }
.sh-head { position: absolute; left: 0; top: 0; right: 0; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; background: var(--surface); font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line); }
.sh-head b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-head .sh-n { margin-left: auto; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gnode { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 8px; padding: 4px 8px 4px 4px; background: transparent; border: 1px solid transparent; border-radius: var(--radius); text-align: left; color: var(--ink); line-height: 1.35; font-size: inherit; transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, border-color .2s ease; }
.gnode:hover { background: var(--surface); border-color: var(--line-strong); }
.gnode .gd { width: 11px; height: 11px; margin-top: 4px; box-shadow: 0 0 0 2px var(--surface); }
.gnode.spec .gd { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.gnode.fold .gd { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--muted), 0 0 0 2px var(--surface); }
.gnode.fold b { color: var(--accent); }
.gl { display: grid; min-width: 0; flex: 1; }
.gl b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-strong); padding: 0 4px; margin-right: 5px; line-height: 1.35; }
.gl .mbar { display: block; height: 3px; margin-top: 3px; background: var(--line); overflow: hidden; }
.gl .mbar i { display: block; height: 100%; background: var(--n-case); }
.gl .rels { display: flex; gap: 4px; margin-top: 4px; min-width: 0; overflow: hidden; }
.gnode.sel { background: var(--sel); border-color: var(--accent); box-shadow: 0 2px 8px var(--shadow); transform: translateY(-1px) scale(1.02); z-index: 4; }
.gnode.hl { background: var(--surface); border-color: var(--hl); box-shadow: 0 0 0 1px var(--hl), 0 2px 8px var(--shadow); transform: translateY(-1px); z-index: 3; animation: pop .5s cubic-bezier(.22, 1.2, .36, 1); }
.gnode.off { opacity: .4; }
@keyframes pop { 0% { transform: translateY(0) scale(1); } 45% { transform: translateY(-4px) scale(1.04); } 100% { transform: translateY(-1px) scale(1); } }
.rcap { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; flex: none; border: 1px solid var(--hl); background: var(--surface); border-radius: var(--radius); padding: 0 6px; font-size: 11px; font-weight: 600; line-height: 17px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: popin .3s cubic-bezier(.22, 1.2, .36, 1); }
.rcap .ln { width: 12px; }
@keyframes popin { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
svg .e { fill: none; stroke: var(--line-strong); stroke-width: 1.4; transition: opacity .25s ease, stroke-width .25s ease; }
svg .e.cite { stroke: var(--n-guide); }
svg .e.share { stroke: var(--n-guide); stroke-dasharray: 5 4; }
svg .e.ed { stroke: var(--n-law); stroke-dasharray: 5 4; }
svg .e.same { stroke: var(--n-law); }
svg .e.sim { stroke: var(--muted); stroke-dasharray: 2 3; }
svg .e.case { stroke: var(--n-case); }
svg .e.firm { stroke: var(--n-site); }
svg .e.date { stroke: var(--n-event); }
svg .e.note { stroke: var(--n-note); }
svg .e.hot { stroke-width: 2.6; }
svg .e.dim { opacity: .14; }

/* selected-item panel */
.card { background: transparent; border: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.card * { min-width: 0; }
.selcard { border-top: 2px solid var(--accent); padding-top: 12px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.eyebrow2 { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.card-name { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.45; overflow-wrap: anywhere; }
.card-sub { font-size: 13.5px; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: 13.5px; line-height: 1.55; }
.kv dt { color: var(--muted); max-width: 12em; overflow-wrap: anywhere; }
.kv dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cnotes { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--muted); display: grid; gap: 3px; }
.relgrp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.relh { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.relh b { color: var(--ink); font-weight: 600; }
.relb { font-size: 12px; color: var(--muted); }
.chiprow { display: flex; flex-wrap: wrap; gap: 6px; max-height: 260px; overflow: auto; }
.cchip { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 3px 9px; font-size: 12.5px; line-height: 1.4; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; min-height: 28px; }
.cchip:hover { border-color: var(--accent); color: var(--accent); }
.linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13.5px; }
.linkrow a { color: var(--accent); font-weight: 600; }
.linkrow a.go { color: var(--accent); font-weight: 400; }

.graph-notes ul { margin: 0; padding-left: 1.2em; font-size: 12.5px; color: var(--muted); line-height: 1.7; max-width: 52em; }

/* colophon */
.colophon { padding: 28px 48px 32px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.colophon b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .gnode, .rcap, svg .e, .bd-card { transition: none; animation: none !important; }
  .gnode.hl, .gnode.sel { transform: none; }
}
@media (max-width: 960px) {
  .gbody { grid-template-columns: minmax(0, 1fr); }
  .canvas { border-right: 0; border-bottom: 1px solid var(--line); }
  .side { padding: 16px 0; }
  .toc { grid-template-columns: minmax(0, 1fr); }
  .spine .brand small { display: none; }
}
@media (max-width: 820px) {
  .bd-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  section.leaf { padding: 40px 16px 44px; gap: 26px; }
  section.leaf.cover { padding: 0; }
  .cover-band { padding: 44px 16px 26px; gap: 28px; }
  .cover-title h1 { font-size: 38px; }
  .cover-title .week { font-size: 19px; margin-top: 8px; }
  .cover-meta { gap: 2px 20px; }
  .toc { padding: 32px 16px 34px; }
  .colophon { padding: 20px 16px; }
  .ch-head { gap: 10px 14px; }
  .ch-head .no { font-size: 42px; grid-row: auto; }
  .ch-head h2 { font-size: 27px; align-self: center; }
  .ch-head .promise, .points { grid-column: 1 / -1; }
  .ch-head .promise, .points { font-size: 16.5px; }
  .sec-head h2 { font-size: 28px; }
  .chapter-body { gap: 44px; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger li { border-bottom: 1px solid var(--line); }
  .ledger li:nth-child(even) { border-right: 0; }
  .ledger a, .ledger .ledg { padding: 16px 16px 14px; }
  .ledger b { font-size: 30px; }
  .spine { padding: 0 8px 0 16px; gap: 10px; }
  .spine .brand small { display: none; }
  .keys li { grid-template-columns: 26px minmax(0, 1fr); gap: 6px 12px; padding: 20px 0; }
  .keys li::before { font-size: 22px; }
  .key-text { font-size: 16px; }
  .acts .key-text { font-size: 16px; }
  .article-title { font-size: 23px; }
  .dek { font-size: 16.5px; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv dt { max-width: none; }
  .bd-detail .kv { grid-template-columns: max-content minmax(0, 1fr); }
  .bd-days { gap: 3px; }
  .bd-day { min-height: 70px; padding: 8px 1px 6px; justify-items: center; text-align: center; }
  .bd-day[aria-pressed="true"] { padding-left: 1px; }
  .bd-d { flex-direction: column; align-items: center; gap: 0; }
  .bd-d b { font-size: 13px; }
  .bd-dots { justify-content: center; gap: 3px; }
  .bd-dots .jdot { width: 8px; height: 8px; }
  .bd-dn { font-size: 11.5px; }
  .fold-body { padding: 24px 0 28px; gap: 38px; }
  .tl-axis { display: none; }
  .tl-row { grid-template-columns: minmax(0, 1fr); }
  .tl-dates, .tl-note { grid-column: 1; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 4em; gap: 2px 10px; }
  .bar-label { grid-column: 1 / -1; }
  .conn-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .conn-label { grid-column: 1 / -1; }
  .sched-list { padding: 0; }
  .sched-item summary { grid-template-columns: 3.2em minmax(0, 1fr) 14px; gap: 10px; }
  .sched-body { padding-left: calc(3.2em + 10px); }
  .sched-week-n { margin-left: 0; flex-basis: 100%; padding-left: 20px; }
  .wk-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marks div { grid-template-columns: 1fr; gap: 2px; }
  .theme { padding: 18px 0 28px; }
  .tbl-wrap { border: 0; background: transparent; }
  .tbl.stack { border-top: 1px solid var(--rule); }
  .tbl.stack thead, .tbl.stack colgroup { display: none; }
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td, .tbl.stack th { display: block; width: 100%; }
  .tbl.stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl.stack td { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 10px; border: 0; padding: 2px 0; }
  .tbl.stack td::before { content: attr(data-label); font-size: 12px; color: var(--muted); font-weight: 600; padding-top: 2px; }
  .tbl.stack td.c-title { display: block; min-width: 0; }
  .tbl.stack td.c-title::before { content: none; }
  .tbl.stack td.num { text-align: left; }
  .tbl.stack td:empty { display: none; }
  .gtbl .g-note td, .gtbl .g-group th { display: block; }
  .gtbl .g-note td::before { content: none; }
  details.fold > .tbl-wrap { padding: 0 0 8px; }
  details.more > .tbl { margin-top: 0; }
}
@media print {
  .spine, .gctl, .skip, .js .bd-statusrow { display: none; }
  body { background: #fff; }
  .page { padding: 0; max-width: none; }
  .book { border: 0; }
  .cover-band { background: transparent; color: var(--ink); border-bottom: 2px solid var(--ink); padding: 48px 0 24px; }
  .cover-top .brand, .cover-title h1, .cover-meta b { color: var(--ink); }
  .cover-top .brand small, .cover-title .week, .cover-meta { color: var(--muted); }
  .cover-meta { border-top-color: var(--line); }
  section.leaf { break-inside: auto; padding-left: 0; padding-right: 0; }
  .chapter { break-before: page; }
  .tbl tr, .keys li, .bd-card, .sched-item, .theme { break-inside: avoid; }
  svg .e.dim { opacity: 1; }
  .gnode.off, .bd-card.off { opacity: 1; }
  .gbody { grid-template-columns: minmax(0, 1fr); }
  .canvas { border-right: 0; }
}

/* article paragraphs: short label and bullet list (2026-11-15) */
.para-head { font-size: 15px; font-weight: 600; color: var(--ink); margin: 28px 0 6px; letter-spacing: 0; }
.para-list { font-size: 16px; line-height: 1.75; margin: 6px 0 10px; padding-left: 22px; max-width: var(--measure); }
.para-list li { margin: 4px 0; }
.para-list li::marker { color: var(--muted); }
.para-list.unverified { border-left: 2px solid var(--warn-line); padding-left: 34px; }

/* old-versus-new comparison: highlight colours are functional, kept calm */
.blk-diff .diff-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 13px; margin: 12px 0 16px; color: var(--muted); }
.blk-diff mark { padding: 1px 2px; border-radius: 1px; color: inherit; }
.blk-diff mark.hl-old { background: var(--mk-old); text-decoration: line-through; text-decoration-color: var(--mk-old-line); }
.blk-diff mark.hl-new { background: var(--mk-new); }
.diff-g { margin: 0; }
.diff-g > summary { font-weight: 600; }
.diff-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 0 2px; margin-right: 4px; color: var(--muted); }
.diff-tag.tag-new { color: var(--ink); box-shadow: inset 0 -.5em 0 var(--mk-new); }
.diff-tag.tag-del { color: var(--ink); box-shadow: inset 0 -.5em 0 var(--mk-old); }
.diff-t { margin-top: 4px; border: 0; border-bottom: 1px solid var(--line-strong); }
.diff-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.diff-row > div { padding: 12px 0; font-size: 15px; line-height: 1.75; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.diff-row.diff-h > div { border-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--muted); background: transparent; padding: 8px 0; border-bottom: 1px solid var(--line-strong); }
.diff-row.diff-h + .diff-row > div { border-top: 0; }
.diff-same, .diff-void { color: var(--muted); }
.diff-void { font-size: 12.5px; }
@media (max-width: 720px) {
  .diff-row { grid-template-columns: 1fr; }
  .diff-row.diff-h { display: none; }
  .diff-row .diff-old::before { content: "개정 전"; }
  .diff-row .diff-new::before { content: "개정 후"; }
  .diff-row .diff-old::before, .diff-row .diff-new::before { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: var(--muted); margin-bottom: 2px; }
  .diff-row .diff-new { border-top-style: dashed; }
}

/* ---- 2026-11-15 reader revision: action list first, field tags, briefs, insight lines ---- */
.ftag { display: inline-block; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.ftag + .ftag { padding-left: 9px; margin-left: 9px; border-left: 1px solid var(--line-strong); }
.ftag.f-api, .ftag.f-bio, .ftag.f-drug, .ftag.f-dev, .ftag.f-cos, .ftag.f-nar, .ftag.f-etc { color: var(--muted); }
.glance-lead { max-width: 40em; font-size: 18px; line-height: 1.6; color: var(--accent); margin: 0 0 8px; }
.glance-note { max-width: 44em; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.ffilter { display: flex; flex-wrap: wrap; gap: 0 2px; align-items: center; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.ffilter[hidden] { display: none; }
.ffilter-k { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-right: 14px; }
.ffilter-note { font-size: 12px; color: var(--faint); margin-left: auto; }
.fbtn { font: inherit; font-size: 13.5px; padding: 9px 9px 8px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0; background: transparent; color: var(--muted); cursor: pointer; min-height: 40px; }
.fbtn:hover { color: var(--ink); }
.fbtn.on { background: transparent; color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.fbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.acts .act-head { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 0; align-items: center; }
.act-when { font-size: 12px; font-weight: 600; color: var(--ink); margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.3; font-variant-numeric: tabular-nums; }
.act-head > .act-when:first-child { margin-left: 0; padding-left: 0; border-left: 0; }
.acts .key-text { font-size: 17px; }
.act-do { grid-column: 2; max-width: 42em; font-size: 15px; line-height: 1.65; border-left: 2px solid var(--accent); padding: 1px 0 2px 14px; margin-top: 4px; }
.act-do b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; color: var(--accent); margin: 0 0 1px; }
.tocleaf .toc { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.howto-fold { align-self: start; margin-top: 30px; }
.howto-fold > summary { font-size: 14px; }
.howto-fold .howto { padding: 16px 0 18px; }
.brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin: 0 0 6px; border-top: 1px solid var(--rule); max-width: 60em; }
.brief > div { padding: 12px 0 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.brief dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 3px; }
.brief dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.a-detail { margin-top: 14px; }
.a-detail > .a-body { padding: 10px 0 22px; }
.insight { max-width: 46em; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; border-left: 2px solid var(--accent); padding: 2px 0 2px 16px; margin: 0 0 16px; }
.insight b { font-size: 12px; color: var(--accent); letter-spacing: .04em; white-space: nowrap; }
.insight p { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 500; color: var(--ink); }
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 52em; border-top: 1px solid var(--rule); }
.cases li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.case-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0; }
.case-name { font-weight: 600; font-size: 16px; }
.case-name a { color: var(--ink); text-decoration-color: var(--line-strong); }
.case-name a:hover { color: var(--accent); }
.case-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 12.5px; color: var(--muted); }
.case-meta b { color: var(--ink); font-weight: 400; }
.case-text { margin: 0; font-size: 15.5px; line-height: 1.7; }
.renum { margin: 12px 0 18px; max-width: 60em; }
.renum-t td, .renum-t th { font-size: 14px; padding: 7px 14px 7px 0; }
.renum-t td:first-child { font-weight: 600; }
.renum-t td b { font-weight: 600; color: var(--accent); }
.diff-minor { margin-top: 0; }
.diff-minor-body { padding: 10px 0 12px; display: grid; gap: 8px; }
.diff-wrap { gap: 12px; padding: 16px 0 18px; }
.sched-gist { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 2px; font-weight: 400; }
.sched-tags .ftag { margin-left: 0; }
.bd-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 2px; }
.bd-gist { grid-column: 2; display: block; font-size: 13px; line-height: 1.5; color: var(--ink); margin-top: 4px; }
body[data-f="drug"] [data-tags]:not([data-tags~="drug"]), body[data-f="api"] [data-tags]:not([data-tags~="api"]), body[data-f="bio"] [data-tags]:not([data-tags~="bio"]),
body[data-f="dev"] [data-tags]:not([data-tags~="dev"]), body[data-f="cos"] [data-tags]:not([data-tags~="cos"]), body[data-f="nar"] [data-tags]:not([data-tags~="nar"]),
body[data-f="etc"] [data-tags]:not([data-tags~="etc"]) { display: none; }
@media (max-width: 720px) {
  .brief { grid-template-columns: minmax(0, 1fr); }
  .tocleaf .toc { grid-template-columns: minmax(0, 1fr); }
  .howto-fold { margin-top: 0; }
  .insight { grid-template-columns: minmax(0, 1fr); }
  .ffilter-note { flex-basis: 100%; margin-left: 0; padding: 4px 0 8px; }
  .ffilter-k { flex-basis: 100%; margin: 0 0 2px; }
  .fbtn { padding: 6px 8px 5px; min-height: 36px; }
  .renum-t td:nth-child(-n+2) { white-space: nowrap; }
  .renum-t td, .renum-t th { font-size: 13px; padding-right: 10px; }
}
@media print { .ffilter { display: none; } .a-detail > summary, .diff-all > summary { display: none; } }

/* source instrument of an action item (which statute was amended or which draft was posted) */
.act-law { grid-column: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; align-items: baseline; margin: 2px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--accent); max-width: 46em; }
.act-law b { grid-row: 1 / span 4; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.act-law span { grid-column: 2; display: block; }

/* generated position steps (no inline styles) */
.w-0{width:0%}
.w-1{width:1%}
.w-2{width:2%}
.w-3{width:3%}
.w-4{width:4%}
.w-5{width:5%}
.w-6{width:6%}
.w-7{width:7%}
.w-8{width:8%}
.w-9{width:9%}
.w-10{width:10%}
.w-11{width:11%}
.w-12{width:12%}
.w-13{width:13%}
.w-14{width:14%}
.w-15{width:15%}
.w-16{width:16%}
.w-17{width:17%}
.w-18{width:18%}
.w-19{width:19%}
.w-20{width:20%}
.w-21{width:21%}
.w-22{width:22%}
.w-23{width:23%}
.w-24{width:24%}
.w-25{width:25%}
.w-26{width:26%}
.w-27{width:27%}
.w-28{width:28%}
.w-29{width:29%}
.w-30{width:30%}
.w-31{width:31%}
.w-32{width:32%}
.w-33{width:33%}
.w-34{width:34%}
.w-35{width:35%}
.w-36{width:36%}
.w-37{width:37%}
.w-38{width:38%}
.w-39{width:39%}
.w-40{width:40%}
.w-41{width:41%}
.w-42{width:42%}
.w-43{width:43%}
.w-44{width:44%}
.w-45{width:45%}
.w-46{width:46%}
.w-47{width:47%}
.w-48{width:48%}
.w-49{width:49%}
.w-50{width:50%}
.w-51{width:51%}
.w-52{width:52%}
.w-53{width:53%}
.w-54{width:54%}
.w-55{width:55%}
.w-56{width:56%}
.w-57{width:57%}
.w-58{width:58%}
.w-59{width:59%}
.w-60{width:60%}
.w-61{width:61%}
.w-62{width:62%}
.w-63{width:63%}
.w-64{width:64%}
.w-65{width:65%}
.w-66{width:66%}
.w-67{width:67%}
.w-68{width:68%}
.w-69{width:69%}
.w-70{width:70%}
.w-71{width:71%}
.w-72{width:72%}
.w-73{width:73%}
.w-74{width:74%}
.w-75{width:75%}
.w-76{width:76%}
.w-77{width:77%}
.w-78{width:78%}
.w-79{width:79%}
.w-80{width:80%}
.w-81{width:81%}
.w-82{width:82%}
.w-83{width:83%}
.w-84{width:84%}
.w-85{width:85%}
.w-86{width:86%}
.w-87{width:87%}
.w-88{width:88%}
.w-89{width:89%}
.w-90{width:90%}
.w-91{width:91%}
.w-92{width:92%}
.w-93{width:93%}
.w-94{width:94%}
.w-95{width:95%}
.w-96{width:96%}
.w-97{width:97%}
.w-98{width:98%}
.w-99{width:99%}
.w-100{width:100%}
.l-0{left:0%}
.l-1{left:1%}
.l-2{left:2%}
.l-3{left:3%}
.l-4{left:4%}
.l-5{left:5%}
.l-6{left:6%}
.l-7{left:7%}
.l-8{left:8%}
.l-9{left:9%}
.l-10{left:10%}
.l-11{left:11%}
.l-12{left:12%}
.l-13{left:13%}
.l-14{left:14%}
.l-15{left:15%}
.l-16{left:16%}
.l-17{left:17%}
.l-18{left:18%}
.l-19{left:19%}
.l-20{left:20%}
.l-21{left:21%}
.l-22{left:22%}
.l-23{left:23%}
.l-24{left:24%}
.l-25{left:25%}
.l-26{left:26%}
.l-27{left:27%}
.l-28{left:28%}
.l-29{left:29%}
.l-30{left:30%}
.l-31{left:31%}
.l-32{left:32%}
.l-33{left:33%}
.l-34{left:34%}
.l-35{left:35%}
.l-36{left:36%}
.l-37{left:37%}
.l-38{left:38%}
.l-39{left:39%}
.l-40{left:40%}
.l-41{left:41%}
.l-42{left:42%}
.l-43{left:43%}
.l-44{left:44%}
.l-45{left:45%}
.l-46{left:46%}
.l-47{left:47%}
.l-48{left:48%}
.l-49{left:49%}
.l-50{left:50%}
.l-51{left:51%}
.l-52{left:52%}
.l-53{left:53%}
.l-54{left:54%}
.l-55{left:55%}
.l-56{left:56%}
.l-57{left:57%}
.l-58{left:58%}
.l-59{left:59%}
.l-60{left:60%}
.l-61{left:61%}
.l-62{left:62%}
.l-63{left:63%}
.l-64{left:64%}
.l-65{left:65%}
.l-66{left:66%}
.l-67{left:67%}
.l-68{left:68%}
.l-69{left:69%}
.l-70{left:70%}
.l-71{left:71%}
.l-72{left:72%}
.l-73{left:73%}
.l-74{left:74%}
.l-75{left:75%}
.l-76{left:76%}
.l-77{left:77%}
.l-78{left:78%}
.l-79{left:79%}
.l-80{left:80%}
.l-81{left:81%}
.l-82{left:82%}
.l-83{left:83%}
.l-84{left:84%}
.l-85{left:85%}
.l-86{left:86%}
.l-87{left:87%}
.l-88{left:88%}
.l-89{left:89%}
.l-90{left:90%}
.l-91{left:91%}
.l-92{left:92%}
.l-93{left:93%}
.l-94{left:94%}
.l-95{left:95%}
.l-96{left:96%}
.l-97{left:97%}
.l-98{left:98%}
.l-99{left:99%}
.l-100{left:100%}
