/* app.css — Aufbau wie ein Power-Apps-Formular: Band oben, Bereiche links,
   Befehlsleiste, Inhalt. Farben nur ueber die Rollen aus theme.css. */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
/* Die App fuellt immer das ganze Fenster; die Leiste links reicht bis unten. */
#app { height: 100%; height: 100dvh; display: flex; flex-direction: column; }
body { margin: 0; background: var(--grund); color: var(--ink); font: 15px/1.5 var(--schrift-ui); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--akzent-tief); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.zahl { font-variant-numeric: tabular-nums; }

/* Ladebalken: waechst mit jedem laufenden Abruf, verschwindet danach */
#ladebalken { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--akzent);
  z-index: 50; transition: width .25s var(--kurve), opacity .3s; opacity: 0; }
#ladebalken.an { opacity: 1; }

/* Band */
.band { height: 48px; background: var(--akzent); color: #fff; display: flex; align-items: center;
  gap: 12px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
.band .marke { font-weight: 700; font-size: 17px; letter-spacing: .01em; white-space: nowrap; }
.band .pfad { opacity: .85; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.band button { background: rgba(255,255,255,.16); border: 0; color: #fff; border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.band button:hover { background: rgba(255,255,255,.28); }
#menueknopf { display: none; }

/* Gesamtaufbau */
.band { flex: none; }
.rahmen { display: grid; grid-template-columns: 212px 1fr; flex: 1; min-height: 0; }
nav.bereiche { background: var(--flaeche-alt); border-right: 1px solid var(--kontur); padding: 10px 8px; overflow-y: auto; }
nav.bereiche a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px;
  color: var(--ink); text-decoration: none; position: relative; }
nav.bereiche a:hover { background: var(--feld); }
nav.bereiche a.aktiv { background: var(--akzent-hauch); font-weight: 650; }
nav.bereiche a.aktiv::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--akzent); }
nav.bereiche .trenner { height: 1px; background: var(--kontur); margin: 10px 6px; }
nav.bereiche .zaehler { margin-left: auto; font-size: 12px; background: var(--akzent); color: #fff; border-radius: 99px; padding: 0 7px; }
main { overflow-y: auto; min-width: 0; }

/* Befehlsleiste */
.befehle { display: flex; flex-wrap: wrap; gap: 2px; background: var(--flaeche); border-bottom: 1px solid var(--kontur);
  padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px 12px; position: sticky; top: 0; z-index: 5; }
.befehle button { background: none; border: 0; padding: 7px 12px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 14px; }
.befehle button:hover { background: var(--feld); }
.befehle button.haupt { color: var(--akzent-tief); }
.befehle .rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.inhalt { padding: 20px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 18px; }
h1 { font-size: 24px; margin: 0; line-height: 1.25; text-wrap: balance; }
h2 { font-size: 15px; margin: 0; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-leise); font-weight: 650; }
.kopfzeile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.leise { color: var(--ink-leise); }
.leer { color: var(--ink-still); padding: 16px 0; }

/* Karten und Raster */
.karte { background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-karte); padding: 16px 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.raster2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.raster2 > .breit { grid-column: 1 / -1; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kennzahl { background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-karte); padding: 12px 16px; }
.kennzahl b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.kennzahl span { color: var(--ink-leise); font-size: 13px; }
dl.angaben { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.angaben dt { color: var(--ink-leise); }
dl.angaben dd { margin: 0; overflow-wrap: anywhere; }

/* Tabelle wie eine Power-Apps-Ansicht */
.tabelle { overflow-x: auto; background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-karte); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-leise);
  font-weight: 650; padding: 10px 14px; border-bottom: 1px solid var(--kontur); background: var(--flaeche-alt); white-space: nowrap; }
td { padding: 10px 14px; border-bottom: 1px solid var(--kontur); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.klickbar { cursor: pointer; }
tbody tr.klickbar:hover td { background: var(--akzent-hauch); }
td.name { font-weight: 650; color: var(--akzent-tief); }
tfoot td { font-weight: 650; background: var(--flaeche-alt); }

/* Marken fuer Stand und Station */
.pille { display: inline-block; font-size: 12px; font-weight: 650; padding: 1px 9px; border-radius: 99px; background: var(--feld); white-space: nowrap; }
.pille.akzent { background: var(--akzent-hauch); color: var(--akzent-tief); }
.pille.gut { background: var(--gut-weich); color: var(--gut-tief); }
.pille.warn { background: var(--warn-weich); color: var(--warn-tief); }
.pille.schlecht { background: var(--schlecht-weich); color: var(--schlecht-tief); }

/* Der Weg */
.weg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 4px 0; }
.weg .st { display: grid; justify-items: center; gap: 6px; position: relative; font-size: 12px; color: var(--ink-leise); text-align: center; }
.weg .st::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: var(--kontur-stark); }
.weg .st:first-child::before { display: none; }
.weg .st.erledigt::before, .weg .st.jetzt::before { background: var(--gut); }
.weg .punkt { width: 22px; height: 22px; border-radius: 50%; background: var(--feld); border: 2px solid var(--kontur-stark); z-index: 1; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.weg .offen .punkt { color: var(--ink-still); }
.weg .erledigt .punkt { background: var(--gut); border-color: var(--gut); }
.weg .jetzt .punkt { background: var(--akzent); border-color: var(--akzent); box-shadow: 0 0 0 4px var(--akzent-hauch); }
.weg .jetzt { color: var(--akzent-tief); font-weight: 700; }
.naechster { background: var(--akzent-weich); border: 1px solid var(--akzent); border-radius: var(--r-karte); padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.naechster .was { flex: 1; min-width: 200px; }
.naechster small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent-tief); }
.naechster b { font-size: 17px; }

/* Reiter */
.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--kontur); overflow-x: auto; }
.reiter a { padding: 9px 14px; text-decoration: none; color: var(--ink-leise); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.reiter a.aktiv { color: var(--akzent-tief); border-bottom-color: var(--akzent); font-weight: 650; }

/* Heute dran */
.aufgabe { display: flex; gap: 14px; align-items: center; background: var(--flaeche); border: 1px solid var(--kontur);
  border-radius: var(--r-karte); padding: 12px 16px; cursor: pointer; text-align: left; width: 100%; }
.aufgabe:hover { border-color: var(--akzent); }
.aufgabe .wer { width: 10px; height: 10px; border-radius: 50%; background: var(--offen); flex: none; }
.aufgabe .wer.ich { background: var(--akzent); }
.aufgabe .text { flex: 1; min-width: 0; display: grid; }
.aufgabe .text b { color: var(--akzent-tief); }
.liste { display: grid; gap: 8px; }

/* Knoepfe */
.knopf { border: 1px solid var(--kontur-stark); background: var(--flaeche); border-radius: var(--r-feld); padding: 7px 14px; cursor: pointer; font-weight: 600; }
.knopf:hover { background: var(--feld); }
.knopf.haupt { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.knopf.haupt:hover { background: var(--akzent-druck); }
.knopf.gefahr { color: var(--schlecht); }

/* Seitenfenster fuer Formulare (wie „Schnellerfassung“) */
.schleier { position: fixed; inset: 0; background: var(--schleier); z-index: 20; display: flex; justify-content: flex-end; }
.fenster { width: min(480px, 100%); height: 100%; background: var(--flaeche); box-shadow: var(--schatten-schwebend);
  display: grid; grid-template-rows: auto 1fr auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
.fenster header { padding: 16px 20px; border-bottom: 1px solid var(--kontur); font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.fenster form { overflow-y: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.fenster footer { padding: 12px 20px; border-top: 1px solid var(--kontur); display: flex; gap: 8px; flex-wrap: wrap; }
.fenster footer .rechts { margin-left: auto; }
.feld { display: grid; gap: 4px; }
.feld span { font-size: 13px; color: var(--ink-leise); }
.feld span em { color: var(--schlecht); font-style: normal; }
.feld input, .feld select, .feld textarea { background: var(--feld); border: 1px solid transparent; border-radius: var(--r-feld);
  padding: 8px 10px; box-shadow: var(--feld-schatten); width: 100%; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--akzent); outline: none; }
.feld.haken { grid-template-columns: auto 1fr; align-items: center; }
.feld.haken input { width: 18px; height: 18px; box-shadow: none; }
.suche { background: var(--feld); border: 1px solid transparent; border-radius: var(--r-feld); padding: 6px 10px; min-width: 0; width: 220px; }

/* Meldungen: nie verschluckt */
#meldung { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 40;
  max-width: min(560px, calc(100% - 32px)); padding: 12px 16px; border-radius: var(--r-karte); box-shadow: var(--schatten-gehoben);
  background: var(--ink); color: var(--grund); display: flex; gap: 12px; align-items: start; }
#meldung.fehler { background: var(--schlecht); color: #fff; }
#meldung button { background: none; border: 0; color: inherit; cursor: pointer; font-weight: 700; }

/* Anmelden */
.anmelden { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.anmelden form { background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-fenster); padding: 28px; width: min(380px, 100%); display: grid; gap: 14px; box-shadow: var(--schatten-gehoben); }
.anmelden .marke { color: var(--akzent-tief); font-weight: 700; font-size: 22px; }

/* Tablet hoch und Handy: Bereiche als ausklappbare Leiste */
@media (max-width: 820px) {
  #menueknopf { display: inline-block; }
  .rahmen { grid-template-columns: 1fr; }
  nav.bereiche { position: fixed; top: 48px; left: 0; bottom: 0; width: 240px; z-index: 15; transform: translateX(-100%);
    transition: transform .2s var(--kurve); box-shadow: var(--schatten-schwebend); }
  body.menue-offen nav.bereiche { transform: none; }
  .suche { width: 100%; }
  .befehle .rechts { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .weg .st span { display: none; }
  .weg .st.jetzt span { display: block; }
  .band .pfad { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Uebernahme aus dem alten Kontor */
.uebernahme { display: grid; gap: 16px; }
.aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.knopf:disabled { opacity: .5; cursor: default; }
.hinweise { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; overflow-wrap: anywhere; }

/* Abschnitte im Formular (Meine Firma) */
.fenster form h3.abschnitt { margin: 10px 0 -4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--akzent-tief); }
.fenster form h3.abschnitt:first-child { margin-top: 0; }

/* Dokumente: Leiste mit Filtern, Ordnerbaum links, Dateien rechts */
.dok-bereich { display: grid; gap: 12px; min-width: 0; }
.dok-leiste { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dok-leiste .suche { width: min(320px, 100%); }
.dok-leiste .suche.jahr { width: auto; }
.dok-arten { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--kontur-stark); background: var(--flaeche); border-radius: 99px; padding: 4px 12px; cursor: pointer; font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--akzent); }
.chip.aktiv { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.chip .zahl { opacity: .7; font-weight: 500; }
.dok-zwei { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 16px; align-items: start; }
.dok-baum { background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-karte); padding: 8px 6px; position: sticky; top: 60px;
  max-height: calc(100dvh - 140px); overflow: auto; }
.dok-knoten { display: flex; align-items: center; border-radius: 6px; }
.dok-knoten:hover { background: var(--feld); }
.dok-knoten.aktiv { background: var(--akzent-hauch); }
.dok-knoten.aktiv .dok-name { color: var(--akzent-tief); font-weight: 650; }
/* Jede aufgeklappte Ebene deutlich nach rechts, mit Führungslinie */
.dok-kinder { margin-left: 13px; padding-left: 10px; border-left: 2px solid var(--kontur); }
.dok-auf { width: 22px; flex: none; border: 0; background: none; cursor: pointer; color: var(--ink-leise); padding: 4px 0; text-align: center; }
.dok-name { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 8px; border: 0; background: none; cursor: pointer;
  text-align: left; padding: 5px 8px 5px 2px; font-size: 14px; }
.dok-name span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dok-dateien { display: grid; gap: 10px; min-width: 0; border: 2px dashed transparent; border-radius: var(--r-karte); padding: 2px; transition: border-color .15s, background .15s; }
.dok-dateien.ziehen { border-color: var(--akzent); background: var(--akzent-hauch); }
.dok-liste-inhalt { display: grid; gap: 10px; min-width: 0; }
.dok-aktionen { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.dok-kopf { justify-content: space-between; align-items: center !important; }
.dok-ziel { margin: 0; font-size: 13px; }
.knopf.klein { padding: 3px 10px; font-size: 13px; }
.hochladen-liste { display: grid; gap: 6px; }
.hochladen-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 2fr) auto; gap: 10px; align-items: center;
  background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-feld); padding: 6px 10px; font-size: 14px; }
.hochladen-zeile .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hochladen-zeile.fehler { border-color: var(--schlecht); }
.hochladen-zeile.fehler .zahl { color: var(--schlecht); }
.dok-kopf { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.dok-formate { display: flex; gap: 4px; flex-wrap: wrap; }
.dok-formate .pille { border: 0; cursor: pointer; }
.dok-formate .pille:hover { background: var(--akzent); color: #fff; }
@media (max-width: 820px) {
  .dok-zwei { grid-template-columns: 1fr; }
  .dok-baum { position: static; max-height: 240px; }
}
.schleier.mitte { justify-content: center; align-items: stretch; padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px)); }
.dok-fenster { width: min(1100px, 100%); background: var(--flaeche); border-radius: var(--r-fenster); box-shadow: var(--schatten-schwebend);
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.dok-fenster header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--kontur); }
.dok-fenster .dok-titel { flex: 1; min-width: 180px; display: grid; }
.dok-fenster .dok-titel b { overflow-wrap: anywhere; }
.dok-fenster .knopf { text-decoration: none; color: inherit; }
.dok-flaeche { min-height: 0; display: grid; }
.dok-fenster iframe { width: 100%; height: 100%; border: 0; background: #fff; }
/* Fortschritt beim Laden eines Dokuments: Balken und Zahl statt Ladekreis */
.fortschritt { align-self: center; justify-self: center; width: min(420px, 85%); display: grid; gap: 10px; text-align: center; }
.fortschritt-spur { height: 8px; border-radius: 99px; background: var(--feld); overflow: hidden; }
.fortschritt-balken { height: 100%; width: 0; background: var(--akzent); border-radius: 99px; transition: width .15s linear; }
.fortschritt-balken.unbestimmt { opacity: .5; }
.fortschritt-text { color: var(--ink-leise); font-variant-numeric: tabular-nums; }
.fortschritt.fehler .fortschritt-text { color: var(--schlecht); }
.dok-bild { overflow: auto; display: grid; place-items: center; background: var(--flaeche-alt); }
.dok-bild img { max-width: 100%; height: auto; }

/* Kalender */
.kalender { gap: 12px; }
.monat-kopf { display: flex; gap: 8px; align-items: center; }
.monat-kopf b { font-size: 17px; min-width: 150px; text-align: center; }
.monat { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--kontur); border-left: 1px solid var(--kontur); }
.monat .wochentag { padding: 6px 8px; font-size: 12px; font-weight: 650; color: var(--ink-leise); text-transform: uppercase; background: var(--flaeche-alt);
  border-right: 1px solid var(--kontur); border-bottom: 1px solid var(--kontur); }
.monat .tag { min-height: 96px; padding: 4px 6px; border-right: 1px solid var(--kontur); border-bottom: 1px solid var(--kontur); display: grid; align-content: start; gap: 3px; min-width: 0; }
.monat .tag.fremd { background: var(--flaeche-alt); color: var(--ink-still); }
.monat .tag.heute .nummer { background: var(--akzent); color: #fff; border-radius: 99px; padding: 0 7px; justify-self: start; }
.monat .nummer { font-size: 13px; font-weight: 650; }
.termin { font-size: 14px; border-left: 3px solid var(--akzent); padding: 2px 8px; background: var(--akzent-hauch); border-radius: 4px; overflow-wrap: anywhere; }
.termin.privat { border-left-color: var(--offen); background: var(--feld); }
.termin.kurz { font-size: 12px; padding: 1px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.termin .zeit { color: var(--ink-leise); }
.agenda-tag { display: grid; gap: 6px; }
.agenda-tag h3 { margin: 6px 0 0; font-size: 14px; }
@media (max-width: 820px) {
  .monat .tag { min-height: 54px; }
  .termin.kurz { font-size: 0; padding: 0; height: 6px; border-left-width: 6px; border-radius: 3px; }
}

/* PC und Handy */
.geraet img { border-radius: 14px; }
.schritte { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Chronik: lange Eintraege eingeklappt */
.chronik-mehr summary { cursor: pointer; list-style-position: outside; }
.chronik-mehr summary b { font-weight: 650; }
.chronik-text { white-space: pre-wrap; margin-top: 6px; color: var(--ink); max-width: 110ch; }

/* Rechnungs-Editor: links zum Hineinziehen, rechts die Rechnung */
.rech-zwei { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 18px; align-items: start; }
.rech-links { display: grid; gap: 10px; position: sticky; top: 60px; max-height: calc(100dvh - 140px); overflow: auto;
  background: var(--flaeche-alt); border: 1px solid var(--kontur); border-radius: var(--r-karte); padding: 12px; }
.zieh-liste { display: grid; gap: 6px; }
.zieh-karte { display: grid; gap: 2px; text-align: left; background: var(--flaeche); border: 1px solid var(--kontur); border-left: 4px solid var(--akzent);
  border-radius: var(--r-feld); padding: 8px 10px; cursor: grab; font-size: 14px; }
.zieh-karte:hover { border-color: var(--akzent); }
.zieh-karte:active { cursor: grabbing; }
.zieh-karte span { font-size: 12px; }
.rech-rechts { display: grid; gap: 14px; background: var(--flaeche); border: 1px solid var(--kontur); border-radius: var(--r-karte); padding: 16px 18px; min-width: 0; }
.rech-kopf .breit { grid-column: 1 / -1; }
.rech-kopf select { background: var(--feld); border: 1px solid transparent; border-radius: var(--r-feld); padding: 8px 10px; }
.rech-kopf { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rech-rechts textarea { width: 100%; background: var(--feld); border: 1px solid transparent; border-radius: var(--r-feld); padding: 8px 10px; resize: vertical; }
.rech-ablage { display: grid; gap: 10px; border: 2px dashed var(--kontur-stark); border-radius: var(--r-karte); padding: 12px; transition: border-color .15s, background .15s; }
.rech-ablage.ziehen { border-color: var(--akzent); background: var(--akzent-hauch); }
.rech-ablage > .knopf { justify-self: start; }
.rech-zeilen table { min-width: 720px; }
.rech-zeilen td { vertical-align: top; }
.rech-zeilen input { width: 100%; background: var(--feld); border: 1px solid transparent; border-radius: var(--r-feld); padding: 6px 8px; }
.rech-zeilen input:focus { border-color: var(--akzent); outline: none; }
.rech-zeilen .rech-text { font-weight: 600; }
.rech-zeilen .rech-beschr { margin-top: 4px; font-size: 13px; }
.rech-zeilen .rech-zahl { width: 90px; text-align: right; }
.rech-zeilen .rech-einheit { width: 100px; }
.rech-zeilen td.zahl, .tabelle td.zahl { white-space: nowrap; }
.rech-summe { display: flex; justify-content: flex-end; gap: 16px; align-items: baseline; font-size: 15px; }
.rech-summe b { font-size: 22px; }
@media (max-width: 820px) {
  .rech-zwei { grid-template-columns: 1fr; }
  .rech-links { position: static; max-height: none; }
}

/* Einstellungen › Sicherung */
.sich-eingabe { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.sich-eingabe input { flex: 1 1 220px; max-width: 360px; }
