:root { --grund: #f3f4f6; --flaeche: #fff; --text: #16181d; --leise: #646a73; --linie: #e1e4e8;
  --dunkel: #181a1e; --akzent: #2f5fb3; --ok: #2f6b45; --fehler: #b42323; --warn: #9a6200; --hinweis: #2f5fb3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 14.5px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 800px) { body { grid-template-columns: 1fr; } .seite { padding: 16px; } }
a { color: var(--akzent); }
.leiste { background: var(--dunkel); color: #e8e8e8; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.leiste b { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 8px 14px; color: #fff; }
.leiste a { color: #d6d6d6; text-decoration: none; padding: 7px 10px; border-radius: 8px; display: flex; justify-content: space-between; }
.leiste a:hover, .leiste a.an { background: #2a2d33; color: #fff; }
.leiste .zahl { background: #c9a227; color: #181a1e; border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 600; }
.leiste .unten { margin-top: auto; font-size: 12.5px; color: #9aa0a6; padding: 8px 10px; }
.leiste .unten button { background: none; border: 0; color: #d6d6d6; padding: 0; cursor: pointer; text-decoration: underline; font: inherit; }
.seite { padding: 24px 32px 64px; max-width: 1280px; width: 100%; }
h1 { font-size: 24px; margin: 0 0 16px; }
h2 { font-size: 17px; margin: 0 0 10px; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kacheln .kachel { margin: 0; text-decoration: none; color: inherit; }
.kacheln .kachel b { display: block; font-size: 26px; }
.kacheln .kachel span { color: var(--leise); font-size: 13px; }
.kacheln .kachel.dringend { border-color: #e2b93b; background: #fffaeb; }
.kacheln .kachel.stoerung { border-color: #f0b4b4; background: #fff4f4; }
table.liste { width: 100%; border-collapse: collapse; background: var(--flaeche); }
table.liste th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--linie); }
table.liste td { padding: 9px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.liste tr:hover td { background: #fafbfc; }
.zahl-r { text-align: right; font-variant-numeric: tabular-nums; }
/* Tabellen (10.10.2026, Hinweis des Users): Kopf und Werte gleich ausgerichtet;
   Zahlen- und Linkspalten so schmal wie ihr Inhalt, Text bekommt den Rest */
table.liste th.zahl-r, table.liste td.zahl-r { text-align: right; width: 1%; white-space: nowrap; padding-left: 18px; }
table.liste th { vertical-align: bottom; white-space: nowrap; }
table.liste td { vertical-align: middle; }
table.liste .eng { width: 1%; white-space: nowrap; }
table.liste tr:last-child td { border-bottom: 0; }
.kachel > table.liste:first-child, .kachel > h2 + table.liste { margin-top: -4px; }
.marke { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12px; background: #eef0f3; white-space: nowrap; }
.marke.pruefung, .marke.rueckfrage { background: #fff1c7; color: #6b4e00; }
.marke.stoerung, .marke.abgelehnt { background: #fde2e2; color: #8b1c1c; }
.marke.versandt, .marke.zugestellt { background: #dff1e5; color: #1f5a35; }
.marke.storniert { background: #e8e8e8; color: #555; }
/* ------------------------------------------------------------------ Formulare
   Einheitlich (10.10.2026, Hinweis des Users): Felder und Knöpfe gleich hoch,
   gleiche Schrift, Beschriftung über dem Feld, Häkchen neben ihrem Text,
   sichtbarer Fokus. Einzelne Seiten setzen keine eigenen Abstände mehr. */
:root { --feldhoehe: 38px; --feldschrift: 14.5px; }
.knopf, .seite button:not([class]), .seite button.haupt, input[type=file]::file-selector-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box;
  height: var(--feldhoehe); padding: 0 16px; border: 1px solid var(--dunkel); border-radius: 8px;
  background: var(--dunkel); color: #fff; font: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  cursor: pointer; text-decoration: none; white-space: nowrap; vertical-align: middle; }
.knopf:hover:not(:disabled), .seite button.haupt:hover:not(:disabled) { background: #2c2f36; }
.knopf.hell, .seite button:not([class]), input[type=file]::file-selector-button { background: #fff; color: var(--text); border-color: #c9ced6; }
.knopf.hell:hover:not(:disabled), .seite button:not([class]):hover:not(:disabled) { background: #f4f5f7; border-color: #aeb4bd; }
.knopf.gruen { background: var(--ok); border-color: var(--ok); color: #fff; }
.knopf.gruen:hover:not(:disabled) { background: #275a3a; }
.knopf.rot { background: #fff; color: var(--fehler); border-color: var(--fehler); }
.knopf.rot:hover:not(:disabled) { background: #fdf1f1; }
.knopf.klein { height: 30px; padding: 0 10px; font-size: 13px; }
.knopf:disabled, .seite button:disabled { opacity: .45; cursor: not-allowed; }
input[type=text], input[type=password], input[type=number], input[type=search], input[type=email], input[type=date],
input[type=url], input[type=tel], select, textarea {
  box-sizing: border-box; width: 100%; height: var(--feldhoehe); padding: 0 10px; border: 1px solid #c9ced6; border-radius: 8px;
  background: #fff; color: var(--text); font: inherit; font-size: var(--feldschrift); vertical-align: middle; }
select { padding-right: 28px; }
textarea { height: auto; min-height: 84px; padding: 8px 10px; line-height: 1.5; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa0a8; }
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: #aeb4bd; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(47, 95, 179, .15); }
.knopf:focus-visible, .seite button:focus-visible, .reiter a:focus-visible, a:focus-visible {
  outline: 2px solid var(--akzent); outline-offset: 2px; }
input:disabled, select:disabled, textarea:disabled, input[readonly] { background: #f6f7f9; color: var(--leise); }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; margin: 0; accent-color: var(--akzent); flex: none; cursor: pointer; }
input[type=file] { font: inherit; font-size: 13.5px; color: var(--leise); }
input[type=file]::file-selector-button { margin-right: 10px; height: 34px; }
label { display: block; font-size: 13px; color: var(--leise); margin-bottom: 4px; }
/* Häkchen und Auswahlpunkte stehen neben ihrem Text, in normaler Schrift */
label:has(> input[type=checkbox]), label:has(> input[type=radio]) {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: 14px; cursor: pointer; }
/* Felder in einer Zeile (Filter, Rechner): Beschriftung links neben dem Feld */
.filterzeile { display: flex; gap: 8px 10px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.filterzeile input:not([type=checkbox]):not([type=radio]), .filterzeile select { width: auto; }
.filterzeile input[type=search] { min-width: 240px; }
.filterzeile label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.feld-kurz { width: 84px !important; }
.feld-mittel { width: 240px !important; }
/* Abstände in Formularen: ein Feld je Absatz, Überschriften mit Luft davor */
form > p, .kachel form > p, form > .einstellungs-raster > p { margin: 0 0 14px; }
form > p:has(> label > input[type=checkbox]) { margin-bottom: 10px; }
form h2 { margin: 22px 0 10px; }
form h2:first-of-type { margin-top: 0; }
form > .hilfe { margin: -6px 0 14px; }
form > textarea + .knopf, form > input + .knopf, form > select + .knopf, form > label + .knopf { margin-top: 8px; }
.formfuss { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.rechts { margin-left: auto; }
.meldung { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.meldung.ok { color: var(--ok); background: #eff7f1; border-color: #cfe5d6; }
.meldung.fehler { color: var(--fehler); background: #fdf1f1; border-color: #f0cccc; }
.zweispalten { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .zweispalten { grid-template-columns: 1fr; } }
.pruefpunkt { padding: 7px 10px; border-radius: 8px; margin: 5px 0; border-left: 4px solid; background: #fafafa; }
.pruefpunkt.fehler { border-color: var(--fehler); background: #fdf1f1; }
.pruefpunkt.warnung { border-color: #e2a93b; background: #fff8e8; }
.pruefpunkt.hinweis { border-color: var(--hinweis); background: #f1f5fc; }
.pruefpunkt b { text-transform: uppercase; font-size: 11px; letter-spacing: .08em; margin-right: 6px; }
table.werte { border-collapse: collapse; margin: 8px 0; font-variant-numeric: tabular-nums; }
table.werte th, table.werte td { border: 1px solid var(--linie); padding: 6px 12px; text-align: center; }
table.werte th { background: #f6f7f9; font-weight: 500; font-size: 12.5px; }
table.werte td.auge { font-weight: 600; text-align: left; }
.verlauf { list-style: none; padding: 0; margin: 0; }
.verlauf li { padding: 6px 0; border-bottom: 1px solid var(--linie); font-size: 13.5px; }
.verlauf small { color: var(--leise); display: block; }
.aktionen { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.leise { color: var(--leise); }
.reiter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.reiter a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--text); font-size: 13px; }
.reiter a.an { background: var(--dunkel); color: #fff; border-color: var(--dunkel); }
.mini { width: 64px; height: 40px; object-fit: contain; background: #fff; }
pre { background: #f6f7f9; padding: 12px; border-radius: 8px; overflow: auto; font-size: 12px; max-height: 420px; }
.sehwerte { border-collapse: collapse; } .sehwerte th { font-size: 12px; color: var(--leise); text-align: left; padding: 3px 6px; font-weight: 500; }
.sehwerte td { padding: 3px 6px; } .hilfe { color: var(--leise); font-size: 13px; }
.feldreihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.testmodus { background: #fff3cd; color: #6b4e00; border: 1px solid #f0dc9a; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; font-size: 13.5px; }
@media print { body { display: block; } .leiste, .nicht-drucken { display: none !important; } .seite { padding: 0; } }

/* Auswertung */
.stat-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-kacheln .kachel { margin: 0; display: grid; gap: 2px; }
.stat-kacheln span { font-size: 12px; color: var(--leise); text-transform: uppercase; letter-spacing: .06em; }
.stat-kacheln b { font-size: 26px; font-variant-numeric: tabular-nums; }
.stat-kacheln small { font-size: 11.5px; color: var(--leise); }
.stat-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .stat-zwei { grid-template-columns: 1fr; } }
.stat-verlauf { width: 100%; height: auto; display: block; }
.stat-verlauf .raster { stroke: var(--linie); stroke-dasharray: 2 4; }
.stat-verlauf .grund { stroke: var(--leise); }
.stat-verlauf .achse { font-size: 11px; fill: var(--leise); }
.stat-verlauf .wert { fill: var(--akzent); }
.stat-verlauf .ziel { fill: transparent; }
.stat-verlauf .balken:hover .wert { fill: #1f4a92; }
.stat-verlauf .balken:hover .ziel { fill: rgba(47, 95, 179, .06); }
.trichter { display: grid; gap: 6px; }
.trichter-zeile { display: grid; grid-template-columns: 220px 1fr 70px 50px; gap: 12px; align-items: center; }
.trichter-name { font-size: 13.5px; }
.trichter-spur { background: var(--grund); border-radius: 4px; height: 18px; overflow: hidden; }
.trichter-balken { display: block; height: 100%; background: var(--akzent); border-radius: 0 4px 4px 0; }
.stunden { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; height: 110px; align-items: end; }
.stunden span { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.stunden i { display: block; background: var(--akzent); border-radius: 3px 3px 0 0; min-height: 1px; }
.stunden small { font-size: 10.5px; color: var(--leise); height: 14px; }

/* Rechtstexte */
.rt-raster { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .rt-raster { grid-template-columns: 1fr; } }
.rt-form { margin: 0; }
.rt-werkzeug { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; position: sticky; top: 0; z-index: 2;
  background: var(--flaeche); padding: 6px 0 8px; border-bottom: 1px solid var(--linie); margin-bottom: 10px; }
.seite .rt-werkzeug button { height: auto; line-height: 1.3; font: inherit; font-size: 13px; padding: 5px 9px; border: 1px solid var(--linie); border-radius: 6px;
  background: transparent; color: inherit; cursor: pointer; }
.seite .rt-werkzeug button:hover:not(:disabled) { background: var(--grund); }
.seite .rt-werkzeug button:disabled { opacity: .4; cursor: default; }
.seite .rt-werkzeug button.an { background: var(--akzent); color: #fff; border-color: var(--akzent); }
.rt-werkzeug .rt-gelb { background: #fff1b8; }
.rt-trenner { width: 1px; height: 22px; background: var(--linie); margin: 0 4px; }
.rt-editor { min-height: 420px; max-height: 70vh; overflow: auto; padding: 4px 6px; outline: none; line-height: 1.65; }
.rt-editor:focus { box-shadow: inset 0 0 0 2px rgba(47, 95, 179, .15); border-radius: 6px; }
.rt-editor h2 { font-size: 19px; margin: 24px 0 8px; }
.rt-editor h3 { font-size: 16px; margin: 18px 0 6px; }
.rt-editor ul, .rt-editor ol { padding-left: 22px; }
.rt-editor .offen, .offen { background: #fff1b8; padding: 0 3px; border-radius: 3px; }
.platzhalter { background: #e6e9ef; border: 1px solid #c9ced8; border-radius: 4px; padding: 0 4px; font-weight: 600;
  white-space: nowrap; cursor: default; }
.rt-quelle { width: 100%; font: 12.5px/1.5 ui-monospace, Consolas, monospace; border: 1px solid var(--linie); border-radius: 6px; padding: 8px; }
.rt-fuss { display: flex; gap: 10px; margin-top: 12px; border-top: 1px solid var(--linie); padding-top: 12px; }
.rt-fuss input { flex: 1; }
.rt-geaendert { color: #8a6d00; margin: 6px 0 0; }
.rt-platzhalter { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 13px; }
.rt-einfuegen { font: inherit; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--linie); background: transparent;
  cursor: pointer; line-height: 1; color: inherit; }
.rt-pflicht { font-size: 11px; background: #fde2e1; color: #9b1c1c; border-radius: 4px; padding: 0 4px; }
.rt-versionen { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.rt-versionen li.an { font-weight: 600; }
.rt-offen-zahl { background: #fff1b8; border-radius: 4px; padding: 0 6px; font-weight: 600; }
.meldung.hinweis { color: var(--hinweis); background: #eef3fb; border-color: #cbd8ee; }

/* Einstellungen mit Reitern */
.einstellungs-reiter { margin: 4px 0 16px; }
.einstellungs-reiter a { font-size: 14px; padding: 7px 14px; }
.einstellungs-form { max-width: 620px; }
.einstellungs-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 14px; }
.knopf.breit { width: 100%; }
.ohne-abstand { margin: 0 !important; }
.abstand-oben { margin-top: 18px; }
h2.abstand-oben { margin-top: 26px; }
details > summary { cursor: pointer; font-weight: 500; }
.kachel details > form { margin-top: 12px; }

.warnung-text { color: #b3261e; font-weight: 600; }

/* ------------------------------------------------------------ Cockpit (Startseite, 14.10.2026) */
.cockpit h2 { font-size: 15px; }
.ck-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.ck-kopf h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.ck-datum { margin: 0 0 2px; color: var(--leise); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.ck-ampeln { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ck-ampel > a, .ck-ampel > span, .ck-ampel { font-size: 13px; }
.ck-ampel { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); }
.ck-ampel a { display: flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.ck-ampel a:hover span:last-child { text-decoration: underline; }
.ck-ampel span:last-child { color: var(--leise); }
.ck-ampel__punkt { width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; flex: none; }
.ck-ampel--gruen .ck-ampel__punkt { background: #2f9e58; box-shadow: 0 0 0 3px #2f9e5822; }
.ck-ampel--gelb .ck-ampel__punkt { background: #d9a400; box-shadow: 0 0 0 3px #d9a40026; }
.ck-ampel--rot { border-color: #f0b4b4; background: #fff6f6; }
.ck-ampel--rot .ck-ampel__punkt { background: var(--fehler); box-shadow: 0 0 0 3px #b4232326; }
.ck-ampel--aus .ck-ampel__punkt { background: #c4c8ce; }

.ck-tun { margin-bottom: 18px; }
.ck-tun ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ck-tun__punkt a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: var(--flaeche);
  border: 1px solid var(--linie); border-left-width: 4px; color: var(--text); text-decoration: none; }
.ck-tun__punkt a:hover { background: #fafbfc; }
.ck-tun__punkt a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.ck-tun__punkt--rot a { border-left-color: var(--fehler); background: #fff8f8; }
.ck-tun__punkt--gelb a { border-left-color: #d9a400; }
.ck-tun__punkt--blau a { border-left-color: var(--akzent); }
.ck-tun__zeichen { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: #eef1f5; color: var(--leise); flex: none; }
.ck-tun__punkt--rot .ck-tun__zeichen { background: var(--fehler); color: #fff; }
.ck-tun__pfeil { margin-left: auto; color: var(--leise); }
.ck-tun__leer { margin: 0; padding: 14px 16px; border-radius: 10px; background: #f1f8f3; border: 1px solid #cfe6d7; color: var(--ok); }
.ck-tun__leer span { font-weight: 700; margin-right: 6px; }

.ck-zahlen { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 1100px) { .ck-zahlen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ck-zahlen { grid-template-columns: 1fr; } .ck-kopf { flex-direction: column; align-items: flex-start; } }
.ck-zahl { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-zahl b { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ck-zahl__name { color: var(--leise); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.ck-zahl__vergleich { color: var(--leise); font-size: 13px; }
.ck-zahl--breit { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto auto; column-gap: 20px; }
.ck-zahl--breit > :not(svg) { grid-column: 1; }
.ck-verlauf { grid-column: 2; grid-row: 1 / span 4; width: 100%; max-width: 360px; height: 72px; justify-self: end; align-self: center; }
.ck-verlauf__balken { fill: #9db3d9; }
.ck-verlauf__balken--heute { fill: var(--akzent); }
.ck-verlauf__treffer { fill: transparent; }
.ck-verlauf g:hover .ck-verlauf__balken { fill: #1f4b97; }
.ck-verlauf__grund { stroke: var(--linie); stroke-width: 1; }
.ck-zahl__mehr { font-size: 13px; margin-top: 4px; }
@media (max-width: 560px) { .ck-zahl--breit { grid-template-columns: 1fr; } .ck-verlauf { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: none; } }

.ck-weg ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; }
.ck-weg li { position: relative; }
.ck-weg li + li::before { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; border-top: 2px solid #c9ced6;
  border-right: 2px solid #c9ced6; transform: translateY(-50%) rotate(45deg); z-index: 1; background: transparent; }
.ck-weg a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; margin: 0 8px; border-radius: 10px;
  text-decoration: none; color: var(--text); background: #f4f6f9; text-align: center; }
.ck-weg a:hover { background: #e8edf4; }
.ck-weg b { font-size: 22px; font-variant-numeric: tabular-nums; }
.ck-weg span { font-size: 12.5px; color: var(--leise); }
.ck-weg--leer b { color: #b6bbc2; }
@media (max-width: 900px) { .ck-weg ol { grid-template-columns: repeat(4, 1fr); row-gap: 10px; } .ck-weg li + li::before { display: none; } }
@media (max-width: 480px) { .ck-weg ol { grid-template-columns: repeat(2, 1fr); } }

.ck-schnell { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.ck-schnell h2 { width: 100%; }
.ck-fehler { color: var(--fehler); }
.ck-termine h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); margin: 12px 0 6px; font-weight: 600; }
.ck-termine h3 span { background: #eef1f5; border-radius: 999px; padding: 0 7px; margin-left: 4px; color: var(--text); }
.ck-termine ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 4px; }
.ck-termine li { display: grid; grid-template-columns: 46px 1fr; column-gap: 8px; padding: 6px 8px; border-left: 3px solid var(--f); background: #fafbfc; border-radius: 4px; }
.ck-termine li b { grid-row: span 2; font-variant-numeric: tabular-nums; }
.ck-termine li small { color: var(--leise); }
.ck-termine li i { color: var(--warn); font-style: normal; font-size: 12px; }
.ck-termine--vorbei { opacity: .5; }
.ck-termine > a { display: inline-block; margin-top: 8px; font-size: 13px; }
.inline-form { display: inline; }
.kw-anzeige { font: 15px/1 ui-monospace, Consolas, monospace; padding: 4px 8px; width: 16em; border: 1px solid #c9a227; border-radius: 6px; background: #fffbe6; }

/* Markentexte als Akkordeon (19.10.2026) */
.akkordeon details.kachel { margin: 0 0 8px; padding: 10px 14px; }
.akkordeon summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 400; }
.akkordeon .akk-vorschau { flex-basis: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.akkordeon details[open] .akk-vorschau { display: none; }
.akkordeon details > form { margin-top: 12px; }

/* Anmeldung per Handy: Code groß zum Vergleichen (anmeldung.py, 23.10.2026) */
.code-gross { font: 600 34px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .12em; margin: 8px 0; }

/* Auswertung: Zeitraum frei wählbar, Besucherwege (27.10.2026) */
.stat-zeitraum { margin-bottom: 16px; }
.stat-zeitraum label { font-size: 13px; color: var(--leise); display: inline-flex; gap: 6px; align-items: center; }
.stat-verlauf a .balken { cursor: pointer; }
.stat-verlauf a:hover .wert { fill: var(--dunkel); }
.weg { border-top: 1px solid var(--linie); padding: 10px 0; }
.weg-kopf { font-size: 13px; margin-bottom: 6px; }
.weg-kauf { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #e5f4e4; color: var(--ok); font-size: 12px; font-weight: 600; }
.weg-schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; }
.weg-schritte li { display: inline-flex; align-items: center; gap: 4px; }
.weg-schritte li + li::before { content: "→"; color: var(--leise); margin: 0 6px; }
.weg-schritte .weg-ziel { font-weight: 600; color: var(--ok); }
.weg-blaettern { display: flex; gap: 16px; align-items: center; margin-top: 12px; }

/* Versand durch OPS (27.10.2026) */
.versand-scan input[name=code] { font-size: 20px; padding: 10px 12px; min-width: 300px; letter-spacing: .04em; }
.versand-anschrift { font-size: 18px; line-height: 1.5; border: 1px dashed var(--leise); border-radius: 8px; padding: 14px 18px; margin: 8px 0 16px; max-width: 420px; }
.versand-knoepfe { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.versand-fertig { border-top: 1px solid var(--linie); margin-top: 16px; padding-top: 12px; }
.hinweis-ok { background: #e5f4e4; color: var(--ok); padding: 8px 12px; border-radius: 8px; }
.hinweis-warn { background: #f9eeda; color: var(--warn); padding: 8px 12px; border-radius: 8px; }

/* Glas auf einen Blick (27.10.2026) */
.glas-merkmale { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.glas-index { font-size: 22px; font-weight: 700; padding: 2px 12px; border-radius: 8px; background: var(--dunkel); color: #fff; }
.glas-chip { font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--linie); background: #fff; }
.glas-chip.stark { background: #e7f1fb; border-color: #b9d3ef; color: #1d4f8a; font-weight: 600; }
.glas-chip.farbe { background: #f9eeda; border-color: #ead2a6; color: #7a4d00; font-weight: 600; }
.glas-sf6 { font-size: 12px; color: var(--leise); margin-left: 4px; }

/* OPS-Liste: Sortierung und Glasgruppen (27.10.2026) */
.ops-sortierung { font-size: 13px; color: var(--leise); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ops-sortierung a { text-decoration: none; padding: 2px 8px; border-radius: 6px; }
.ops-sortierung a.an { background: var(--dunkel); color: #fff; }
tr.ops-gruppe td { background: #f0efec; font-weight: 600; font-size: 13px; }
.kachel.wareneingang { border-left: 4px solid var(--ok); }
/* Für OPS: SF6-Artikelnummer zuerst (27.10.2026) */
.glas-code { font-size: 20px; font-weight: 700; font-family: ui-monospace, Consolas, monospace; padding: 2px 10px; border-radius: 8px; background: var(--dunkel); color: #fff; }
.glas-katalog { font-weight: 600; }
