:root {
  color-scheme: light;
  --bg: #f7f9fd;
  --surface: #fff;
  --text: #111827;
  --text-strong: #08111f;
  --muted: #465467;
  --muted-2: #566276;
  --line: #d4ddea;
  --accent: #2948bd;
  --accent-strong: #1b2b6f;
  --accent-soft: #e9efff;
  --focus: #9f4f12;
  --radius: 16px;
  --radius-small: 12px;
  --radius-large: 20px;
  --section-space: 32px;
  --shadow: 0 8px 24px rgb(15 23 42 / 6%);
  --max: 1120px;
  --read: 760px;
  --header-h: 72px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--bg); }
main { flex: 1; min-width: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-strong); }
img, svg { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
input, select { min-width: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
:target, [tabindex="-1"], .page-section, .search-output { scroll-margin-top: calc(var(--header-h) + 16px); }
h1, h2, h3 { margin: 0 0 16px; color: var(--text-strong); font-weight: 750; line-height: 1.18; letter-spacing: -.035em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li + li { margin-top: 6px; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: 24px; }
.section-narrow, .search-page { width: min(100%, var(--read)); margin-inline: auto; }
.section, .hero { padding-block: 40px; }
.lead, .home-lead { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--text-strong); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; flex: none; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-h); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); text-decoration: none; font-size: 1rem; font-weight: 800; min-width: 0; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 650; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--accent-soft); color: var(--accent-strong); }
.menu-toggle { display: none; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 1.3rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 20px; color: var(--muted-2); font-size: .86rem; }
.breadcrumb a { color: var(--muted); text-decoration: underline; }
.eyebrow, .home-kicker, .preview-label { display: inline-block; margin-bottom: 12px; color: var(--accent-strong); font-weight: 750; font-size: .78rem; letter-spacing: .025em; }
.search-form label, .directory-form > label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.search-row { display: flex; gap: 10px; }
.search-input, select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9c4d4; border-radius: 12px; background: #fff; color: var(--text); }
.search-input::placeholder { color: #667386; opacity: 1; }
.search-input:focus, select:focus { border-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--accent); border-radius: 12px; color: #fff; background: var(--accent); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-strong); color: #fff; }
.btn.secondary, .btn-secondary { background: #fff; color: var(--accent-strong); border-color: var(--line); }
.btn.secondary:hover { background: var(--accent-soft); }
.filter-row { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.filter-row label { display: grid; gap: 6px; flex: 1 1 150px; font-size: .9rem; font-weight: 650; }
.filter-row .btn { font-size: .9rem; white-space: nowrap; }
.progressive { display: none; }
.js .progressive { display: flex; }
.search-output { margin-top: 24px; }
.result-count { margin: 0 0 14px; color: var(--muted); font-size: .94rem; }
.result-count.is-error { color: #842336; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link-card, .result-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.link-card:hover { background: #f2f5ff; border-color: var(--accent); color: var(--text); }
.link-card strong { color: var(--text-strong); line-height: 1.3; }
.link-card span { color: var(--muted); font-size: .94rem; }
.link-card .result-form { color: var(--accent-strong); font-weight: 600; }
.link-card .result-context { font-size: .85rem; }
.search-pagination, .pagination-top { margin-block: 20px; }
.search-pagination:empty, .pagination-top:empty { display: none; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .9rem; font-weight: 650; text-decoration: none; }
.page-btn:hover { background: var(--accent-soft); }
.page-btn.is-disabled { color: #667386; background: #f0f3f8; }
.page-summary { color: var(--muted); text-align: center; font-size: .85rem; }
.quick-links, .home-quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.quick-links a, .home-quick-links > a, .more-places summary { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--accent-strong); font-size: .9rem; font-weight: 650; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.quick-links a:hover, .home-quick-links > a:hover, .more-places summary:hover { background: var(--accent-soft); }
.more-places { position: relative; }
.more-places summary { cursor: pointer; }
.more-places summary::after { content: '⌄'; margin-left: 8px; }
.more-places[open] { width: 100%; }
.more-places[open] summary { display: flex; width: fit-content; margin-bottom: 8px; }
.more-places a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; font-size: .9rem; }
.fallback-note { font-size: .9rem; margin-top: 12px; }
.home-landing { padding-block: 40px 32px; background: linear-gradient(120deg, #eef2ff, #fff 65%, #fff6ed); }
.home-landing-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); align-items: center; gap: 48px; }
.home-landing h1 { max-width: 580px; font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 16px; }
.home-lead { margin-bottom: 24px; }
.home-answer-preview { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-large); background: #fff; box-shadow: var(--shadow); }
.home-answer-preview h2 { font-size: 1.45rem; }
.preview-answer { padding: 20px; border-radius: 16px; background: var(--accent-strong); color: #fff; }
.preview-answer strong { display: block; font-size: 1.45rem; line-height: 1.25; }
.preview-answer span { display: block; margin-top: 10px; font-size: .94rem; }
.preview-example { margin-top: 16px; color: var(--muted); }
.text-link { font-size: .94rem; font-weight: 650; }
.home-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding-block: 22px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .94rem; }
.home-stats strong { color: var(--text-strong); }
.home-section { padding-block: 40px; }
.home-resources { display: grid; gap: 40px; border-top: 1px solid var(--line); }
.resource-group > :last-child { margin-bottom: 0; }
.resource-group .quick-links { margin-top: 20px; }
.home-popular-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-editorial-strip { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 32px; border-top: 1px solid var(--line); }
.home-editorial-strip h2 { font-size: 1.35rem; }
.home-editorial-strip p { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.home-editorial-strip > a { flex: 0 0 200px; }
.search-page { padding-block: 28px 36px; }
.search-support { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.search-support h2 { font-size: 1.25rem; }
.directory-section { padding-block: 32px 40px; }
.directory-form { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.directory-types { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.entity-hero { max-width: 860px; padding-block: 28px 24px; }
.entity-hero h1 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); max-width: 760px; }
.entity-location { margin-bottom: 8px; color: var(--muted); font-size: .9rem; }
.answer-box { padding: 24px; border: 1px solid #c8d3ef; border-radius: var(--radius-large); background: linear-gradient(120deg, #fff, #f0f4ff); overflow-wrap: break-word; }
.answer-label { margin-bottom: 8px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.answer-word { display: block; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.3; color: var(--accent-strong); overflow-wrap: anywhere; }
.forms-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 20px 0; }
.forms-summary div { min-width: 0; }
.forms-summary dt { color: var(--muted); font-size: .8rem; }
.forms-summary dd { margin: 3px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.quick-example { margin: 16px 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); font-size: .96rem; }
.quick-example p { margin-bottom: 0; }
.answer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.answer-actions .btn { min-height: 44px; padding: 8px 14px; font-size: .9rem; }
.copy-status { color: var(--muted); font-size: .85rem; }
.variant-note { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.variant-note summary { cursor: pointer; min-height: 44px; padding-block: 8px; color: var(--accent-strong); font-weight: 650; font-size: .92rem; }
.variant-note p { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.variant-note ul { display: grid; gap: 12px; margin: 8px 0 0; padding-left: 20px; font-size: .9rem; }
.answer-context { margin: 16px 0 0; color: var(--muted); font-size: .95rem; }
.entity-content { max-width: 860px; }
.editorial-panel { max-width: var(--read); margin-inline: auto; }
.natural-copy { overflow-wrap: break-word; }
.page-section { padding-block: var(--section-space); border-bottom: 1px solid var(--line); }
.page-section:last-child { border-bottom: 0; }
.page-section > :last-child, .page-section p:last-child { margin-bottom: 0; }
.page-section p { color: var(--muted); }
.natural-copy > .lead { margin-bottom: 8px; }
.natural-copy > .modification-date { margin-block: 24px; }
.natural-copy > .quick-links { margin-top: 24px; }
.examples { display: grid; gap: 10px; margin: 0; list-style: none; padding: 0; }
.examples li { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.examples-section > .example-label { margin-top: 12px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { padding: 16px 18px; cursor: pointer; font-weight: 650; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq p { margin: 0; padding: 16px 18px; }
.source-list { display: grid; gap: 16px; margin-bottom: 24px; padding: 0; list-style: none; }
.related-reading-list, .related-links { display: grid; gap: 8px; }
.examples li + li, .source-list li + li, .related-reading-list li + li, .related-links li + li, .variant-note li + li, .correction-list li + li { margin-top: 0; }
.source-list a { overflow-wrap: anywhere; }
.territory-trail { display: grid; gap: 6px; color: var(--muted); }
.territory-trail li + li { margin-top: 0; }
.review-date { color: var(--muted-2); font-size: .9rem; }
.entity-search { max-width: 860px; margin-top: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.entity-search h2 { font-size: 1.35rem; }
.entity-search .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .search-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.legal-content section { margin-top: 24px; }
.legal-content h2 { font-size: 1.3rem; }
.legal-content p { color: var(--muted); }
.table-scroll { max-width: 100%; margin-block: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-small); background: #fff; }
.forms-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.forms-table th, .forms-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.forms-table tr:last-child > * { border-bottom: 0; }
.forms-table th { width: 48%; color: var(--muted); font-size: .9rem; }
.grid { display: grid; gap: 12px; }
.grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.note-box, .confusion-box { padding: 20px 24px; background: #fff2e4; border: 1px solid #e8c6a8; border-radius: var(--radius-small); }
.editorial-panel > .note-box, .editorial-panel > .confusion-box { margin-block: 24px; }
.note-box > :last-child, .confusion-box > :last-child { margin-bottom: 0; }
.note-box h2, .confusion-box h2 { margin-bottom: 12px; font-size: 1.2rem; }
.site-footer { flex: none; margin-top: 32px; padding-block: 40px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); }
.footer-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; }
.footer-brand-block { max-width: 320px; }
.footer-brand { color: var(--text-strong); font-weight: 750; text-decoration: none; }
.footer-brand-block p { margin: 10px 0 0; font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.footer-links > div { display: grid; align-content: start; gap: 4px; }
.footer-links strong { margin-bottom: 8px; color: var(--text-strong); font-size: .9rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; font-size: .85rem; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .wrap { padding-inline: 20px; }
  .menu-toggle { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .main-nav { flex-wrap: wrap; width: 100%; }
  .js .main-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; width: auto; padding: 8px; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
  .js .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 44px; }
  .home-landing-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-answer-preview { max-width: 560px; }
  .home-popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-editorial-strip { flex-direction: column; align-items: start; }
  .footer-shell { grid-template-columns: 1fr; gap: 32px; }
  .home-editorial-strip > a { flex: auto; }
  .footer-links { width: 100%; }
}
@media (max-width: 760px) {
}
@media (max-width: 560px) {
  :root { --section-space: 24px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .brand { font-size: .9rem; }
  .brand img { width: 30px; height: 30px; }
  .home-landing { padding-block: 24px; }
  .hero, .section { padding-block: 28px; }
  .home-section { padding-block: 28px; }
  .home-resources { gap: 32px; }
  .home-editorial-strip { padding-block: 24px; }
  .home-landing h1 { font-size: 2rem; }
  .home-lead, .lead { font-size: 1rem; }
  .home-lead { margin-bottom: 18px; }
  .search-row { gap: 8px; }
  .search-row .btn { padding-inline: 14px; }
  .search-input { padding-inline: 12px; font-size: 16px; }
  .home-answer-preview { padding: 20px; }
  .home-stats { justify-content: space-between; gap: 8px; font-size: .82rem; }
  .home-stats strong { display: block; font-size: 1.05rem; }
  .results-grid, .entity-search .results-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .home-popular-list { grid-template-columns: 1fr; }
  .home-popular-list .link-card { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .home-popular-list .result-context { grid-column: 1 / -1; }
  .directory-form { padding: 16px; }
  .directory-section { padding-block: 24px 28px; }
  .link-card, .result-item { padding: 16px; }
  .filter-row label { flex-basis: calc(50% - 6px); }
  .filter-row .btn { flex: 1 1 100%; }
  .filter-row select { font-size: 16px; padding-inline: 10px; }
  .page-btn { padding-inline: 10px; font-size: .84rem; }
  .page-summary { font-size: .8rem; }
  .entity-hero { padding-block: 16px 12px; }
  .entity-hero h1 { font-size: 1.75rem; }
  .answer-box { padding: 18px; border-radius: 16px; }
  .forms-summary { gap: 10px 12px; margin-block: 16px; }
  .forms-summary dt { font-size: .75rem; }
  .forms-summary dd { font-size: .94rem; }
  .note-box, .confusion-box { padding: 16px; }
  .editorial-panel > .note-box, .editorial-panel > .confusion-box { margin-block: 16px; }
  .forms-table th, .forms-table td { padding: 12px; }
  .footer-links { gap: 24px; grid-template-columns: 1fr; }
  .footer-links a { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Editorial tables, coverage and learning resources. */
.result-plural { color: var(--muted); font-size: .85rem; }
.example-label, .source-detail, .table-scope { display: block; color: var(--muted); font-size: .85rem; }
.source-detail { margin-top: 4px; }
.modification-date { color: var(--muted); font-size: .9rem; }
.review-pending { padding: 12px 14px; border: 1px solid #eed8bf; border-left: 3px solid #a76c30; border-radius: 8px; background: #fff5e9; font-size: .9rem; }
.comparison-table, .scope-table { width: 100%; border-collapse: collapse; background: #fff; text-align: left; }
.collection-page .comparison-table { min-width: 620px; }
.comparison-table caption, .scope-table caption { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 650; color: var(--text-strong); }
.comparison-table th, .comparison-table td, .scope-table th, .scope-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
.comparison-table tr > :last-child, .scope-table tr > :last-child { border-right: 0; }
.comparison-table tbody tr:last-child > *, .scope-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table thead th, .scope-table thead th { background: #edf3f6; font-size: .9rem; }
.scope-table th, .scope-table td { overflow-wrap: anywhere; }
.collection-page { max-width: 1060px; }
.collection-page .page-section { max-width: var(--read); }
.page-index { margin-block: 16px 24px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-small); background: #fff; }
.page-index summary { min-height: 48px; padding-block: 12px; cursor: pointer; font-weight: 650; }
.page-index[open] { padding-bottom: 16px; }
.page-index nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.page-index a { display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-index a span { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.letter-index { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.letter-index a { display: grid; place-items: center; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 650; text-decoration: none; }
.exercise-list { padding-left: 24px; }
.exercise-list > li { margin-top: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.exercise-list > li:first-child { padding-top: 8px; }
.exercise-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.exercise-list details { padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.exercise-list details[open] { padding-bottom: 16px; }
.exercise-list summary { min-height: 48px; padding-block: 12px; cursor: pointer; font-weight: 650; }
.exercise-list details p { margin-top: 12px; }
.exercise-list details > :last-child { margin-bottom: 0; }
.guide-list { margin-block: 8px 32px; }
.correction-list { display: grid; gap: 12px; padding-left: 20px; }
@media print {
  .site-header, .site-footer, .btn, .breadcrumb, .quick-links, .entity-search, .answer-actions { display: none !important; }
  body { display: block; min-height: 0; background: #fff; color: #000; font-size: 11pt; }
  .wrap, .section-narrow { max-width: none; padding: 0; }
  .hero, .page-section { padding-block: 12px; }
  .home-resources { gap: 20px; }
  .exercise-list details > * { display: block !important; }
  .exercise-list details { padding: 12px 16px; }
  .exercise-list summary { min-height: 0; padding-block: 0; margin-bottom: 8px; }
  .exercise-list > li { break-inside: avoid; }
  .table-scroll { overflow: visible; }
  .collection-page .comparison-table { min-width: 0; }
  a { color: inherit; }
}
.table-help { display: none; color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
@media (max-width: 760px) { .table-help { display: block; } }
@media print { .table-help { display: none; } }
.answer-qualification { margin-top: 12px; color: var(--muted); font-size: .9rem; }
