/* NewGvisa — one stylesheet, no framework, no web fonts.
   Hierarchy from type size, weight, spacing and alignment.
   One colour: 新生代红 #D52B1E. Light only. */

:root {
  --red: #d52b1e;
  --ink: #1b1a19;
  --ink-2: #57534d;
  --ink-3: #716c64;
  --rule: #e6e3df;
  --paper: #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 48px);
  --label: 168px;
  --gap: clamp(24px, 4vw, 56px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
i { font-style: normal; }
time, .yr-n, .err-code { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 9; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.arrow::after { content: "\2192"; margin-left: .35em; color: var(--red); }

h1, h2, .lead-t, .trio-t, .svc-t { text-wrap: balance; }
/* 中文标题只在空格与标点处换行；过长时再回落为任意断行 */
h1, .lead-t, .trio-t, .svc-t, .row-body > a, .guides a, .yr-list a { word-break: keep-all; overflow-wrap: anywhere; }
.prose p, .lede, .lead-x { text-wrap: pretty; }

/* ── top bar: 新生代 family (bar.newglaw.com) ─────────────── */
.top { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.top-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; flex: none; }
.logo img { display: block; width: 73px; height: 32px; }
.sites { position: relative; flex: none; margin-left: -12px; }
.sites summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--red); color: var(--red);
  font-size: 14px; font-weight: 750; line-height: 1.2; white-space: nowrap;
}
.sites summary::-webkit-details-marker { display: none; }
.sites summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.sites[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.sites ul { position: absolute; left: 0; top: calc(100% + 6px); min-width: 240px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); padding: 6px 0; }
.sites a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sites a small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.sites a[aria-current] { color: var(--red); }
.sites a:hover { background: #f6f4f1; }
.nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; margin-right: auto; }
.nav a, .nav-search { color: var(--ink); padding: 4px 0; }
.nav a[aria-current], .nav-search[aria-current] { color: var(--red); font-weight: 700; }
.nav a:hover, .nav-search:hover { color: var(--red); }
.nav-search { font-size: 15px; font-weight: 700; }

/* ── home: date line + spread ───────────────────────────── */
.hello { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; color: var(--ink-2); }
.hello i { color: var(--red); margin: 0 .5em; }

.spread {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(var(--gap) * 2);
  padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px);
  background: linear-gradient(var(--rule), var(--rule)) center / 1px calc(100% - 2 * clamp(32px, 5vw, 64px)) no-repeat;
  background-origin: content-box;
}
.cn {
  font-size: clamp(56px, 8.2vw, 112px); font-weight: 800; line-height: .95; letter-spacing: -.04em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.cn a:hover { color: var(--ink); }
.cn-en {
  display: block; margin-top: 16px; font-size: 13px; font-weight: 600; line-height: 1;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.spread-more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.spread-more a:first-child { color: var(--ink); font-weight: 600; }

/* Service directory: names and a light rule. */
.svc { border-bottom: 1px solid var(--rule); }
.svc li a {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2px;
  padding: 15px 0 16px; border-top: 1px solid var(--rule);
}
.svc-t { font-size: 19px; font-weight: 700; line-height: 1.45; }
.svc-s { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.svc li a:hover .svc-t { color: var(--red); }
.svc li a:hover { color: var(--ink); }
.svc-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-bottom: 0; }
.svc-2col li { border-bottom: 1px solid var(--rule); margin-bottom: -1px; }
.svc-compact .svc-t { font-size: 16px; font-weight: 500; }
.svc-compact li a { padding: 11px 0; }

/* ── sections: label column + body ──────────────────────── */
.sec { padding: clamp(40px, 5vw, 64px) 0; }
.sec + .sec .sec-in, .spread + .sec .sec-in, .trio {
  /* hairline aligned to the text column, not the gutters */
  background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--gut)) 1px no-repeat;
  padding-top: clamp(40px, 5vw, 64px);
}
.sec + .sec, .spread + .sec { padding-top: 0; }
.sec-in { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); column-gap: var(--gap); }
.sec-h { font-size: 15px; font-weight: 700; letter-spacing: .1em; line-height: 1.6; align-self: start; position: sticky; top: 24px; }
.sec-sub { display: block; font-size: 13px; font-weight: 400; letter-spacing: .02em; color: var(--ink-3); margin-top: 2px; }
.sec-body { min-width: 0; }
.more-line { margin-top: 24px; font-size: 15px; }
.article-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; margin-bottom: 24px; }
.article-filters label { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.article-filters select, .article-filters input { max-width: 100%; min-width: 0; }
.article-filters input[type="number"] { width: 8em; }
.article-filters input[type="search"] { width: 14em; }
.oneline { font-size: 18px; }

.kick { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .02em; white-space: nowrap; }
.kick i { margin: 0 .4em; }

/* lead story */
.lead .kick { color: var(--red); font-weight: 600; }
.lead-t { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.28; letter-spacing: -.012em; margin: 12px 0 16px; max-width: 22em; }
.lead-x { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 36em; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.byline a { color: var(--ink); font-weight: 600; }

/* single time-stream */
.stream { }
.row { display: grid; grid-template-columns: 76px 112px minmax(0, 1fr); column-gap: 20px; padding: 10px 0; }
.row-day { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 8px; }
.stream > .row-day:first-child { margin-top: 0; }
.row-date time { font-size: 15px; font-weight: 600; line-height: 1.6; display: block; }
.row-date small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.row-meta { padding-top: 3px; }
.row-body a { font-size: 17px; font-weight: 500; line-height: 1.6; }
.row-body p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-top: 4px; max-width: 40em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-bottom: 24px; font-size: 15px; }
.filters div { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.filters a { color: var(--ink-2); padding: 2px 0; }
.filters a[aria-current] { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.count { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }
.count i { margin: 0 .4em; }

.guides { columns: 2; column-gap: var(--gap); }
.guides li { break-inside: avoid; padding: 0 0 18px; }
.guides .kick { display: block; }
.guides a { font-size: 17px; font-weight: 500; line-height: 1.55; }
.plain li { padding: 4px 0; }

/* closing band: three short columns */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.trio > div { display: flex; flex-direction: column; gap: 12px; }
.trio-h { font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.trio-t { font-size: 19px; font-weight: 600; line-height: 1.5; flex: 1; max-width: 18em; }
.trio p:last-child { font-size: 15px; color: var(--ink-2); }

/* ── page headers ───────────────────────────────────────── */
.page-h { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); }
.h-xl { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.24; letter-spacing: -.015em; max-width: 20em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; color: var(--ink-2); max-width: 34em; margin-top: 20px; }
.crumbs { font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 20px; }
.crumbs i { margin: 0 .5em; }
.crumbs a:hover { color: var(--red); }
.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 15px; }
.jump a { color: var(--ink-2); }
.jump a::before { content: "\2193"; color: var(--red); margin-right: .35em; }
.err .jump a::before { content: none; }
.page-h-tight { padding-bottom: 0; }
.country-h { padding-bottom: clamp(24px, 3vw, 40px); }
.cn-xl { font-size: clamp(72px, 13vw, 176px); margin-bottom: 0; }
.country-h .lede { margin-top: clamp(24px, 3vw, 40px); }

.deadline { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.deadline strong { color: var(--red); font-weight: 600; margin: 0 .35em; }
.deadline.is-past { color: var(--ink); }

/* ── lists inside sections ─────────────────────────────── */
.dash li { position: relative; padding: 6px 0 6px 1.6em; font-size: 17px; line-height: 1.7; }
.dash li::before { content: "\2014"; position: absolute; left: 0; color: var(--ink-3); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4em 1fr; padding: 8px 0; font-size: 17px; }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--red); font-weight: 600; font-size: 14px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px var(--gap); }
.facts-h { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 6px; }
.facts .dash li, .facts .steps li { font-size: 16px; line-height: 1.65; }
.faq > div { padding: 0 0 20px; max-width: 40em; }
.faq dt { font-size: 17px; font-weight: 600; }
.faq dd { color: var(--ink-2); margin-top: 4px; }

.contact-lines > div { display: grid; grid-template-columns: 3.5em 1fr; align-items: baseline; padding: 6px 0; }
.contact-lines dt { font-size: 14px; color: var(--ink-3); }
.contact-lines dd { font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.sec-contact .muted { margin-bottom: 12px; }
.contact-xl { padding-bottom: clamp(24px, 4vw, 48px); }
.contact-xl .contact-lines > div { grid-template-columns: 5em 1fr; padding: 14px 0; border-top: 1px solid var(--rule); }
.contact-xl .contact-lines > div:last-child { border-bottom: 1px solid var(--rule); }
.contact-xl dd { font-size: clamp(24px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.01em; }

.crossover { padding: clamp(40px, 6vw, 80px) var(--gut); }
.crossover a { display: inline-flex; align-items: baseline; gap: 16px; font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.crossover a::after { content: "\2192"; color: var(--red); font-weight: 400; }
.crossover .muted { font-size: 15px; font-weight: 400; letter-spacing: 0; }

/* ── article ───────────────────────────────────────────── */
.art { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); column-gap: var(--gap); padding-top: clamp(40px, 6vw, 88px); }
.art-h { grid-column: 2; padding-bottom: clamp(32px, 4vw, 48px); }
.art-h .h-xl { max-width: 22em; }
.art-side { grid-column: 1; grid-row: 2; }
.art-main { grid-column: 2; grid-row: 2; max-width: 40em; min-width: 0; border-top: 1px solid var(--rule); padding-top: 32px; }
.toc { position: sticky; top: 24px; font-size: 14px; padding-top: 32px; }
.toc p { font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; }
.toc ol { counter-reset: t; }
.toc li { counter-increment: t; display: grid; grid-template-columns: 1.8em 1fr; padding: 4px 0; line-height: 1.5; color: var(--ink-2); }
.toc li::before { content: counter(t); color: var(--red); font-variant-numeric: tabular-nums; }
.hist { font-size: 15px; line-height: 1.7; padding: 0 0 24px; color: var(--ink-2); }
.hist strong { color: var(--red); margin-right: .8em; }
.hist a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; margin-left: .3em; }
.art-img { margin-bottom: 32px; }

.prose { font-size: 17.5px; line-height: 1.88; max-width: 40em; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 24px; line-height: 1.45; font-weight: 800; margin-top: 2.1em; scroll-margin-top: 24px; }
.prose h3 { font-size: 18px; font-weight: 700; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin: 1.8em 0; padding-left: 1.2em; box-shadow: inset 2px 0 var(--red); color: var(--ink-2); font-size: 18px; }
.prose em { font-style: italic; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.6; }
.prose th { text-align: left; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding: 8px 20px 8px 0; white-space: nowrap; }
.prose td { border-bottom: 1px solid var(--rule); padding: 10px 20px 10px 0; vertical-align: top; }
.prose td:first-child { font-weight: 500; }
.prose td, .prose th { overflow-wrap: normal; min-width: 5.5em; }

.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 15px; }
.sources h2 { font-size: 15px; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; }
.sources ol { counter-reset: r; }
.sources li { counter-increment: r; display: grid; grid-template-columns: 1.8em 1fr; padding: 3px 0; }
.sources li::before { content: counter(r); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sources a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.topics { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.topics a::before { content: "#"; color: var(--red); margin-right: 1px; }

/* ── lists, archive, search ─────────────────────────────── */
.list-wrap { padding-bottom: 24px; }
.find { margin-bottom: 32px; max-width: 40em; }
.find label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.find-row { display: flex; align-items: stretch; border-bottom: 2px solid var(--ink); }
.find-row:focus-within { border-bottom-color: var(--red); }
.find input {
  flex: 1; min-width: 0; font: inherit; font-size: 18px; padding: 10px 0; border: 0; background: transparent;
  color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.find input:focus { outline: none; }
.find input::placeholder { color: var(--ink-3); }
.find button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: none; color: var(--ink); padding: 0 0 0 20px; cursor: pointer; }
.find button:hover { color: var(--red); }
.find-xl input { font-size: clamp(22px, 3vw, 32px); font-weight: 500; padding: 12px 0; }
.find-xl { max-width: none; margin-bottom: 48px; }

.yr { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); column-gap: var(--gap); padding: 28px 0; border-top: 1px solid var(--rule); }
.yr-n { font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--ink-3); }
.yr-list li { padding: 0 0 14px; }
.yr-list .kick { display: block; }
.yr-list a { font-size: 17px; font-weight: 500; line-height: 1.55; }

.res + .res { margin-top: 56px; }
.res-h { font-size: 15px; font-weight: 700; letter-spacing: .1em; display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.res-h span { color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.res-hist .row-body a { color: var(--ink-2); }

.empty { padding: 24px 0; max-width: 36em; }
.empty-t { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.empty .plain { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
.empty .plain a { color: var(--red); }
.notice { font-size: 16px; }
.notice a { color: var(--red); margin: 0 .2em; }
.err-code { font-size: 15px; font-weight: 700; color: var(--red); letter-spacing: .1em; margin-bottom: 16px; }

/* ── footer ─────────────────────────────────────────────── */
.foot { margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px var(--gap); padding-top: 40px; padding-bottom: 56px; font-size: 15px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand img { width: 64px; height: 28px; flex: none; }
.foot-brand p { color: var(--ink-2); line-height: 1.7; }
.foot-brand strong { color: var(--ink); }
.foot-contact > div { display: grid; grid-template-columns: 5em 1fr; padding: 1px 0; }
.foot-contact dt { color: var(--ink-3); }
.foot-links { display: grid; gap: 4px; color: var(--ink-2); }
.foot-offices, .foot-friends { grid-column: 1 / -1; }
.foot-offices summary { cursor: pointer; font-weight: 600; }
.office-note { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
.foot-offices .office-note { margin-top: 16px; }
.office-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gap); }
.office-list dt { font-weight: 600; margin-bottom: 4px; }
.office-list dd { color: var(--ink-2); }
.foot-friends > p { color: var(--ink-3); font-size: 13px; margin-bottom: 8px; }
.friend-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-size: 13px; color: var(--ink-3); padding-top: 20px; border-top: 1px solid var(--rule); }

/* ── narrow screens ─────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --label: 120px; }
  .top-in { gap: 18px; }
  .nav { gap: 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top-in { flex-wrap: wrap; height: auto; gap: 0 14px; padding-top: 12px; }
  .nav { order: 3; width: 100%; margin: 6px calc(-1 * var(--gut)) 0; padding: 6px var(--gut) 10px; gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-search { margin-left: auto; }
  .hello { flex-direction: column; gap: 2px; padding-top: 22px; }
  .spread { grid-template-columns: 1fr; background: none; row-gap: 56px; padding-top: 24px; }
  .cn { font-size: 64px; margin-bottom: 24px; }
  .svc-t { font-size: 18px; }
  .svc-2col { grid-template-columns: 1fr; }
  .sec-in, .yr { grid-template-columns: 1fr; }
  .sec-h { position: static; margin-bottom: 16px; }
  .sec-sub { display: inline; margin-left: 10px; }
  .row { grid-template-columns: auto 1fr; column-gap: 14px; padding: 8px 0; }
  .row-date time { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
  .row-date small { display: inline; }
  .row-date:empty { display: none; }
  .row-date:empty + .row-meta { grid-column: 1 / -1; }
  .row-meta { padding-top: 1px; }
  .row-body { grid-column: 1 / -1; margin-top: 2px; }
  .row-body a { font-size: 17px; }
  .guides { columns: 1; }
  .trio { grid-template-columns: 1fr; row-gap: 40px; }
  .art { grid-template-columns: 1fr; }
  .art-h, .art-side, .art-main { grid-column: 1; grid-row: auto; }
  .art-main { border-top: 0; padding-top: 0; }
  .toc { position: static; padding: 16px 0; margin-bottom: 24px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .art-side:empty { display: none; }
  .prose { font-size: 17px; line-height: 1.85; }
  .prose h2 { font-size: 21px; }
  .yr { row-gap: 12px; }
  .yr-n { font-size: 36px; }
  .foot-in { grid-template-columns: 1fr; }
  .office-list { grid-template-columns: 1fr; }
  .crossover a { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .top, .foot, .filters, .toc, .find { display: none; }
  body { background: #fff; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 12px; color: var(--ink-3); }
}

/* Functional tools keep the existing editorial layout. */
.tool-page{padding-bottom:4rem}.current-tool{margin-bottom:2.5rem}.legacy-tool-source{margin:2rem 0;padding:1rem 0;border-top:1px solid var(--line,#d7d7cf)}.legacy-tool-source>summary{cursor:pointer;font-weight:600}.legacy-tool-source[open]>summary{margin-bottom:1.25rem}
