/* Zettelwirtschaft — Facelift 25.10.2026 (Phil: «krasser facelift», Variante A «Ablage zuerst»).
   Liegt NACH style.css + belege.css und dreht deren Variablen auf den Look der iPhone-App:
   Systemschrift, ruhige iOS-Grautöne, gelber Akzent #E5A800, hell/dunkel.

   Gelb ist eine FLÄCHENfarbe: weisse Schrift darauf ist unlesbar. Deshalb:
   --accent  = textsichere Goldtöne (Links, aktive Reiter, Fokus),
   --gelb    = die Fläche (Hauptknopf, Ablage-Symbol, Schalter) mit --gelb-tinte darauf.
   Keine Animation läuft dauerhaft: nur kurze Übergänge bei Hover/Fokus. */

:root {
  --gelb: #E5A800; --gelb-tinte: #1c1400; --gelb-weich: rgba(229,168,0,.13); --gelb-rand: rgba(229,168,0,.55);
  --accent: #8a6500; --accent-soft: rgba(229,168,0,.14); --hover-accent: rgba(229,168,0,.08);
  --bg: #f2f2f7; --panel: #ffffff; --line: rgba(60,60,67,.13); --line-soft: rgba(60,60,67,.08);
  --text: #1c1c1e; --text2: #6e6e73; --text3: #a1a1a6;
  --red: #d70015; --rot-weich: rgba(255,59,48,.11); --green: #248a3d; --gruen-weich: rgba(52,199,89,.13);
  --orange: #c26a00; --blau: #0a66d6; --blau-weich: rgba(10,132,255,.11); --grau-weich: rgba(120,120,128,.12);
  --radius: 16px; --radius-klein: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  --sidebar-w: 236px; --sidebar-bg: rgba(255,255,255,.62); --topbar-bg: rgba(242,242,247,.82);
  --seg-bg: rgba(120,120,128,.12); --input-bg: #ffffff; --row-hover: rgba(120,120,128,.06);
  --hover-bg: rgba(120,120,128,.1); --chip-bg: rgba(120,120,128,.12); --search-bg: rgba(120,120,128,.12);
  --warn-soft: #fff6dd; --warn-text: #7a5300;
}
:root[data-theme="dark"] {
  --gelb-weich: rgba(229,168,0,.17);
  --accent: #ffc933; --accent-soft: rgba(229,168,0,.18); --hover-accent: rgba(229,168,0,.1);
  --bg: #000000; --panel: #1c1c1e; --line: rgba(84,84,88,.5); --line-soft: rgba(84,84,88,.3);
  --text: #f5f5f7; --text2: #98989f; --text3: #636366;
  --red: #ff6961; --rot-weich: rgba(255,69,58,.17); --green: #30d158; --gruen-weich: rgba(48,209,88,.16);
  --orange: #ffb340; --blau: #64a8ff; --blau-weich: rgba(10,132,255,.2); --grau-weich: rgba(120,120,128,.22);
  --shadow: none;
  --sidebar-bg: rgba(28,28,30,.7); --topbar-bg: rgba(0,0,0,.78);
  --seg-bg: rgba(120,120,128,.24); --input-bg: #2c2c2e; --row-hover: rgba(255,255,255,.04);
  --hover-bg: rgba(255,255,255,.07); --chip-bg: rgba(120,120,128,.24); --search-bg: rgba(120,120,128,.24);
  --warn-soft: #2e2306; --warn-text: #ffcf5c;
}

body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif; font-size: 14.5px; }
a { color: var(--accent); }
.zw-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.zw-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }

/* ---------- Seitenleiste ---------- */
.zw-seite { backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-right: 1px solid var(--line); padding: 18px 12px 12px; gap: 2px; }
.zw-marke { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; font-weight: 700;
  font-size: 16px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.zw-marke:hover { text-decoration: none; }
.zw-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--gelb); color: var(--gelb-tinte);
  display: grid; place-items: center; }
.zw-firma { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  margin: 0 0 14px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow);
  border: 1px solid var(--line-soft); color: var(--text2); }
.zw-firma-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zw-firma select { appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0;
  font-weight: 650; font-size: 14px; color: var(--text); cursor: pointer; width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Die ganze Karte ist Klickfläche: das select liegt unsichtbar darüber */
.zw-firma select::after { content: ''; }
.zw-firma small { font-size: 11.5px; color: var(--text2); }
.sidebar .nav-item { gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; font-weight: 560;
  font-size: 14.5px; color: var(--text); margin-bottom: 1px; }
.sidebar .nav-item:hover { background: var(--hover-bg); text-decoration: none; }
.sidebar .nav-item.active { background: var(--gelb-weich); color: var(--accent); }
.zw-zaehler { margin-left: auto; font-size: 12px; font-weight: 650; color: var(--text2); font-variant-numeric: tabular-nums; }
.nav-item.active .zw-zaehler { color: var(--accent); }
.zw-ich { display: flex; align-items: center; gap: 9px; padding: 10px 6px 0; margin-top: 8px; border-top: 1px solid var(--line); }
.zw-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--grau-weich); display: grid;
  place-items: center; font-size: 11px; font-weight: 700; color: var(--text); flex: none; }
.zw-ich-mail { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text2); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.zw-ich form { margin: 0; }

/* ---------- Kopfleiste ---------- */
.zw-kopf { height: 60px; gap: 10px; padding: 0 28px; border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); }
.zw-jahr select { appearance: none; -webkit-appearance: none; height: 32px; padding: 0 30px 0 13px;
  border-radius: 999px; border: 0; background: var(--grau-weich) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 13px;
  font-weight: 650; font-size: 14px; color: var(--text); cursor: pointer; }
.zw-suche { position: relative; display: flex; align-items: center; gap: 8px; height: 36px; width: 280px;
  padding: 0 12px; border-radius: 10px; background: var(--search-bg); color: var(--text2); margin: 0; }
.zw-suche input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; color: var(--text); }
.zw-suche input::placeholder { color: var(--text2); }
.zw-suche kbd { font: 12px system-ui; color: var(--text3); }
.zw-suche:focus-within { box-shadow: 0 0 0 2px var(--gelb-rand); }
.zw-rund { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--grau-weich); color: var(--text2);
  display: grid; place-items: center; flex: none; }
.zw-rund:hover { color: var(--text); }
.zw-rund.klein { width: 30px; height: 30px; }
.zw-rund.klein .zw-i { width: 15px; height: 15px; }
.content { padding: 8px 28px 48px; }
.content > * { max-width: 1320px; }

/* ---------- Reiter einer Rubrik (Belege / Abrechnen / Admin) ---------- */
.zw-reiter { display: inline-flex; gap: 2px; padding: 3px; margin: 6px 0 18px; border-radius: 11px; background: var(--seg-bg);
  max-width: 100%; overflow-x: auto; }
.zw-reiter a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 8px;
  font-size: 14px; font-weight: 560; color: var(--text2); white-space: nowrap; text-decoration: none; }
.zw-reiter a:hover { color: var(--text); text-decoration: none; }
.zw-reiter a.an { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
:root[data-theme="dark"] .zw-reiter a.an { background: #636366; }
.zw-reiter a span { font-size: 12px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- Grundbausteine neu eingefärbt ---------- */
.titelzeile { margin-bottom: 18px; }
.titelzeile h1 { font-size: 28px; font-weight: 750; letter-spacing: -.025em; }
.tafel, .aufklapper, .vorschau, .s2-body > .card, .card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
:root[data-theme="dark"] .tafel, :root[data-theme="dark"] .vorschau, :root[data-theme="dark"] .card { border: 0; }
.tafel h2 { font-size: 17px; font-weight: 650; text-transform: none; letter-spacing: -.01em; color: var(--text); }
.knopf, button.knopf, .btn { border-radius: 999px; font-weight: 590; }
.knopf:not(.leise), .btn.primary { background: var(--gelb); border-color: var(--gelb); color: var(--gelb-tinte); }
.btn.small.active { background: var(--gelb); border-color: var(--gelb); color: var(--gelb-tinte); }
.knopf.leise { background: var(--grau-weich); border-color: transparent; }
.knopf.leise:hover { background: var(--hover-bg); }
.schalter input:checked + .spur { background: var(--gelb); border-color: var(--gelb); }
.s2-tab.active { background: var(--accent-soft); color: var(--accent); }
.tabelle th { color: var(--text2); }
.tabelle td { border-bottom-color: var(--line-soft); }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { border-color: var(--gelb) !important;
  box-shadow: 0 0 0 3px var(--gelb-weich); outline: none; }

/* ---------- Startseite ---------- */
.zw-start { display: flex; flex-direction: column; gap: 20px; }
.zw-titel { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.zw-titel h1 { margin: 0; font-size: 30px; font-weight: 760; letter-spacing: -.03em; }
.zw-titel .leise { font-size: 15px; }
.zw-titel .rechts { margin-left: auto; font-size: 14px; }

/* Die Ablage auf Start: gelbe Fläche, kompakt in einer Zeile */
.zw-start .ablage-block { gap: 12px; }
.zw-start .ablage { display: flex; align-items: center; gap: 18px; text-align: left; padding: 22px 26px;
  border: 1.5px dashed var(--gelb-rand); background: var(--gelb-weich); border-radius: 20px; min-height: 0; }
.zw-start .ablage:hover, .zw-start .ablage.zieht { background: rgba(229,168,0,.22); border-color: var(--gelb); }
.zw-start .ablage-symbol { width: 52px; height: 52px; border-radius: 14px; background: var(--gelb); color: var(--gelb-tinte);
  display: grid; place-items: center; flex: none; margin: 0; }
.zw-start .ablage-symbol svg { width: 28px; height: 28px; }
.zw-start .ablage-symbol .ab-strich { stroke: var(--gelb-tinte); }
.zw-start .ablage-text { flex: 1; min-width: 0; }
.zw-start .ablage-gross { margin: 0; font-size: 17px; font-weight: 650; color: var(--text); }
.zw-start .ablage-klein { margin: 2px 0 0; font-size: 13.5px; color: var(--text2); }
.zw-start .ablage-vorgaben { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.zw-start .ablage-vorgaben label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); }
.zw-start .ablage-vorgaben select { height: 32px; border-radius: 999px; padding: 0 12px; border: 0; background: var(--grau-weich); font-weight: 600; font-size: 13.5px; }
.zw-start .ablage-notiz { display: none; }

/* Aufgaben-Kacheln */
.zw-aufgaben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.zw-aufgabe { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow); color: var(--text); text-decoration: none; min-width: 0;
  transition: transform .12s; }
.zw-aufgabe:hover { text-decoration: none; transform: translateY(-1px); }
.zw-aufgabe .punkt svg, .zw-hinweis svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.zw-aufgabe .pfeil svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.zw-aufgabe .punkt { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.zw-aufgabe b { display: block; font-size: 22px; font-weight: 720; letter-spacing: -.02em; line-height: 1.15;
  font-variant-numeric: tabular-nums; }
.zw-aufgabe small { display: block; font-size: 13px; color: var(--text2); line-height: 1.35; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.zw-aufgabe > div { min-width: 0; }
.zw-aufgabe .pfeil { margin-left: auto; color: var(--text3); }
.zw-aufgabe.erledigt b { color: var(--green); }
.t-gelb { background: var(--gelb-weich); color: var(--accent); }
.t-rot { background: var(--rot-weich); color: var(--red); }
.t-blau { background: var(--blau-weich); color: var(--blau); }
.t-gruen { background: var(--gruen-weich); color: var(--green); }
.t-grau { background: var(--grau-weich); color: var(--text2); }

.zw-zwei { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.zw-spalte { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.zw-karte { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.zw-karte-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 18px 6px; }
.zw-karte-kopf h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.zw-karte-kopf a, .zw-karte-kopf span { font-size: 13.5px; }
.zw-karte-kopf a { font-weight: 590; }
.zw-karte-kopf span { color: var(--text2); }

/* Belegzeilen mit zugeschnittener Miniatur: feste Höhe, Überlauf mit … */
.zw-zeilen { list-style: none; margin: 0; padding: 2px 0 8px; }
.zw-zeile { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; color: var(--text); text-decoration: none; }
.zw-zeilen li + li .zw-zeile { border-top: 1px solid var(--line-soft); }
.zw-zeile:hover { background: var(--row-hover); text-decoration: none; }
.zw-mini { width: 36px; height: 46px; border-radius: 5px; object-fit: cover; object-position: top; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.08); flex: none; }
.zw-mini.leer { display: grid; place-items: center; color: var(--text3); background: var(--grau-weich); box-shadow: none; }
.zw-wer { min-width: 0; flex: 1; }
.zw-wer b { display: block; font-weight: 590; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zw-wer small { display: block; color: var(--text2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zw-betrag { font-weight: 620; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 72px; }
.zw-betrag small { display: block; font-weight: 500; font-size: 11.5px; color: var(--text2); }
.zw-marke { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; flex: none; }
.zw-marke svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zw-leer { padding: 18px; color: var(--text2); margin: 0; }

/* Jahr in Zahlen */
.zw-summe { display: flex; align-items: baseline; gap: 8px; padding: 2px 18px 0; }
.zw-summe b { font-size: 30px; font-weight: 760; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.zw-summe span { color: var(--text2); }
.zw-nebensumme { padding: 2px 18px 0; font-size: 13px; color: var(--text2); }
.zw-balken { display: flex; align-items: flex-end; gap: 7px; height: 128px; padding: 14px 18px 16px; }
.zw-balken a, .zw-balken div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 6px; height: 100%; text-decoration: none; min-width: 0; }
.zw-balken i { display: block; width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: var(--gelb); }
.zw-balken i.leer { background: var(--grau-weich); }
.zw-balken a:hover i { filter: brightness(1.08); }
.zw-balken span { font-size: 11px; color: var(--text2); }
.zw-konten { list-style: none; margin: 0; padding: 4px 18px 14px; }
.zw-konten a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 9px 0; color: var(--text); text-decoration: none; }
.zw-konten li + li a { border-top: 1px solid var(--line-soft); }
.zw-konten a:hover { text-decoration: none; }
.zw-konten a:hover b { color: var(--accent); }
.zw-konten .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zw-konten small { color: var(--text2); }
.zw-konten b { font-variant-numeric: tabular-nums; font-weight: 640; }
.zw-konten .spur { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--grau-weich); overflow: hidden; }
.zw-konten .spur i { display: block; height: 100%; border-radius: 3px; }
.zw-hinweis { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-klein);
  background: var(--grau-weich); color: var(--text2); font-size: 13.5px; }

@media (max-width: 1180px) {
  .zw-aufgaben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zw-zwei { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .zw-kopf { padding: 0 12px; }
  .zw-suche { width: auto; flex: 1; }
  .zw-suche kbd { display: none; }
  .content { padding: 4px 16px 40px; }
  .zw-start .ablage { flex-direction: column; text-align: center; padding: 24px 18px; }
  .zw-start .ablage-vorgaben { justify-content: center; }
  .zw-aufgaben { gap: 10px; }
  .zw-aufgabe { padding: 12px; gap: 10px; }
  .zw-aufgabe .pfeil { display: none; }
  .zw-aufgabe .punkt { display: none; }
  .zw-titel h1 { font-size: 26px; }
  .zw-zeile { padding: 0 14px; }
  .zw-zeile .zw-marke.wv { display: none; }
  .titelzeile h1 { font-size: 24px; }
}

/* ---------- Gegen ältere, spezifischere Regeln aus belege.css ---------- */
.content a.knopf:not(.leise) { color: var(--gelb-tinte); }
.content a.zw-zeile, .content a.zw-aufgabe, .content .zw-konten a, .content a.zw-hinweis { color: var(--text); text-decoration: none; }
.content a.zw-hinweis { color: var(--text2); }
.content .zw-reiter a { text-decoration: none; }
.content .zw-reiter a:not(.an) { color: var(--text2); }
.content .zw-reiter a.an { color: var(--text); }
.zw-aufgabe .punkt { color: inherit; }
.zw-aufgabe .punkt.t-gelb { color: var(--accent); } .zw-aufgabe .punkt.t-rot { color: var(--red); }
.zw-aufgabe .punkt.t-blau { color: var(--blau); } .zw-aufgabe .punkt.t-gruen { color: var(--green); }
.zw-aufgabe .punkt.t-grau { color: var(--text2); }
.zw-start .ablage { flex-direction: row; justify-content: flex-start; transform: none; color: var(--text); }
.zw-start .ablage.zieht { border-style: solid; }
.sidebar .zw-marke { font-size: 16px; font-weight: 700; }
.zw-firma label { display: flex; flex-direction: column; gap: 0; font-size: inherit; text-transform: none; letter-spacing: 0; }
.zw-firma small { text-transform: none; letter-spacing: 0; }
.zw-start .ablage-vorgaben label { flex-direction: row; text-transform: none; letter-spacing: 0; }
.zw-start .ablage-vorgaben select { appearance: none; -webkit-appearance: none; padding-right: 28px; color: var(--text);
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 12px; }
@media (max-width: 820px) { .zw-start .ablage { flex-direction: column; justify-content: center; } }
.zw-kopf > * { order: 0 !important; }
.zw-kopf .grow { flex: 1; }
.zw-suche input[type=search] { width: auto; padding: 0; border: 0; min-height: 0; background: none; box-shadow: none !important; }
/* Auswahllisten und Felder im Inhalt: iOS-ruhig, gleiche Höhe wie Knöpfe */
.content select, .content input[type=text], .content input[type=date], .content input[type=number],
.content input[type=email], .content input[type=password], .content input[type=search], .content textarea {
  border-radius: 10px; border-color: var(--line); background-color: var(--input-bg); }
.content select { min-height: 36px; }
.knopf, button.knopf { min-height: 34px; }

/* ---------- Handbuch: fixes Inhaltsverzeichnis, Lesebreite ---------- */
.hb { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 36px; align-items: start; }
.hb .hb-inhalt { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 1px; margin: 0; padding-top: 6px; }
.hb .hb-inhalt a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 13.5px; color: var(--text2); text-decoration: none; }
.hb .hb-inhalt a:hover { background: var(--hover-bg); color: var(--text); text-decoration: none; }
.hb-inhalt-titel { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); margin: 0 0 6px 10px; }
.hb-stand { font-size: 12px; color: var(--text3); margin: 10px 0 0 10px; }
.hb-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hb-text .titelzeile { margin-bottom: 0; }
.hb-lead { font-size: 16px; color: var(--text2); margin: -4px 0 6px; line-height: 1.5; }
.hb-text .card { padding: 22px 24px; scroll-margin-top: 16px; font-size: 15px; line-height: 1.6; }
.hb-text .card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 10px; }
.hb-text .card h4 { font-size: 15px; font-weight: 650; margin: 16px 0 4px; }
.hb-text .card p { margin: 8px 0 0; }
.hb-text .card p:first-of-type { margin-top: 0; }
.hb-text .fussnote { font-size: 13.5px; line-height: 1.55; }
.hb-text .hb-liste { gap: 9px; }
.hb-text .hb-dl { gap: 10px 18px; align-items: baseline; }
.hb-text .hb-dl dt { color: var(--text); }
.hb-rubriken { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 12px 0 0; }
.hb-rubriken dt { font-weight: 650; }
.hb-rubriken dd { margin: 0; color: var(--text2); }
.hb-wichtig { box-shadow: inset 3px 0 0 var(--red), var(--shadow) !important; }
kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 5px; background: var(--grau-weich);
  box-shadow: inset 0 -1px 0 var(--line); font: 600 12px/1.5 -apple-system, system-ui, sans-serif; text-align: center; color: var(--text); }
@media (max-width: 1000px) {
  .hb { grid-template-columns: 1fr; gap: 14px; }
  .hb .hb-inhalt { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .hb-inhalt-titel, .hb-stand { display: none; }
  .hb .hb-inhalt a { background: var(--grau-weich); border-radius: 999px; padding: 5px 11px; font-size: 13px; }
  .hb-rubriken { grid-template-columns: 1fr; gap: 2px; }
  .hb-rubriken dd { margin-bottom: 8px; }
}
.hb-text .card h3 { text-transform: none; color: var(--text); }
.hb .hb-inhalt a { border: 0 !important; }
nav.zw-seite a.zw-marke { padding: 4px 8px 18px; margin: 0; min-height: 0; height: auto; }
.zw-suche-mobil { display: none; }
.zw-kopf { flex-wrap: nowrap !important; }
@media (max-width: 820px) {
  .zw-kopf { height: 56px !important; gap: 8px; padding: 0 12px !important; }
  .zw-kopf .zw-suche { display: none; }
  .zw-kopf .zw-suche-mobil { display: grid; }
  .zw-kopf .modus-label { display: none; }
  .zw-kopf .zw-jahr select { height: 34px; }
}
.nur-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .nur-maus { display: none; } .nur-touch { display: inline; } p.nur-touch { display: block; } }
.ablage-scanweg { margin: 0; font-size: 13px; color: var(--text2); text-align: center; }
@media (max-width: 520px) { .zw-zeile .zw-marke.t-grau { display: none; } }

/* ---------- Anmeldung / Registrierung ---------- */
.auth-wrap { background: var(--bg); }
.auth-card { border: 0; border-radius: 22px; box-shadow: var(--shadow), 0 20px 60px rgba(0,0,0,.06); padding: 30px 28px; }
.auth-logo { gap: 10px; }
.auth-logo .zw-logo svg { color: var(--gelb-tinte); }
.auth-logo b { font-size: 17px; font-weight: 700; }
.auth-titel { font-size: 24px; font-weight: 750; letter-spacing: -.025em; }
.auth-card input[type=email], .auth-card input[type=password], .auth-card input[type=text] { border-radius: 12px; min-height: 44px; }
.auth-knopf { background: var(--gelb) !important; border-color: var(--gelb) !important; color: var(--gelb-tinte) !important;
  border-radius: 999px !important; min-height: 46px; font-weight: 650 !important; }
.auth-passkey { border-radius: 999px; min-height: 44px; }
.auth-passkey:hover:not(:disabled) { background: var(--gelb-weich); border-color: var(--gelb); }

/* ---------- Einstellungs-Reiter wie die Rubrik-Reiter ---------- */
.s2-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 0; border-radius: 11px;
  background: var(--seg-bg); margin-bottom: 18px; }
.s2-tab { height: 30px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 560; color: var(--text2); }
.s2-tab.active { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
:root[data-theme="dark"] .s2-tab.active { background: #636366; }
.content a.s2-tab.active { color: var(--text); }

/* ---------- Warteschlange beim Hochladen ---------- */
.ab-zeile { border: 0; border-radius: 14px; background: var(--panel); box-shadow: inset 3px 0 0 var(--text3), var(--shadow); padding: 12px 16px; }
.ab-zeile[data-stand="laedt"], .ab-zeile[data-stand="liest"] { box-shadow: inset 3px 0 0 var(--gelb), var(--shadow); }
.ab-zeile[data-stand="fertig"] { box-shadow: inset 3px 0 0 var(--green), var(--shadow); }
.ab-zeile[data-stand="fehler"] { box-shadow: inset 3px 0 0 var(--red), var(--shadow); }
.ab-balken i { background: var(--gelb); }
.ab-fehler { border-radius: 10px; }
.s2-tabs { width: fit-content; max-width: 100%; }
input[type=file]::file-selector-button { border: 0; border-radius: 999px; padding: 6px 14px; margin-right: 10px;
  background: var(--grau-weich); color: var(--text); font: 590 13px -apple-system, system-ui, sans-serif; cursor: pointer; }
