:root {
  --font: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-base: 16px; --font-small: 14px; --line-height: 1.5;
  --heading-size: 32px; --heading-desktop: 42px; --heading-line: 1.15;
  --section-size: 22px;
  --background: #f2f8f3; --card: #ffffff; --text: #091723; --muted: #465968;
  --hero: #091723; --hero-text: #ffffff; --hero-muted: #cedce3;
  --footer: #112231; --footer-text: #d6e2e8; --footer-link: #bbf6e2;
  --line: #d7e3de; --accent: #016b83; --accent-background: #e0f6ee;
  --brief: #bbf6e2;
  --topic-documents: #bbf6e2; --topic-housing: #ffd7f0;
  --topic-health: #d9f1ec; --topic-children: #f0f8c7;
  --topic-work: #ffe2d1; --topic-transport: #d5eff2;
  --topic-city: #e4ead8; --topic-other: #e6eff2;
  --attention: #89400c; --attention-background: #FDF3E1;
  --danger: #B42318; --danger-background: #FDECEA;
  --radius-card: 24px; --radius-topic: 12px; --radius-pill: 999px; --radius-field: 12px;
  --shadow-card: none;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px;
  --text-width: 680px; --touch: 44px;
}
* { box-sizing: border-box; }
html { color: var(--text); background: var(--background); font: var(--font-base)/var(--line-height) var(--font); scroll-padding-top: 100px; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; min-width: 0; }
button, summary, .link-row, .wordmark, .breadcrumbs a, .share-links a { min-height: var(--touch); }
button, summary { cursor: pointer; }
button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); }
button:disabled { cursor: default; color: var(--muted); }
button.primary { background: var(--accent); color: var(--card); border-color: var(--accent); font-weight: 600; }
input:not([type=checkbox]) { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--muted); border-radius: var(--radius-field); background: var(--card); min-height: var(--touch); }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); flex: 0 0 auto; }
label { display: block; }
svg { flex: 0 0 auto; vertical-align: middle; }
h1,h2,h3,p,ul,ol,dl,blockquote { margin: 0 0 var(--space-4); }
h1 { font-size: var(--heading-size); line-height: var(--heading-line); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: var(--section-size); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 600; }
ul,ol { padding-inline-start: var(--space-6); }
li+li { margin-top: var(--space-2); }
p, li, dd, td, th, h1, h2, h3, a, summary, button, blockquote { overflow-wrap: anywhere; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 12px; background: var(--card); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner, .page-shell, .footer-inner { width: min(100%, 1200px); margin-inline: auto; padding-inline: var(--space-4); }
.header-inner { min-height: 72px; display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; }
.wordmark { display: flex; flex-wrap: nowrap; white-space: nowrap; align-items: center; min-width: 0; text-decoration: none; color: var(--text); font-weight: 700; line-height: 1.25; }
.wordmark-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wordmark-suffix { flex-shrink: 0; color: var(--muted); font-weight: 400; }
.language-menu { flex: 0 0 auto; position: relative; }
.language-menu summary { display: flex; gap: var(--space-2); align-items: center; background: var(--background); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.language-menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: 188px; max-width: calc(100vw - 32px); padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); }
.language-menu a { justify-content: space-between; padding: var(--space-2) var(--space-3); border-radius: var(--radius-field); }
.language-menu [aria-current] { background: var(--accent-background); }
.breadcrumbs { margin-block: var(--space-4) var(--space-6); font-size: var(--font-small); color: var(--muted); }
.breadcrumbs ol { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: var(--space-2); min-width: 0; margin: 0; }
.breadcrumbs li+li { margin-inline-start: var(--space-2); }
.breadcrumbs a { display: flex; align-items: center; white-space: nowrap; }
.breadcrumbs li:last-child { flex: 1; }
.breadcrumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-heading { padding: var(--space-8) var(--space-6); margin-bottom: var(--space-8); border-radius: 30px; background: var(--hero); color: var(--hero-text); }
.page-heading h1 { max-width: 24ch; text-wrap: balance; }
.page-heading .lede, .page-heading .trust-line, .page-heading .metadata { color: var(--hero-muted); }
.page-heading .trust-line svg { color: var(--brief); }
.page-heading :focus-visible { outline-color: var(--brief); }
.hero-eyebrow { font-size: var(--font-small); color: var(--hero-muted); margin-bottom: var(--space-4); }
.home-page .page-heading h1 { font-size: 36px; }
.lede { color: var(--muted); }
.trust-line { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: var(--font-small); color: var(--muted); }
.trust-line span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--space-1); }
.trust-line svg { color: var(--accent); }
.page-layout { display: block; }
.page-content { min-width: 0; }
.page-content { max-width: 800px; margin-inline: auto; }
.home-page .page-content, body[data-template="catalog"] .page-content { max-width: none; }
.toc { padding: var(--space-6); margin-bottom: var(--space-6); border-radius: var(--radius-card); background: var(--card); }
.toc h2 { font-size: 18px; }
.toc ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.toc li { margin: 0; }
.toc .link-row { font-size: var(--font-base); }
.card { min-width: 0; padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.card>:last-child { margin-bottom: 0; }
.brief { background: var(--brief); margin-bottom: var(--space-6); }
.brief ul { list-style: none; padding: 0; margin: 0; }
.brief li { margin-block: var(--space-2); }
.quick-facts { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-4); margin: 0; }
.quick-cell { min-width: 0; }
.quick-cell dt { color: var(--muted); font-size: var(--font-small); margin-bottom: var(--space-2); }
.quick-cell dd { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }
.quick-facts+.brief-answers { border-top: 1px solid var(--line); padding-top: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 360px) { .quick-facts { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.procedure-block, .content-section { padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); margin-block: 0 var(--space-6); scroll-margin-top: 100px; min-width: 0; }
.procedure-block>:last-child, .content-section>:last-child { margin-bottom: 0; }
.content-section h2 svg { margin-inline-end: var(--space-2); color: var(--accent); }
.facts-table, .city-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th,td { text-align: start; vertical-align: top; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.facts-table th { width: 38%; padding-inline-end: var(--space-4); }
.facts-table th h3 { font-size: var(--font-small); color: var(--muted); font-weight: 400; margin: 0; }
.fact-value { display: inline; font-size: var(--font-base); font-weight: 400; }
.fact-action { display: inline-flex; align-items: center; min-height: var(--touch); }
.fact { padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact h2, .fact h3 { margin-bottom: var(--space-2); }
.metadata, small, .original-note { color: var(--muted); font-size: var(--font-small); font-weight: 400; }
.metadata { margin-top: var(--space-2); }
.original-note { display: inline; margin-inline-start: var(--space-1); padding: 2px var(--space-1); border-radius: 4px; background: var(--background); white-space: normal; }
.pill { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: var(--font-small); font-weight: 500; }
.positive { background: var(--accent-background); color: var(--accent); border-color: transparent; }
.appointment-badge { display: inline-flex; font-size: var(--font-small); }
.deadline-callout { background: var(--attention-background); margin-bottom: var(--space-4); }
.deadline-short { font-size: 26px; line-height: 1.2; font-weight: 700; }
.day-kind { color: var(--attention); background: var(--attention-background); border: 0; margin-top: var(--space-2); }
.deadline-fact .day-kind { margin-top: var(--space-3); }
.steps { list-style: none; padding: 0; counter-reset: steps; }
.steps>li { counter-increment: steps; position: relative; padding-inline-start: 48px; min-height: 44px; }
.steps>li::before { content: counter(steps); position: absolute; inset-inline-start: 0; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--accent-background); color: var(--accent); font-weight: 700; border-radius: var(--radius-pill); }
.board-steps { margin-top: var(--space-6); }
.board-steps>li { display: flex; align-items: center; }
.board-steps>li::before { top: 6px; }
.office-card { margin-bottom: var(--space-4); background: var(--background); border: 1px solid var(--line); border-radius: var(--radius-topic); }
.office-card>h3 .link-row { align-items: flex-start; }
.nuance-callout { border: 0; background: var(--background); box-shadow: none; }
.nuance+.nuance { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.source-disclosure { display: inline; }
.source-chip { display: inline-flex; align-items: center; padding: var(--space-3) var(--space-2); color: var(--accent); border: 0; font-size: var(--font-small); font-weight: 400; vertical-align: middle; }
.source-chip::after { content: '+'; margin-inline-start: var(--space-2); }
.source-disclosure[open] .source-chip::after { content: '−'; }
.source-panel { display: block; margin-block: var(--space-3); padding: var(--space-4); border-radius: var(--radius-field); background: var(--background); font-size: var(--font-small); font-weight: 400; }
blockquote { margin: 0; font-style: normal; }
.original-fact { padding-top: var(--space-3); border-top: 1px solid var(--line); }
.original-fact>div { margin-top: var(--space-2); }
.original-fact .metadata { display: block; }
.field-list { margin: 0; } .field-list dd { margin: 0 0 var(--space-2); }
.local-term { position: relative; border-bottom: 1px dotted currentColor; cursor: help; }
.term-tip { display: none; }
.local-term:hover .term-tip, .local-term:focus .term-tip { display: block; position: absolute; z-index: 10; inset-inline-start: 0; bottom: calc(100% + 4px); width: max-content; max-width: min(240px, 55vw); padding: var(--space-3); color: var(--card); background: var(--text); border-radius: var(--radius-field); font-size: var(--font-small); font-weight: 400; }
.pending-facts { padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); font-size: var(--font-small); color: var(--muted); }
.link-row { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; padding-block: var(--space-2); }
.link-row svg:last-child { margin-inline-start: auto; }
.link-list { list-style: none; padding: 0; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.city-links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); }
.city-links a { border-color: var(--accent); padding-inline: var(--space-4); }
.section-nav, .city-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.section-nav a, .city-pills a { border-color: var(--accent); padding-inline: var(--space-4); }
.language-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); margin: 0 0 var(--space-12); }
.root-page { padding-top: var(--space-6); }
.language-grid .card { margin: 0; position: relative; }
.language-grid h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.language-grid .card:hover { box-shadow: 0 0 0 2px var(--accent); }
.language-grid h2 { font-size: 20px; margin-bottom: var(--space-2); }
.language-grid h2 a { color: var(--text); text-decoration: none; }
.language-grid p { color: var(--muted); margin: 0; }
.search-box { max-width: var(--text-width); margin-bottom: var(--space-8); }
.search-box label { font-weight: 500; margin-bottom: var(--space-2); }
.search-field { position: relative; }
.search-field>svg { position: absolute; top: 16px; left: 16px; color: var(--muted); }
.search-field input { padding-inline-start: 48px; }
.page-heading .search-box { margin-block: var(--space-6); max-width: 620px; }
.search-field input { color: var(--text); min-height: 52px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
#search-results { color: var(--text); background: var(--card); border-radius: var(--radius-field); padding: var(--space-2) var(--space-4); margin-block: var(--space-3) 0; }
#search-results :focus-visible { outline-color: var(--accent); }
[data-search-empty] { margin-top: var(--space-3); color: var(--hero-muted); }
.topics-section { padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); margin-bottom: var(--space-8); }
.topics-section>h2 { margin-bottom: var(--space-6); }
.topic-grid, .office-grid, .catalog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: var(--space-6); }
.topics-section .topic-grid, .office-grid .office-card { margin-bottom: 0; }
.topic-card { display: flex; flex-direction: column; border-radius: var(--radius-topic); }
[data-topic="documents"] { background: var(--topic-documents); }
[data-topic="housing"] { background: var(--topic-housing); }
[data-topic="health"] { background: var(--topic-health); }
[data-topic="children"] { background: var(--topic-children); }
[data-topic="work"] { background: var(--topic-work); }
[data-topic="transport"] { background: var(--topic-transport); }
[data-topic="city"] { background: var(--topic-city); }
[data-topic="other"] { background: var(--topic-other); }
[data-topic] { color: var(--text); }
[data-topic] .link-list li, [data-topic] .moment { border-color: rgba(9,23,35,.16); }
.topic-card .link-row { color: var(--text); }
.topic-card .link-row:hover { text-decoration: underline; }
.topic-card h3 { display: flex; align-items: center; gap: var(--space-3); }
.topic-card h3 { font-size: 20px; }
.topic-card h3 svg { color: var(--text); }
.topic-all { margin-top: auto; font-size: var(--font-small); font-weight: 600; }
.catalog-grid { align-items: start; }
.catalog-grid .content-section { margin-bottom: 0; border-radius: var(--radius-topic); }
.moment { padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.page-end { margin-top: var(--space-8); }
.page-end>section { margin-bottom: var(--space-6); padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); }
.page-end .feedback { background: var(--background); border: 1px solid var(--line); }
.feedback button, .share-links a, #web-share { color: var(--accent); border: 1px solid var(--accent); background: transparent; padding: 12px 24px; font-size: 16px; font-weight: 600; min-height: 48px; }
.feedback button:hover, .share-links a:hover { background: var(--accent-background); }
.button-row, .share-links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.share-links a { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; border-radius: var(--radius-pill); }
.related .link-list { display: grid; gap: var(--space-3); margin: 0; }
.related li { padding: var(--space-3) var(--space-4); border: 0; border-radius: var(--radius-topic); background: var(--background); }
.page-content>.lede, .document-intro, .empty-note, .board-steps, .prose-block, .news-list { padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); margin-bottom: var(--space-6); }
.news-list>.fact { border: 0; background: var(--background); border-radius: var(--radius-topic); padding: var(--space-4); }
.news-list>.fact+.fact { margin-top: var(--space-4); }
.document-intro>:last-child, .prose-block>:last-child { margin-bottom: 0; }
.subscription-card label { font-size: var(--font-small); margin-bottom: var(--space-2); }
.subscription-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-3); }
.site-footer { margin-top: var(--space-12); padding-block: var(--space-12); border-radius: 32px 32px 0 0; color: var(--footer-text); background: var(--footer); }
.footer-inner { font-size: var(--font-small); }
.footer-brand { color: var(--hero-text); font-size: 24px; font-weight: 800; }
.site-footer .metadata { color: var(--footer-text); }
.site-footer a { color: var(--footer-link); }
.site-footer :focus-visible { outline-color: var(--footer-link); }
.site-footer nav { display: flex; gap: var(--space-6); flex-wrap: wrap; }
@media (max-width: 599px) { .facts-table, .facts-table tbody, .facts-table tr, .facts-table th, .facts-table td { display: block; width: 100%; } .facts-table th { padding: var(--space-4) 0 var(--space-1); border: 0; } .facts-table td { padding-top: 0; } .wordmark { font-size: var(--font-small); } }
@media (max-width: 599px) {
  .card, .procedure-block, .content-section, .topics-section, .toc, .page-end>section, .city-links { padding: var(--space-4); }
  .page-heading { padding: var(--space-8) var(--space-6); }
  .steps>li { padding-inline-start: 40px; }
  .header-inner { min-height: 64px; }
}
@media (max-width: 389px) { .breadcrumbs li:not(:first-child):not(:last-child) a { max-width: 44px; overflow: hidden; text-overflow: ellipsis; } .breadcrumbs li:first-child a { max-width: 96px; overflow: hidden; text-overflow: ellipsis; } }
@media (min-width: 600px) { .subscription-fields { grid-template-columns: minmax(0,1fr) auto; } .office-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .language-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 820px) {
  h1 { font-size: var(--heading-desktop); }
  .home-page .page-heading h1 { font-size: 44px; }
  .page-heading { padding: var(--space-12); }
  .topic-grid, .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .procedure-block, .content-section, .topics-section, .toc, .page-end>section { padding: var(--space-8); }
  .catalog-grid .content-section { padding: var(--space-6); }
  .site-footer { border-radius: 64px 64px 0 0; }
}
@media (min-width: 1000px) { .header-inner, .page-shell, .footer-inner { padding-inline: var(--space-6); } .language-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { a, button { transition: background-color .15s ease; } }

a.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); text-decoration: none; min-height: var(--touch); }
a.button.primary { background: var(--accent); color: var(--card); border-color: var(--accent); font-weight: 600; }
a.fn { font-size: 0.75em; font-weight: 600; text-decoration: none; }
.unverified { font-weight: 700; }
.unverified-note { display: inline; }
.checklist th, .checklist td { width: auto; }
ol.sources { margin: 0; padding-inline-start: 1.25em; }
ol.sources li { margin: var(--space-3) 0; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: normal; }
