@font-face {
    font-family: "InterLocal";
    src: url("/files/css/fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "SourceSerifLocal";
    src: url("/files/css/fonts/SourceSerif4Variable-Roman.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

:root {
    --navy-950: #021a30;
    --navy-900: #062137;
    --navy-800: #0b3047;
    --navy-700: #19415f;
    --amber-500: #fbb316;
    --amber-600: #c77b08;
    --amber-100: #fff0c7;
    --teal-700: #2f6668;
    --teal-100: #dfecea;
    --paper: #fffdf9;
    --off-white: #f7f4f0;
    --sand: #e8dfcf;
    --ink: #071b2d;
    --muted: #4d5961;
    --line: #d9d5cf;
    --danger: #9c2f32;
    --success: #236744;
    --warning: #8b5800;
    --white: #fff;
    --shadow-sm: 0 1px 2px rgb(7 21 34 / 8%);
    --shadow-md: 0 14px 38px rgb(7 21 34 / 10%);
    --radius-sm: .25rem;
    --radius-md: .5rem;
    --radius-lg: 1rem;
    --font-sans: "InterLocal", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "SourceSerifLocal", "Source Serif 4", Georgia, serif;
    --measure: 72ch;
    --shell: 76rem;
    --shell-wide: 88.75rem;
    --shell-content: 77.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    min-width: 20rem;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgb(11 31 51 / 2%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(11 31 51 / 2%) 1px, transparent 1px),
        var(--off-white);
    background-size: 2rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--teal-700); text-underline-offset: .16em; text-decoration-thickness: .08em; }
a:hover { color: var(--navy-700); }
p, ul, ol { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); }
h1 { margin: 0 0 1rem; font-size: clamp(2.25rem, 6vw, 4.9rem); letter-spacing: -.035em; }
h2 { margin: 0 0 .9rem; font-size: clamp(1.7rem, 3.2vw, 2.55rem); letter-spacing: -.02em; }
h3 { margin: 0 0 .65rem; font-size: 1.15rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: .2rem solid var(--amber-500); outline-offset: .2rem; }
::selection { color: var(--navy-950); background: var(--amber-100); }

.shell, .shell-wide, .shell-content { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }
.shell-wide { --shell: var(--shell-wide); }
.shell-content { --shell: var(--shell-content); }
.measure { max-width: var(--measure); }
.narrow { width: min(100%, var(--measure)); margin-inline: auto; }
.muted { color: var(--muted); }
.print-status { display: none; }
.text-small { font-size: .875rem; }
.flex-field { flex: 1 1 18rem; }
.button-inverse { color: var(--white); border-color: var(--white); }
.button-inverse:hover { color: var(--navy-950); background: var(--white); }
.no-block-margin { margin-block: 0; }
.callout-note { margin-top: 1rem; color: #cbd7df; }
.admin-toolbar { margin-bottom: 1rem; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    color: var(--teal-700);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before { width: 2rem; height: .17rem; background: var(--amber-500); content: ""; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.honeypot-field { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link {
    position: fixed;
    z-index: 9999;
    top: .5rem;
    left: .5rem;
    padding: .7rem 1rem;
    color: var(--navy-950);
    background: var(--amber-500);
    font-weight: 800;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.skip-link-secondary { left: 11.5rem; }

/* Legal status and masthead */
.status-banner { color: var(--white); background: #011527; font-size: .76rem; }
.status-banner .shell { --shell: var(--shell-wide); }
.status-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; min-height: 2rem; padding-block: .28rem; }
.status-banner-inner strong { min-width: 0; flex: 1 1 24rem; }
.status-banner a { margin-left: auto; color: var(--amber-100); font-weight: 700; }
.status-dot { width: .48rem; height: .48rem; background: var(--amber-500); border-radius: 50%; box-shadow: 0 0 0 .2rem rgb(251 179 22 / 16%); }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgb(255 255 255 / 16%); background: rgb(2 26 48 / 98%); backdrop-filter: blur(.75rem); }
.masthead { display: flex; min-height: 5rem; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; }
.wordmark:hover { color: var(--white); }
.wordmark-mark { display: grid; width: 2.35rem; height: 2.35rem; grid-template-columns: repeat(3, 1fr); gap: .2rem; align-items: end; padding: .35rem; background: var(--navy-900); transform: rotate(-2deg); }
.wordmark-mark span { display: block; background: var(--amber-500); }
.wordmark-mark span:nth-child(1) { height: 35%; }
.wordmark-mark span:nth-child(2) { height: 65%; }
.wordmark-mark span:nth-child(3) { height: 100%; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.12; }
.wordmark-text strong { font-family: var(--font-serif); font-size: clamp(1.45rem, 2.1vw, 2rem); font-weight: 680; letter-spacing: -.025em; }
.wordmark-text small { margin-top: .26rem; color: var(--amber-500); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-navigation { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(.75rem, 1.4vw, 1.5rem); }
.site-navigation ul { margin: 0; padding: 0; list-style: none; }
.nav-primary { display: flex; align-items: center; gap: .05rem; }
.nav-primary > li { position: relative; }
.nav-primary a, .nav-primary button, .nav-account { display: inline-flex; min-height: 2.75rem; align-items: center; padding: .55rem .68rem; border: 0; color: var(--white); background: transparent; font-size: .88rem; font-weight: 650; text-decoration: none; }
.nav-primary a:hover, .nav-primary button:hover, .nav-primary [aria-current="page"] { color: var(--amber-100); background: rgb(255 255 255 / 7%); }
.nav-primary [aria-current="page"] { box-shadow: inset 0 -.14rem var(--amber-500); }
.nav-primary .nav-document-link { min-height: 2.9rem; margin-left: .35rem; padding-inline: .95rem; border: 1px solid rgb(255 255 255 / 52%); border-radius: var(--radius-sm); }
.nav-primary .nav-document-link:hover { border-color: var(--amber-500); background: rgb(255 255 255 / 5%); }
.nav-has-submenu ul { position: absolute; top: calc(100% + .4rem); left: 0; width: 15rem; padding: .45rem; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(-.4rem); }
.nav-has-submenu ul a { display: flex; width: 100%; }
.nav-has-submenu:hover ul, .nav-has-submenu:focus-within ul, .nav-has-submenu.is-open ul { opacity: 1; pointer-events: auto; transform: none; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-account { padding-inline: .3rem; color: #d8e2e9; font-size: .8rem; }
.nav-account-muted { color: #aebdc8; }
.nav-toggle { display: none; width: 2.9rem; height: 2.9rem; margin-left: auto; place-content: center; gap: .28rem; border: 1px solid rgb(255 255 255 / 45%); background: transparent; }
.nav-toggle > span:not(.sr-only) { width: 1.25rem; height: .12rem; background: var(--white); transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(.4rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-.4rem) rotate(-45deg); }

/* Buttons and common controls */
.button, button.button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}
.button-primary { color: var(--navy-950); background: var(--amber-500); border-color: var(--amber-500); }
.button-primary:hover { color: var(--navy-950); background: #f0b230; border-color: #f0b230; }
.button-secondary { color: var(--white); background: var(--teal-700); border-color: var(--teal-700); }
.button-secondary:hover { color: var(--white); background: var(--navy-700); }
.button-quiet { color: var(--navy-900); background: transparent; border-color: var(--navy-900); }
.button-quiet:hover { color: var(--white); background: var(--navy-900); }
.button-danger { color: var(--white); background: var(--danger); }
.button[aria-disabled="true"], .button:disabled { color: #68727b; background: #e3e1dc; border-color: #cac6be; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 750; }
.text-link::after { content: "→"; }

/* Public page composition */
.site-main { min-height: 58vh; padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.site-main.flush { width: 100%; max-width: none; padding: 0; }
.breadcrumbs { margin-bottom: 1.5rem; color: var(--muted); font-size: .82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: .35rem; content: "/"; }
.breadcrumbs a { color: inherit; }
.page-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .4fr); gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.page-header p { max-width: 42rem; margin-bottom: .5rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.page-header-note { padding: 1.25rem; border-top: .25rem solid var(--amber-500); background: var(--paper); box-shadow: var(--shadow-sm); }
.page-header-note strong { display: block; margin-bottom: .35rem; color: var(--navy-900); }
.section-block { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-block + .section-block { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading > div { max-width: 46rem; }
.section-heading p { margin: 0; color: var(--muted); }
.surface { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.surface-dark { color: var(--white); border-color: var(--navy-900); background: var(--navy-900); }
.surface-dark h1, .surface-dark h2, .surface-dark h3, .surface-dark a { color: var(--white); }
.surface-teal { border-color: #b6d8d4; background: var(--teal-100); }
.inset { padding: 1rem 1.1rem; border-left: .22rem solid var(--amber-500); background: var(--amber-100); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.card::before { position: absolute; top: -.05rem; left: -.05rem; width: 2.75rem; height: .22rem; background: var(--amber-500); content: ""; }
.card h2 { font-size: 1.55rem; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); }
.card code { overflow-wrap: anywhere; }
.card > :last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; padding-top: .7rem; }
.card-number { margin-bottom: 1.35rem; color: var(--teal-700); font-family: var(--font-serif); font-size: 2rem; font-weight: 800; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tag, .tag-list a { display: inline-flex; padding: .22rem .55rem; border: 1px solid #b8d5d2; border-radius: 99rem; color: var(--teal-700); background: #f1fbf9; font-size: .75rem; font-weight: 750; text-decoration: none; }
.meta-row { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-bottom: .75rem; color: var(--muted); font-size: .78rem; }
.status-pill { display: inline-flex; width: fit-content; align-items: center; gap: .35rem; padding: .22rem .55rem; border: 1px solid currentColor; border-radius: 99rem; color: var(--teal-700); background: var(--teal-100); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.status-pill.warning { color: var(--warning); background: var(--amber-100); }
.status-pill.neutral { color: var(--muted); background: #f0eee8; }
.status-pill.danger { color: var(--danger); background: #fbe8e6; }
.empty-state { padding: 2.5rem; border: 1px dashed #aab3ba; background: rgb(255 253 248 / 65%); text-align: center; }
.empty-state h2, .empty-state h3 { font-size: 1.35rem; }
.empty-state p { max-width: 36rem; margin-inline: auto; color: var(--muted); }

/* Home */
.home-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.home-hero-grid { display: grid; height: 21.75rem; grid-template-columns: 44.5% 55.5%; }
.home-hero-copy { position: relative; z-index: 3; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 1.75rem clamp(1.5rem, 2vw, 2.5rem) 1.75rem max(2rem, calc((100vw - var(--shell-content)) / 2)); background: linear-gradient(110deg, var(--navy-950), var(--navy-900)); }
.home-hero-copy::after { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px); background-size: 2rem 2rem; content: ""; mask-image: linear-gradient(90deg, transparent, black 50%); }
.home-hero h1 { max-width: 15ch; margin-bottom: .8rem; color: var(--white); font-size: clamp(3rem, 4.35vw, 4.15rem); line-height: 1.01; letter-spacing: -.03em; }
.home-hero .lead { max-width: 39rem; margin-bottom: 1.2rem; color: #eef3f6; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.42; }
.hero-rule { width: 3.5rem; height: .22rem; margin-bottom: 1rem; background: #80b4ae; }
.button-hero-outline { color: var(--amber-500); border-color: var(--amber-500); background: transparent; }
.button-hero-outline:hover { color: var(--navy-950); background: var(--amber-500); }
.home-hero-media { position: relative; min-width: 0; overflow: hidden; background: #d9d0c5; }
.home-hero-media picture, .home-hero-media img { width: 100%; height: 100%; }
.home-hero-media img { object-fit: cover; object-position: center; }
.hero-register { position: absolute; z-index: 4; top: 0; bottom: 0; left: 0; display: grid; width: max(3rem, calc((100vw - var(--shell-content)) / 2 - 2rem)); grid-template-rows: repeat(9, 1fr); border-right: 1px solid rgb(255 255 255 / 10%); pointer-events: none; }
.hero-register span { display: flex; align-items: center; justify-content: flex-end; padding-right: .7rem; border-bottom: 1px solid rgb(255 255 255 / 6%); color: rgb(251 179 22 / 30%); font-size: .68rem; }

.principle-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.principle-strip-inner { display: grid; min-height: 6.25rem; grid-template-columns: 14rem repeat(4, minmax(0, 1fr)); }
.principle-strip h2 { align-self: center; margin: 0 1rem 0 0; padding-left: 1rem; border-left: .17rem solid var(--teal-700); font-size: 1.3rem; line-height: 1.05; }
.principle-strip article { display: grid; min-width: 0; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .68rem; align-items: center; padding: .72rem .9rem; border-left: 1px solid var(--line); }
.principle-strip article:last-child { border-right: 1px solid var(--line); }
.principle-strip article > div > strong { display: block; margin-bottom: .2rem; color: var(--navy-900); font-size: .78rem; line-height: 1.25; }
.principle-strip article > div > span { display: block; color: var(--muted); font-size: .64rem; line-height: 1.36; }
.principle-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 50%; color: var(--white); background: var(--navy-950); }
.principle-icon svg { width: 1.42rem; height: 1.42rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.home-dashboard { border-bottom: 1px solid var(--line); background: var(--off-white); }
.home-dashboard-grid { display: grid; min-height: 21.5rem; grid-template-columns: .96fr 1.08fr .98fr; }
.dashboard-column { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 1.45rem clamp(1.3rem, 2.3vw, 1.8rem) 1.3rem; }
.dashboard-column + .dashboard-column { border-left: 1px solid var(--line); }
.dashboard-column h2 { position: relative; margin-bottom: .85rem; padding-bottom: .55rem; font-size: 1.48rem; }
.dashboard-column h2::after { position: absolute; bottom: 0; left: 0; width: 1.5rem; height: .13rem; background: var(--teal-700); content: ""; }
.dashboard-intro { margin: -.35rem 0 .55rem; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.dashboard-admin-link { position: absolute; top: 1.7rem; right: 1.5rem; font-size: .7rem; font-weight: 700; }
.compact-news-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.compact-news-list li { display: grid; min-height: 3.95rem; grid-template-columns: 5.2rem minmax(0, 1fr) .7rem; gap: .6rem; align-items: center; border-bottom: 1px solid var(--line); }
.compact-news-list time { color: var(--teal-700); font-size: .66rem; font-weight: 650; line-height: 1.25; }
.compact-news-list div > span { display: block; margin-bottom: .1rem; color: var(--teal-700); font-size: .52rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.compact-news-list a { display: block; color: var(--ink); font-size: .7rem; font-weight: 600; line-height: 1.32; text-decoration: none; }
.compact-news-list a:hover { color: var(--teal-700); text-decoration: underline; }
.dashboard-empty { margin-top: .25rem; padding: 1rem; border-block: 1px solid var(--line); background: rgb(255 253 249 / 55%); }
.dashboard-empty strong { color: var(--navy-900); font-size: .78rem; }
.dashboard-empty p { margin: .3rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.dashboard-more { display: inline-flex; width: fit-content; align-items: center; gap: .75rem; margin-top: auto; padding-top: .8rem; color: var(--navy-900); font-size: .7rem; font-weight: 700; }
.dashboard-more span { font-size: 1.2rem; font-weight: 400; }
.local-overview { display: grid; min-height: 10.5rem; grid-template-columns: .9fr 1.1fr; gap: .8rem; align-items: center; }
.germany-map { display: grid; height: 10.5rem; place-items: center; background-image: linear-gradient(rgb(47 102 104 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(47 102 104 / 8%) 1px, transparent 1px); background-size: 1rem 1rem; }
.germany-map-image { width: auto; height: 9.6rem; }
.local-results > strong { display: block; margin-bottom: .35rem; color: var(--navy-900); font-size: .7rem; }
.local-results p { margin: 0; color: var(--muted); font-size: .66rem; line-height: 1.45; }
.local-results ul { margin: 0; padding: 0; list-style: none; }
.local-results li + li { margin-top: .45rem; }
.local-results a { display: block; color: var(--navy-900); font-size: .68rem; font-weight: 700; }
.local-results li span { display: block; color: var(--muted); font-size: .58rem; }
.document-category-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.document-category-list > li { border-bottom: 1px solid var(--line); }
.document-category-list a { display: grid; min-height: 3.25rem; grid-template-columns: 2.2rem minmax(0, 1fr) .7rem; gap: .65rem; align-items: center; color: var(--ink); text-decoration: none; }
.document-category-list a:hover strong { color: var(--teal-700); text-decoration: underline; }
.category-icon { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal-700); font-family: var(--font-serif); font-weight: 700; }
.document-category-list strong, .document-category-list small { display: block; }
.document-category-list strong { font-size: .7rem; line-height: 1.2; }
.document-category-list small { margin-top: .08rem; color: var(--muted); font-size: .58rem; line-height: 1.25; }

/* Editorial, documents, program */
.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article-teaser { display: grid; grid-template-columns: 10rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; padding: 1.6rem .2rem; border-bottom: 1px solid var(--line); }
.article-teaser time { color: var(--muted); font-size: .82rem; }
.article-teaser h2 { margin-bottom: .45rem; font-size: 1.55rem; }
.article-teaser p { max-width: 48rem; margin-bottom: 0; color: var(--muted); }
.article-body { max-width: var(--measure); margin-inline: auto; font-family: var(--font-serif); font-size: 1.1rem; }
.article-body > p:first-of-type { color: var(--navy-800); font-size: 1.3rem; }
.article-body h2 { margin-top: 2.7rem; }
.article-body h3 { margin-top: 2rem; font-family: var(--font-sans); }
.article-body blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: .25rem solid var(--amber-500); background: var(--paper); font-size: 1.25rem; }
.article-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; max-width: var(--measure); margin: 2rem auto; padding-block: 1rem; border-block: 1px solid var(--line); }
.revision-note { margin-top: 2rem; padding: 1rem; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-sans); font-size: .85rem; }
.document-list { border-top: 1px solid var(--line); }
.document-row { display: grid; grid-template-columns: minmax(0, 1fr) 9rem 10rem; gap: 1.5rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.document-row h2, .document-row h3 { margin-bottom: .25rem; font-family: var(--font-sans); font-size: 1rem; }
.document-row p { margin: 0; color: var(--muted); font-size: .84rem; }
.statute-section, .demand-card { margin-bottom: 1rem; padding: 1.35rem; border: 1px solid var(--line); background: var(--paper); }
.statute-section h2, .demand-card h2 { font-size: 1.45rem; }
.demand-card summary { color: var(--navy-900); font-weight: 750; cursor: pointer; }
.demand-details { max-width: var(--measure); padding-top: 1rem; }
.demand-tags { margin-top: 1rem; }
.demands-container { display: grid; gap: 1rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 2rem; padding: 1rem; border: 1px solid var(--line); background: var(--paper); }

/* Events and organization */
.event-list { display: grid; gap: 1rem; }
.event-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.25rem; border: 1px solid var(--line); background: var(--paper); }
.date-tile { display: grid; width: 5rem; height: 5rem; place-content: center; color: var(--white); background: var(--navy-900); text-align: center; }
.date-tile strong { color: var(--white); font-family: var(--font-serif); font-size: 2rem; line-height: .9; }
.date-tile span { color: var(--amber-100); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.event-card h2 { margin-bottom: .35rem; font-size: 1.35rem; }
.event-card p { margin: 0; color: var(--muted); }
.unit-tree { margin: 0; padding: 0; list-style: none; }
.unit-tree ul { margin: .6rem 0 0 1rem; padding-left: 1.2rem; border-left: 1px solid var(--line); list-style: none; }
.unit-tree li { margin-bottom: .6rem; }
.unit-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }
.unit-link span { color: var(--muted); font-size: .8rem; }
.office-list { display: grid; gap: .7rem; margin: 0; }
.office-list div { display: grid; grid-template-columns: 12rem 1fr; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.office-list dt { color: var(--muted); }
.office-list dd { margin: 0; font-weight: 700; }

/* Forms */
form { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: .38rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, fieldset legend { color: var(--navy-900); font-size: .85rem; font-weight: 800; }
.required { color: var(--danger); }
input, textarea, select {
    width: 100%;
    min-height: 2.9rem;
    padding: .65rem .75rem;
    border: 1px solid #9ba7ae;
    border-radius: var(--radius-sm);
    color: var(--ink);
    background: var(--white);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--teal-700); box-shadow: 0 0 0 .2rem rgb(28 101 101 / 18%); outline: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-help, .field-error, .character-count { color: var(--muted); font-size: .76rem; }
.field-error { color: var(--danger); font-weight: 700; }
fieldset { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); }
.check-row { display: flex; align-items: flex-start; gap: .6rem; }
.check-row input { width: 1.1rem; min-height: 1.1rem; margin-top: .25rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.3rem; }
.form-notice { margin-bottom: 1rem; padding: .85rem 1rem; border-left: .25rem solid var(--teal-700); background: var(--teal-100); }
.form-notice.error { border-color: var(--danger); background: #fbe8e6; }
.notice { margin-block: 1rem; padding: .9rem 1rem; border-left: .25rem solid var(--teal-700); background: var(--off-white); }
.notice.success { background: var(--teal-100); }
.notice.warning { border-color: var(--amber-500); background: var(--amber-100); }
.form-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 2rem; padding: 0; counter-reset: steps; list-style: none; }
.form-steps li { position: relative; padding-top: 2.5rem; color: var(--muted); font-size: .75rem; font-weight: 700; text-align: center; }
.form-steps li::before { position: absolute; z-index: 2; top: 0; left: 50%; display: grid; width: 2rem; height: 2rem; place-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); counter-increment: steps; content: counter(steps); transform: translateX(-50%); }
.form-steps li::after { position: absolute; top: .95rem; right: 50%; width: 100%; height: 1px; background: var(--line); content: ""; }
.form-steps li:first-child::after { display: none; }
.form-steps .active { color: var(--navy-900); }
.form-steps .active::before { color: var(--navy-950); border-color: var(--amber-500); background: var(--amber-500); }

/* Internal portal */
.portal-body { background: #eef1f2; }
.portal-main { display: grid; width: min(100%, 96rem); min-height: 70vh; grid-template-columns: 16.5rem minmax(0, 1fr); padding: 0; }
.portal-sidebar { padding: 1.5rem 1rem 3rem; color: var(--white); background: var(--navy-900); }
.portal-sidebar h2 { margin: 0 0 1.25rem; padding-inline: .75rem; color: var(--white); font-family: var(--font-sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.portal-sidebar nav + h2 { margin-top: 2rem; }
.portal-sidebar ul { margin: 0; padding: 0; list-style: none; }
.portal-sidebar a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .75rem; color: #dbe5ec; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 650; text-decoration: none; }
.portal-sidebar a:hover, .portal-sidebar a[aria-current="page"] { color: var(--white); background: rgb(255 255 255 / 10%); }
.portal-sidebar a[aria-current="page"] { box-shadow: inset .2rem 0 var(--amber-500); }
.portal-sidebar .badge { min-width: 1.45rem; padding: .05rem .35rem; border-radius: 99rem; color: var(--navy-950); background: var(--amber-500); font-size: .68rem; text-align: center; }
.portal-content { min-width: 0; padding: clamp(1.25rem, 4vw, 3rem); }
.portal-topline { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.portal-topline h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
.portal-kicker { color: var(--teal-700); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 2rem; }
.metric { padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.metric strong { display: block; color: var(--navy-900); font-family: var(--font-serif); font-size: 1.8rem; }
.metric span { color: var(--muted); font-size: .76rem; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(17rem, .75fr); gap: 1rem; align-items: start; }
.stack { display: grid; gap: 1rem; }
.panel { border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.panel-header h2 { margin: 0; font-family: var(--font-sans); font-size: 1rem; }
.panel-body { padding: 1.15rem; }
.activity-list { margin: 0; padding: 0; list-style: none; }
.activity-list li { position: relative; padding: 0 0 1rem 1.35rem; }
.activity-list li::before { position: absolute; top: .45rem; left: 0; width: .55rem; height: .55rem; border: .12rem solid var(--teal-700); border-radius: 50%; content: ""; }
.activity-list li:not(:last-child)::after { position: absolute; top: 1rem; bottom: 0; left: .24rem; width: 1px; background: var(--line); content: ""; }
.activity-list time { display: block; color: var(--muted); font-size: .72rem; }

/* Forum */
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1rem; align-items: start; }
.forum-board { margin-bottom: 1rem; border: 1px solid var(--line); background: var(--paper); }
.forum-board-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.forum-board-header h2 { margin: 0 0 .25rem; font-family: var(--font-sans); font-size: 1.05rem; }
.forum-board-header p { margin: 0; color: var(--muted); font-size: .8rem; }
.forum-topic { display: grid; grid-template-columns: minmax(0, 1fr) 5rem 9rem; gap: 1rem; align-items: center; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); }
.forum-topic:last-child { border: 0; }
.forum-topic h3 { margin: 0 0 .15rem; font-size: .92rem; }
.forum-topic p, .forum-topic time { margin: 0; color: var(--muted); font-size: .72rem; }
.forum-count { color: var(--muted); font-size: .75rem; text-align: center; }
.thread { display: grid; gap: .8rem; }
.post { display: grid; grid-template-columns: 10rem minmax(0, 1fr); border: 1px solid var(--line); background: var(--paper); }
.post[data-nested="true"] { margin-inline-start: clamp(1rem, 4vw, 3rem); border-inline-start: .2rem solid var(--teal-700); }
.post-author { padding: 1rem; border-right: 1px solid var(--line); background: #f5f1e9; }
.post-author strong, .post-author span { display: block; }
.post-author span { color: var(--muted); font-size: .72rem; }
.post-content { min-width: 0; padding: 1rem 1.2rem; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.post-body { max-width: var(--measure); padding-top: .9rem; }
.attachment-list { display: grid; gap: .45rem; max-width: var(--measure); margin: 1rem 0 0; padding: .8rem 1rem .8rem 2.2rem; border: 1px solid var(--line); background: var(--off-white); }
.attachment-list li { padding-inline-start: .15rem; }
.attachment-list span { margin-inline-start: .5rem; }
.post-actions { display: flex; flex-wrap: wrap; gap: .45rem 1rem; align-items: center; margin-top: 1rem; font-size: .76rem; }
.post-actions form, .portal-topline .button-row form, .pagination form { margin: 0; }
.post-actions [aria-pressed="true"] { color: var(--teal-700); font-weight: 800; }

/* Governance, data and administration */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th, td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--navy-900); background: #eee9df; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:hover { background: #faf6ed; }
.decision-flow { display: grid; grid-template-columns: repeat(8, minmax(5.5rem, 1fr)); overflow-x: auto; margin: 0; padding: .5rem 0 1rem; list-style: none; }
.decision-flow li { position: relative; padding: 2.3rem .5rem 0; color: var(--muted); font-size: .68rem; font-weight: 750; text-align: center; }
.decision-flow li::before { position: absolute; z-index: 2; top: .35rem; left: 50%; width: 1.25rem; height: 1.25rem; border: .2rem solid var(--paper); border-radius: 50%; background: var(--line); box-shadow: 0 0 0 1px var(--line); content: ""; transform: translateX(-50%); }
.decision-flow li::after { position: absolute; top: .95rem; right: 50%; width: 100%; height: .12rem; background: var(--line); content: ""; }
.decision-flow li:first-child::after { display: none; }
.decision-flow .done::before { background: var(--teal-700); }
.decision-flow .active { color: var(--navy-900); }
.decision-flow .active::before { background: var(--amber-500); box-shadow: 0 0 0 1px var(--amber-600); }
.agenda-depth-1 { margin-inline-start: 1rem; }
.agenda-depth-2 { margin-inline-start: 2rem; }
.agenda-depth-3 { margin-inline-start: 3rem; }
.agenda-depth-4 { margin-inline-start: 4rem; }
.agenda-depth-5 { margin-inline-start: 5rem; }
.agenda-depth-6 { margin-inline-start: 6rem; }
.ballot-warning { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1rem; border: 1px solid #e2b65e; background: var(--amber-100); }
.ballot-warning strong { color: var(--warning); }
.ballot-warning .warning-mark { display: grid; width: 2rem; height: 2rem; place-content: center; border-radius: 50%; color: var(--navy-950); background: var(--amber-500); font-weight: 900; }
.audit-list { margin: 0; padding: 0; list-style: none; }
.audit-list li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.audit-list time { color: var(--muted); font-size: .76rem; }
.notification { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: start; padding: 1rem; border-bottom: 1px solid var(--line); }
.notification.unread { background: #f2faf8; box-shadow: inset .2rem 0 var(--teal-700); }
.notification-dot { width: .65rem; height: .65rem; margin-top: .45rem; border-radius: 50%; background: var(--teal-700); }

/* Login, legal, errors */
.auth-layout { display: grid; max-width: 62rem; grid-template-columns: .75fr 1fr; margin-inline: auto; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-md); }
.auth-aside { padding: clamp(1.5rem, 4vw, 3rem); color: var(--white); background: var(--navy-900); }
.auth-aside h1, .auth-aside h2 { color: var(--white); }
.auth-form { padding: clamp(1.5rem, 4vw, 3rem); }
.legal-content { max-width: var(--measure); }
.legal-content h2 { margin-top: 2.5rem; }
.legal-content h3 { margin-top: 1.7rem; }
.placeholder-data { padding: 1rem; border: 1px dashed var(--danger); color: #612124; background: #fbe8e6; }
.error-page { display: grid; max-width: 48rem; min-height: 55vh; place-content: center; text-align: center; }
.error-code { color: var(--amber-600); font-family: var(--font-serif); font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: .8; }

/* Footer */
.site-footer { color: #d5e0e7; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(7rem, .72fr)) minmax(22rem, 2fr); gap: clamp(1.5rem, 3vw, 2.6rem); padding-block: 1.65rem; }
.footer-grid h2 { margin: .2rem 0 .65rem; color: var(--white); font-family: var(--font-sans); font-size: .7rem; letter-spacing: .02em; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: .28rem; }
.footer-grid a { color: #cbd7df; font-size: .66rem; text-decoration: none; }
.footer-grid a:hover { color: var(--amber-100); text-decoration: underline; }
.footer-pledge { display: grid; min-height: 7.5rem; grid-template-columns: minmax(0, 1.3fr) minmax(8rem, .8fr); gap: 1rem; align-items: end; padding: 1.1rem 1.3rem; border: 1px solid rgb(255 255 255 / 34%); }
.footer-pledge h2 { margin: 0 0 .1rem; font-family: var(--font-serif); font-size: 1rem; letter-spacing: 0; }
.footer-pledge p { margin: 0; color: var(--white); font-family: var(--font-serif); font-size: .92rem; }
.footer-pledge .footer-status { margin-top: .55rem; color: #aebdc8; font-family: var(--font-sans); font-size: .57rem; line-height: 1.35; }
.footer-pledge svg { align-self: end; width: 100%; fill: none; stroke: rgb(180 211 213 / 34%); stroke-width: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid rgb(255 255 255 / 12%); color: #8fa2af; font-size: .72rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 70rem) {
    .js .nav-toggle { display: grid; }
    .site-navigation { position: absolute; top: 100%; right: 0; left: 0; display: block; max-height: calc(100vh - 7rem); overflow-y: auto; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-md); }
    .js .site-navigation { display: none; }
    .js .site-navigation.is-open { display: block; }
    .nav-primary { display: block; }
    .nav-primary a, .nav-primary button { width: 100%; justify-content: space-between; color: var(--navy-900); }
    .nav-primary [aria-current="page"] { box-shadow: inset .2rem 0 var(--teal-700); }
    .nav-primary .nav-document-link { min-height: 2.75rem; margin: 0; border-color: var(--line); }
    .nav-has-submenu ul { position: static; display: block; width: 100%; padding: 0 0 0 1rem; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
    .js .nav-has-submenu ul { display: none; }
    .js .nav-has-submenu.is-open ul { display: block; }
    .nav-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
    .nav-account { color: var(--navy-900); }
    .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principle-strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .principle-strip h2 { grid-column: 1 / -1; margin: .9rem 0 0; padding-block: .2rem; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-pledge { grid-column: 1 / -1; }
}

@media (max-width: 54rem) {
    .page-header, .portal-grid, .forum-layout, .auth-layout { grid-template-columns: 1fr; }
    .home-hero-grid { grid-template-columns: 52% 48%; }
    .home-hero-copy { padding-left: max(2rem, calc((100vw - var(--shell-content)) / 2)); }
    .home-hero h1 { font-size: clamp(3rem, 6.5vw, 3.55rem); }
    .hero-register { display: none; }
    .principle-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principle-strip article { border-bottom: 1px solid var(--line); }
    .principle-strip article:nth-of-type(odd) { border-right: 1px solid var(--line); }
    .card-grid, .card-grid.two { grid-template-columns: 1fr; }
    .article-teaser { grid-template-columns: 7rem minmax(0, 1fr); }
    .article-teaser > :last-child { grid-column: 2; }
    .event-card { grid-template-columns: 5rem minmax(0, 1fr); }
    .event-card > :last-child { grid-column: 2; }
    .document-row { grid-template-columns: minmax(0, 1fr) 8rem; }
    .document-row > :last-child { grid-column: 1 / -1; }
    .portal-main { grid-template-columns: 1fr; }
    .portal-sidebar { padding-block: 1rem; }
    .portal-sidebar nav ul { display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .4rem; }
    .portal-sidebar nav li { flex: 0 0 auto; }
    .portal-sidebar h2 { margin-bottom: .5rem; }
    .portal-sidebar nav + h2 { margin-top: 1rem; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-pledge { grid-column: 1 / -1; }
    .local-overview { grid-template-columns: 1fr; }
    .germany-map { height: 7rem; }
    .germany-map-image { height: 6.5rem; }
}

@media (max-width: 48rem) {
    .home-hero-grid { height: auto; min-height: 0; grid-template-columns: 1fr; }
    .home-hero-copy { min-height: 21rem; padding: 2.5rem max(1.25rem, calc((100vw - var(--shell-content)) / 2)); }
    .home-hero-media { height: 16.5rem; }
    .home-dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-column { min-height: 20rem; }
    .dashboard-column + .dashboard-column { border-top: 1px solid var(--line); border-left: 0; }
    .local-overview { grid-template-columns: 1fr 1fr; }
    .germany-map { height: 10.5rem; }
    .germany-map-image { height: 9.5rem; }
}

@media (max-width: 38rem) {
    .shell, .shell-wide, .shell-content { width: min(calc(100% - 1.2rem), var(--shell)); }
    .status-banner-inner { flex-wrap: nowrap; gap: .35rem; padding-block: .4rem; line-height: 1.45; }
    .status-banner a { display: none; }
    .masthead { min-height: 4.6rem; }
    .wordmark-mark { width: 2rem; height: 2rem; }
    .wordmark-text strong { font-size: 1.05rem; }
    .wordmark-text small { font-size: .56rem; }
    .home-hero-copy { min-height: 20.5rem; padding-block: 2.25rem; }
    .home-hero h1 { font-size: clamp(2.65rem, 13vw, 3.2rem); }
    .home-hero .button-row { align-items: stretch; flex-direction: column; }
    .home-hero .button { width: 100%; }
    .home-hero-media { height: 14.5rem; }
    .principle-strip-inner { grid-template-columns: 1fr; }
    .principle-strip h2 { margin-bottom: .75rem; }
    .principle-strip article { border-right: 1px solid var(--line); }
    .dashboard-column { min-height: 19rem; padding-inline: 1rem; }
    .local-overview { grid-template-columns: 1fr; }
    .germany-map { height: 8rem; }
    .germany-map-image { height: 7.5rem; }
    .page-header { gap: 1.25rem; }
    .section-heading { align-items: start; flex-direction: column; }
    .article-teaser, .event-card, .document-row, .post, .audit-list li { grid-template-columns: 1fr; }
    .article-teaser > :last-child, .event-card > :last-child, .document-row > :last-child { grid-column: auto; }
    .post-author { border-right: 0; border-bottom: 1px solid var(--line); }
    .forum-topic { grid-template-columns: 1fr auto; }
    .forum-topic > :last-child { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full { grid-column: auto; }
    .form-steps { overflow-x: auto; }
    .form-steps li { min-width: 6rem; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .portal-topline { align-items: stretch; flex-direction: column; }
    .office-list div { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-pledge { grid-column: auto; grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

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

@media (forced-colors: active) {
    .wordmark-mark, .date-tile, .surface-dark, .portal-sidebar, .site-footer, .status-banner, .home-hero, .principle-icon, .category-icon { border: 1px solid CanvasText; forced-color-adjust: auto; }
    .status-dot, .wordmark-mark span, .card::before, .eyebrow::before, .hero-rule { background: Highlight; forced-color-adjust: none; }
    .button { border: 2px solid ButtonText; }
    .skip-link { color: Canvas; background: CanvasText; }
    :focus-visible, input:focus, textarea:focus, select:focus { outline: 3px solid Highlight !important; outline-offset: 3px; box-shadow: none; }
}

@media print {
    @page { margin: 1.8cm; }
    body { color: #000; background: #fff; font-family: Georgia, serif; font-size: 10.5pt; }
    .status-banner, .site-header, .site-footer, .portal-sidebar, .button-row, .button, .filter-bar, form, .article-tools, [data-print-hidden] { display: none !important; }
    .site-main, .portal-main, .portal-content { display: block; width: 100%; max-width: none; min-height: 0; padding: 0; }
    .home-hero { color: #000; background: #fff; }
    .home-hero-grid { display: block; min-height: 0; }
    .home-hero-copy { min-height: 0; padding: 0; background: #fff; }
    .home-hero-copy::after, .home-hero-media, .hero-register, .principle-strip { display: none; }
    .home-hero h1, .home-hero .lead { color: #000; }
    .home-dashboard-grid { display: block; }
    .dashboard-column { min-height: 0; border: 0; break-inside: avoid; }
    .print-status { display: block; padding-bottom: .5rem; border-bottom: 1px solid #777; font-size: 8.5pt; }
    h1, h2, h3 { color: #000; break-after: avoid; }
    h1 { font-size: 25pt; }
    h2 { font-size: 17pt; }
    a { color: #000; text-decoration: underline; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; }
    .card, .surface, .panel, .statute-section, .demand-card, .event-card { color: #000; border: 1px solid #777; background: #fff; box-shadow: none; break-inside: avoid; }
    .status-pill { color: #000; background: #fff; }
}
