/* ==========================================================================
   AKU – base styles. Colours and typography follow Danmarks Statistik (dst.dk):
   DST blue #0074c6, dark teal text #002e2e, square corners, DIN-style type.
   DIN Next is a licensed font, so the self-hosted open-source Barlow
   (SIL OFL 1.1, see /fonts/Barlow-OFL.txt) is used as a close substitute.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }

:root {
    --accent: #0074c6;
    --accent-hover: #005c9d;
    --accent-soft: #eef3fa;
    --reading: #fff1b8; /* highlight of the block being read aloud */
    --accent-on-soft: #0069b4; /* #0074c6 is just under 4.5:1 on the soft blue backgrounds */
    --accent-soft-strong: #e1ebf7;
    --accent-ring: rgba(0, 116, 198, .22);
    --green: #008038;

    --bg: #f4f7fc;
    --surface: #ffffff;
    --surface-hover: #f9fbfd;
    --border: #e4e4e4;
    --border-strong: #c9cfd6;

    --text: #002e2e;
    --text-body: #1d3b3b;
    --text-muted: #5f6b6b;

    --danger: #b42318;
    --danger-soft: #fef3f2;
    --danger-border: #fecdca;
    --success: #008038;
    --success-soft: #e6f4ec;

    --radius: 4px;
    --radius-sm: 3px;
    --shadow: 0 1px 2px rgba(0, 46, 46, .05);
    --container: 1080px;
    --font: "DIN Next", "DIN Next LT Pro", "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

/* Desktop: header and footer stay put and only the content area scrolls. The scrollbar is always
   shown so the layout doesn't shift between short and long pages. Small screens scroll the whole page. */
@media (min-width: 881px) and (min-height: 600px) {
    body { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
    main { flex: 1 1 auto; min-height: 0; overflow-y: scroll; scrollbar-gutter: stable both-edges; overscroll-behavior: contain; scroll-behavior: smooth; }
}
@media (min-width: 881px) and (min-height: 600px) and (prefers-reduced-motion: reduce) {
    main { scroll-behavior: auto; }
}
main:focus { outline: none; }

h1, h2, h3, h4 { color: var(--text); font-weight: 600; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); text-decoration-color: var(--green); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

[hidden] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    padding: .6rem 1rem; border-radius: var(--radius-sm);
    background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { flex: none; }

/* ---------- Header ---------- */

.site-header { background: var(--surface); }

.header-top {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 88px;
}

.brand { display: flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }

.brand { gap: 1.1rem; }
.brand-logo { display: block; width: auto; height: 54px; }
.brand-text { padding-left: 1.1rem; border-left: 1px solid var(--border); }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 600; font-size: 1.2rem; }
.brand-tagline { font-size: .9rem; color: var(--text-muted); }
/* Let the brand shrink instead of pushing the language switch out of the viewport. */
.brand, .brand-text { min-width: 0; }
.brand-tagline { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lang-switch {
    display: inline-flex; flex: none; gap: 2px; padding: 3px;
    border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
}
.lang-switch a {
    min-width: 2.6rem; padding: .3rem .7rem; border-radius: 999px;
    font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-align: center;
    color: var(--text-muted); text-decoration: none;
    transition: background-color .15s, color .15s;
}
.lang-switch a:hover { color: var(--text); background: var(--bg); }
.lang-switch a[aria-current] { background: var(--accent); color: #fff; }

.tabs { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tabs ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tabs li + li { border-left: 1px solid var(--border); }
.tabs a {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    height: 100%; padding: 1.05rem .75rem;
    color: var(--text); font-size: 1.1rem; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none;
    box-shadow: inset 0 -3px 0 transparent;
    transition: color .3s ease-out, background-color .3s ease-out, box-shadow .3s ease-out;
}
.tabs .tab-icon { width: auto; height: 22px; color: var(--accent); }
/* Hover fades in quickly and out a little slower (the base transition above). */
.tabs a:hover { color: var(--accent); background: var(--surface-hover); box-shadow: inset 0 -3px 0 var(--green); transition-duration: .1s; }
.tabs a[aria-current="page"] { color: var(--accent-on-soft); font-weight: 600; background: var(--accent-soft); box-shadow: inset 0 -3px 0 var(--accent); }

/* ---------- Page ---------- */

.page-header { padding: 2.75rem 0 1.75rem; }
.page-header h1 {
    margin: 0 0 .4rem;
    font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.15rem);
    font-weight: 600; line-height: 1.2;
}
.page-title { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; }
.btn-read { flex: none; margin-top: .25rem; padding: .5rem .95rem; color: var(--accent); }
.btn-read:hover { color: var(--accent-hover); }
.btn-read .read-icon-stop,
.btn-read.is-reading .read-icon-play { display: none; }
.btn-read.is-reading .read-icon-stop { display: inline-block; }
.btn-read.is-reading { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-on-soft); }
.is-being-read { background-color: var(--reading) !important; box-shadow: 0 0 0 .3em var(--reading); border-radius: 2px; transition: background-color .2s, box-shadow .2s; }
.page-header .lead { margin: 0; font-size: 1.15rem; color: var(--text-muted); }

.page-body { padding-bottom: 4rem; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card-pad { padding: 2rem; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius-sm);
    font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.3;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg); color: var(--text); }

/* ---------- Prose (Markdown content) ---------- */


.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 2.25rem 0 .6rem; font-size: 1.3rem; line-height: 1.3; scroll-margin-top: 1.5rem; }
.prose h3 { margin: 1.75rem 0 .4rem; font-size: 1.05rem; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: .3rem 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose blockquote {
    padding: .9rem 1.1rem; border-left: 3px solid var(--accent);
    background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote > :last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .6rem .75rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; background: var(--surface-hover); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.intro { margin-bottom: 1.5rem; }

/* ---------- Accordion (FAQ, GDPR) ---------- */

.accordion-search { position: relative; margin-bottom: 1rem; }
.accordion-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.accordion-search .input { padding-left: 2.75rem; }

.accordion { overflow: hidden; overflow-anchor: none; }

.accordion-item { border-top: 1px solid var(--border); scroll-margin-top: 1rem; box-shadow: inset 0 0 0 transparent; transition: box-shadow .3s ease-out; }
.accordion-item:first-child,
.accordion-item[hidden] + .accordion-item:not([hidden]) { border-top: 0; }

.accordion-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
    padding: 1.15rem 1.5rem;
    list-style: none; cursor: pointer;
    color: var(--text); font-weight: 600; line-height: 1.45;
    transition: background-color .3s ease-out, color .3s ease-out;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary:hover { background: var(--surface-hover); color: var(--accent); transition-duration: .1s; }
.accordion-item summary:focus-visible { outline-offset: -2px; }
/* .is-closing is set by site.js while the close animation runs, so the item already looks closed. */
.accordion-item[open]:not(.is-closing) { box-shadow: inset 4px 0 0 var(--accent); }
.accordion-item[open]:not(.is-closing) > summary { color: var(--accent-on-soft); background: var(--accent-soft); }
.accordion-item[open]:not(.is-closing) > summary:hover { background: var(--accent-soft-strong); }

.accordion-chevron { flex: none; color: var(--text-muted); transition: transform .32s cubic-bezier(.25, .8, .25, 1), color .3s ease-out; }
.accordion-item[open]:not(.is-closing) .accordion-chevron { transform: rotate(180deg); color: var(--accent); }

.accordion-body { padding: 1.15rem 1.5rem 1.5rem; }

.accordion-empty { padding: 2rem; text-align: center; color: var(--text-muted); }

/* ---------- Form page ---------- */

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }

.aside-card { padding: 1.75rem; }
.aside-card h2 { margin: 0 0 1.25rem; font-size: 1.05rem; }
.steps { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: .85rem; }
.steps strong { display: block; color: var(--text); font-size: .95rem; }
.steps p { margin: .1rem 0 0; color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
.step-no {
    display: grid; place-items: center; flex: none;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-on-soft);
    font-size: .85rem; font-weight: 700;
}
.aside-footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .9rem; }
.aside-footer p { margin: 0 0 .25rem; color: var(--text-muted); }
.aside-footer a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.aside-footer a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem; }
.field-full { grid-column: 1 / -1; }

.field > label { display: block; margin-bottom: .4rem; color: var(--text); font-size: .9rem; font-weight: 600; }
.req { color: var(--danger); }

.input {
    display: block; width: 100%;
    padding: .7rem .85rem;
    font: inherit; color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #8a96a3; }
.input:hover { border-color: #aab5c1; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
textarea.input { min-height: 180px; resize: vertical; }

.input-validation-error { border-color: var(--danger); }
.input-validation-error:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.field-validation-error { display: block; margin-top: .35rem; color: var(--danger); font-size: .85rem; }
.field-validation-valid { display: none; }

.char-count { display: block; margin-top: .35rem; color: var(--text-muted); font-size: .85rem; text-align: right; }
.field-hint { display: block; margin-top: .35rem; color: var(--text-muted); font-size: .85rem; line-height: 1.4; }
.char-count.is-low { color: var(--danger); }

.checkbox { display: flex; align-items: flex-start; gap: .75rem; }
.checkbox input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--accent); }
.checkbox label { font-size: .95rem; }

textarea.input.input-short { min-height: 0; }

.choice-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-field legend { margin-bottom: .5rem; padding: 0; color: var(--text); font-size: .9rem; font-weight: 600; }
.choice-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.choice {
    display: flex; align-items: center; gap: .75rem;
    padding: .8rem 1rem;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    background: var(--surface); cursor: pointer;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice:hover { border-color: #aab5c1; }
.choice input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent-ring); }
.choice-text { display: flex; flex-direction: column; line-height: 1.3; }
.choice-label { color: var(--text); font-weight: 600; }
.choice-hours { color: var(--text-muted); font-size: .85rem; }

.form-footer {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex; align-items: flex-start; gap: .7rem;
    margin-bottom: 1.5rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
    font-size: .95rem;
}
.alert .icon { margin-top: .1rem; }
.alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid var(--danger-border); }

.error-summary:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.error-summary-title { margin: 0; font-weight: 600; }
.error-summary ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.error-summary li { margin: .15rem 0; }
.error-summary a { color: var(--danger); text-decoration: underline; }
.error-summary a:hover { color: #8f1c13; }

/* Submit button while sending: spinner instead of the arrow, no second click. */
.btn-submit .spinner { display: none; }
.btn-submit.is-busy { cursor: progress; opacity: .85; }
.btn-submit.is-busy .icon { display: none; }
.btn-submit.is-busy .spinner {
    display: inline-block; width: 1rem; height: 1rem;
    border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .btn-submit.is-busy .spinner { animation-duration: 2.4s; }
}

.success { padding: 3.5rem 2rem; text-align: center; }
.success-icon {
    display: grid; place-items: center;
    width: 60px; height: 60px; margin: 0 auto 1.25rem; border-radius: 50%;
    background: var(--success-soft); color: var(--success);
}
.success h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.success p { margin: 0 auto 1.75rem; max-width: 46ch; color: var(--text-muted); }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

.receipt {
    max-width: 440px; margin: 0 auto 1.75rem; padding: 1.1rem 1.25rem;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
    text-align: left;
}
.receipt h3 { margin: 0 0 .6rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; margin: 0; font-size: .95rem; }
.receipt dt { color: var(--text-muted); }
.receipt dd { margin: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */

.contact-intro { margin-bottom: 1.5rem; padding: 1.5rem; }
.contact-intro > :first-child { margin-top: 0; }
.contact-intro > :last-child { margin-bottom: 0; }

.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-card { display: flex; flex-direction: column; padding: 1.5rem; }
.icon-badge {
    display: grid; place-items: center;
    width: 42px; height: 42px; margin-bottom: 1rem; border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent);
}
.contact-card h2 {
    margin: 0 0 .25rem;
    font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted);
    overflow-wrap: anywhere;
}
.contact-card .value { color: var(--text); font-size: 1.05rem; font-weight: 600; font-style: normal; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a.value:hover { color: var(--accent); text-decoration: underline; }
.contact-meta { margin: .35rem 0 0; color: var(--text-muted); font-size: .9rem; line-height: 1.45; }
.contact-hours dt, .contact-hours dd { display: inline; margin: 0; }
.contact-hours dd { color: var(--text); font-weight: 600; }

.error-card p { margin: 0 0 1.5rem; }

/* ---------- Footer ---------- */

.site-footer { padding: 1.5rem 0; background: var(--surface); border-top: 1px solid var(--border); color: var(--text-muted); font-size: .875rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "copy powered links"; align-items: center; gap: .75rem 1.5rem; }
.footer-inner p { margin: 0; grid-area: copy; }
.footer-links { grid-area: links; justify-content: flex-end; }
.powered-by { grid-area: powered; display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); text-decoration: none; transition: color .15s ease-out; }
.powered-by img { display: block; height: 15px; width: auto; }
.powered-by:hover { color: var(--text); }
.powered-by:hover span { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
    .layout-aside { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; grid-template-areas: "links" "copy" "powered"; justify-items: center; text-align: center; }
    .footer-links { justify-content: center; }
    .tabs a { flex-direction: column; gap: .45rem; padding: .85rem .5rem; font-size: 1rem; }
}

@media (max-width: 640px) {
    .container { padding: 0 1rem; }
    .header-top { min-height: 72px; }
    .brand, .brand-text { gap: .75rem; }
    .brand-text { padding-left: .75rem; }
    .brand-logo { height: 42px; }
    .brand-name { font-size: 1rem; }
    .brand-tagline { font-size: .78rem; }
    .lang-switch a { min-width: 2.3rem; padding: .3rem .55rem; }
    .tabs .container { padding: 0; }
    .tabs a { padding: .75rem .25rem; font-size: .8rem; hyphens: auto; }
    .tabs .tab-icon { height: 20px; }
    .page-header { padding: 1.75rem 0 1.25rem; }
    .page-body { padding-bottom: 2.5rem; }
    .card-pad { padding: 1.25rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-footer .btn { width: 100%; }
    .accordion-item summary { padding: 1rem 1.1rem; }
    .accordion-body { padding: 1rem 1.1rem 1.2rem; }
    .choice-group { grid-template-columns: 1fr; gap: .5rem; }
    .success { padding: 2.5rem 1.25rem; }
    .aside-card { padding: 1.25rem; }
    .contact-grid { gap: .75rem; }
    .contact-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: 1rem 1.25rem; }
    .contact-card .icon-badge { grid-row: span 2; margin: 0; }
    .contact-card .contact-meta { grid-column: 2; }
}

/* Very narrow screens / high zoom (WCAG 1.4.10 reflow at 320px): tabs in a 2x2 grid, no tagline. */
@media (max-width: 374px) {
    .brand-tagline { display: none; }
    .tabs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tabs li:nth-child(3) { border-left: 0; }
    .tabs li:nth-child(n+3) { border-top: 1px solid var(--border); }
    .tabs a { flex-direction: row; gap: .5rem; padding: .7rem .5rem; }
    .tab-label { overflow-wrap: anywhere; }
}

/* ---------- Print ---------- */

@media print {
    body, main { display: block; height: auto !important; min-height: 0; overflow: visible !important; background: #fff; }
    .skip-link, .tabs, .lang-switch, .btn-read, .accordion-search, .aside-card, .footer-links, .form-footer, .success-actions { display: none !important; }
    .site-header, .site-footer { border: 0; }
    .layout-aside { display: block; }
    .card { border: 0; box-shadow: none; }
    .accordion-item { box-shadow: none !important; break-inside: avoid-page; }
    .accordion-item > summary { background: none !important; color: var(--text) !important; padding-left: 0; padding-right: 0; }
    .accordion-chevron { display: none; }
    /* Fallback when the browser prints without firing beforeprint: show closed sections too. */
    .accordion-item::details-content { content-visibility: visible; display: block; height: auto !important; }
    .accordion-body { padding-left: 0; padding-right: 0; }
    .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--text-muted); overflow-wrap: anywhere; }
}
