@charset "UTF-8";

:root {
  color-scheme: light;
  --color-bg: #FAF7F2;
  --color-surface: #FFFFFF;
  --color-cream: #F5F0E8;
  --color-tag-bg: #EDE8E1;
  --color-text: #3A3835;
  --color-text-muted: #7A7670;
  --color-text-light: #A09B95;
  --color-accent: #5B7065;
  --color-accent-light: #7A9585;
  --color-gold: #C4A35A;
  --color-gold-light: #D4B96A;
  --color-border: #E5E0D8;
  --paper: var(--color-bg);
  --surface: var(--color-surface);
  --ink: var(--color-text);
  --muted: #6f6b65;
  --green: var(--color-accent);
  --green-dark: #4a5e54;
  --green-light: #eef1ec;
  --line: var(--color-border);
  --cream: var(--color-cream);
  --warm: #755422;
  --warm-light: #f8f0df;
  --radius: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --font-body: "LXGW WenKai", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-display: "Noto Serif SC", "LXGW WenKai", "Source Han Serif SC", serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.75 var(--font-body); letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--green); text-underline-offset: 4px; }
a:hover { color: var(--green-dark); }
button, a, input, select { transition: color 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a77b25; outline-offset: 4px; }
button:disabled, select:disabled { opacity: .55; cursor: not-allowed; }
svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; }
[hidden], .hide { display: none !important; }
.container { width: 100%; max-width: 1100px; padding-inline: 24px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 16px; transform: translateY(-160%); padding: 12px 24px; border-radius: 8px; background: #fff; font-weight: 700; }
.skip-link:focus { transform: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 600; text-decoration: none; }
.button-outline { background: transparent; border-color: var(--line); color: var(--green); }
.button-outline:hover { background: var(--green-light); border-color: #9eb5a8; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-text { background: transparent; color: var(--muted); }
.button-text:hover { background: var(--green-light); color: var(--green); }
.eyebrow { font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .15em; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(250, 247, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green); text-decoration: none; }
.brand-copy { display: grid; line-height: 1.3; }
.brand-copy strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand-divider { margin-inline: 4px; color: var(--muted); font-weight: 400; }
.product-name { font-family: var(--font-mono); font-size: .75em; font-weight: 400; letter-spacing: -.02em; }
.brand-copy > span { margin-top: 4px; font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions > a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 16px; font-weight: 400; white-space: nowrap; text-decoration: none; }
.header-actions > a:hover { color: var(--green); background: rgba(91, 112, 101, .07); }
.print-button { font-size: 14px; }
.print-button svg { width: 19px; height: 19px; }

.hero { border-bottom: 1px solid rgba(229, 224, 216, .7); background: var(--paper); color: var(--ink); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: center; gap: 48px; padding-block: 76px 56px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; }
.hero-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold); }
h1 { margin-top: 24px; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.35rem); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; }
.hero-description { max-width: 38em; margin-top: 22px; color: var(--muted); font-size: 1.04rem; line-height: 1.9; }
.hero-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.reference-summary { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: 8px; background: rgba(245, 240, 232, .75); }
.summary-label { color: var(--muted); font-size: 14px; }
.summary-total { display: flex; align-items: center; gap: 24px; padding-block: 12px 20px; border-bottom: 1px solid var(--line); }
.summary-total > strong { font-family: var(--font-mono); font-size: 56px; font-weight: 400; line-height: 1.1; letter-spacing: -.06em; color: var(--green); }
.summary-total > span { font-size: 16px; color: var(--muted); }
.summary-dates { display: grid; gap: 8px; margin-top: 20px; font-size: 14px; }
.summary-dates > div { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 16px; }
.summary-dates dt { color: var(--muted); }
.summary-dates dd { font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.summary-review { display: flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--green); font-size: 14px; }
.review-dot { width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: var(--color-gold); }
.summary-footnote { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--muted); }

.query-section { position: relative; margin-top: 32px; }
.query-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 3px rgba(58, 56, 53, .06); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.panel-heading h2 { font-size: 20px; line-height: 1.5; }
.panel-caption { font-size: 14px; color: var(--muted); }
.search-field { display: flex; align-items: center; gap: 12px; min-height: 60px; padding-inline: 16px; border: 1px solid #b2b2a7; border-radius: 8px; background: var(--paper); }
.search-field:focus-within { border-color: var(--green); outline: 3px solid #a77b25; outline-offset: 3px; }
.search-field > svg { color: var(--green); }
.search-field input { width: 100%; min-width: 0; min-height: 56px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); font-size: 18px; outline: none; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-hint { flex-shrink: 0; font-size: 12px; color: var(--muted); }
.field-help { margin-top: 8px; font-size: 14px; color: var(--muted); }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.type-filter { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.type-filter > button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-weight: 600; }
.type-filter > button:hover { background: var(--color-tag-bg); }
.type-filter > button[aria-pressed="true"] { background: var(--green); color: #fff; }
.select-field { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.select-field label, .city-jump-field label { font-size: 14px; color: var(--muted); }
select { min-height: 44px; max-width: 100%; padding: 8px 36px 8px 12px; border: 1px solid #b6c2b7; border-radius: 7px; background-color: #fff; color: var(--ink); font-size: 16px; }
select:hover { border-color: var(--green); }
#clear-filters { margin-left: auto; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 40px 24px; }
.results-heading { display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.4; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 28px; padding: 0 8px; border: 1px solid #d3dbd3; border-radius: 6px; background: var(--green-light); color: var(--green); font-family: var(--font-mono); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }
#result-description { margin-top: 8px; font-size: 14px; color: var(--muted); }
.city-jump-field { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.city-jump-field select { min-width: 144px; }
.load-status { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.load-status:empty { margin: 0; }
.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.city-card { min-width: 0; scroll-margin-top: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 3px rgba(58, 56, 53, .06); overflow: clip; }
.city-card:target { outline: 3px solid #a77b25; outline-offset: 4px; }
.city-card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px; border-bottom: 1px solid var(--line); background: #fcfaf6; }
.city-index { color: var(--green); font-family: var(--font-mono); font-size: 17px; font-variant-numeric: tabular-nums; }
.city-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; font-size: 25px; line-height: 1.4; }
.city-title h2, .city-title h3 { font: inherit; }
.city-title-wrapper, .city-heading { display: flex; align-items: center; gap: 16px; }
.city-english { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .02em; color: var(--muted); }
.verification-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 5px; font-size: 12px; line-height: 1.6; font-weight: 600; }
.verification-badge.partial { border: 1px solid #ceddcf; background: var(--green-light); color: #28533c; }
.verification-badge.unverified { border: 1px solid #e5d7b9; background: var(--warm-light); color: var(--warm); }
.policy-columns, .policy-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-columns:has(> .policy-section[hidden]), .policy-sections:has(> .policy-section[hidden]), .policy-columns:has(> .policy-section:only-child), .policy-sections:has(> .policy-section:only-child) { grid-template-columns: minmax(0, 1fr); }
.policy-section { min-width: 0; padding: 24px; }
.policy-section + .policy-section { border-left: 1px solid var(--line); }
.policy-section[hidden] + .policy-section { border-left: 0; }
.policy-section.employee { background: #fff; }
.policy-section.resident { background: #fcfaf6; }
.policy-title { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--green); font-size: 16px; font-weight: 700; line-height: 1.6; }
.policy-title::before { content: ""; flex-shrink: 0; width: 4px; height: 16px; border-radius: 2px; background: var(--green); }
.resident .policy-title::before { background: #8b8045; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts .row, .facts .fact-row, .facts > div { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 8px; }
.facts dt { color: var(--muted); font-size: 17px; line-height: 1.75; }
.facts dd { min-width: 0; color: var(--ink); font-size: 17px; font-weight: 400; line-height: 1.75; overflow-wrap: anywhere; }
.verification-note { margin: 0 24px 24px; padding: 12px 16px; border-left: 3px solid #b5c8b5; background: var(--green-light); color: #365242; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.verification-note.unverified { border-left-color: #cbb481; background: var(--warm-light); color: #6e552b; }
.city-source { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 24px; border-top: 1px solid var(--line); background: #fcfaf6; }
.source-info { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.source-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.source-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; color: var(--green); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.source-link:hover { text-decoration-thickness: 2px; }
.source-caption { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.source-date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.error-state, .empty-state { padding: 48px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.error-state { background: #fffaf0; border-color: #dfcfac; }
.error-state h3, .empty-state h3 { margin-top: 16px; font-size: 22px; line-height: 1.5; }
.error-state p, .empty-state p { max-width: 36em; margin: 12px auto 24px; color: var(--muted); }
.state-symbol { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid #b79961; border-radius: 50%; color: var(--warm); font-family: Georgia, serif; font-size: 28px; }
.empty-icon { width: 48px; height: 48px; margin-inline: auto; color: #738975; }

.methods-section { margin-top: 64px; padding-top: 40px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.methods-heading .eyebrow { color: var(--muted); }
.methods-heading h2 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.5; }
.methods-heading > p:last-child { max-width: 44em; margin-top: 12px; color: var(--muted); }
.methods-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.methods-grid > article { padding-top: 20px; border-top: 1px solid var(--line); }
.method-index { display: block; font-family: var(--font-mono); font-size: 16px; color: var(--green); }
.methods-grid h3 { margin-top: 12px; font-size: 18px; line-height: 1.6; }
.methods-grid p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.methods-grid .source-link { margin-top: 12px; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; padding-block: 28px; text-align: center; font-size: 14px; }
.footer-inner > div { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-inner strong { color: var(--green); font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .03em; }
.footer-inner span, .footer-inner p { color: var(--muted); }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-inner .brand-divider, .footer-inner .product-name { color: var(--green); }

@media (max-width: 1100px) {
  .hero-inner { gap: 32px; }
  .reference-summary { padding-inline: 24px; }
  .policy-section { padding: 20px; }
  .facts .row, .facts .fact-row, .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 850px) {
  .container { padding-inline: 20px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr); gap: 24px; padding-block: 48px 64px; }
  h1 { font-size: 42px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .09em; }
  .hero-description { font-size: 16px; }
  .desktop-break { display: none; }
  .header-actions { gap: 16px; }
  .header-actions > a { font-size: 14px; }
  .header-actions > a:first-child { display: none; }
  .query-panel { padding: 24px; }
  .filter-row { gap: 16px; }
  .type-filter { width: 100%; }
  .type-filter > button { flex: 1; padding-inline: 12px; }
  .policy-grid { grid-template-columns: minmax(0, 1fr); }
  .policy-section { padding: 24px; }
  .facts .row, .facts .fact-row, .facts > div { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 8px; }
  .methods-grid { gap: 24px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy > span { font-size: 10px; }
  .brand { gap: 8px; }
  .header-actions > a { display: none; }
  .print-button { max-width: 124px; padding-inline: 8px; font-size: 12px; }
  .print-button svg { width: 17px; height: 17px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px 64px; }
  h1 { font-size: 2rem; line-height: 1.3; }
  .hero-description { margin-top: 20px; font-size: 16px; }
  .hero-note { margin-top: 16px; }
  .reference-summary { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px 16px; padding: 16px 20px; }
  .summary-label { grid-column: 2; margin: 0; }
  .summary-total { grid-column: 1; grid-row: 1 / 4; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; margin: 0; padding: 0; border-bottom: 0; }
  .summary-total > strong { font-size: 42px; }
  .summary-total > span { font-size: 12px; }
  .summary-dates { grid-column: 2; margin-top: 0; gap: 6px; font-size: 12px; }
  .summary-dates dd { font-size: 10px; }
  .summary-review { grid-column: 2; margin-top: 0; font-size: 12px; }
  .summary-footnote { grid-column: 1 / -1; margin-top: 2px; font-size: 12px; }
  .query-panel { padding: 20px; }
  .panel-heading { margin-bottom: 16px; }
  .panel-heading h2 { font-size: 18px; }
  .panel-caption { font-size: 12px; }
  .search-field { gap: 8px; padding-inline: 12px; }
  .search-field input { font-size: 16px; }
  .search-hint { display: none; }
  .field-help { font-size: 12px; }
  .filter-row { padding-top: 20px; margin-top: 20px; gap: 16px 8px; }
  .type-filter > button { padding-inline: 6px; font-size: 14px; }
  .select-field { gap: 8px; }
  .select-field label { font-size: 12px; }
  .select-field select { font-size: 14px; padding-right: 24px; }
  #clear-filters { padding-inline: 8px; font-size: 14px; }
  .results-toolbar { padding-top: 32px; }
  .results-heading { font-size: 22px; }
  .city-jump-field { width: 100%; }
  .city-jump-field select { flex: 1; }
  .city-card-header { padding: 20px; }
  .city-title { font-size: 24px; }
  .policy-columns, .policy-sections { grid-template-columns: minmax(0, 1fr); }
  .policy-section { padding: 20px; }
  .policy-section + .policy-section { border-top: 1px solid var(--line); border-left: 0; }
  .facts .row, .facts .fact-row, .facts > div { grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr); gap: 12px; }
  .verification-note { margin: 0 20px 20px; padding: 12px; }
  .city-source { padding: 16px 20px; }
  .methods-section { margin-top: 48px; padding-block: 32px 48px; }
  .methods-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .footer-inner { align-items: center; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  @page { margin: 14mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #111; font-size: 10pt; }
  .container { width: 100%; max-width: none; padding-inline: 0; }
  .skip-link, .header-actions, .query-panel, .city-jump-field, .load-status, .empty-state, .error-state, .methods-grid .source-link, .footer-links { display: none !important; }
  .site-header, .site-footer { position: static; background: #fff; border-color: #999; }
  .header-inner { min-height: auto; padding-block: 0 12pt; }
  .brand-copy strong, .brand-copy > span, .brand, .hero, .hero-description, .hero-note { color: #111; }
  .hero { background: #fff; }
  .hero-inner { grid-template-columns: 1fr 1fr; padding-block: 20pt; gap: 24pt; }
  h1 { margin-top: 8pt; font-size: 28pt; }
  .hero-eyebrow, .summary-label, .summary-dates dt, .summary-total > span, .summary-review, .summary-footnote { color: #333; }
  .hero-eyebrow > span, .review-dot { background: #333; }
  .hero-description, .hero-note { margin-top: 10pt; font-size: 10pt; }
  .reference-summary { padding: 12pt; background: #fff; border-color: #aaa; }
  .summary-total { border-color: #aaa; }
  .summary-total > strong { font-size: 40pt; }
  .query-section { margin-top: 0; }
  .results-toolbar { padding-block: 0 16pt; }
  .results-heading { font-size: 16pt; }
  .policy-grid { display: block; }
  .city-card { margin-bottom: 16pt; break-inside: avoid-page; border-color: #999; border-radius: 0; overflow: visible; }
  .city-card-header { padding: 10pt 12pt; background: #fff; border-color: #bbb; }
  .city-title { font-size: 18pt; }
  .city-index, .city-english, .facts dt, .source-caption, .source-date, .footer-inner span, .footer-inner p { color: #333; }
  .verification-badge, .verification-badge.partial, .verification-badge.unverified { border-color: #aaa; background: #fff; color: #111; }
  .policy-columns, .policy-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-section, .policy-section.resident, .city-source { padding: 12pt; background: #fff; }
  .policy-section + .policy-section { border-color: #bbb; }
  .policy-title, .facts dd { color: #111; font-size: 10pt; }
  .facts dt { font-size: 10pt; }
  .facts .row, .facts .fact-row, .facts > div { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 8pt; }
  .verification-note, .verification-note.unverified { margin: 0 12pt 12pt; padding: 8pt; background: #fff; color: #111; border-color: #999; font-size: 9pt; }
  .city-source { border-color: #bbb; }
  .source-link { min-height: auto; color: #111; font-size: 10pt; }
  .source-link::after { content: " (" attr(href) ")"; display: block; width: 100%; font-size: 8pt; font-weight: 400; overflow-wrap: anywhere; }
  .methods-section { margin-top: 20pt; padding-block: 16pt; }
  .methods-heading h2 { font-size: 16pt; }
  .methods-grid { gap: 16pt; margin-top: 16pt; }
  .methods-grid h3 { font-size: 11pt; }
  .methods-grid p, .methods-heading > p:last-child { font-size: 9pt; }
  .footer-inner { min-height: auto; padding-block: 12pt; font-size: 9pt; }
}
