/* PostVenta — Bogen. Neutral: keine Kundenfarben, kein Kundenlogo.
   Farben als Tokens; Kontraste werden in tests/test_kontrast.py gegen WCAG AA geprüft. */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/static/fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/static/fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --papier: #f3f6f5;
  --flaeche: #ffffff;
  --tinte: #18221f;
  --leise: #4a5752;
  --linie: #c5d0cc;
  --rand: #6f7f79;
  --akzent: #0e5a6b;
  --akzent-text: #ffffff;
  --pflicht: #8a3a12;
  --ok: #2c6634;
  --warnung: #8a3a12;
  --mittel: #6b5200;
  --fokus: #0e5a6b;
  --segment-leer: #dbe3e0;
  --schrift: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #111816;
    --flaeche: #18211e;
    --tinte: #e4ece8;
    --leise: #a3b2ac;
    --linie: #34433e;
    --rand: #73867f;
    --akzent: #7fc6d6;
    --akzent-text: #0b1513;
    --pflicht: #f0a27a;
    --ok: #8fd19a;
    --warnung: #f0a27a;
    --mittel: #e3c15a;
    --fokus: #7fc6d6;
    --segment-leer: #2a3632;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: var(--akzent); text-underline-offset: 0.18em; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 4px; }

.sprung { position: absolute; left: -999px; top: 0; }
.sprung:focus { left: 1rem; top: 1rem; background: var(--flaeche); padding: .5rem 1rem; z-index: 10; }

.vh, .vh-input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Kopf mit der Blockleiste — das Erkennungszeichen des Bogens */
.kopf {
  position: sticky; top: 0; z-index: 5;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
  padding: .75rem 1rem .6rem;
}
.eyebrow {
  margin: 0 auto .5rem; max-width: 40rem;
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; color: var(--leise);
}
.leiste { max-width: 40rem; margin: 0 auto; }
.leiste ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: .375rem; }
.leiste a { display: block; text-decoration: none; color: var(--leise); padding: .25rem 0 0; min-height: 44px; }
.segment {
  display: block; height: .5rem; border-radius: .25rem;
  background: linear-gradient(to right, var(--akzent) var(--fuell, 0%), var(--segment-leer) var(--fuell, 0%));
}
.segment.a0 { --fuell: 0%; } .segment.a1 { --fuell: 10%; } .segment.a2 { --fuell: 20%; }
.segment.a3 { --fuell: 30%; } .segment.a4 { --fuell: 40%; } .segment.a5 { --fuell: 50%; }
.segment.a6 { --fuell: 60%; } .segment.a7 { --fuell: 70%; } .segment.a8 { --fuell: 80%; }
.segment.a9 { --fuell: 90%; } .segment.a10 { --fuell: 100%; }
.segment-nr { display: block; font-family: var(--mono); font-size: .8125rem; text-align: center; margin-top: .2rem; }
.leiste .aktiv .segment-nr { color: var(--tinte); font-weight: 700; }
.leiste .aktiv .segment { outline: 2px solid var(--tinte); outline-offset: 2px; }
.leiste .fertig .segment-nr::after { content: " ✓"; }
/* Blöcke ohne Pflichtfragen: gestrichelt — weder offen noch erledigt. */
.leiste .frei .segment { background: none; border: 2px dashed var(--rand); height: .5rem; }

/* Inhalt */
main { padding: 1.25rem 1rem 4rem; }
.bogen { max-width: 40rem; margin: 0 auto; }

h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.1; margin: .5rem 0 .75rem;
  letter-spacing: -0.01em; display: flex; align-items: baseline; gap: .6rem;
}
.blocknr {
  font-family: var(--mono); font-weight: 400; font-size: .5em; color: var(--akzent);
  border: 2px solid currentColor; border-radius: 999px; min-width: 1.9em; text-align: center;
  padding: .05em .4em; transform: translateY(-.2em);
}
h2 { font-size: 1.125rem; margin: 0; }
.einleitung { color: var(--leise); margin: 0 0 2rem; }
.entwurf { color: var(--warnung); font-weight: 700; }

.feld, .gruppe { margin: 0 0 1.75rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.frage { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin-bottom: .35rem; padding: 0; }
legend.frage { float: left; width: 100%; }
legend.frage + * { clear: both; }
.frage label, .fragetext { font-weight: 700; }
.nr { font-family: var(--mono); font-size: .8125rem; color: var(--leise); min-width: 2.2em; }
.pflicht {
  font-size: .75rem; font-weight: 700; color: var(--pflicht); text-transform: uppercase; letter-spacing: .06em;
}
.hinweis { margin: 0 0 .5rem; color: var(--leise); font-size: .9375rem; }
.systemwert { margin: .25rem 0 .5rem; font-size: 1.125rem; font-weight: 700; }

input[type="text"], input[type="url"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--flaeche);
  border: 2px solid var(--rand); border-radius: .5rem; padding: .7rem .8rem; min-height: 48px;
}
input:hover, textarea:hover { border-color: var(--tinte); }
textarea { resize: vertical; }

.listenplatz { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.platz { font-family: var(--mono); font-size: .8125rem; color: var(--leise); width: 1.25rem; text-align: right; flex: none; }

.option {
  display: flex; align-items: flex-start; gap: .75rem; padding: .75rem .9rem; margin-top: .5rem;
  background: var(--flaeche); border: 2px solid var(--rand); border-radius: .5rem; cursor: pointer; min-height: 48px;
}
.option:has(input:checked) { border-color: var(--akzent); }
.option input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--akzent); flex: none; }
.empfehlung {
  font-size: .75rem; font-weight: 700; color: var(--akzent); border: 1px solid currentColor;
  border-radius: 999px; padding: 0 .45em; margin-left: .25rem; white-space: nowrap;
}

.standort { background: var(--flaeche); border: 2px solid var(--linie); border-radius: .75rem; padding: 1rem; margin-top: .75rem; }
.standort legend { font-weight: 700; padding: 0 .35rem; }
.standort input, .standort textarea { background: var(--papier); }

.statuszeile { display: block; min-height: 1.4em; font-size: .875rem; margin-top: .25rem; }
.status.ok { color: var(--ok); }
.status.ok::before { content: "● "; }
.status.warnung { color: var(--warnung); font-weight: 700; display: block; }

.medien { list-style: none; padding: 0; margin: .5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .5rem; }
.medien li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: .5rem; padding: .4rem; display: flex; flex-direction: column; gap: .25rem; font-size: .8125rem; }
.medien img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .3rem; background: var(--segment-leer); }
.dateityp { font-family: var(--mono); display: grid; place-items: center; aspect-ratio: 1; background: var(--segment-leer); border-radius: .3rem; }
.dateiname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--leise); }
.zaehler { font-family: var(--mono); font-size: .8125rem; color: var(--leise); margin: .25rem 0 .5rem; }
.laedt { display: none; color: var(--leise); font-size: .875rem; }
.htmx-request .laedt { display: inline; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; color: var(--akzent-text); background: var(--akzent);
  border: 2px solid var(--akzent); border-radius: .5rem; padding: .7rem 1.2rem; min-height: 48px;
  text-decoration: none; cursor: pointer;
}
.knopf.zweit { color: var(--akzent); background: transparent; }
.vh-input:focus-visible + .laedt, .upload:has(+ .vh-input:focus-visible) { outline: 3px solid var(--fokus); outline-offset: 2px; }
.leise { font: inherit; font-size: .8125rem; background: none; border: 0; padding: .25rem 0; color: var(--akzent); text-decoration: underline; cursor: pointer; text-align: left; min-height: 32px; }

.weiter { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.weiter .knopf:last-child { margin-left: auto; }

.fehlerliste { padding: 0; list-style: none; margin: 0 0 1.5rem; }
.fehlerliste li { border-left: 3px solid var(--warnung); padding: .35rem .75rem; margin-bottom: .4rem; background: var(--flaeche); }

@media (min-width: 48rem) {
  main { padding-top: 2.5rem; }
  .eyebrow, .leiste, .bogen { max-width: 42rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .segment { transition: background .3s ease; }
}

/* Leitstand */
.schmal { max-width: 24rem; }
.leitstand { max-width: 72rem; margin: 0 auto; }
.leitstand-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--linie); border-radius: .5rem; background: var(--flaeche); }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--leise); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
.zahl { text-align: right; font-variant-numeric: tabular-nums; }
.achtung { color: var(--warnung); font-weight: 700; }
.mandant-id { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--leise); }
.leise-text { color: var(--leise); font-size: .8125rem; }
.zustand { font-family: var(--mono); font-size: .8125rem; white-space: nowrap; border: 1px solid var(--rand); border-radius: 999px; padding: .05rem .5rem; }
.z-pausiert, .z-gekuendigt { color: var(--warnung); border-color: currentColor; }
.z-beendet { color: var(--leise); }

/* Vorrat im Leitstand: Ampel immer mit Text, nie nur Farbe */
.vorrat { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.vorrat-rot { color: var(--warnung); }
.vorrat-gelb { color: var(--mittel); }
.vorrat-gruen { color: var(--ok); }
.hinweise { list-style: none; margin: .35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.hinweise li { font-size: .75rem; color: var(--leise); border: 1px solid var(--linie); border-radius: 999px; padding: .05rem .5rem; }
.hinweise .warn { color: var(--warnung); border-color: currentColor; }
.recherche-konten { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: 0 0 1rem; }
.recherche-konten .hinweise { margin: 0; }
.abschnitt { margin: 2rem 0 .75rem; }
.winkel { display: block; color: var(--leise); font-size: .875rem; margin-top: .2rem; }
.kennzahlen { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.kennzahlen b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.kennzahlen span { font-family: var(--mono); font-size: .75rem; color: var(--leise); }
.anweisung { white-space: pre-wrap; font-family: var(--mono); font-size: .8125rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: .5rem; padding: 1rem; overflow-x: auto; }

/* Baustand */
.kaestchen { list-style: none; padding: 0; margin: 0 0 1rem; }
.kaestchen li { padding: .35rem 0; border-bottom: 1px solid var(--linie); }
.kaestchen li.erledigt { color: var(--leise); }
.status-text h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.status-text code, .baustand code { font-family: var(--mono); font-size: .8125rem; overflow-wrap: anywhere; }

/* Kunden-Dashboard (Handy zuerst) */
.dash { max-width: 64rem; margin: 0 auto; }
.dash-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.knopf.klein { min-height: 44px; padding: .45rem .9rem; font-size: .9375rem; }
.meldung { border-left: 3px solid var(--ok); padding: .5rem .75rem; background: var(--flaeche); margin: 0 0 1rem; }
.reiter { display: flex; gap: .25rem; border-bottom: 1px solid var(--linie); margin: .5rem 0 1.25rem; overflow-x: auto; }
.reiter a { padding: .6rem .8rem; min-height: 44px; text-decoration: none; color: var(--leise); border-bottom: 3px solid transparent; white-space: nowrap; }
.reiter a[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--akzent); font-weight: 700; }
.stufe { background: var(--flaeche); border: 1px solid var(--linie); border-radius: .75rem; padding: 1rem; margin-bottom: 1.5rem; }
.stufe fieldset { border: 0; padding: 0; margin: .75rem 0; display: grid; gap: .5rem; }
.verantwortung { display: inline-block; margin-top: .25rem; font-size: .875rem; }
.bestaetigen { display: flex; gap: .5rem; align-items: flex-start; margin: .25rem 0 .75rem; }
.bestaetigen input { width: 1.25rem; height: 1.25rem; accent-color: var(--akzent); }
.hinweis-box { border-left: 3px solid var(--warnung); padding: .4rem .7rem; margin: .5rem 0; font-size: .9375rem; }
.dna { border: 1px solid var(--linie); border-radius: .75rem; padding: 1rem; margin-bottom: 1.5rem; }
.dna textarea, .nachricht-neu textarea, .kachel textarea { margin: .5rem 0; }
.kacheln { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .kacheln { grid-template-columns: repeat(3, 1fr); } }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: .75rem; overflow: hidden; display: flex; flex-direction: column; }
.kachel img, .kachel-leer { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--segment-leer); }
.kachel-leer { display: grid; place-items: center; color: var(--leise); }
.kachel-text { padding: .9rem; display: flex; flex-direction: column; gap: .5rem; }
.beitragstext { margin: 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.aktionen { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; }
.aktionen details { flex: 1 1 100%; order: 3; }
.aktionen summary { list-style: none; display: inline-flex; align-items: center; cursor: pointer; }
.aktionen summary::-webkit-details-marker { display: none; }
.zahlen b { font-size: 1.75rem; }
.hochladen { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.verlauf { list-style: none; padding: 0; display: grid; gap: .5rem; }
.verlauf li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: .5rem; padding: .6rem .8rem; }
.verlauf li.von-kunde { border-left: 3px solid var(--akzent); }
.verlauf p { margin: .25rem 0 0; white-space: pre-line; }
.kachel-text .eyebrow { text-align: left; margin: 0; }
.leise-text code { overflow-wrap: anywhere; }

/* Rechtliches (P14) */
.rechtstext { white-space: pre-line; max-width: 70ch; }
.fuss { max-width: 72rem; margin: 3rem auto 1.5rem; padding: 0 1rem; font-size: .8125rem; color: var(--leise, inherit); }
.fuss a { color: inherit; }

/* Leitstand „Einstellungen“ (P17) */
.einstellungen .verbindung { border: 1px solid var(--linie); border-radius: .5rem; background: var(--flaeche); padding: .75rem 1rem; margin-bottom: 1rem; }
.einstellungen .verbindung h3 { margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.einstellung-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: .5rem 0; }
.einstellung-zeile label { min-width: 14rem; font-weight: 700; }
.einstellung-zeile input[type="password"], .einstellung-zeile select { min-height: 44px; border: 1px solid var(--rand); border-radius: .375rem; padding: .4rem .6rem; background: var(--flaeche); color: var(--tinte); font: inherit; }
.einstellung-entfernen { margin: -.25rem 0 .5rem; }
.ampel { display: inline-block; width: .9rem; height: .9rem; border-radius: 50%; border: 1px solid var(--rand); background: var(--segment-leer); }
.ampel.gruen { background: var(--ok); border-color: var(--ok); }
.ampel.gelb { background: var(--mittel); border-color: var(--mittel); }
.ampel.rot { background: var(--warnung); border-color: var(--warnung); }
.ampel-text.rot { color: var(--warnung); }
.ampel-text.gelb { color: var(--mittel); }
.ampel-text.gruen { color: var(--ok); }
.einstellungen .webhook code { overflow-wrap: anywhere; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.meldung { border-left: 3px solid currentColor; padding: .5rem .75rem; background: var(--flaeche); }
.meldung.ok { color: var(--ok); }

/* Leitstand „Start“ (P21) */
.start-liste { list-style: none; padding: 0; display: grid; gap: .75rem; }
.start-schritt, .start-webhook { border: 1px solid var(--linie); border-radius: .5rem; background: var(--flaeche); padding: .75rem 1rem; margin-bottom: .75rem; }
.start-schritt h3, .start-webhook h3 { margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.start-schritt p { margin: .25rem 0; }
.start-nr { font-variant-numeric: tabular-nums; }
.start-fortschritt { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.start-fortschritt progress { width: min(20rem, 100%); }
.start-webhook code { overflow-wrap: anywhere; }
/* Kunden-Dashboard „Einstellungen“ (P22a) */
.k-einstellung { border: 1px solid var(--linie); border-radius: .75rem; background: var(--flaeche); padding: 1rem; margin-bottom: 1.25rem; }
.k-einstellung h3 { margin: 0 0 .5rem; }
.k-einstellung h4 { margin: 1rem 0 .25rem; }
.k-einstellung form > label, .k-zeitraum label { display: block; font-weight: 700; margin-top: .75rem; }
.k-einstellung form > label + .leise-text { margin: .15rem 0 .35rem; }
.k-einstellung textarea, .k-einstellung input[type="email"], .k-einstellung input[type="text"], .k-einstellung input[type="tel"] { margin-bottom: .5rem; }
.k-einstellung fieldset { margin: 0 0 .5rem; }
.k-einstellung .knopf { margin-top: .5rem; }
.k-zeitraum { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .k-zeitraum { grid-template-columns: 1fr 1fr; } .k-zeitraum .knopfreihe { grid-column: 1 / -1; } }
.k-zeitraum input[type="date"] { width: 100%; min-height: 48px; border: 2px solid var(--rand); border-radius: .5rem; padding: .6rem .8rem; color: var(--tinte); font: inherit; }
.k-einstellung input, .k-einstellung textarea { background: var(--papier); }
.k-kanaele { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.k-kanaele li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; border-top: 1px solid var(--linie); padding-top: .5rem; }
.k-logo { max-width: 10rem; max-height: 6rem; width: auto; height: auto; background: var(--papier); padding: .25rem; border: 1px solid var(--linie); border-radius: .375rem; }
/* Leitstand „Inhalte“ und „Posteingang“ (P22b) */
.inhalte-ansicht { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 1rem; }
.inhalte-ansicht a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.inhalte-ansicht a[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--akzent); font-weight: 700; }
.inhalte-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1.5rem; }
.inhalte-filter select { min-height: 44px; border: 1px solid var(--rand); border-radius: .375rem; padding: .4rem .6rem; background: var(--flaeche); color: var(--tinte); font: inherit; max-width: 100%; }
.inhalte-tag { font-size: 1.125rem; }
.inhalte-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.inhalt-eintrag { display: flex; gap: .9rem; align-items: flex-start; background: var(--flaeche); border: 1px solid var(--linie); border-radius: .5rem; padding: .6rem .8rem; }
.inhalt-bild { flex: 0 0 4.5rem; width: 4.5rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .375rem; background: var(--segment-leer); }
.inhalt-bild-leer { display: grid; place-items: center; text-align: center; font-size: .6875rem; color: var(--leise); }
.inhalt-text { min-width: 0; flex: 1; }
.inhalt-text p { margin: 0 0 .2rem; }
.inhalt-titel { font-weight: 700; }
.inhalt-vorschau { white-space: pre-line; overflow-wrap: anywhere; }
.zustand.inhalt-fehler { color: var(--warnung); border-color: currentColor; }
.zustand.inhalt-wartet_auf_kunde { color: var(--mittel); border-color: currentColor; }
.zustand.inhalt-veroeffentlicht { color: var(--ok); border-color: currentColor; }
.posteingang-zaehler a { display: block; color: inherit; text-decoration: none; min-height: 44px; border-bottom: 2px solid transparent; }
.posteingang-zaehler a[aria-current="page"] { border-bottom-color: var(--akzent); }
.posteingang-liste li.post-wartet, .posteingang-liste li.post-kritik { border-left: 3px solid var(--warnung); }
.posteingang-liste li.post-aufsicht, .posteingang-liste li.post-nachricht { border-left: 3px solid var(--akzent); }
.posteingang-liste .knopfreihe { align-items: flex-start; margin: .5rem 0 0; }
.post-antwort { flex: 1 1 18rem; display: flex; flex-direction: column; gap: .4rem; }
.post-antwort textarea { width: 100%; }
.post-anweisung { flex: 1 1 100%; }
.post-detail { min-height: 44px; display: inline-flex; align-items: center; }
.zustand.inhalt-ueberfaellig { color: var(--warnung); border-color: currentColor; }
.post-texte { list-style: none; margin: 0; padding: 0; flex: 1 1 100%; display: grid; gap: .25rem; }
.post-texte li { white-space: pre-line; overflow-wrap: anywhere; }
