/* doox – Oberfläche. Keine externen Schriften oder CDNs. */
:root {
  --bg: #e8ecee;
  --surface: #ffffff;
  --surface-2: #f4f6f7;
  --lane: #dfe4e7;
  --ink: #17262f;
  --ink-2: #3b4c57;
  --muted: #5d6d78;
  --line: #cfd7dc;
  --accent: #1f5c70;
  --accent-ink: #ffffff;
  --marker: #f2d13a;
  --marker-ink: #2a2300;
  --danger: #b3261e;
  --warn: #9a6512;
  --ok: #2f7350;
  --s-backlog: #6c7f8b;
  --s-doing: #1f5c70;
  --s-waiting: #b7791f;
  --s-done: #3e7d5a;
  --radius: 6px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181d;
    --surface: #1a242b;
    --surface-2: #151e24;
    --lane: #172027;
    --ink: #e3e9ed;
    --ink-2: #c3ced5;
    --muted: #8c9ca7;
    --line: #2c3a44;
    --accent: #5fb0c9;
    --accent-ink: #0b1a20;
    --marker: #e6c22c;
    --marker-ink: #1d1800;
    --danger: #ff8a80;
    --warn: #e0a84a;
    --ok: #7fc79c;
    --s-backlog: #8496a2;
    --s-doing: #5fb0c9;
    --s-waiting: #e0a84a;
    --s-done: #7fc79c;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--font);
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.05rem; font-weight: 650; }
h3 { font-size: .95rem; font-weight: 650; }
p { margin: 0 0 .75rem; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; word-break: break-all; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.hint { color: var(--muted); font-size: .86rem; margin: -.15rem 0 .6rem; }
.error { color: var(--danger); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.is-overdue { color: var(--danger) !important; }
.is-done { text-decoration: line-through; color: var(--muted); }

/* Formulare */
input, select, textarea, button { font: inherit; color: inherit; }
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .45rem .6rem;
  min-height: 2.25rem;
}
textarea { resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
label { display: block; font-size: .86rem; color: var(--ink-2); font-weight: 550; }
label > input, label > select, label > textarea { margin-top: .25rem; font-weight: 400; color: var(--ink); }
label.check { display: inline-flex; gap: .4rem; align-items: center; font-weight: 400; }
.stack > * + * { margin-top: .7rem; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.row > input, .row > select { flex: 1 1 10rem; width: auto; }
.row-between { display: flex; gap: .5rem; align-items: baseline; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .7rem; margin-bottom: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-height: 2.25rem; padding: .4rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: .88rem; text-decoration: underline; text-underline-offset: 2px; }
.btnrow { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

/* Kopfleiste */
.topbar {
  display: flex; align-items: center; gap: 1.25rem;
  padding: .55rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 18px; height: 18px; border-radius: 4px; background:
  linear-gradient(90deg, var(--marker) 0 30%, transparent 30% 36%, var(--line) 36% 64%, transparent 64% 70%, var(--line) 70%); }
.mainnav { display: flex; gap: .25rem; }
.mainnav a, .iconlink { padding: .35rem .65rem; border-radius: var(--radius); color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .92rem; }
.mainnav a:hover, .iconlink:hover { background: var(--surface-2); }
.mainnav a[aria-current], .iconlink[aria-current] { background: var(--ink); color: var(--surface); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + .35rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 16rem; padding: .3rem; box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.menu-pop a { display: block; padding: .45rem .6rem; border-radius: 4px; color: var(--ink); text-decoration: none; }
.menu-pop a:hover { background: var(--surface-2); }
.flash { margin: .75rem 1rem 0; padding: .55rem .8rem; border-radius: var(--radius); background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--line)); }
.flash-error { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }

.main { padding: 0 0 3rem; }
.page { max-width: 1180px; margin: 1.25rem auto; padding: 0 1rem; }
.page.narrow { max-width: 680px; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.narrow-block { max-width: 720px; }
details > summary { cursor: pointer; }
.inline-h { display: inline; }

/* Filter und Board */
.boardbar { padding: .75rem 1rem 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filters select, .filters input { width: auto !important; min-width: 9rem; max-width: 15rem; }
.board {
  display: grid; grid-template-columns: repeat(4, minmax(16.5rem, 1fr)); gap: .75rem;
  padding: .75rem 1rem; align-items: start; overflow-x: auto; scroll-snap-type: x proximity;
}
.lane { background: var(--lane); border-radius: var(--radius); padding: .6rem .55rem .75rem; scroll-snap-align: start; border-top: 3px solid var(--sc); min-height: 12rem; }
.lane-backlog { --sc: var(--s-backlog); }
.lane-doing { --sc: var(--s-doing); }
.lane-waiting { --sc: var(--s-waiting); }
.lane-done { --sc: var(--s-done); }
.lane-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 .2rem; }
.lane-head h2 { font-size: 1rem; margin: 0; }
.lane-count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.lane-hint { font-size: .8rem; color: var(--muted); margin: .1rem .2rem .5rem; }
.quickadd { display: flex; gap: .35rem; margin-bottom: .5rem; }
.quickadd input { background: color-mix(in srgb, var(--surface) 70%, transparent) !important; border-style: dashed !important; }
.quickadd select { width: 7rem !important; flex: 0 0 auto; font-size: .82rem; }
.lane-cards { display: flex; flex-direction: column; gap: .4rem; min-height: 4rem; border-radius: var(--radius); }
.lane-cards.is-over { outline: 2px dashed var(--sc); outline-offset: 2px; }
.lane-empty { color: var(--muted); font-size: .85rem; text-align: center; padding: 1rem .5rem; margin: 0; }

/* Karte: Rang = Priorität */
.card {
  display: grid; grid-template-columns: 2.1rem 1fr; gap: .1rem;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--pc, var(--line));
  border-radius: var(--radius); padding: .5rem .6rem .55rem 0; cursor: grab;
}
.card:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); border-left-color: var(--pc); }
.card.is-dragging { opacity: .45; }
.card.drop-before { box-shadow: 0 -3px 0 0 var(--accent); }
.card.drop-after { box-shadow: 0 3px 0 0 var(--accent); }
.rank {
  font-weight: 800; font-size: 1.25rem; line-height: 1.1; text-align: center; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em; padding-top: .05rem;
}
.lane-backlog .card:nth-child(-n+3) .rank, .lane-doing .card:nth-child(-n+3) .rank { color: var(--ink); }
.lane-backlog .card:first-child .rank, .lane-doing .card:first-child .rank {
  background: var(--marker); color: var(--marker-ink); border-radius: 0 4px 4px 0; margin-right: .35rem; align-self: start; padding: .1rem 0;
}
.lane-done .rank { opacity: .55; }
.lane-done .card-title { color: var(--muted); }
.card-title { display: block; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.card-title:hover { text-decoration: underline; }
.card-meta { display: flex; flex-wrap: wrap; gap: .25rem .35rem; margin-top: .3rem; font-size: .76rem; }
.card-people { margin-top: .25rem; font-size: .76rem; color: var(--muted); }
.card.is-blocked { background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 8px, var(--surface-2) 8px, var(--surface-2) 16px); }
.chip-project { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-2); font-size: .78rem; }
.chip-project::before { content: ""; width: .55rem; height: .55rem; border-radius: 2px; background: var(--pc, var(--muted)); }
.tag { display: inline-block; padding: 0 .35rem; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: .76rem; line-height: 1.5; white-space: nowrap; }
.tag.is-overdue { border-color: color-mix(in srgb, var(--danger) 50%, var(--line)); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); }
.tag.is-today { border-color: var(--warn); color: var(--warn); }
.tag-meeting { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.tag-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); }
.tag-blocked { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
.tag-type { font-weight: 600; }
.status-pill { display: inline-block; padding: 0 .45rem; border-radius: 3px; color: #fff; font-size: .78rem; font-weight: 650; }
.status-backlog { background: var(--s-backlog); }
.status-doing { background: var(--s-doing); }
.status-waiting { background: var(--s-waiting); }
.status-done { background: var(--s-done); }
@media (prefers-color-scheme: dark) { .status-pill { color: #0d1418; } }

/* Task-Seite */
.task-page { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.25rem; max-width: 1240px; margin: 1rem auto; padding: 0 1rem; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: .35rem; display: flex; gap: .35rem; align-items: center; }
.crumbs a { color: var(--ink-2); }
.task-page .crumbs a::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; background: var(--pc); margin-right: .35rem; }
.title-input { font-size: 1.55rem !important; font-weight: 750; letter-spacing: -0.015em; border-color: transparent !important; background: transparent !important; padding-left: 0 !important; }
.title-input:hover { border-color: var(--line) !important; padding-left: .5rem !important; }
.title-input:focus { background: var(--surface) !important; padding-left: .5rem !important; }
.type-line { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-bottom: 1rem; }
.savebar { position: sticky; bottom: 0; display: flex; gap: .75rem; align-items: center; padding: .6rem 0; background: var(--bg); border-top: 1px solid var(--line); margin-bottom: 1rem; z-index: 5; }
.task-side { display: flex; flex-direction: column; gap: .75rem; }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem; }
.side-block > label + label { margin-top: .6rem; }
.side-block h3 { margin-bottom: .4rem; }
.plain { list-style: none; margin: 0 0 .6rem; padding: 0; }
.plain li { padding: .2rem 0; }
.link-item { padding: .2rem 0; }
.block-export { border-left: 3px solid var(--marker); }
.export-actions { margin: .75rem 0 0; display: flex; gap: .75rem; align-items: center; }

/* Markdown-Feld */
.md-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .2rem; }
.md-head label { font-size: 1.05rem; font-weight: 650; color: var(--ink); }
.md-field textarea { display: none; font-family: var(--mono); font-size: .88rem; }
.md-field.is-editing textarea { display: block; }
.md-field.is-editing .md-view { display: none; }
.md-view { cursor: text; min-height: 2rem; }
.prose { overflow-wrap: anywhere; }
.prose h2 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.prose h3 { font-size: 1.05rem; margin: .9rem 0 .35rem; }
.prose h4, .prose h5 { font-size: .95rem; margin: .8rem 0 .3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 .75rem; }
.prose blockquote { margin: 0 0 .75rem; padding-left: .8rem; border-left: 3px solid var(--line); color: var(--ink-2); }
.prose pre { background: var(--surface-2); padding: .6rem .75rem; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { border-collapse: collapse; margin-bottom: .75rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .3rem .5rem; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.md-check.is-done { color: var(--ok); }

/* Checkliste */
.checklist { list-style: none; margin: .25rem 0 .6rem; padding: 0; counter-reset: cl; }
.cl-item { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: .5rem; padding: .3rem .25rem; border-bottom: 1px solid var(--surface-2); }
.cl-item:not(:has(.cl-min)) { grid-template-columns: auto 1fr auto auto; }
.cl-item input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.cl-item.is-done .cl-title { text-decoration: line-through; color: var(--muted); }
.cl-item.is-dragging { opacity: .4; }
.cl-title { overflow-wrap: anywhere; }
.cl-title[contenteditable=true] { background: var(--surface-2); outline: 1px solid var(--accent); border-radius: 3px; padding: 0 .25rem; }
.cl-due { width: 9.2rem !important; min-height: 1.9rem !important; padding: .15rem .35rem !important; font-size: .82rem; color: var(--muted); }
.cl-due:not([value=""]), .cl-due:focus { color: var(--ink); }
.cl-min { width: 4.6rem !important; min-height: 1.9rem !important; padding: .15rem .35rem !important; font-size: .82rem; }
.cl-del { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: .1rem .3rem; }
.cl-del:hover { color: var(--danger); }
.cl-add { display: flex; gap: .4rem; flex-wrap: wrap; }
.cl-add textarea { flex: 1 1 14rem; width: auto; min-height: 2.25rem; }
.cl-add input[type=date] { width: 9.5rem !important; }
.cl-add input[type=number] { width: 5rem !important; }

/* Verlauf */
.entry-add { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .75rem; }
.entry-add textarea { flex: 1; }
.entries, .history { list-style: none; padding: 0; margin: 0; }
.entry, .history > li { padding: .55rem 0; border-top: 1px solid var(--surface-2); }
.entry-meta { font-size: .8rem; color: var(--muted); margin-bottom: .15rem; }
.history-mini { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: .84rem; }
.history-mini li { padding: .15rem 0; }
.change { margin: .2rem 0; font-size: .92rem; }
.change del { color: var(--muted); }
.diff { display: grid; gap: .4rem; margin-top: .3rem; }
.diff pre { white-space: pre-wrap; font-size: .82rem; background: var(--surface-2); padding: .5rem; border-radius: 4px; margin: .15rem 0 0; }
.diff-old pre { border-left: 3px solid color-mix(in srgb, var(--danger) 60%, transparent); }
.diff-new pre { border-left: 3px solid color-mix(in srgb, var(--ok) 60%, transparent); }

/* Dateien */
.dropfile { position: relative; border: 1px dashed var(--line); border-radius: var(--radius); padding: .65rem; text-align: center; }
.dropfile input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropfile.is-over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.dropfile-label { color: var(--muted); font-weight: 400; font-size: .86rem; }

/* Tabellen */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .92rem; }
.table th { text-align: left; font-weight: 600; color: var(--ink-2); background: var(--surface-2); }
.table th, .table td { padding: .45rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
tr.is-archived td { color: var(--muted); }

/* Einstellungen */
.subnav { display: flex; gap: .25rem; flex-wrap: wrap; margin: .5rem 0 1.25rem; border-bottom: 1px solid var(--line); }
.subnav a { padding: .45rem .7rem; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 550; }
.subnav a[aria-current] { border-bottom-color: var(--ink); color: var(--ink); }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem; align-items: start; }
.settings-grid .wide { grid-column: span 2; }
.topic { border-top: 1px solid var(--surface-2); padding: .6rem 0; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .2rem .6rem; margin: .4rem 0; }
.danger-zone { margin-top: 1.5rem; display: flex; gap: .75rem; align-items: center; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .35rem; }
.copy { cursor: copy; }
.logo-preview { max-height: 3rem; max-width: 10rem; }

/* Fokus */
.focus-head { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; }
.focus-head > div:first-child { flex: 1 1 18rem; }
.focus-head h1 { margin-bottom: .1rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.seg a { padding: .4rem .9rem; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.seg a[aria-current] { background: var(--ink); color: var(--surface); }
.top3 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.top-list { list-style: none; margin: 0; padding: 0; counter-reset: top; }
.top-list li { counter-increment: top; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--surface-2); }
.top-list li:first-child { border-top: 0; }
.top-list li::before { content: counter(top); grid-row: span 2; font-size: 1.7rem; font-weight: 800; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.top-list li:first-child::before { background: var(--marker); color: var(--marker-ink); border-radius: 4px; padding: .2rem 0; }
.top-list a { font-weight: 650; font-size: 1.05rem; color: var(--ink); }
.top-list .why { color: var(--muted); font-size: .86rem; }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.focus-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; }
.focus-item { border-left: 3px solid var(--pc, var(--line)); padding-left: .55rem !important; margin-bottom: .3rem; }

/* Anmeldung */
.bare { display: grid; place-items: center; min-height: 100vh; }
.auth { width: min(26rem, 100% - 2rem); }
.auth-brand { display: flex; gap: .5rem; align-items: center; font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; justify-content: center; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.auth-card > * + * { margin-top: .8rem; }
.auth-card .btn { width: 100%; }
.auth-card .btnrow .btn { width: auto; flex: 1; }

@media (max-width: 900px) {
  .task-page { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(4, min(85vw, 22rem)); }
  .settings-grid .wide { grid-column: auto; }
  .mainnav a { padding: .35rem .45rem; }
}
@media (max-width: 560px) {
  .topbar { flex-wrap: wrap; gap: .5rem; }
  .topbar-actions { gap: .5rem; }
  .filters select, .filters input { flex: 1 1 45%; max-width: none; }
  .cl-item, .cl-item:not(:has(.cl-min)) { grid-template-columns: auto 1fr auto; }
  .cl-due, .cl-min { grid-column: 2; }
  .table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Passkey-Anmeldung */
.pw-login { border-top: 1px solid var(--line); padding-top: .8rem; }
.pw-login summary { color: var(--muted); font-size: .9rem; }
.pw-login form { margin-top: .8rem; }
