/* MeineBriefe – Oberfläche. Keine externen Ressourcen; Systemschrift für die UI,
   eingebettete Briefschriften nur für die Vorschau. */

@font-face { font-family: 'MB Sans'; font-weight: 400; font-display: swap; src: url('/fonts/LiberationSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'MB Sans'; font-weight: 700; font-display: swap; src: url('/fonts/LiberationSans-Bold.ttf') format('truetype'); }
@font-face { font-family: 'MB Serif'; font-weight: 400; font-display: swap; src: url('/fonts/LiberationSerif-Regular.ttf') format('truetype'); }
@font-face { font-family: 'MB Serif'; font-weight: 700; font-display: swap; src: url('/fonts/LiberationSerif-Bold.ttf') format('truetype'); }
@font-face { font-family: 'MB Carlito'; font-weight: 400; font-display: swap; src: url('/fonts/Carlito-Regular.ttf') format('truetype'); }
@font-face { font-family: 'MB Carlito'; font-weight: 700; font-display: swap; src: url('/fonts/Carlito-Bold.ttf') format('truetype'); }
@font-face { font-family: 'MB Fallback'; font-weight: 400; font-display: swap; src: url('/fonts/DejaVuSans.ttf') format('truetype'); }
@font-face { font-family: 'MB Fallback'; font-weight: 700; font-display: swap; src: url('/fonts/DejaVuSans-Bold.ttf') format('truetype'); }

:root {
  color-scheme: light dark;
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-2: #f0f2f6;
  --text: #171d29;
  --muted: #566070;
  --border: #d3d8e0;
  --border-strong: #8892a2;
  --primary: #1d3fbf;
  --primary-hover: #162f93;
  --on-primary: #ffffff;
  --link: #1a3aad;
  --ok: #11603a;
  --ok-bg: #e4f4ea;
  --warn: #6f4a00;
  --warn-bg: #fff3d1;
  --error: #ab2019;
  --error-bg: #fdebea;
  --paper-bg: #dfe3ea;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 4px 16px rgb(16 24 40 / 6%);
  --radius: 12px;
  --radius-small: 8px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141b;
    --surface: #191f2a;
    --surface-2: #222a37;
    --text: #e9edf3;
    --muted: #a5afbe;
    --border: #343d4c;
    --border-strong: #6d7889;
    --primary: #9db2ff;
    --primary-hover: #b7c6ff;
    --on-primary: #0d1322;
    --link: #a9bbff;
    --ok: #86dba9;
    --ok-bg: #143122;
    --warn: #f3cd77;
    --warn-bg: #3a2e10;
    --error: #ffaaa3;
    --error-bg: #401b19;
    --paper-bg: #0b0e13;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 4px 16px rgb(0 0 0 / 30%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; padding-bottom: 3rem; }
main:focus { outline: none; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.015em; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 1.5rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1rem 0 0.4rem; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
p { margin: 0 0 0.9rem; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.3em; border-radius: 4px; }
ul { padding-left: 1.25rem; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 0.5rem; top: -4rem; z-index: 100; background: var(--surface); color: var(--text); padding: 0.6rem 1rem; border-radius: var(--radius-small); box-shadow: var(--shadow); }
.skip-link:focus { top: 0.5rem; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.container .container-narrow, .container-narrow { max-width: 760px; }
.container .container-narrow { padding: 0; margin: 0 auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; }

/* Kopf und Fuß */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header-inner { max-width: 1280px; margin: 0 auto; padding: 0.6rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 750; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand .logo-mark { color: var(--primary); }
.site-nav { margin-left: auto; position: relative; }
.nav-links { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav-links a { color: var(--text); text-decoration: none; padding: 0.45rem 0.7rem; border-radius: var(--radius-small); font-size: 0.95rem; }
.nav-links a:hover { background: var(--surface-2); }
.nav-links a[aria-current='page'] { background: var(--surface-2); font-weight: 650; }
.nav-menu { display: none; }
.nav-menu summary { list-style: none; cursor: pointer; padding: 0.45rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-small); font-weight: 600; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] .nav-links { position: absolute; right: 0; top: calc(100% + 0.5rem); flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.5rem; min-width: 14rem; }
.nav-menu .nav-links a { padding: 0.7rem 0.8rem; }
@media (max-width: 900px) {
  .nav-menu { display: block; }
  .nav-inline { display: none; }
  .header-cta { display: none; }
}
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 1.25rem 0; font-size: 0.9rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-bottom: 0.5rem; }
.footer-inner p { margin: 0; }
.cancel-link { font-weight: 650; }

/* Schaltflächen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--radius-small); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--surface-2); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-danger { background: var(--error); border-color: var(--error); color: var(--surface); }
.btn-danger:hover { filter: brightness(0.92); background: var(--error); }
.btn-large { min-height: 3.1rem; padding: 0.7rem 1.4rem; font-size: 1.05rem; }
.btn-small { min-height: 2.1rem; padding: 0.25rem 0.7rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.inline-form { display: inline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.link-button.danger { color: var(--error); }

/* Karten, Hinweise */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin: 0 0 1.25rem; box-shadow: var(--shadow); min-width: 0; }
fieldset.card { min-inline-size: 0; }
fieldset.card > legend, .card-details > summary { font-weight: 700; font-size: 1.05rem; padding: 0 0.4rem; margin-left: -0.4rem; }
.card-details > summary { cursor: pointer; padding: 0; margin: 0; }
.card-details[open] > summary { margin-bottom: 1rem; }
.card-danger { border-color: color-mix(in srgb, var(--error) 45%, var(--border)); }
.notice { padding: 0.75rem 1rem; border-radius: var(--radius-small); background: var(--surface-2); border: 1px solid var(--border); margin: 1rem 0; }
.notice-ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.notice-warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.notice-error { background: var(--error-bg); color: var(--error); border-color: transparent; }
.notice a { color: inherit; }
.badge { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.82rem; font-weight: 650; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge-warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge-error { background: var(--error-bg); color: var(--error); border-color: transparent; }

/* Formulare */
.field { margin: 0 0 1rem; min-width: 0; border: 0; padding: 0; }
.field > label, .label, .field > legend { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 0.3rem; padding: 0; }
input[type='text'], input[type='email'], input[type='tel'], input[type='search'], input:not([type]), select, textarea {
  width: 100%; min-height: 2.75rem; padding: 0.55rem 0.7rem; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-small);
}
input[type='file'] { width: 100%; font: inherit; color: var(--text); padding: 0.4rem 0; }
textarea { resize: vertical; line-height: 1.45; }
select { appearance: auto; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.8; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.hint { font-size: 0.87rem; color: var(--muted); margin: 0.3rem 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
.field-row > .field-zip, .field-row > .field-small { max-width: 9rem; }
.field-row:has(> .field-zip) { grid-template-columns: 8rem 1fr; }
.field-row > div[hidden] + .field { grid-column: 1 / -1; }
.field-small { max-width: 9rem; }
.field-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: -0.4rem 0 1rem; }
.check { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.3rem 0; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--primary); }
.check select { width: auto; min-height: 2.2rem; padding: 0.2rem 0.5rem; margin-top: -0.2rem; }
.check-small { font-size: 0.87rem; padding: 0; }
.check-small input { width: 1rem; height: 1rem; }
.stack { display: grid; gap: 0.1rem; margin-bottom: 0.75rem; }
.static-value { margin: 0; padding: 0.55rem 0.7rem; background: var(--surface-2); border-radius: var(--radius-small); }
details.more { margin: 0 0 1rem; }
details.more > summary { cursor: pointer; color: var(--link); font-weight: 600; padding: 0.35rem 0; }
details.more[open] > summary { margin-bottom: 0.75rem; }
.form-card .btn-large { margin-top: 0.25rem; }

.segmented { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-small); overflow: hidden; margin-bottom: 1rem; }
.segmented label { flex: 1 1 auto; position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 2.6rem; padding: 0.4rem 0.8rem; font-size: 0.93rem; font-weight: 600; text-align: center; background: var(--surface); }
.segmented label + label span { border-left: 1px solid var(--border-strong); }
.segmented input:checked + span { background: var(--primary); color: var(--on-primary); }
.segmented input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: -3px; box-shadow: inset 0 0 0 5px var(--surface); }

/* Editor */
.hero { padding-top: 1.75rem; padding-bottom: 0.25rem; }
.hero .lead { margin-bottom: 0.5rem; }
.hero h1 { max-width: 30ch; }
.editor-title { padding-top: 1.5rem; }
.editor-title h1 { font-size: 1.5rem; }
.editor { display: grid; grid-template-columns: minmax(340px, 500px) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 1rem; }
.editor-form { min-width: 0; }
.layout-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.layout-option { position: relative; cursor: pointer; }
.layout-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.layout-option-body { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 0.7rem; border: 1px solid var(--border-strong); border-radius: var(--radius-small); background: var(--surface); }
.layout-option-body strong { font-size: 0.92rem; line-height: 1.25; }
.layout-option-body small { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.layout-option input:checked + .layout-option-body { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.layout-option input:focus-visible + .layout-option-body { outline: 3px solid var(--primary); outline-offset: 3px; }
.layout-thumb { width: 2.4rem; height: 3.4rem; color: var(--muted); }
.layout-option input:checked + .layout-option-body .layout-thumb { color: var(--primary); }
.actions .btn-large { width: 100%; }
.actions .btn-row .btn-large { flex: 1 1 14rem; width: auto; }
.actions .stack { margin: 0.6rem 0 0; }
.save-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.save-row .btn { flex: 1 1 12rem; }
.privacy-note { text-align: center; margin-top: 0.7rem; }
.upsell h2 { margin-top: 0; font-size: 1.05rem; }
.upsell ul { margin: 0 0 0.9rem; color: var(--muted); }
.upsell p { margin: 0; }

.editor-preview { position: sticky; top: 4.4rem; max-height: calc(100vh - 5.2rem); display: flex; flex-direction: column; background: var(--paper-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; padding: 0.55rem 0.9rem; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.preview-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 0.8rem; }
.preview-serial { display: inline-flex; align-items: center; gap: 0.4rem; }
.preview-pages { overflow: auto; padding: 1.1rem; display: grid; gap: 1.1rem; justify-items: center; flex: 1; }
.preview-pages svg { display: block; width: 100%; max-width: min(820px, calc((100vh - 10.5rem) / 1.4143)); height: auto; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%), 0 8px 24px rgb(0 0 0 / 12%); }
.preview-pages.zoomed svg { max-width: 820px; }
.preview-pages text { font-kerning: none; font-variant-ligatures: none; white-space: pre; fill: #000; }
.warnings { list-style: none; margin: 0; padding: 0; }
.warnings li { background: var(--warn-bg); color: var(--warn); padding: 0.5rem 0.9rem; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.mobile-bar { display: none; }

.serial-panel { border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 1rem; }
.serial-panel h3 { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.6rem 0 1rem; }
.chip { font: inherit; font-size: 0.82rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 0.3rem 0.55rem; min-height: 2rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-2); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--primary); }
.contact-list { max-height: 16rem; overflow: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-small); background: var(--surface); }
.contact-list .check, .contact-list button { display: flex; width: 100%; padding: 0.5rem 0.7rem; border: 0; border-bottom: 1px solid var(--border); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; gap: 0.6rem; }
.contact-list button { flex-direction: column; gap: 0; }
.contact-list button:hover, .contact-list .check:hover { background: var(--surface-2); }
.contact-list small { color: var(--muted); }
.contact-list p { padding: 0.7rem; margin: 0; color: var(--muted); }
.serial-status { font-weight: 600; margin: 0.6rem 0 0; }

dialog { width: min(34rem, calc(100vw - 2rem)); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 1.25rem; box-shadow: 0 20px 60px rgb(0 0 0 / 30%); }
dialog::backdrop { background: rgb(10 14 22 / 55%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.dialog-head h2 { margin: 0; }

@media (max-width: 900px) {
  .editor { grid-template-columns: 1fr; padding-bottom: 4.5rem; }
  .editor-preview { display: none; position: static; max-height: none; }
  .editor.show-preview .editor-preview { display: flex; }
  .editor.show-preview .editor-form { display: none; }
  .mobile-bar { display: flex; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgb(0 0 0 / 8%); }
  .mobile-bar .btn { flex: 1; }
  .preview-pages { padding: 0.6rem; }
  .preview-pages svg { max-width: 100%; }
  #zoom-toggle { display: none; }
  .site-footer { padding-bottom: 5rem; }
}
@media (max-width: 520px) {
  .layout-choice { grid-template-columns: 1fr; }
  .layout-option-body { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 0.7rem; }
  .layout-option-body small { flex-basis: 100%; }
  .layout-thumb { width: 1.6rem; height: 2.3rem; }
  .field-row { grid-template-columns: 1fr; }
  .field-row:has(> .field-zip) { grid-template-columns: 7rem 1fr; }
  .card { padding: 1rem; }
}

/* Listen und Tabellen */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1.75rem; margin-bottom: 1rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: 0; }
.container > h1:first-child, .container-narrow > h1:first-child, .container > p:first-child { margin-top: 1.75rem; }
.container-narrow > .eyebrow:first-child { margin-top: 2rem; }
.table-wrap { overflow-x: auto; margin: 0 -0.25rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table-compact { font-size: 0.85rem; }
.table-compact td { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.actions-cell { white-space: nowrap; text-align: right !important; }
.actions-cell > * + * { margin-left: 0.9rem; }
.empty { padding: 0.5rem 0; margin: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; margin-bottom: 1rem; }
.filter-bar .field { margin: 0; flex: 1 1 12rem; max-width: 22rem; }
.mapping-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0 1rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0 1rem; }
.profile-list { list-style: none; margin: 0; padding: 0; }
.profile-list li { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.profile-list li:last-child { border-bottom: 0; }
.profile-logo { width: 4.5rem; height: 3rem; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: 6px; flex: none; }
.profile-logo img { max-width: 100%; max-height: 100%; }
.profile-info { flex: 1 1 14rem; min-width: 0; }
.profile-info p { margin: 0; font-size: 0.9rem; }
.image-preview { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem; display: inline-block; margin-bottom: 0.5rem; }
.image-preview img { display: block; max-width: 14rem; max-height: 5rem; }

/* Premium, Konto, Rechtstexte */
.price-card { margin-top: 1.5rem; }
.price { font-size: 1rem; color: var(--muted); }
.price strong { font-size: 2.2rem; color: var(--text); letter-spacing: -0.02em; margin-right: 0.3rem; }
.features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.features li { display: grid; padding-left: 1.6rem; position: relative; }
.features li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.features span { color: var(--muted); font-size: 0.95rem; }
.order-form { border-top: 1px solid var(--border); padding-top: 0.5rem; }
.order-form .check { margin: 1rem 0 0.5rem; }
.btn-order { width: 100%; margin-top: 1rem; }
.summary { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 0.5rem 1rem; margin: 0.75rem 0 1rem; }
.summary dt { font-weight: 600; color: var(--muted); }
.summary dd { margin: 0; }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; gap: 0.1rem; } .summary dd { margin-bottom: 0.6rem; } }
.legal-form p { margin-bottom: 0.6rem; }
.error-page { padding-top: 3rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .nav-links a { transition: background-color 0.12s ease, border-color 0.12s ease; }
}
@media print {
  .site-header, .site-footer, .mobile-bar { display: none; }
  body { background: #fff; }
}
