/* Plain, quiet, readable. Colour is used only to say what kind of source a thing comes from. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #191f28;
  --ink-2: #333d4b;
  --muted: #6b7684;
  --line: #f2f4f6;
  --line-strong: #e5e8eb;
  --control-line: #8a8f9a;
  --accent: #1b64da;
  --accent-soft: #e8f3ff;
  --on-accent: #ffffff;
  --doc-bg: #f9fafb;
  --derived-bg: #f0f0ee;
  --derived-line: #a9acb4;
  --changed-bg: #fff3c4;
  --tag-confirmed-fg: #135a40;
  --tag-confirmed-bg: #e1f1e8;
  --tag-progress-fg: #1f4e8c;
  --tag-progress-bg: #e6eef9;
  --tag-done-fg: #454c5a;
  --tag-done-bg: #eceef2;
  --tag-announce-fg: #7a4d00;
  --tag-announce-bg: #fbefd2;
  --warn-fg: #2f3440;
  --warn-bg: #eef0f4;
  --shadow: none;
  --radius: 16px;
  --band: #f2f4f6;
  --heat-bg: #fff1e6;
  --heat-fg: #c2410c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101318;
    --surface: #101318;
    --ink: #f2f4f6;
    --ink-2: #d1d6db;
    --muted: #9ba3ad;
    --line: #1e2228;
    --line-strong: #2b3038;
    --control-line: #7b8290;
    --accent: #4e94f8;
    --accent-soft: #14284a;
    --on-accent: #0f1a2c;
    --doc-bg: #161920;
    --derived-bg: #23262d;
    --derived-line: #5b606c;
    --changed-bg: #3a3214;
    --tag-confirmed-fg: #8fdcb8;
    --tag-confirmed-bg: #17332a;
    --tag-progress-fg: #9fc2f3;
    --tag-progress-bg: #1c2b44;
    --tag-done-fg: #b8bfcc;
    --tag-done-bg: #262a33;
    --tag-announce-fg: #f0c978;
    --tag-announce-bg: #332a14;
    --warn-fg: #d4d9e3;
    --warn-bg: #272b33;
    --shadow: none;
    --band: #1b1f25;
    --heat-bg: #3a2412;
    --heat-fg: #ffa26b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(1.45rem, 4.2vw, 2rem); font-weight: 780; text-wrap: balance; }
time, .ext, .card-source a, .button { white-space: nowrap; }
.absent-note { margin: 6px 0 0; padding: 6px 10px; background: var(--warn-bg); color: var(--warn-fg); border-radius: 8px; font-size: 0.9rem; }
.gloss { color: var(--muted); font-size: 0.9rem; margin: 2px 0 0; }
.budget-line { color: var(--ink-2); font-size: 0.93rem; margin: 0 0 4px; }
h2 { font-size: 1.15rem; font-weight: 720; margin-top: 2rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0.5rem 0; }
code { background: var(--accent-soft); padding: 0.05em 0.35em; border-radius: 5px; font-size: 0.9em; }
.muted { color: var(--muted); font-size: 0.9rem; }
.note { color: var(--ink-2); font-size: 0.92rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 8px 14px; z-index: 10; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
/* Reading width for the content, aligned with the left edge of the header. */
main.narrow > * { max-width: 780px; }
main.wrap { padding-top: 28px; padding-bottom: 56px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); position: relative; display: inline-block; }
.brand-mark::before { content: ""; position: absolute; left: 5px; bottom: 5px; width: 3px; height: 6px; background: var(--on-accent); box-shadow: 5px -3px 0 var(--on-accent), 10px -6px 0 var(--on-accent); border-radius: 1px; }
.soon-badge { font-size: 0.78rem; font-weight: 650; background: transparent; color: var(--muted); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }

/* Intro and chips */
.intro { margin-bottom: 18px; }
.intro p { color: var(--ink-2); margin-top: 8px; max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink-2); background: var(--surface); font-size: 0.92rem; font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Promo */
.promo { display: grid; gap: 2px; padding: 16px 20px; margin: 0 0 14px; background: var(--accent-soft); border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.promo:hover { border-color: var(--accent); }
.promo strong { font-size: 1.05rem; }
.promo-kicker { font-size: 0.78rem; font-weight: 750; color: var(--accent); letter-spacing: 0.02em; }
.promo-body { color: var(--ink-2); font-size: 0.93rem; }

/* Cards */
.feed { display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 14px; box-shadow: var(--shadow); position: relative; }
.card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--tag-progress-fg); }
.card.tone-confirmed::before { background: var(--tag-confirmed-fg); }
.card.tone-done::before { background: var(--tag-done-fg); }
.card-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kind { font-size: 0.8rem; font-weight: 750; color: var(--ink-2); }
.card-title { margin-top: 6px; font-size: 1.08rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); text-decoration: underline; }
.card-status { color: var(--ink-2); font-size: 0.93rem; margin: 4px 0 0; }
.card-meta { color: var(--ink-2); font-size: 0.92rem; margin: 6px 0 0; }
.card-source { color: var(--muted); font-size: 0.88rem; margin: 6px 0 0; }
.card-source a { padding: 8px 2px; }
.date-label { font-weight: 700; color: var(--ink-2); }
.staged { color: var(--warn-fg); font-weight: 650; }
.more { text-align: center; margin: 24px 0 0; }
.empty, .empty-note { color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 16px; }

/* Section labels, sort rule, source strip */
.section-label { font-size: 0.95rem; font-weight: 750; color: var(--ink-2); margin: 22px 0 10px; letter-spacing: 0; }
.sort-note { color: var(--muted); font-size: 0.9rem; margin: 0 0 4px; }
.lead { margin-bottom: 4px; }
.source-strip { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 14px 0; }
.source-line { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.source-actions { margin: 10px 0 8px; }
.source-disclaimer { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Tags and pills */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; padding: 3px 11px 3px 9px; border-radius: 999px; line-height: 1.5; cursor: help; border: 1px solid currentColor; }
.tag-shape { width: 9px; height: 9px; border-radius: 50%; flex: none; border: 2px solid currentColor; box-sizing: border-box; }
.tag-confirmed { color: var(--tag-confirmed-fg); background: var(--tag-confirmed-bg); }
.tag-confirmed .tag-shape { background: currentColor; }
.tag-progress { color: var(--tag-progress-fg); background: var(--tag-progress-bg); }
.tag-progress .tag-shape { background: transparent; }
.tag-done { color: var(--tag-done-fg); background: var(--tag-done-bg); }
.tag-done .tag-shape { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.tag-announce { color: var(--tag-announce-fg); background: var(--tag-announce-bg); }
.tag-announce .tag-shape { border-radius: 2px; background: transparent; }
.tag-press { color: var(--muted); border-style: dashed; background: transparent; }
.tag-press .tag-shape { border-radius: 2px; border-style: dotted; }
.notice-tag { margin: 6px 0 0; font-size: 0.92rem; color: var(--ink-2); font-weight: 600; }
.notice-tag.quiet { color: var(--muted); font-weight: 500; }

/* Buttons and forms */
.button { display: inline-block; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); border-radius: 10px; padding: 9px 18px; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; line-height: 1.4; }
.button:hover { filter: brightness(1.08); text-decoration: none; }
.button.ghost { background: transparent; color: var(--accent); }
.form { display: grid; gap: 10px; margin: 16px 0; max-width: 520px; }
.form label { font-weight: 650; font-size: 0.95rem; }
.form input[type="email"], .form input[type="text"], .form textarea, .filter input[type="search"] { width: 100%; font: inherit; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--control-line); background: var(--surface); color: var(--ink); }
.form textarea { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--ink-2); font-size: 0.9rem !important; }
.check { min-height: 44px; align-items: center; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
::placeholder { color: var(--muted); opacity: 1; }
.form-error { background: var(--warn-bg); color: var(--warn-fg); border-radius: 10px; padding: 10px 14px; margin: 0; font-weight: 650; }
.form-ok { background: var(--tag-confirmed-bg); color: var(--tag-confirmed-fg); border-radius: 10px; padding: 12px 16px; font-weight: 650; }
.filter { display: flex; gap: 8px; margin: 12px 0; max-width: 520px; }
.filter input[type="search"] { flex: 1; min-width: 0; }
.filter .button { white-space: nowrap; flex: none; }

/* Detail pages */
.detail { background: transparent; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.detail-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.status-line { color: var(--ink-2); margin-top: 6px; }
.disclaimer-line { font-size: 0.88rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 14px 0; }
.law-status { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--tag-confirmed-fg); border-radius: 12px; padding: 12px 16px; margin: 14px 0; }
.law-status.phase-scheduled { border-left-color: var(--tag-announce-fg); }
.law-status.phase-unknown { border-left-color: var(--muted); }
.status-main { margin: 2px 0; }
.status-note { margin: 6px 0 0; padding: 6px 10px; background: var(--warn-bg); color: var(--warn-fg); border-radius: 8px; font-size: 0.92rem; }
.notice-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 14px 0; }
.notice-box h2 { margin: 0 0 4px; font-size: 1rem; }
.notice-text { font-weight: 750; margin: 0; }
.doc { background: var(--doc-bg); border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: 12px; padding: 4px 18px 14px; margin: 18px 0; }
.doc h2 { margin-top: 14px; }
.label-original { display: inline-block; font-size: 0.82rem; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 7px; margin-left: 6px; vertical-align: middle; letter-spacing: 0; }
.doc-text { white-space: pre-wrap; overflow-wrap: anywhere; word-break: keep-all; font: inherit; font-size: 0.95rem; line-height: 1.85; margin: 8px 0; }
.stages { margin-top: 10px; }
.stages summary, .doc details summary, .supp summary { cursor: pointer; color: var(--accent); font-weight: 650; padding: 10px 0; min-height: 44px; }
.source { border-top: 1px solid var(--line); margin-top: 28px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--doc-bg); font-weight: 700; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th[scope="row"] { font-weight: 600; min-width: 9em; }
.plain-table th, .plain-table td { padding: 6px 12px; }
.cmp .no, .cmp th.no { width: 3.5em; color: var(--muted); }
.cmp td { width: 46%; }
.cmp .cell, .plain-list .cell { white-space: pre-wrap; font: inherit; font-size: 0.93rem; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
tr.changed td, li.changed { background: var(--changed-bg); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plain-list { margin: 8px 0; padding-left: 0; list-style: none; }
.plain-list li { display: grid; grid-template-columns: 2.5em 1fr; gap: 6px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.year-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.year-item { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.year-item a { color: var(--ink); text-decoration: none; }
.year-item a:hover { color: var(--accent); text-decoration: underline; }
.budget-table .sub { display: block; font-weight: 650; }
.budget-table .path { display: block; color: var(--muted); font-size: 0.84rem; font-weight: 500; }
.budget-table .link-status { color: var(--muted); font-size: 0.82rem; min-width: 11em; }
.budget-table th.derived, .budget-table td.derived { background: var(--derived-bg); border-left: 1px dashed var(--derived-line); border-right: 1px dashed var(--derived-line); }
.budget-table thead th.derived { border-bottom-color: var(--derived-line); }
.budget-table td.derived { color: var(--ink-2); }
.derived-note, .derived-label { display: none; }
.derived-row { display: inline; }
.budget-table thead th.official { border-bottom: 1px solid var(--line); }
.budget-table tr.group th { text-align: center; }
.budget-table th[rowspan] { vertical-align: bottom; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 18px 0; }
.supp { font-weight: 500; font-size: 0.9rem; margin-top: 4px; }
.supp ul { margin: 4px 0 0; padding-left: 1.2em; color: var(--ink-2); }

/* Prose and special panels */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.tag-legend, .terms { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; align-items: baseline; }
.tag-legend dd, .terms dd { margin: 0; color: var(--ink-2); }
.terms dt { font-weight: 700; }
.soon-panel { max-width: 560px; margin: 16px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 24px; }
.soon-kicker { color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); display: inline-block; font-weight: 750; font-size: 0.82rem; border-radius: 999px; padding: 2px 12px; margin: 0 0 10px; }
.plain { text-align: center; padding: 48px 0; }
main.plain { max-width: 560px; margin: 0 auto; padding: 64px 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 22px 0 36px; color: var(--muted); font-size: 0.86rem; }
.disclaimer { color: var(--ink-2); margin: 0 0 8px; max-width: 80ch; }
.fresh { margin: 6px 0; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 0; }
.foot-links a { color: var(--muted); padding: 8px 0; display: inline-block; }

@media (max-width: 640px) {
  .budget-table, .budget-table tbody, .budget-table tr, .budget-table th, .budget-table td { display: block; width: 100%; }
  .budget-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-scroll:has(.budget-table) { border: 0; background: transparent; overflow: visible; }
  .budget-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 12px 14px; }
  .budget-table th[scope="row"], .budget-table td { border: 0; padding: 0; }
  .budget-table th[scope="row"] { margin-bottom: 8px; font-size: 1rem; }
  .budget-table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; text-align: right; }
  .budget-table td::before { content: attr(data-label); color: var(--muted); font-size: 0.88rem; text-align: left; font-weight: 500; }
  .budget-table td.derived { background: var(--derived-bg); border: 0; padding: 4px 10px; border-left: 3px dashed var(--derived-line); }
  .budget-table td.first-derived { flex-wrap: wrap; padding-top: 8px; }
  .budget-table td.first-derived::before { content: none; }
  .budget-table .derived-note { display: block; flex-basis: 100%; text-align: left; font-size: 0.86rem; font-weight: 650; color: var(--ink-2); margin-bottom: 2px; }
  .budget-table .derived-row { display: flex; justify-content: space-between; width: 100%; }
  .budget-table .derived-label { display: inline; color: var(--muted); font-size: 0.88rem; font-weight: 500; text-align: left; }
  .budget-table td.link-status { display: block; text-align: left; margin-top: 8px; font-size: 0.88rem; }
  .budget-table td.link-status::before { display: block; margin-bottom: 2px; }
  .wrap { padding: 0 16px; }
  main.wrap { padding-top: 20px; }
  .card { padding: 14px 16px 12px; }
  .two-col { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dt { margin-top: 8px; }
  .tag-legend, .terms { grid-template-columns: 1fr; gap: 2px; }
  .tag-legend dd, .terms dd { margin-bottom: 10px; }
  .soon-panel { padding: 22px 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card, .chip, .promo, .button { transition: border-color 0.15s, background-color 0.15s, filter 0.15s; }
}
@media print {
  .site-header, .scope, .site-footer .foot-links, .chips, .actions { display: none; }
  body { background: #fff; color: #000; }
}

/* News headlines */
.news-list { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.news-item { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-head { margin: 0; font-weight: 650; line-height: 1.5; }
.news-head a { color: var(--ink); text-decoration: none; white-space: normal; }
.news-head a:hover { color: var(--accent); text-decoration: underline; }
.news-meta { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.news-meta .tag { font-size: 0.78rem; padding: 1px 9px 1px 7px; }
.outlet { font-weight: 650; color: var(--ink-2); }
.related-news { margin-top: 28px; }
.related-news h2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.name-search { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, #e3e3e3); }
.name-search h3 { margin: 0 0 4px; font-size: 1rem; }
.news-about { margin-top: 36px; }

.notice-quiet { color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 8px 12px; font-size: 0.92rem; margin: 8px 0; }
.placeholder { margin: 18px 0; padding: 14px 16px; border: 1px dashed var(--line, #c9c9c9); border-radius: 10px; }
.placeholder h2 { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.05rem; }
.placeholder.sample { border-style: solid; border-color: #b7791f; background: rgba(183, 121, 31, 0.07); }
.sample-flag { font-size: 0.78rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #b7791f; color: #fff; }
.sample-note { font-weight: 600; margin: 0 0 8px; }
.ai-points, .plan-samples { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 10px; }
.ai-points p, .plan-samples p { margin: 2px 0; }
.evidence { font-size: 0.9rem; color: var(--ink-2, #555); }
.verified { font-size: 0.8rem; margin-left: 6px; padding: 0 7px; border-radius: 999px; border: 1px solid currentColor; }
.plan-sample { padding: 8px 10px; border: 1px solid var(--line, #e3e3e3); border-radius: 8px; background: var(--card, transparent); }
.plan-title { font-weight: 650; }
.plan-meta { font-size: 0.88rem; color: var(--ink-2, #555); }
.demo-banner { position: sticky; top: 0; z-index: 50; padding: 8px 16px; text-align: center; font-size: 0.9rem; background: #b7791f; color: #fff; }
.ai-summary { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line, #d6d6d6); border-radius: 10px; }
.ai-summary h2 { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.05rem; }
.ai-label { font-size: 0.78rem; font-weight: 650; padding: 1px 9px; border-radius: 999px; border: 1px solid currentColor; color: var(--ink-2, #555); }
.evidence-box { margin-top: 4px; font-size: 0.9rem; }
.evidence-box summary { cursor: pointer; color: var(--ink-2, #555); }
.evidence-quote { margin: 6px 0 0; padding: 4px 10px; border-left: 3px solid var(--line, #c9c9c9); color: var(--ink-2, #555); }

/* Home: hero, week at a glance, lanes */
.hero h1 { margin-bottom: 14px; }
.search { display: flex; gap: 8px; margin: 0 0 12px; }
.search input, .filter input[type="search"], .filter select { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--control-line); border-radius: 12px; }
.week h2, .lane h2, .topics h2 { margin-top: 0; }
.week { margin: 22px 0 8px; }
.stats { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats a { display: flex; flex-direction: column-reverse; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); font-size: 0.88rem; font-weight: 650; line-height: 1.35; height: 100%; }
.stats a:hover { border-color: var(--accent); }
.stats strong { font-size: 1.7rem; line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; }
.lane { margin: 30px 0 0; }
.lane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lane-more { font-size: 0.9rem; font-weight: 650; white-space: nowrap; }
.lane-rule { color: var(--muted); font-size: 0.9rem; margin: 2px 0 12px; }
.topics { margin: 34px 0 0; }
.chip-count { color: var(--muted); font-weight: 600; margin-left: 4px; }
.chip[aria-current="true"] .chip-count { color: inherit; }

/* One card for every list: the stage first, the title, what it is about, then the small print */
.card::before { background: var(--tag-progress-fg); }
.card.stage-comment::before { background: var(--accent); width: 6px; }
.card.stage-upcoming::before { background: var(--tag-announce-fg); }
.card.stage-decided::before, .card.stage-inforce::before { background: var(--tag-confirmed-fg); }
.card.stage-ended::before, .card.stage-promulgated::before, .card.stage-unknown::before { background: var(--tag-done-fg); }
.stage-pill { display: inline-block; padding: 2px 11px; border-radius: 999px; font-size: 0.85rem; font-weight: 750; line-height: 1.5; color: var(--tag-progress-fg); background: var(--tag-progress-bg); }
.stage-pill-comment { color: var(--on-accent); background: var(--accent); }
.stage-pill-upcoming { color: var(--tag-announce-fg); background: var(--tag-announce-bg); }
.stage-pill-decided, .stage-pill-inforce { color: var(--tag-confirmed-fg); background: var(--tag-confirmed-bg); }
.stage-pill-ended, .stage-pill-promulgated, .stage-pill-unknown { color: var(--tag-done-fg); background: var(--tag-done-bg); }
.stage-detail { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.card-top .kind { margin-left: auto; color: var(--muted); font-weight: 650; }
.card-title { font-size: 1.12rem; margin-top: 8px; }
.card-summary { margin: 6px 0 0; color: var(--ink); font-size: 0.95rem; }
.ai-mini { display: inline-block; font-size: 0.72rem; font-weight: 750; padding: 0 7px; margin-right: 4px; border: 1px solid var(--control-line); border-radius: 999px; color: var(--ink-2); vertical-align: 1px; }
.card-status { font-size: 0.88rem; color: var(--muted); }
.card-meta { font-size: 0.88rem; color: var(--muted); margin-top: 2px; }
.card-source { margin-top: 8px; font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.card-source .tag { font-size: 0.74rem; padding: 1px 8px 1px 6px; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.browse-filter { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0; max-width: none; }
.browse-filter .button { width: 100%; }
@media (min-width: 720px) {
  .browse-filter { grid-template-columns: 2fr 2fr auto; }
  .browse-filter .button { width: auto; }
}

/* Second pass after the first critique: a short home page, one line of small print, numbers in one row */
.hero h1 { font-size: clamp(1.3rem, 5vw, 1.75rem); margin-bottom: 12px; }
.stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stats a { padding: 10px 10px 9px; font-size: 0.74rem; line-height: 1.3; border-radius: 12px; }
.stats strong { font-size: 1.35rem; }
.lane-count { font-size: 0.85rem; font-weight: 650; color: var(--muted); margin-left: 4px; }
.lane-all { display: block; width: 100%; margin: 12px 0 0; padding: 13px 16px; text-align: center; font-weight: 700; text-decoration: none; }
.lane-head { display: none; }
.card-source { flex-wrap: nowrap; gap: 8px; }
.card-source .muted { font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-source .tag { flex: none; white-space: nowrap; }
.card-meta { margin-top: 0; }

/* Detail pages: the stage first, a progress line, what can be done, the content, then the quiet small print */
.crumbs a { text-decoration: none; font-weight: 650; }
.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.detail-head .kind { margin-left: auto; }
.detail h1 { margin-top: 10px; }
.progress { list-style: none; display: flex; margin: 16px 0 6px; padding: 0; gap: 0; counter-reset: step; }
.progress li { flex: 1; position: relative; text-align: center; padding-top: 22px; font-size: 0.86rem; font-weight: 650; color: var(--muted); }
.progress li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 4px; background: var(--line-strong); }
.progress li::after { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); }
.progress li.done::before, .progress li.current::before { background: var(--accent); }
.progress li.done::after { background: var(--accent); border-color: var(--accent); }
.progress li.current { color: var(--ink); }
.progress li.current::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.progress li.current::before { right: 50%; }
.progress li:first-child::before { left: 50%; }
.progress li:last-child::before { right: 50%; }
.progress-end { padding: 10px 14px; margin: 14px 0 6px; background: var(--tag-done-bg); color: var(--tag-done-fg); border-radius: 12px; font-size: 0.95rem; }
.action { margin: 18px 0; padding: 14px 16px 12px; background: var(--accent-soft); border-radius: var(--radius); }
.action h2 { margin: 0 0 2px; font-size: 1.05rem; }
.action-when { font-weight: 750; margin: 0 0 6px; }
.action .actions { margin: 10px 0 2px; }
.action-quiet { color: var(--muted); font-size: 0.93rem; margin: 14px 0; }
.fold { margin: 22px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.fold > summary { cursor: pointer; padding: 10px 0; font-weight: 720; color: var(--ink); }
.fold[open] > summary { margin-bottom: 4px; }
.doc-fold { background: transparent; }
.source.quiet { margin-top: 30px; padding: 12px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.source.quiet h2 { margin: 0 0 4px; font-size: 0.92rem; color: var(--ink-2); }
.source.quiet p { margin: 3px 0; }
.source-links a { font-weight: 650; }

.ai-none { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; }

.term-link { color: inherit; text-decoration-color: var(--line-strong); }
.terms-group h2 { margin-top: 1.6rem; }
.terms dt { font-weight: 750; margin-top: 12px; }
.terms dd { margin: 2px 0 0; color: var(--ink-2); }

.quiet-links { margin: 26px 0 2px; font-size: 0.93rem; color: var(--ink-2); }
.related-quiet { margin-top: 8px; }
.related-quiet .muted { margin-top: 2px; }
.card-meta, .card-status { font-size: 0.9rem; }

/* After the toss guide: the whole card opens, long lists are flat rows, filters scroll on one line, safe areas */
.card { padding-right: 42px; transition: border-color 0.12s, background-color 0.12s; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; line-height: 1; color: var(--muted); pointer-events: none; }
.card:hover { border-color: var(--accent); }
.card:active { background: var(--accent-soft); }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.card .term-link, .card .tag { position: relative; z-index: 1; }
.card-title a:focus-visible { outline: none; }

.feed.list { gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card.row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 42px 12px 16px; background: transparent; }
.card.row:last-child { border-bottom: 0; }
.card.row::before { display: none; }
.card.row .card-title a::after { border-radius: 0; }
.card.row:hover { background: var(--accent-soft); border-color: var(--line); }
.card.row:focus-within { outline-offset: -3px; }

.tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 2px 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { flex: none; white-space: nowrap; }
@media (min-width: 1120px) { .tabs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }

.wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.demo-banner { padding-top: calc(8px + env(safe-area-inset-top)); }

/* The smallest phones (320 to 373px): two columns of numbers, a tighter menu and header */
@media (max-width: 374px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats a { padding: 10px 12px; font-size: 0.8rem; }
  .hsearch input { min-width: 0; }
  .bar { gap: 4px 12px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .tabs { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}

/* Third pass: number tiles that look openable, committees as rows, the search on one line, a small print that can be read */
.stats a { position: relative; }
.stats a::after { content: "›"; position: absolute; right: 10px; top: 8px; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.rowlinks { list-style: none; margin: 8px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rowlinks li + li { border-top: 1px solid var(--line); }
.rowlinks a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 650; position: relative; padding-right: 36px; }
.rowlinks a::after { content: "›"; position: absolute; right: 16px; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.rowlinks a:hover { background: var(--accent-soft); }
.rowlinks .count { color: var(--muted); font-weight: 600; font-size: 0.88rem; white-space: nowrap; }
.search-line { display: flex; gap: 8px; }
.search-line input { flex: 1; min-width: 0; }
.browse-filter { grid-template-columns: 1fr; }
.browse-filter .button { width: auto; }
@media (min-width: 720px) { .browse-filter { grid-template-columns: 3fr 2fr; } }
.progress-now { margin: 4px 0 0; color: var(--ink-2); font-size: 0.93rem; }
.terms-index { margin: 12px 0 8px; }
.terms-index-group { margin: 8px 0; }
.terms-index .chip { margin: 4px 4px 0 0; padding: 6px 12px; font-size: 0.88rem; }
.back-link { margin-left: 6px; font-size: 0.85rem; white-space: nowrap; }
.card-source .muted { font-size: 0.82rem; }
.card-top .kind { font-size: 0.85rem; color: var(--ink-2); }

/* What it is about, on the card: a few lines of the proposer's own purpose sentence */
.card-gist { margin: 6px 0 0; color: var(--ink); font-size: 0.95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card.row .card-gist { -webkit-line-clamp: 2; }
.gist-label { display: inline-block; margin-right: 4px; padding: 0 7px; font-size: 0.74rem; font-weight: 750; border: 1px solid var(--control-line); border-radius: 999px; color: var(--ink-2); text-decoration: none; vertical-align: 1px; }

/* The kind and action ("법안 · 일부개정") sits on its own small line under the stage, the same on every card */
.card-top .kind { margin-left: 0; flex-basis: 100%; order: 3; margin-top: 2px; }
.detail-head .kind { margin-left: auto; flex-basis: auto; order: 0; margin-top: 0; }

.detail-gist { margin: 10px 0 4px; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }

.card-proposer { margin: 4px 0 0; color: var(--ink-2); font-size: 0.92rem; }
.label-mini { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.proposers { margin: 16px 0 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.proposers h2 { margin: 0 0 6px; font-size: 1rem; }
.proposer-lead { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.proposers .party, .people .party { color: var(--ink-2); }
.party-split { margin: 6px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.proposers .muted { margin: 6px 0 0; font-size: 0.88rem; }
.proposers .fold { margin-top: 8px; padding-top: 0; }
.people { margin: 0; padding: 0 0 4px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.people li { font-size: 0.93rem; }
.orig { font-size: 0.97rem; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.orig p { margin: 0 0 10px; }
.orig-h { margin: 18px 0 8px; font-size: 1rem; color: var(--ink); }
.orig-h:first-child { margin-top: 4px; }
.orig-list, .orig-sub { margin: 0 0 10px; padding: 0; list-style: none; }
.orig-list > li { display: grid; grid-template-columns: 2.2em 1fr; gap: 0 4px; padding: 8px 0; border-top: 1px solid var(--line); }
.orig-list > li:first-child { border-top: 0; }
.orig-list .mk { font-weight: 720; color: var(--accent); }
.orig-sub { grid-column: 2; margin: 6px 0 0; }
.orig-sub li { display: grid; grid-template-columns: 2.4em 1fr; padding: 2px 0; color: var(--ink-2); }
.orig .ref { color: var(--muted); font-size: 0.88em; white-space: nowrap; margin-left: 2px; }
.orig-more { margin: 4px 0 10px; }
.orig-more > summary { cursor: pointer; padding: 8px 0; color: var(--accent); font-weight: 650; }
.overview { margin: 0; }
.news-cards { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.news-card { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.news-card .news-head { margin: 0 0 4px; font-weight: 650; line-height: 1.5; }
.news-card .news-meta { margin: 0; color: var(--muted); font-size: 0.86rem; }
.news-why { margin: 4px 0 0; color: var(--ink-2); font-size: 0.86rem; }
.community { margin: 22px 0 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; }
.community h2 { margin: 0 0 4px; font-size: 1rem; }
.community .soon { font-size: 0.78rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.card-why { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 0.86rem; line-height: 1.5; }
.moves-h { margin: 14px 0 4px; font-size: 0.95rem; }
.moves { list-style: none; margin: 0; padding: 0; }
.moves li { padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.moves li:first-child { border-top: 0; }
.derived-chip { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-weight: 650; }
.stage-pill-budget { background: var(--accent-soft); color: var(--accent); }
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0 0; }
.amount { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.amount dt { margin: 0; color: var(--muted); font-size: 0.82rem; }
.amount dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.amount.derived dd { color: var(--accent); }
.related-bills, .related-budget { margin: 22px 0 0; }
.gov-list { list-style: none; margin: 8px 0 0; padding: 0; }
.gov-row { padding: 12px 0; border-top: 1px solid var(--line); }
.gov-row:first-child { border-top: 0; }
.gov-title { margin: 0; font-weight: 650; line-height: 1.5; }
.gov-meta { margin: 3px 0 0; color: var(--ink-2); font-size: 0.88rem; line-height: 1.5; }
.gov-more { margin: 4px 0 14px; font-size: 0.92rem; }
.gov-related { margin: 22px 0 0; }
.hsearch { display: flex; gap: 6px; flex: 1; justify-content: flex-end; min-width: 0; }
.hsearch input { flex: 1; max-width: 340px; min-width: 0; padding: 8px 12px; font-size: 0.95rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.hsearch .button { padding: 8px 14px; font-size: 0.92rem; white-space: nowrap; }
@media (max-width: 600px) { .bar { flex-wrap: nowrap; gap: 10px; } .brand { font-size: 1rem; white-space: nowrap; } }
.issues h1 { margin: 18px 0 12px; font-size: 1.3rem; }
.issue-card { padding: 0; }
.issue-link { display: block; padding: 16px 40px 16px 18px; color: inherit; text-decoration: none; }
.issue-link:hover .issue-title { text-decoration: underline; text-underline-offset: 3px; }
.issue-title { margin: 0; font-size: 1.22rem; line-height: 1.4; font-weight: 800; letter-spacing: -0.01em; }
.issue-why { margin: 6px 0 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.issue-line { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.issue-who { margin: 8px 0 0; color: var(--ink-2); font-size: 0.93rem; line-height: 1.5; }
.detail-line { margin: 10px 0 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.official-title { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.cells { display: grid; gap: 8px; margin: 14px 0 0; }
.cell { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.cell dt { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 650; }
.cell dd { margin: 4px 0 0; font-size: 1rem; line-height: 1.55; }
.cell ul { margin: 0; padding-left: 18px; }
.budget-doc { margin: 22px 0 0; }
.budget-doc h2 { margin: 0 0 8px; font-size: 1.1rem; }
.doc-part { padding: 12px 14px; margin: 8px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.doc-part h3 { margin: 0 0 4px; font-size: 1rem; }
.doc-part p { margin: 4px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.doc-why { color: var(--ink-2); }
.ai-note { margin: 8px 0 0; color: var(--muted); font-size: 0.82rem; }
.why-line { margin: 12px 0 0; color: var(--ink-2); font-size: 0.88rem; line-height: 1.5; }
.more-h { margin: 28px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.page-terms { margin: 22px 0 0; }
.page-terms dl { margin: 6px 0 0; }
.issues-note { margin: -6px 0 14px; color: var(--muted); font-size: 0.9rem; }

/* The one-page summary frame of the detail pages (plan 2 of the rebuild). Structure only; the visual design comes later. */
.detail-a { overflow-wrap: anywhere; word-break: keep-all; }
.detail-a .status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 8px; }
.detail-a .loud { font-weight: 750; color: var(--accent); }
.detail-a .field { margin-left: auto; font-size: 0.85rem; color: var(--muted); }
.detail-a .names { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }
.detail-a .detail-line { margin: 10px 0 0; font-size: 1.05rem; }
.detail-a .progress li { padding-top: 22px; }
.detail-a .step-date { display: block; font-size: 0.75rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.detail-a .block { margin-top: 22px; }
.detail-a .block h2 { font-size: 1.1rem; margin-bottom: 8px; }
.detail-a .block ul { margin: 0; padding-left: 1.2em; }
.detail-a .block li + li { margin-top: 6px; }
.detail-a .sides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-a .side h3 { font-size: 0.95rem; margin-bottom: 6px; }
.detail-a .side ul { padding-left: 0; list-style: none; }
.detail-a .actor { display: block; font-weight: 750; }
.detail-a .ai-note { margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 360px) { .detail-a .sides-grid { grid-template-columns: 1fr; } }

/* The home page (C1) and the look chosen in plan 3: white, bold sans, grey bands between sections, one blue. */
.site-header { border-bottom: 1px solid var(--line-strong); }
.brand { font-weight: 800; color: var(--ink); }
.hsearch input { border-radius: 12px; border: none; background: var(--band); }
.hsearch .button { border-radius: 12px; background: var(--accent); }
.field-pic { width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; }
.field { font-size: 0.85rem; color: var(--muted); margin: 0; }
.mission { font-size: clamp(1.3rem, 5vw, 1.6rem); font-weight: 800; line-height: 1.4; margin: 0 0 18px; }
.loud-section, .missed { border-top: 12px solid var(--band); margin: 0 -20px; padding: 18px 20px; }
.loud-section h2, .missed h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; }
.missed .note { margin: 0 0 6px; color: var(--muted); font-size: 0.9rem; }
.loud-list, .missed-list { list-style: none; padding: 0; margin: 0; }
.missed-list li { padding: 12px 0; overflow-wrap: anywhere; word-break: keep-all; }
.missed-list a { color: inherit; text-decoration: none; font-weight: 600; }
.loud-list .fact, .missed-list .fact { margin: 4px 0 0; font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* What is loud: one numbered list, number one told big. */
.loud-list { counter-reset: loud; }
.loud-list > li { counter-increment: loud; position: relative; padding: 12px 0 12px 32px; overflow-wrap: anywhere; word-break: keep-all; }
.loud-list > li::before { content: counter(loud); position: absolute; left: 0; top: 12px; width: 22px; text-align: center; font-size: 1.1rem; font-weight: 800; line-height: 36px; color: var(--accent); font-variant-numeric: tabular-nums; }
.loud-list > li:not(.big) > a { display: grid; grid-template-columns: 36px 1fr; align-items: center; column-gap: 10px; color: inherit; text-decoration: none; }
.loud-list > li:not(.big) .field { font-size: 0; }
.loud-list > li:not(.big) .field-pic { width: 36px; height: 36px; background: var(--band); border-radius: 12px; padding: 7px; margin: 0; }
.loud-list .title { font-weight: 650; }
.loud-list > li:not(.big) .heat, .loud-list > li:not(.big) .fact { margin-left: 46px; }
.loud-list > li.big { padding: 4px 0 18px 32px; border-bottom: 1px solid var(--line-strong); margin-bottom: 4px; }
.loud-list > li.big::before { top: 4px; font-size: 1.5rem; line-height: 30px; }
.big .field { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; line-height: 30px; }
.big .field-pic { margin: 0; }
.big h3 { font-size: clamp(1.35rem, 5.6vw, 1.7rem); font-weight: 800; line-height: 1.35; margin: 6px 0 8px; }
.big h3 a { color: inherit; text-decoration: none; }
.big .big-line { color: var(--ink-2); margin: 0 0 10px; }
.heat { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0; padding: 2px 10px 2px 6px; border-radius: 8px; background: var(--heat-bg); color: var(--heat-fg); font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.heat-pic { width: 18px; height: 18px; flex: none; }
.big .heat { margin: 0 0 10px; }
/* Both sides drawn alike: neither is the site's colour. */
.sides-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 10px; overflow: hidden; font-size: 0.88rem; }
.sides-bar span { padding: 8px 10px; background: var(--band); }
.sides-bar .con { text-align: right; }

/* The detail pages in the same look. */
.detail-a .status-line .loud { display: inline-flex; align-items: center; gap: 3px; background: var(--heat-bg); color: var(--heat-fg); border-radius: 6px; padding: 1px 8px 1px 4px; font-size: 0.82rem; font-weight: 700; }
.detail-a .status-line .loud .heat-pic { width: 16px; height: 16px; }
.detail-a .stage-pill { border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.detail-a .field { display: inline-flex; align-items: center; gap: 4px; }
.detail-a h1 { font-size: clamp(1.45rem, 6vw, 1.8rem); font-weight: 800; }
.detail-a .detail-line { color: var(--ink-2); font-size: 1.06rem; }
.detail-a .progress li.done::before, .detail-a .progress li.current::before { background: var(--accent); }
.detail-a .progress li.done::after { background: var(--accent); border-color: var(--accent); }
.detail-a .block { border-top: 12px solid var(--band); margin: 22px -20px 0; padding: 18px 20px 0; }
.detail-a .block h2 { font-size: 1.12rem; font-weight: 800; }
.detail-a .block ul { list-style: none; padding-left: 0; }
.detail-a .changes li, .detail-a .concerns li, .detail-a .facts li { position: relative; padding-left: 14px; }
.detail-a .changes li::before, .detail-a .concerns li::before, .detail-a .facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.detail-a .side { background: var(--band); border-radius: 14px; padding: 10px 12px; }
/* "더 알고 싶을 때": its parts as plain groups under the one heading, all alike. */
.detail-a .more-to-know .proposers { margin: 0; padding: 0; border: none; background: none; }
.detail-a .more-to-know .proposers h2, .detail-a .more-to-know h3 { font-size: 1rem; font-weight: 750; margin: 0 0 6px; }
.detail-a .more-to-know > section + section, .detail-a .more-to-know > details, .detail-a .more-to-know > details + section { margin-top: 22px; }
.detail-a .more-to-know .same-law li { padding: 6px 0; }
.detail-a .more-to-know .same-law a { color: var(--ink); font-weight: 600; text-decoration: none; }
.detail-a .more-to-know .same-law .muted { display: block; font-size: 0.84rem; }
.detail-a .more-to-know > h2 { margin-bottom: 14px; }
