/* ============================================================
   QR-Codes — Oberflaeche, Bereich Tools der CRM Suite.

   KEIN FENSTER: Kopfzeile, Navigation und Scrollen gehoeren der
   Suite. Hier steht nur die Reiterleiste und der Inhalt. Hell,
   ohne theme-light -- der Inhalt der Suite ist immer hell.

   Die Werkzeugleiste ist eine Karte mit Zeilen statt fuenf Karten
   uebereinander: Bezeichnung links, Bedienung rechts. Alles, was aus
   drei Moeglichkeiten waehlt, ist ein Schalterband mit Zeichen — ein
   Drittel der Hoehe eines Auswahlfelds mit Beschriftung, und man
   trifft schneller, weil die Form zu sehen ist statt gelesen werden
   zu muessen.
   ============================================================ */
/* ---------- Das Blatt ----------
   .qrc traegt nur noch Schrift und die drei Ampelfarben. Lage,
   Hoehe und Scrollen kommen von #crsEigen -- dasselbe Muster
   wie .wbn in webinare.css. */
/* flex:1 ist hier KEINE Zierde: .crs-eigen ist ein Flex-Container
   in Zeilenrichtung, und ein Flex-Item ohne Wachstum bekommt nur
   die Breite seines Inhalts. Die Seite stand dadurch als schmale
   Spalte am linken Rand -- dieselbe Falle wie bei der
   Vorlagentabelle (crm-suite.css, Zeile 721). */
.qrc{ flex:1 1 auto; min-width:0; width:100%;
  display:flex; flex-direction:column; min-height:0; height:100%;
  color:#12233a;
  font:14px/1.45 "Roboto Flex","Segoe UI",system-ui,sans-serif;
  --qr-gut:#0e7c6b; --qr-warm:#c2691a; --qr-kalt:#b3261e; }
.qrc *{ box-sizing:border-box; }
.qrc .material-symbols-rounded{ vertical-align:middle; line-height:1; }

/* ---------- Reiterleiste ----------
   Drei Sichten, wo im Fenster eine Sidebar stand. Unterstrich
   statt Flaeche: die Leiste sitzt im Inhalt, und eine gefuellte
   Flaeche daneben wuerde mit den Karten darunter streiten. */
.qrc-leiste{ flex:none; display:flex; align-items:center; gap:16px; margin-bottom:16px;
  border-bottom:1px solid #e3eaf2; }
.qrc-tabs{ display:flex; gap:2px; }
.qrc-tabs > button{ all:unset; box-sizing:border-box; cursor:pointer; display:flex;
  align-items:center; gap:8px; padding:11px 13px 9px; white-space:nowrap;
  font-size:13.5px; font-weight:600; color:#6b7a8d; border-bottom:2px solid transparent; }
.qrc-tabs > button .material-symbols-rounded{ font-size:19px; color:#8ea4bd; }
.qrc-tabs > button:hover{ color:#12233a; }
.qrc-tabs > button:hover .material-symbols-rounded{ color:#12233a; }
.qrc-tabs > button[aria-selected="true"]{ color:#0f6e9e;
  border-bottom-color:rgb(var(--accent-rgb,26,155,219)); }
.qrc-tabs > button[aria-selected="true"] .material-symbols-rounded{ color:#0f6e9e;
  font-variation-settings:'FILL' 1; }
/* Der Zaehler am Reiter: leer bleibt er unsichtbar, sonst
   schwebte neben jedem Reiter ein leerer Kreis. */
.qrc-z{ min-width:19px; height:19px; padding:0 6px; border-radius:10px;
  display:grid; place-items:center; font-size:11px; font-weight:800;
  background:rgba(var(--accent-rgb,26,155,219),.16); color:#0f6e9e;
  font-variant-numeric:tabular-nums; }
.qrc-z:empty{ display:none; }

/* ---------- Suche ----------
   Rechts in der Leiste, nicht im Seitenkopf: die Suite sucht
   dort nach Kontakten und Firmen. Diese hier sucht in der
   Sammlung, und die beiden zu vermischen hiesse, dass ein
   Suchwort je nach Sicht etwas anderes bedeutet. */
.qrc-suche{ margin-left:auto; display:flex; align-items:center; gap:8px;
  height:36px; padding:0 12px; margin-bottom:4px; border-radius:18px;
  background:#fff; border:1px solid #d9e4f0; color:#8a97a8; }
.qrc-suche:focus-within{ border-color:rgb(var(--accent-rgb,26,155,219)); }
.qrc-suche .material-symbols-rounded{ font-size:19px; }
.qrc-suche input{ width:190px; min-width:0; border:0; outline:0; background:transparent;
  font:inherit; font-size:13.5px; color:#12233a; }

/* ---------- Waehrend die Ablage antwortet ---------- */
.qrc-laedt{ display:flex; align-items:center; justify-content:center; gap:10px;
  min-height:220px; color:#8a97a8; font-size:13.5px; }

/* Im Fenster war das der scrollende Rumpf. Hier ist es nur noch
   der Platz unter den Reitern -- gescrollt wird aussen. */
/* .crs-eigen scrollt NICHT (overflow:hidden). Gescrollt wird
   hier, unter den Reitern -- so bleibt die Reiterleiste stehen. */
.qr-main{ position:relative; flex:1; min-width:0; min-height:0;
  overflow:auto; padding-bottom:24px; }

.qr-kopf{ display:flex; align-items:flex-end; gap:14px; margin:0 0 12px; flex-wrap:wrap; }
.qr-kopf h2{ margin:0; font-size:18px; font-weight:800; letter-spacing:-.015em; }
.qr-sub{ font-size:12.5px; color:#8a97a8; margin-top:2px; }
.qr-rechts{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.qr-erz{ display:grid; grid-template-columns:minmax(0,1fr) 390px; gap:20px; align-items:start; }
/* Klebt beim Scrollen oben: wer unten an den Werkzeugen dreht,
   soll den Code dabei sehen. */
.qr-vorschau{ position:sticky; top:0; align-self:start; }
.qr-karte{ background:#fff; border-radius:12px; box-shadow:inset 0 0 0 1px #e7eef6; }
.qr-kbox{ padding:13px 14px 14px; }
.qr-nh{ margin:0 0 9px; font-size:10.5px; font-weight:800; letter-spacing:.085em; text-transform:uppercase;
  color:#8a97a8; display:flex; align-items:center; gap:7px; }
.qr-nh .n{ color:#0f6e9e; }
.qr-klein{ font-size:11px; color:#8a97a8; line-height:1.45; }
.qr-leer{ padding:24px 10px; text-align:center; color:#8a97a8; font-size:12.5px; }
.qr-gross{ font-size:26px; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums; margin-top:4px; }
.qr-gross small{ font-size:11px; font-weight:600; color:#8a97a8; letter-spacing:0; }

/* ---------- Knoepfe ---------- */
.qr-knopf{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center;
  justify-content:center; gap:7px; height:38px; padding:0 17px; border-radius:19px; font-size:13px;
  font-weight:600; white-space:nowrap; }
.qr-knopf .material-symbols-rounded{ font-size:18px; }
.qr-knopf.voll{ background:rgb(var(--accent-rgb,26,155,219)); color:#fff; }
.qr-knopf.voll:hover{ filter:brightness(1.06); }
.qr-knopf.rand{ background:#fff; color:#12233a; box-shadow:inset 0 0 0 1px #d9e4f0; }
.qr-knopf.rand:hover{ background:#f4f8fc; }
.qr-knopf.klein{ height:32px; padding:0 13px; border-radius:16px; font-size:12.5px; }
.qr-knopf.klein .material-symbols-rounded{ font-size:17px; }
.qr-ibtn{ all:unset; box-sizing:border-box; cursor:pointer; flex:none; width:32px; height:32px; border-radius:50%;
  display:inline-grid; place-items:center; color:#8a97a8; }
.qr-ibtn:hover{ background:#eef3f8; color:#12233a; }
.qr-ibtn .material-symbols-rounded{ font-size:18px; }
.qr-ibtn.mini{ width:28px; height:28px; }
.qr-ibtn.mini .material-symbols-rounded{ font-size:16px; }
.qr-knopf:focus-visible, .qr-ibtn:focus-visible, .qr-nv:focus-visible, .qr-chip:focus-visible{
  outline:2px solid rgb(var(--accent-rgb,26,155,219)); outline-offset:2px; }

/* Dreizehn Arten als quadratische Kacheln: das Zeichen traegt,
   das Wort bestaetigt. Als flache Zeile sahen sie aus wie
   Filterknoepfe -- sie sind aber die Wahl, mit der alles
   anfaengt. auto-fit statt fester Spaltenzahl, damit sie bei
   schmalem Fenster umbrechen statt zu schrumpfen. */
/* 76 px als Mindestmass, damit alle dreizehn in EINE Reihe
   passen: (1130 - 12 Fugen a 8) / 13 = 79,5 px. Wird das
   Fenster schmaler, bricht auto-fit von selbst um. */
.qr-arten{ display:grid; grid-template-columns:repeat(auto-fit,minmax(76px,1fr));
  gap:8px; margin:0 0 14px; }
.qr-chip{ all:unset; box-sizing:border-box; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  aspect-ratio:1/1; min-height:76px; padding:7px 5px; border-radius:13px; text-align:center;
  font-size:11.5px; font-weight:600; line-height:1.2; color:#41556d;
  /* word-break:break-word trennt VOR der Silbentrennung und macht
     aus "Überweisung" ein "Überweisun-g". Erst normal brechen
     lassen, dann Silbentrennung, und nur als letztes hart. */
  overflow:hidden; word-break:normal; overflow-wrap:break-word; hyphens:auto;
  background:#fff; box-shadow:inset 0 0 0 1px #d9e4f0; transition:background .12s, box-shadow .12s; }
.qr-chip:hover{ background:#f4f8fc; box-shadow:inset 0 0 0 1px #c3d4e6; }
.qr-chip.an{ background:rgba(var(--accent-rgb,26,155,219),.12); color:#0f6e9e;
  box-shadow:inset 0 0 0 2px rgb(var(--accent-rgb,26,155,219)); }
.qr-chip .material-symbols-rounded{ font-size:24px; color:#8ea4bd; }
.qr-chip.an .material-symbols-rounded{ color:#0f6e9e; font-variation-settings:'FILL' 1; }

/* ---------- Felder ---------- */
.qr-feld{ display:block; margin:11px 0 0; }
.qr-feld > span{ display:block; font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase;
  color:#8a97a8; margin-bottom:4px; }
.qr-feld input, .qr-feld select, .qr-feld textarea{ width:100%; font:inherit; font-size:13px; color:#12233a;
  background:#fff; border:1px solid #d9e4f0; border-radius:9px; padding:9px 11px; }
.qr-feld textarea{ min-height:84px; resize:vertical; font-family:inherit; }
.qr-feld input[type=range]{ padding:0; accent-color:rgb(var(--accent-rgb,26,155,219)); }
.qr-feld input:focus, .qr-feld select:focus, .qr-feld textarea:focus{
  outline:2px solid rgb(var(--accent-rgb,26,155,219)); outline-offset:-1px; border-color:transparent; }
.qr-reihe{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.qr-schalter{ display:flex; align-items:center; gap:9px; font-size:12.5px; font-weight:600; color:#41556d; cursor:pointer; }
.qr-schalter input{ accent-color:rgb(var(--accent-rgb,26,155,219)); width:15px; height:15px; }

/* ---------- Werkzeugleiste ---------- */
.qr-pal{ padding:4px 0; }
.qr-palzeile{ display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; align-items:center; padding:12px 16px; }
.qr-palzeile + .qr-palzeile{ border-top:1px solid #e7eef6; }
.qr-pallbl{ font-size:11.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:#8a97a8; }
.qr-palfeld{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-width:0; }
.qr-stilzeile{ align-items:start; }

.qr-seg{ display:inline-flex; background:#eef3f8; border-radius:12px; padding:3px; gap:3px; }
.qr-seg button{ all:unset; box-sizing:border-box; cursor:pointer; min-width:42px; height:38px; padding:0 10px;
  border-radius:9px; display:grid; place-items:center; color:#41556d; font-size:13px; font-weight:700; }
.qr-seg button:hover{ background:#e2ebf4; }
.qr-seg button.an{ background:#fff; color:#0f6e9e; box-shadow:0 1px 2px rgba(18,35,58,.12); }
.qr-seg button .material-symbols-rounded{ font-size:21px; }
.qr-seg.breit button{ min-width:46px; }

.qr-kipp{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; gap:7px;
  height:38px; padding:0 15px; border-radius:19px; font-size:13px; font-weight:600; color:#41556d;
  background:#fff; box-shadow:inset 0 0 0 1px #d9e4f0; }
.qr-kipp:hover{ background:#f4f9fd; }
.qr-kipp[data-an="1"]{ background:rgba(var(--accent-rgb,26,155,219),.14); color:#0f6e9e;
  box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb,26,155,219),.5); }
.qr-kipp .material-symbols-rounded{ font-size:19px; }

.qr-tupfer{ cursor:pointer; display:inline-flex; flex-direction:column; align-items:center; gap:2px; }
.qr-tupfer input[type=color]{ width:38px; height:38px; padding:0; border:none; border-radius:50%; background:none;
  cursor:pointer; box-shadow:inset 0 0 0 1px #d9e4f0, 0 0 0 1px #d9e4f0; }
.qr-tupfer input[type=color]::-webkit-color-swatch-wrapper{ padding:2px; }
.qr-tupfer input[type=color]::-webkit-color-swatch{ border:none; border-radius:50%; }
.qr-tupfer span{ font-size:10px; color:#8a97a8; font-weight:600; }

.qr-schieber{ display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 14px; border-radius:19px;
  background:#fff; box-shadow:inset 0 0 0 1px #d9e4f0; }
.qr-schieber .material-symbols-rounded{ font-size:19px; color:#8a97a8; }
.qr-schieber input[type=range]{ width:124px; padding:0; margin:0; accent-color:rgb(var(--accent-rgb,26,155,219)); }
.qr-minitext{ height:38px; padding:0 14px; border-radius:19px; border:1px solid #d9e4f0; font:inherit;
  font-size:13px; width:180px; }

.qr-step{ display:inline-flex; align-items:center; background:#eef3f8; border-radius:19px; padding:3px; }
.qr-step button{ all:unset; box-sizing:border-box; cursor:pointer; width:32px; height:32px; border-radius:50%;
  display:grid; place-items:center; font-size:17px; font-weight:800; color:#41556d; }
.qr-step button:hover{ background:#dde7f1; }
.qr-step b{ min-width:26px; text-align:center; font-size:14px; font-variant-numeric:tabular-nums; }

.qr-stile{ display:flex; gap:9px; flex-wrap:wrap; }
.qr-stilk{ all:unset; box-sizing:border-box; cursor:pointer; width:68px; padding:6px 6px 5px; border-radius:11px;
  text-align:center; background:#fff; box-shadow:inset 0 0 0 1px #d9e4f0; }
.qr-stilk:hover{ background:#f4f9fd; }
.qr-stilk.an{ box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb,26,155,219),.55); }
.qr-stilk svg{ width:100%; height:auto; display:block; border-radius:3px; }
.qr-stilk b{ display:block; font-size:10px; font-weight:700; margin-top:5px; color:#41556d; }

.qr-logofeld{ position:relative; width:46px; height:36px; border-radius:9px; border:2px dashed #d9e4f0;
  background:#fff; display:grid; place-items:center; cursor:pointer; overflow:hidden; padding:3px; }
.qr-logofeld:hover{ border-color:rgb(var(--accent-rgb,26,155,219)); background:#fafdff; }
.qr-logofeld.drueber{ border-color:rgb(var(--accent-rgb,26,155,219)); background:rgba(var(--accent-rgb,26,155,219),.08); }
.qr-logofeld .material-symbols-rounded{ font-size:19px; color:#8a97a8; }
.qr-logofeld img{ max-width:100%; max-height:100%; object-fit:contain; }

/* ---------- Statuszeile ----------
   Still, solange alles traegt. Eine Warnung, die immer da steht,
   liest irgendwann niemand mehr. */
/* Die Statuszeile ist entfallen. Die Befunde stehen jetzt offen
   in ihrer eigenen Karte rechts (.qr-kpruef) -- wer tausend
   Aufkleber druckt, soll nicht erst klicken muessen, um zu
   erfahren, dass der Kontrast nicht reicht. */

/* ---------- Befunde ----------
   Ein zusammenhaengender Block mit 1px Fuge statt einzelner
   Kaestchen: die Messung ist EINE Aussage, nicht fuenf. */
.qr-befunde{ display:flex; flex-direction:column; gap:1px; }
.qr-bf{ display:flex; align-items:flex-start; gap:9px; padding:10px 13px;
  font-size:12.5px; line-height:1.45; background:#f7fafd; color:#41556d; }
.qr-bf:first-child{ border-radius:9px 9px 0 0; }
.qr-bf:last-child{ border-radius:0 0 9px 9px; }
.qr-bf:only-child{ border-radius:9px; }
.qr-bf .material-symbols-rounded{ font-size:18px; flex:none; margin-top:1px; color:#8a97a8; }
.qr-bf b{ color:#12233a; font-weight:700; }
.qr-bf.gut{ background:rgba(14,124,107,.08); }
.qr-bf.gut .material-symbols-rounded{ color:#0e7c6b; }
.qr-bf.warn{ background:rgba(194,105,26,.1); }
.qr-bf.warn .material-symbols-rounded{ color:#c2691a; }
.qr-bf.schlecht{ background:rgba(179,38,30,.08); }
.qr-bf.schlecht .material-symbols-rounded{ color:#b3261e; }

.qr-hinweis{ display:flex; gap:10px; padding:11px 13px; border-radius:10px;
  background:rgba(var(--accent-rgb,26,155,219),.08);
  box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb,26,155,219),.22);
  font-size:12px; color:#41556d; line-height:1.55; }
.qr-hinweis + .qr-hinweis{ margin-top:9px; }
.qr-hinweis .material-symbols-rounded{ font-size:18px; color:#0f6e9e; flex:none; }
.qr-hinweis b{ color:#12233a; }
.qr-hinweis.warn{ background:rgba(194,105,26,.09); box-shadow:inset 0 0 0 1px rgba(194,105,26,.26); }
.qr-hinweis.warn .material-symbols-rounded{ color:#c2691a; }
.qr-hinweis.rot{ background:rgba(179,38,30,.07); box-shadow:inset 0 0 0 1px rgba(179,38,30,.25); }
.qr-hinweis.rot .material-symbols-rounded{ color:#b3261e; }

/* ---------- Vorschau ---------- */
/* ---------- Die Buehne ----------
   Eine Karte, in der alles zum Code steht: das Bild, seine
   Kennzahlen, die vier Knoepfe, das Gegenlesen. Zusammen, weil
   es zusammengehoert -- in der ersten Fassung standen die
   Knoepfe oben in der Ecke und das Bild hier unten. */
.qr-buehne{ padding:18px; text-align:center; }
.qr-wrap{ position:relative; line-height:0; width:244px; height:244px; margin:0 auto;
  display:grid; place-items:center; border-radius:9px; overflow:hidden; }
.qr-wrap svg{ display:block; width:100%; height:100%; }
/* Leer ist kein Fehler, sondern der Anfang: gestrichelt, nicht rot. */
.qr-wrap.leer{ border:1.5px dashed #d9e4f0; background:#f7fafd; color:#8a97a8;
  font-size:13px; line-height:1.6; padding:22px; }
.qr-wrap.leer .material-symbols-rounded{ font-size:34px; display:block; margin-bottom:7px; }

.qr-meta{ margin-top:13px; padding-top:12px; border-top:1px solid #eef3f8;
  display:flex; gap:7px; flex-wrap:wrap; justify-content:center; }
.qr-meta:empty{ display:none; }
.qr-marke2{ display:inline-flex; align-items:center; gap:5px; height:21px; padding:0 8px; border-radius:6px;
  font-size:10.5px; font-weight:700; white-space:nowrap; }
.qr-marke2.grau{ background:#eef3f8; color:#41556d; }
.qr-marke2.warn{ background:rgba(194,105,26,.15); color:#c2691a; }
.qr-marke2.akz{ background:rgba(var(--accent-rgb,26,155,219),.14); color:#0f6e9e; }

/* ---------- Serie und Sammlung ---------- */
.qr-seriegitter{ display:grid; grid-template-columns:repeat(auto-fill,minmax(118px,1fr)); gap:10px; }
.qr-sk{ background:#fff; border-radius:11px; box-shadow:inset 0 0 0 1px #e7eef6; padding:9px; text-align:center; }
.qr-sk svg{ width:100%; height:auto; display:block; }
.qr-sk .bez{ font-size:11px; font-weight:600; margin-top:6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.qr-sam{ display:flex; align-items:center; gap:12px; padding:11px 13px; border-radius:11px; background:#fff;
  box-shadow:inset 0 0 0 1px #e7eef6; }
.qr-sam + .qr-sam{ margin-top:8px; }
.qr-sam svg{ width:46px; height:46px; flex:none; }
.qr-sami{ flex:1; min-width:0; }
.qr-sami b{ display:block; font-size:13px; font-weight:700; }
.qr-sami .kk{ font-size:11px; color:#8a97a8; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

@media (max-width:1080px){
  .qr-erz{ grid-template-columns:minmax(0,1fr); }
}

/* ---------- Feldgitter ----------
   Drei Spalten, weil eine Visitenkarte siebzehn Felder hat und
   zwei Spalten daraus eine Rolltreppe machen. Schmale Felder
   wie PLZ stehen neben ihrem Ort, lange wie die Strasse nehmen
   sich zwei. */
.qr-gitter{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 11px; }
.qr-fd{ display:block; margin:0; min-width:0; }
.qr-fd.breit{ grid-column:1/-1; }
.qr-fd.halb{ grid-column:span 2; }
.qr-fd > span{ display:block; font-size:10.5px; font-weight:800; letter-spacing:.07em;
  text-transform:uppercase; color:#8a97a8; margin-bottom:4px; }
.qr-fd input, .qr-fd select, .qr-fd textarea{ width:100%; font:inherit; font-size:13px; color:#12233a;
  background:#fff; border:1px solid #dde6f0; border-radius:9px; padding:8px 10px; outline:none; }
.qr-fd textarea{ min-height:74px; resize:vertical; font-family:inherit; }
.qr-fd input:focus, .qr-fd select:focus, .qr-fd textarea:focus{
  border-color:rgb(var(--accent-rgb,26,155,219));
  box-shadow:0 0 0 3px rgba(var(--accent-rgb,26,155,219),.15); }
.qr-fdschalt{ display:flex; align-items:flex-end; padding-bottom:9px; }
.qr-pf{ color:rgb(var(--accent-rgb,26,155,219)); font-style:normal; font-weight:800; }
@media (max-width:1180px){ .qr-gitter{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .qr-fd.halb{ grid-column:1/-1; } }

/* ---------- Kaertchen der Sammlung ----------
   Jedes zeigt SEINE Gestaltung. Saehen alle gleich aus, fuende
   man seinen Code nicht wieder -- und genau dafuer ist eine
   Sammlung da. */
.qr-skgitter{ display:grid; grid-template-columns:repeat(auto-fill,minmax(212px,1fr)); gap:12px; }
.qr-sk2{ background:#fff; border-radius:12px; box-shadow:inset 0 0 0 1px #e7eef6;
  overflow:hidden; display:flex; flex-direction:column; }
.qr-sk2:hover{ box-shadow:inset 0 0 0 1px rgb(var(--accent-rgb,26,155,219)); }
.qr-skbild{ padding:14px; background:#f7fafd; border-bottom:1px solid #eef3f8;
  display:grid; place-items:center; cursor:pointer; }
.qr-skbild svg{ width:112px; height:112px; display:block; border-radius:4px; }
.qr-skleib{ padding:10px 12px; flex:1; min-width:0; }
.qr-skname{ font-size:13px; font-weight:700; margin-bottom:4px; cursor:text;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.qr-skname:hover{ color:#0f6e9e; }
.qr-sknameein{ width:100%; font:inherit; font-size:13px; font-weight:700; color:#12233a;
  border:1px solid rgb(var(--accent-rgb,26,155,219)); border-radius:6px; padding:2px 6px; outline:none; }
.qr-skzeile{ display:flex; align-items:center; gap:6px; }
.qr-sklogo{ font-size:15px; color:#8a97a8; }
.qr-sktxt{ font-size:11px; color:#8a97a8; line-height:1.45; margin-top:6px; word-break:break-word;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.qr-skfuss{ display:flex; gap:2px; padding:5px 7px; border-top:1px solid #eef3f8; }
.qr-skfuss .qr-ibtn{ flex:1; width:auto; border-radius:7px; }
.qr-ibtn.weg:hover{ background:rgba(179,38,30,.1); color:#b3261e; }
/* Zweistufig loeschen: der erste Klick faerbt, der zweite
   loescht. Das ersetzt einen Dialog, den es im Webview nicht
   verlaesslich gibt. */
.qr-ibtn.scharf{ background:#b3261e; color:#fff; }
.qr-ibtn.scharf:hover{ background:#8f1e18; color:#fff; }

/* ---------- Gegengelesen ---------- */
.qr-gegen{ margin-top:12px; padding:11px 13px; border-radius:11px; font-size:12.5px;
  background:rgba(14,124,107,.08); box-shadow:inset 0 0 0 1px rgba(14,124,107,.25); }
.qr-gegen.nein{ background:rgba(179,38,30,.08); box-shadow:inset 0 0 0 1px rgba(179,38,30,.25); }
.qr-gegenk{ display:flex; align-items:center; gap:7px; font-weight:700; margin-bottom:6px; color:#0e7c6b; }
.qr-gegen.nein .qr-gegenk{ color:#b3261e; }
.qr-gegenk .material-symbols-rounded{ font-size:18px; }
.qr-gegen pre{ margin:0; font-family:ui-monospace,Consolas,monospace; font-size:11px; line-height:1.5;
  white-space:pre-wrap; word-break:break-all; max-height:128px; overflow:auto; color:#41556d;
  background:rgba(255,255,255,.7); padding:7px 9px; border-radius:7px; }
.qr-gegen .qr-klein{ margin-top:7px; }

/* ---------- Die vier Knoepfe unter dem Code ----------
   Zweierraster: ablegen ist die Haupthandlung und nimmt die
   ganze Zeile, SVG und PNG teilen sich eine, Gegenlesen steht
   wieder voll. Gesperrt, solange es keinen Code gibt -- ein
   Knopf, der nichts tut, ist schlimmer als keiner. */
.qr-knoepfe{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.qr-kn{ all:unset; box-sizing:border-box; cursor:pointer; display:flex;
  align-items:center; justify-content:center; gap:7px; padding:11px 12px;
  border-radius:9px; font-size:13px; font-weight:600; color:#12233a;
  background:#fff; box-shadow:inset 0 0 0 1px #d9e4f0; }
.qr-kn .material-symbols-rounded{ font-size:19px; }
.qr-kn:hover:not(:disabled){ background:#f4f8fc; color:#0f6e9e;
  box-shadow:inset 0 0 0 1px rgb(var(--accent-rgb,26,155,219)); }
.qr-kn:disabled{ opacity:.45; cursor:not-allowed; }
.qr-kn.voll{ grid-column:1/-1; background:rgb(var(--accent-rgb,26,155,219)); color:#fff;
  box-shadow:none; }
.qr-kn.voll:hover:not(:disabled){ filter:brightness(1.06); background:rgb(var(--accent-rgb,26,155,219));
  color:#fff; box-shadow:none; }
.qr-kn.weit{ grid-column:1/-1; }
.qr-kn:focus-visible{ outline:2px solid rgb(var(--accent-rgb,26,155,219)); outline-offset:2px; }

/* ---------- Karten mit Kopf ----------
   Pruefung und Druckgroesse. Derselbe Kopf wie in der Vorschau:
   Zeichen in Akzentfarbe, Text daneben, duenne Linie darunter. */
.qr-kpruef, .qr-kdruck{ margin-top:14px; }
.qr-kkopf{ display:flex; align-items:center; gap:9px; padding:13px 15px 12px;
  font-size:13.5px; font-weight:700; color:#12233a; border-bottom:1px solid #eef3f8; }
.qr-kkopf .material-symbols-rounded{ font-size:20px; color:rgb(var(--accent-rgb,26,155,219)); }
.qr-kleib{ padding:12px 13px 13px; }

/* ---------- Der Schieber fuer den Leseabstand ---------- */
.qr-schiebz{ display:flex; align-items:center; gap:11px; margin-bottom:12px; }
.qr-schiebz > label{ font-size:12.5px; font-weight:600; color:#41556d; flex:none; }
.qr-schiebz input[type=range]{ flex:1; min-width:0; padding:0; margin:0;
  accent-color:rgb(var(--accent-rgb,26,155,219)); }
.qr-swert{ font-size:12.5px; font-weight:700; color:#12233a; flex:none;
  min-width:52px; text-align:right; font-variant-numeric:tabular-nums; }
.qr-druckerg{ text-align:center; padding:12px; border-radius:9px;
  background:rgba(var(--accent-rgb,26,155,219),.08); }
.qr-druckerg .qr-gross{ margin-top:0; color:#0f6e9e; }
.qr-druckerg .qr-klein{ margin-top:4px; }
