/* ===========================================================================
   Scanzentrum (Entwurf 71: Posteingang 1A mit Knöpfen und Auswahl, Ansicht 2A)
   Alles unter .sz- — eigene Datei, damit stil.css nicht noch länger wird.
   =========================================================================== */

:root {
  --sz-netz: #2B6CB0;
  --sz-dunkel: #2A2624;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) { --sz-netz: #7FB0E6; --sz-dunkel: #0F0D0A; }
}

/* Das Logo hängt unten aus der Hub-Leiste (stil.css, .brand__mono: 70 px Bild, 40 px Leiste, top −8 px → rund 22 px,
   am Handy rund 10 px). Was links oben steht, braucht so viel Luft, sonst liegt das Logo darauf (Marcel, 19.11.2026). */
:root { --sz-logo: 30px; }
@media (max-width: 560px) { :root { --sz-logo: 16px; } }

.sz { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: calc(100vh - var(--hub-hoehe, 56px)); }
/* fill: Die gefüllten Symbole (Ordner, Brief) haben keine eigene Farbe und wären sonst schwarz, im Dunkelmodus unsichtbar. */
.sz .ic, .sz-det .ic, .sz-menue .ic, .sz-auftraege .ic, .sz-netzfrage .ic { width: 16px; height: 16px; flex: none; fill: currentColor; }

/* ------------------------------------------------------------ Ordnerleiste */
.sz__ordner { border-right: 1px solid var(--linie); background: var(--flaeche); padding: calc(var(--sz-logo) + 8px) 10px 12px; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: var(--hub-hoehe, 56px); align-self: start; max-height: calc(100vh - var(--hub-hoehe, 56px)); overflow-y: auto; }
.sz__gruppe { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--leise); margin: 12px 10px 4px; }
.sz__gruppe:first-child { margin-top: 2px; }
.sz-ord { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 8px;
  font-weight: 600; color: var(--tinte); justify-content: flex-start; min-height: 42px; text-align: left; transition: background .12s; }
.sz-ord:hover { background: var(--sand); }
.sz-ord:active { transform: scale(.99); }
.sz-ord .ic { color: var(--ziegel); }
.sz-ord--netz { color: var(--leise); cursor: default; }
.sz-ord--netz:hover { background: none; }
.sz-ord--netz .ic { color: var(--sz-netz); }
.sz-ord__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-ord small { font-size: 11.5px; color: var(--leise); font-weight: 600; }
.sz__verwalten { margin-top: 10px; justify-content: flex-start; }

/* Baum: eine Reihe je Ordner, 16 px Einrückung je Ebene, links der Auf/Zu-Pfeil (eigener Knopf). */
.sz-ast { display: flex; align-items: center; gap: 2px; min-width: 0; }
.sz-ast[data-tiefe="1"] { padding-left: 16px; }
.sz-ast[data-tiefe="2"] { padding-left: 32px; }
.sz-ast--zu { display: none; }
.sz-ast .sz-ord { flex: 1; min-width: 0; padding-left: 6px; padding-right: 8px; gap: 8px; }
.sz-auf { flex: none; width: 22px; height: 30px; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--leise);
  position: relative; display: grid; place-items: center; transition: background .12s, color .12s; }
.sz-auf:hover { background: var(--sand); color: var(--tinte); }
.sz-auf:active { transform: scale(.94); }
.sz-auf:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.sz .sz-auf .ic { width: 14px; height: 14px; transition: transform .15s; }
.sz-auf[aria-expanded="false"] .ic { transform: rotate(-90deg); }
.sz-auf--leer { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sz .sz-auf .ic { transition: none; } }
.sz-ord__vor { display: none; color: var(--leise); font-weight: 500; }
.sz-unter { font-size: 11.5px; font-weight: 700; color: var(--leise); font-variant-numeric: tabular-nums; }

/* Brotkrume über dem Titel, wenn ein Unterordner offen ist */
.sz__titel { display: grid; gap: 0; min-width: 0; margin-right: 8px; }
.sz__titel h2 { margin: 0; }
.sz-krume { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 12.5px; color: var(--leise); }
.sz-krume__teil { border: 0; background: none; min-height: 0; padding: 1px 4px; margin-left: -4px; border-radius: 4px; font-size: inherit; font-weight: 600;
  color: var(--leise); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 2px; transition: color .12s, text-decoration-color .12s; }
.sz-krume__teil:hover { color: var(--ziegel); text-decoration-color: currentColor; }
.sz-krume__teil:active { opacity: .7; }
.sz-krume__pfeil { margin: 0 4px 0 0; }

/* ------------------------------------------------------------ Hauptteil */
.sz__haupt { padding: 16px 18px 40px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.sz__kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sz__kopf h2 { font-size: 22px; margin: 0 8px 0 0; }
.sz__suche { flex: 1 1 200px; max-width: 360px; }
.sz__luft { flex: 1; }
.sz__klein { font-size: 13px; color: var(--leise); }
.sz-segment { display: inline-flex; border: 1px solid var(--linie); border-radius: 999px; overflow: hidden; background: var(--flaeche); }
.sz-segment button { border: 0; border-radius: 0; background: none; font-weight: 700; padding: 0 14px; color: var(--leise); min-height: 38px; }
.sz-segment button:hover { background: var(--sand); }
.sz-segment button[aria-pressed="true"] { background: var(--sand); color: var(--tinte); box-shadow: inset 0 -3px 0 var(--gold); }
.sz__zeile { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; min-height: 36px; }

/* Auswahlleiste: erscheint, sobald ein Haken gesetzt ist */
.sz-leiste { position: sticky; top: calc(var(--hub-hoehe, 56px) + 8px); z-index: 5; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 9px 12px; border-radius: 8px; background: var(--sz-dunkel); color: #F3F2EF; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.sz-leiste b { font-size: 14px; }
.sz-leiste__teil { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-left: 6px; }
.sz-leiste__strich { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); }
.sz-leiste button { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #F3F2EF; min-height: 36px; padding: 5px 11px; font-size: 13px; }
.sz-leiste button:hover { background: rgba(255,255,255,.16); }
.sz-leiste button:active { background: rgba(255,255,255,.04); transform: scale(.98); }

/* ------------------------------------------------------------ Raster und Kacheln */
.sz-raster { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(var(--sz-k, 200px), 1fr)); }
.sz-raster[data-groesse="s"] { --sz-k: 160px; }
.sz-raster[data-groesse="m"] { --sz-k: 200px; }
.sz-raster[data-groesse="l"] { --sz-k: 260px; }
.sz-raster.sz-raster--ziehen { outline: 2px dashed var(--gold); outline-offset: 6px; border-radius: 8px; }
.sz-kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; cursor: pointer; position: relative;
  display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s; }
.sz-kachel:hover { box-shadow: var(--schatten); transform: translateY(-1px); }
.sz-kachel:active { transform: scale(.995); }
.sz-kachel.on { outline: 3px solid var(--gold); outline-offset: -1px; }
.sz-kachel__bild { position: relative; background: var(--sand); padding: 10px 10px 0; }
.sz-kachel__bild img, .sz-kachel__leer { display: block; width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: top; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.sz-kachel__leer { display: grid; place-items: center; color: #A89C95; font-size: 12px; }
.sz-haken { position: absolute; top: 16px; left: 16px; width: 28px; height: 28px; min-height: 0 !important; padding: 0; border-radius: 8px;
  background: rgba(255,255,255,.95); border: 1px solid var(--linie); display: grid; place-items: center; z-index: 2; color: var(--gold-tief); }
.sz-haken:hover { border-color: var(--gold); }
.sz-kachel.on .sz-haken { background: var(--gold); border-color: var(--gold); }
.sz-kachel.on .sz-haken::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg); }
.sz-haken::before { content: ""; position: absolute; inset: -8px; }            /* Trefferfläche 44 px */
.sz-neu { position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--ziegel); border: 2px solid #fff; }
.sz-seiten { position: absolute; bottom: 8px; right: 16px; font-size: 11.5px; font-weight: 800; background: rgba(42,38,36,.72); color: #fff; border-radius: 999px; padding: 1px 7px; }
.sz-lies { position: absolute; left: 18px; right: 18px; top: 45%; display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12px;
  font-weight: 700; color: var(--kohle); background: rgba(255,255,255,.94); border-radius: 999px; padding: 4px 8px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.sz-kreis { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; animation: sz-dreh 1s linear infinite; }
@keyframes sz-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sz-kreis { animation: none; } }
.sz-kachel__text { padding: 9px 11px 10px; display: grid; gap: 4px; flex: 1; align-content: start; }
.sz-kachel__titel { font-weight: 700; font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.sz-kachel__meta { font-size: 12.5px; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }   /* Marke in der Kachel, darf nicht überstehen */
.sz-kachel__knoepfe { display: grid; gap: 6px; padding: 8px 9px 9px; border-top: 1px solid var(--linie); background: var(--grund); }
.sz-kachel__knoepfe button { font-size: 12.5px; padding: 4px 9px; min-height: 36px; justify-content: flex-start; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.sz-kachel__knoepfe .ic { color: var(--ziegel); }
.sz-kachel__knoepfe .sz-mehr .ic:last-child { margin-left: auto; color: var(--leise); }
.sz-knopf--auftrag { border-color: var(--gold); }

.sz-leer .ic { width: 30px; height: 30px; color: var(--ziegel); }

/* ------------------------------------------------------------ Menü „Ablegen in …“ */
.sz-menue { position: absolute; z-index: 60; min-width: 250px; max-width: calc(100vw - 16px); max-height: min(70vh, 520px); overflow-y: auto;
  border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); box-shadow: var(--schatten); padding: 6px; display: grid; }
.sz-menue__gruppe { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--leise); margin: 8px 8px 4px; }
.sz-menue button { border: 0; background: none; justify-content: flex-start; text-align: left; min-height: 42px; font-weight: 600; gap: 10px; }
.sz-menue button:hover, .sz-menue button:focus-visible { background: var(--sand); }
.sz-menue .ic { color: var(--ziegel); width: 16px; height: 16px; }
.sz-menue .sz-netz .ic { color: var(--sz-netz); }
.sz-menue small { margin-left: auto; color: var(--leise); font-weight: 500; font-size: 12px; padding-left: 12px; }
.sz-menue .sz-weh { color: var(--weh); }
.sz-menue .sz-weh .ic { color: var(--weh); }
.sz-menue hr { border: 0; border-top: 1px solid var(--linie); margin: 6px 4px; }
.sz-menue .sz-menue__t1 { padding-left: 32px; }
.sz-menue .sz-menue__t2 { padding-left: 50px; }

/* ------------------------------------------------------------ Ansicht eines Dokuments (2A) */
.sz-det { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - var(--hub-hoehe, 56px)); min-height: 520px; }
.sz-det__kopf { display: flex; align-items: center; gap: 10px; padding: calc(var(--sz-logo) + 4px) 16px 10px; border-bottom: 1px solid var(--linie); background: var(--flaeche); flex-wrap: wrap; }
.sz-det__kopf h2 { font-size: 17px; margin: 0; flex: 1 1 240px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-det__leib { display: grid; grid-template-columns: minmax(0, 1fr) 380px; min-height: 0; }
.sz-det__pdf { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.sz-det__pdf .pdfa__suche { width: 160px; }
.sz-det__rechts { border-left: 1px solid var(--linie); background: var(--flaeche); padding: 14px; display: grid; gap: 12px; align-content: start; overflow-y: auto; }
.sz-feld { display: grid; gap: 3px; }
.sz-feld label { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--leise); margin: 0; }
.sz-feld label i { font-style: normal; text-transform: none; letter-spacing: .02em; color: var(--tinte); }
.sz-feld input, .sz-feld select, .sz-feld textarea { width: 100%; }
.sz-feld textarea { min-height: 60px; resize: vertical; }
.sz-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sz-treffer { border: 1px solid transparent; background: var(--hinw) border-box; color: var(--hinw-tinte); box-shadow: var(--hinw-sch); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; }
.sz-treffer b { font-size: 14px; }
.sz-treffer span { font-size: 12.5px; color: rgba(255,255,255,.8); }
.sz-status { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--leise); flex-wrap: wrap; }
.sz-status--weh { color: var(--weh); }
.sz-knopfgitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.sz-knopfgitter button { justify-content: flex-start; min-height: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-knopfgitter .ic { color: var(--ziegel); }
.sz-knopfgitter .sz-netz .ic { color: var(--sz-netz); }
.sz-det__gruppe { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--leise); margin: 4px 0 -4px; }
.sz-ocr { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; background: var(--grund); border: 1px solid var(--linie); border-radius: 8px;
  padding: 10px; max-height: 300px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; }
.sz-det details summary { cursor: pointer; font-weight: 700; font-size: 13.5px; min-height: 32px; display: flex; align-items: center; }
.sz-verlauf { display: grid; gap: 6px; font-size: 13px; margin-top: 6px; }
.sz-verlauf div { display: flex; gap: 8px; }
.sz-verlauf time { color: var(--leise); font-variant-numeric: tabular-nums; min-width: 92px; }
.sz-det__fuss { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--linie); padding-top: 10px; }
.sz-weh { color: var(--weh); }

/* ------------------------------------------------------------ Dialog „Zum Auftrag“ */
.sz-auftraege { display: grid; gap: 6px; max-height: 50vh; overflow-y: auto; margin-top: 10px; }
.sz-auftraege button { justify-content: flex-start; text-align: left; min-height: 52px; gap: 12px; }
.sz-auftraege button code { font-family: var(--mono); font-size: 13px; color: var(--ziegel); font-weight: 700; flex: none; }
.sz-auftraege button small { display: block; color: var(--leise); font-weight: 500; font-size: 12.5px; }
.sz-auftraege button.on { border-color: var(--hinw-rand); box-shadow: inset 0 0 0 1px var(--hinw-rand); background: var(--flaeche); }

/* ------------------------------------------------------------ Handy */
@media (max-width: 860px) {
  .sz { grid-template-columns: 1fr; }
  .sz__ordner { position: static; max-height: none; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--linie); padding: calc(var(--sz-logo) + 4px) 8px 8px; }
  .sz__ordner .sz__gruppe, .sz__ordner .sz-ord--netz, .sz__verwalten { display: none; }
  .sz-ord { width: auto; white-space: nowrap; flex: none; }
  /* Am Handy kein Baum: jeder Ordner ist ein Chip mit kurzem Pfad („Privat › Opa“). */
  .sz__ordner .sz-ast, .sz__ordner .sz-ast--zu { display: contents; }
  .sz__ordner .sz-auf, .sz__ordner .sz-unter { display: none; }
  .sz-ast .sz-ord { flex: none; padding-left: 10px; }
  .sz-ord__name { overflow: visible; }
  .sz-ord__vor { display: inline; }
  .sz__haupt { padding: 12px 12px 40px; }
  .sz-leiste { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: 50vh; overflow-y: auto; }
  .sz-det { height: auto; }
  .sz-det__leib { grid-template-columns: 1fr; }
  .sz-det__pdf { height: 70vh; }
  .sz-det__rechts { border-left: 0; border-top: 1px solid var(--linie); overflow: visible; }
}
@media (pointer: coarse) {
  .sz-kachel__knoepfe button, .sz-menue button { min-height: 44px; }
  .sz-auf { width: 28px; height: 44px; }
  .sz-auf::before { content: ""; position: absolute; inset: 0 -8px; }      /* Trefferfläche 44 × 44 px */
  .sz-krume__teil { min-height: 32px; }
}

/* ------------------------------------------------------------ Einstellungen → Scanzentrum (3A) */
.se-wurzel { display: grid; gap: 16px; }
.se-wurzel .tafel { margin: 0; }
.se-wurzel .ic { width: 16px; height: 16px; flex: none; fill: currentColor; }
.se-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.se-zugang { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; font-size: 14px; margin: 10px 0; }
.se-zugang > span:nth-child(3n+1) { color: var(--leise); font-size: 13px; }
.se-zugang > :nth-child(3n) { justify-self: start; }
.se-code { font-family: var(--mono); font-size: 14px; background: var(--grund); border: 1px solid var(--linie); border-radius: 4px; padding: 5px 9px;
  overflow-wrap: anywhere; }
.se-reihe { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.se-gut { color: var(--gut); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.se-weh { color: var(--weh); }
span.se-weh { font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.se-liste { border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; background: var(--flaeche); margin-top: 6px; }
.se-zeile { display: grid; grid-template-columns: 24px 240px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px;
  border-top: 1px solid var(--linie); min-height: 54px; }
.se-zeile:first-child { border-top: 0; }
.se-zeile > .ic { color: var(--ziegel); width: 20px; height: 20px; }
.se-zeile--netz > .ic { color: var(--sz-netz); }
.se-zeile__name { min-width: 0; }
.se-zeile__name b { font-size: 14px; display: block; }
.se-zeile__name small { display: block; color: var(--leise); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-pfad { font-family: var(--mono); }
.se-zeile select { min-height: 36px; padding: 4px 8px; font-size: 13px; max-width: 200px; }
.se-zeile--ordner { --se-ein: 0px; padding-left: calc(12px + var(--se-ein)); grid-template-columns: 24px calc(240px - var(--se-ein)) minmax(0, 1fr) auto; }
.se-zeile--ordner[data-tiefe="1"] { --se-ein: 18px; }
.se-zeile--ordner[data-tiefe="2"] { --se-ein: 36px; }
/* feine Linie unter der Mitte des Elternsymbols: zeigt, was wozu gehört */
.se-zeile--ordner:not([data-tiefe="0"]) { background: linear-gradient(var(--linie), var(--linie)) no-repeat calc(var(--se-ein) + 4px) 0 / 1px 100%; }
.se-zeile--ordner .se-zeile__name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-sicht { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.se-sicht small { font-size: 12px; margin: 0; }
.se-zeile select:disabled { opacity: .75; cursor: not-allowed; }
.se-zeile button:disabled { opacity: .4; cursor: not-allowed; }
/* Wird die Tafel schmal (Streifen offen, kleines Fenster), rutscht „Sichtbar für“ in eine zweite Zeile — wie am Handy. */
.se-liste { container-type: inline-size; }
@container (max-width: 640px) {
  .se-zeile, .se-zeile--ordner { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .se-zeile > :nth-child(3) { grid-column: 2 / -1; grid-row: 2; justify-self: start; }
}
.se-form { display: grid; gap: 12px; }
.se-form label { display: grid; gap: 4px; }
.se-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
label.se-haken { display: flex !important; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; margin: 6px 0; }
label.se-haken input { width: 18px; height: 18px; min-height: 0; margin: 0; }
.se-diag { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; background: var(--grund); border: 1px solid var(--linie); border-radius: 8px;
  padding: 10px 12px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .se-zeile, .se-zeile--ordner { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .se-zeile > :nth-child(3) { grid-column: 2 / -1; grid-row: 2; justify-self: start; }
  .se-zwei { grid-template-columns: 1fr; }
  .se-zugang { grid-template-columns: auto minmax(0, 1fr); }
  .se-zugang > :nth-child(3n) { grid-column: 2; }
}
.se-form label .hilfe { text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; }

/* Während ein Ablegen läuft: Kacheln und Zielknöpfe ruhig, damit nichts doppelt geschickt wird. */
body.sz-arbeitet .sz-kachel__knoepfe button, body.sz-arbeitet .sz-leiste button, body.sz-arbeitet .sz-knopfgitter button,
body.sz-arbeitet .sz-treffer button { opacity: .55; pointer-events: none; }

/* ------------------------------------------------------------------ Drucken (0.37, szDrucken in scanzentrum.js)
   Auf dem Bildschirm unsichtbar. Beim Drucken nur das Blatt: jede PDF-Seite als Bild, eine Seite je Blatt, querformatige
   auf einem Querblatt. Wie bei „Akte drucken“ ist alles neben <body> weg (Erweiterungen wie „Shoop“ hängen dort
   unsichtbare Elemente an, die sonst eine leere Seite erzwingen). */
#sz-druckblatt { display: none; }
/* Beide Formate fest A4 mit 5 mm Rand; die Höhen unten in mm (nicht vh: vh richtet sich nach dem ersten Blatt, auf dem
   Querblatt lief eine Seite mit fast voller vh-Höhe sonst auf ein leeres drittes Blatt über). */
@page szhoch { size: A4 portrait; margin: 5mm; }
@page szquer { size: A4 landscape; margin: 5mm; }
@media print {
  body.sz-drucken { margin: 0 !important; padding: 0 !important; background: #fff !important; min-height: 0 !important; }
  html:has(body.sz-drucken) { background: #fff !important; height: auto !important; }
  html:has(body.sz-drucken) > *:not(body) { display: none !important; }
  body.sz-drucken > *:not(#sz-druckblatt) { display: none !important; }
  body.sz-drucken > #sz-druckblatt { display: block !important; }
  body.sz-drucken .sz-druckseite { page: szhoch; height: 285mm; display: flex; align-items: center; justify-content: center;
                                   overflow: hidden; break-after: page; page-break-after: always; }
  body.sz-drucken .sz-druckseite:last-child { break-after: auto; page-break-after: auto; }
  body.sz-drucken .sz-druckseite--quer { page: szquer; height: 198mm; }
  body.sz-drucken .sz-druckseite img { max-width: 100%; max-height: 100%; object-fit: contain; }
}
