/* Mobiles ERP mobile.erp.louvenb2b.de
   Doku: readme/mobile_erp/readme_ai_mobile_erp.md §4

   ⚠️ Nach jeder Änderung MOBILE_ERP_ASSET_VERSION in inc/bootstrap.php hochzählen.

   Keine externen Schriften (DSGVO, und die CSP ließe sie auch nicht zu). Die schmale
   Überschriftenschrift ist die Hausschrift der Ausdrucke (data/fonts/) — hier als Kopie,
   weil der Vhost nicht an data/ herankommt. Fließtext bleibt Systemschrift: auf dem Handy
   am besten lesbar und ohne Ladezeit. */

@font-face {
    font-family: "Louven Schmal";
    src: url("schrift/RobotoCondensed-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --rot:          #8b0000;   /* Firmenfarbe aus dem Logo */
    --rot-tief:     #620000;
    --rot-hell:     #ad1a20;
    --rot-blass:    #fbeceb;
    --grund:        #f2efea;
    --flaeche:      #ffffff;
    --text:         #1c1714;
    --leise:        #6d655e;
    --linie:        #e3dcd3;
    --gruen:        #2b672f;
    --gruen-blass:  #e6f2e7;
    --gelb:         #f2c230;

    --schmal:  "Louven Schmal", "Roboto Condensed", "Arial Narrow", sans-serif;
    --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;

    --radius:   14px;
    --schatten: 0 1px 2px rgba(28, 23, 20, .06), 0 10px 30px rgba(28, 23, 20, .10);
}

* { box-sizing: border-box; }

/* Das Attribut hidden verliert sonst gegen jede Regel, die display setzt (Portal-Lehre). */
[hidden] { display: none !important; }

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

body {
    margin: 0;
    min-height: 100dvh;
    background: var(--grund);
    color: var(--text);
    font: 16px/1.5 var(--schrift);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--rot); }
code { font-size: .92em; background: var(--grund); padding: 1px 5px; border-radius: 5px; word-break: break-all; }
.ic { display: block; flex: 0 0 auto; }

:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
.anmeldung_kopf :focus-visible,
.kopf :focus-visible { outline-color: #fff; }

/* ================================================================ Anmeldung */

.anmeldung { display: flex; flex-direction: column; }

.anmeldung_kopf {
    position: relative;
    overflow: hidden;
    padding: calc(env(safe-area-inset-top, 0px) + 46px) 24px 104px;
    color: #fff;
    /* Feine Schraffur über dem Firmenrot — wie Stretchfolie auf der Palette, nur zu ahnen. */
    background:
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 13px),
        radial-gradient(130% 110% at 100% 0%, var(--rot-hell) 0%, rgba(173, 26, 32, 0) 58%),
        var(--rot);
}

/* Das große ERP im Hintergrund — Kennung statt Bild, trägt auch ohne Logo. */
.anmeldung_kopf::after {
    content: "ERP";
    position: absolute;
    right: -14px;
    bottom: -34px;
    font: 700 190px/1 var(--schmal);
    letter-spacing: -.02em;
    color: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.anmeldung_kopf_innen { position: relative; z-index: 1; width: min(440px, 100%); margin: 0 auto; }

.anmeldung_logo { display: block; width: auto; height: 30px; }

.anmeldung_kennung { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.anmeldung_kennung_erp { font: 700 56px/.86 var(--schmal); letter-spacing: .01em; }
.anmeldung_kennung_mobil {
    padding: 6px 10px 5px;
    font: 700 14px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .24em;
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
}

.anmeldung_karte {
    position: relative;
    z-index: 2;
    width: min(440px, calc(100% - 32px));
    margin: -68px auto 0;
    padding: 26px 22px 24px;
    background: var(--flaeche);
    border-radius: 18px;
    box-shadow: var(--schatten);
    animation: hochkommen .42s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes hochkommen {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .anmeldung_karte { animation: none; }
}

.anmeldung h1 {
    margin: 0 0 2px;
    font: 700 27px/1.1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .02em;
}
.vorspann { margin: 0 0 20px; color: var(--leise); font-size: 15px; }

.anmeldung_fuss {
    width: min(440px, calc(100% - 32px));
    margin: 20px auto calc(env(safe-area-inset-bottom, 0px) + 28px);
    padding: 0 4px;
    color: var(--leise);
    font-size: 14px;
}

/* ================================================================ Formular */

.feld { margin-bottom: 16px; }

.feld label {
    display: block;
    margin-bottom: 7px;
    font: 700 13px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--leise);
}

.feld input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    font: 17px var(--schrift);   /* unter 16 px zoomt iOS beim Antippen ins Feld */
    color: var(--text);
    background: #fcfbf9;
    border: 1.5px solid var(--linie);
    border-radius: 11px;
    -webkit-appearance: none;
    appearance: none;
}
.feld input:focus {
    outline: none;
    background: #fff;
    border-color: var(--rot);
    box-shadow: 0 0 0 4px rgba(139, 0, 0, .12);
}

.knopf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    padding: 0 18px;
    font: 700 18px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    color: #fff;
    background: var(--rot);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 2px 0 var(--rot-tief);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.knopf:active { background: var(--rot-tief); box-shadow: none; transform: translateY(2px); }

/* ================================================================ Meldungen */

.meldung {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 11px;
}
.meldung .ic { margin-top: 1px; }
.meldung_fehler { background: var(--rot-blass); color: var(--rot-tief); }
.meldung_ok     { background: var(--gruen-blass); color: var(--gruen); }
.meldung_info   { background: #eee8e0; color: #4b433d; }
/* Der gemerkte Link: gestrichelt, weil er „unterwegs" ist — er kommt nach der Anmeldung an. */
.meldung_ziel   { background: #fff; color: var(--text); border: 1.5px dashed rgba(139, 0, 0, .45); }
.meldung_ziel .ic { color: var(--rot); }

/* ================================================================ Angemeldet: Kopfzeile */

.kopf {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 58px;
    padding: 0 12px 0 14px;
    color: #fff;
    background: var(--rot);
}
/* Schmale Markierung unter der Leiste — wie die Linien am Hallenboden. */
.kopf::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: repeating-linear-gradient(-45deg, var(--rot-tief) 0 5px, var(--rot) 5px 10px);
}

.kopf_zurueck {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: -8px;
    color: #fff;
    border-radius: 10px;
}
.kopf_zurueck:active { background: rgba(255, 255, 255, .15); }

.kopf_marke { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff; text-decoration: none; }
.kopf_logo { display: block; width: auto; height: 19px; }
.kopf_kennung {
    padding: 4px 7px 3px;
    font: 700 14px/1 var(--schmal);
    letter-spacing: .16em;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
}

.kopf_person { position: relative; margin-left: auto; }
.kopf_person > summary {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font: 700 15px/1 var(--schmal);
    letter-spacing: .04em;
    list-style: none;
    background: rgba(255, 255, 255, .14);
    border: 1.5px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.kopf_person > summary::-webkit-details-marker { display: none; }
.kopf_person[open] > summary { color: var(--rot); background: #fff; }

.person_menue {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(290px, calc(100vw - 24px));
    padding: 14px;
    color: var(--text);
    background: var(--flaeche);
    border-radius: 14px;
    box-shadow: var(--schatten), 0 0 0 1px var(--linie);
}
.person_name { font-weight: 650; line-height: 1.3; }
.person_abteilung { color: var(--leise); font-size: 14px; }
.person_trenner { height: 1px; margin: 12px -14px 6px; background: var(--linie); }
.person_menue form { margin: 0; }

.person_eintrag {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 2px;
    padding: 12px 8px;
    font: inherit;
    text-align: left;
    text-decoration: none;
    color: var(--text);
    background: none;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}
.person_eintrag:active { background: var(--grund); }
.person_abmelden { color: var(--rot); font-weight: 600; }

/* ================================================================ Angemeldet: Inhalt */

.inhalt {
    width: min(640px, 100%);
    margin: 0 auto;
    padding: 28px 16px calc(env(safe-area-inset-bottom, 0px) + 36px);
}

.seiten_titel {
    margin: 2px 4px 16px;
    font: 700 30px/1.05 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .01em;
}

.gruss { margin: 2px 4px 22px; }
.gruss_zeit {
    font: 700 13px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--rot);
}
.gruss_name { margin: 8px 0 10px; font: 700 36px/1.02 var(--schmal); }

.chip {
    display: inline-block;
    padding: 4px 11px;
    font-size: 13px;
    font-weight: 600;
    color: var(--leise);
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 999px;
}

.karte {
    display: block;
    margin-bottom: 14px;
    padding: 18px;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(28, 23, 20, .05);
}
.karte h2 {
    margin: 0 0 8px;
    font: 700 20px/1.15 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.karte p { margin: 0 0 10px; }
.karte p:last-child { margin-bottom: 0; }
.leise { color: var(--leise); font-size: 14.5px; }

/* Baustelle: gelb-schwarze Markierung oben — verschwindet, sobald die erste Kachel da ist. */
.karte_baustelle { position: relative; overflow: hidden; padding-top: 30px; }
.karte_baustelle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(-45deg, var(--gelb) 0 10px, var(--text) 10px 20px);
}

.karte_link { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.karte_link:active { background: #faf7f3; }
.karte_link_symbol {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    color: var(--rot);
    background: var(--rot-blass);
    border-radius: 12px;
}
.karte_link_text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.karte_link_text strong { font-weight: 650; }
.karte_link_pfeil { color: var(--leise); }

.sitzung {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 4px 0;
    color: var(--leise);
    font-size: 13.5px;
    line-height: 1.4;
}
.sitzung .ic { margin-top: 1px; }

/* Nur für Screenreader — sichtbar bleibt das Zeichen daneben. */
.unsichtbar {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================================ Startseite: Kacheln */

.kacheln {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.kachel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 136px;
    padding: 16px;
    color: var(--text);
    text-decoration: none;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(28, 23, 20, .05);
    -webkit-tap-highlight-color: transparent;
}
.kachel:active { background: #faf7f3; }
.kachel_symbol {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: auto;
    color: #fff;
    background: var(--rot);
    border-radius: 12px;
}
.kachel_titel { margin-top: 14px; font: 700 18px/1.1 var(--schmal); text-transform: uppercase; letter-spacing: .03em; }
.kachel_text { color: var(--leise); font-size: 13.5px; line-height: 1.3; }
/* Gelb wie die Hallenmarkierung: „hier wartet etwas auf dich". */
.kachel_zahl {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    font: 700 15px/1 var(--schmal);
    color: var(--text);
    background: var(--gelb);
    border-radius: 999px;
}

/* ================================================================ Liste: Suche und Umschalter */

.suche { display: flex; gap: 8px; margin-bottom: 12px; }
.suche input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0 14px;
    font: 17px var(--schrift);
    color: var(--text);
    background: var(--flaeche);
    border: 1.5px solid var(--linie);
    border-radius: 11px;
    -webkit-appearance: none;
    appearance: none;
}
.suche input:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 4px rgba(139, 0, 0, .12); }
.suche_knopf {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    color: #fff;
    background: var(--rot);
    border: 0;
    border-radius: 11px;
    cursor: pointer;
}

.umschalter { display: flex; gap: 4px; margin-bottom: 14px; padding: 4px; background: #e7e1d8; border-radius: 12px; }
.umschalter_punkt {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    font: 700 15px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    color: var(--leise);
    border-radius: 9px;
}
.umschalter_punkt.aktiv { color: var(--text); background: var(--flaeche); box-shadow: 0 1px 2px rgba(28, 23, 20, .12); }
.umschalter_zahl {
    min-width: 22px;
    padding: 3px 6px 2px;
    font-size: 12px;
    text-align: center;
    color: var(--leise);
    background: rgba(28, 23, 20, .08);
    border-radius: 999px;
}
.umschalter_punkt.aktiv .umschalter_zahl { color: #fff; background: var(--rot); }

/* ================================================================ Bewerbungen */

/* Statusfarben wie das Board im Backend (ajax/bewerbung/_helpers.php, bw_status_farbe). */
.status {
    display: inline-block;
    padding: 4px 9px 3px;
    font: 700 12px/1.2 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
    color: #44403c;
    background: #ecebe9;
    border-radius: 999px;
}
.status[data-status="1"] { color: #1d4ed8; background: #e3ecfd; }   /* Neu */
.status[data-status="2"] { color: #0369a1; background: #dff1fc; }   /* Sichtung */
.status[data-status="8"] { color: #0f766e; background: #d9f3ee; }   /* Einzuladen */
.status[data-status="3"] { color: #6d28d9; background: #ece6fd; }   /* Gespräch */
.status[data-status="4"] { color: #a65305; background: #fcefd5; }   /* Angebot */
.status[data-status="5"] { color: #15803d; background: #dbf2e2; }   /* Zusage */
.status[data-status="9"] { color: #c2410c; background: #fde8d8; }   /* Abzusagen */
.status[data-status="6"] { color: #b91c1c; background: #fbe2e2; }   /* Absage */
.status[data-status="7"] { color: #57534e; background: #ecebe9; }   /* Zurückgezogen */

.bw_liste { margin: 0; padding: 0; list-style: none; }
.bw_liste li + li { margin-top: 10px; }

.bw_eintrag {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    color: var(--text);
    text-decoration: none;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    -webkit-tap-highlight-color: transparent;
}
.bw_eintrag:active { background: #faf7f3; }
.bw_eintrag_kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bw_eintrag_name { font-size: 16.5px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.bw_eintrag_stelle { color: var(--leise); font-size: 14px; }
.bw_eintrag_fuss {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 3px;
    color: var(--leise);
    font-size: 13px;
}
.bw_sterne_kurz { color: var(--text); font-weight: 600; }
.bw_sterne_kurz .stern { color: #d99a00; }
.chip_klein { padding: 2px 8px; font-size: 12px; font-weight: 600; color: var(--leise); background: var(--grund); border-radius: 999px; }
.bw_fehlt { padding: 2px 8px; font-size: 12px; font-weight: 700; color: #6b4e00; background: #fdefc3; border-radius: 999px; }
.karte_leer p { margin: 0 0 6px; }

/* Detail */
.bw_kopf { margin: 2px 4px 18px; }
.bw_kopf_name { margin: 10px 0 4px; font: 700 32px/1.05 var(--schmal); overflow-wrap: anywhere; }
.bw_kopf_stelle { margin: 0 0 10px; color: var(--leise); }

.schnellwahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.schnell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 66px;
    padding: 8px;
    font: 700 13px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    color: var(--rot);
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
}
.schnell:active { background: var(--rot-blass); }

.dok_liste, .bw_bewertungen, .team { margin: 0; padding: 0; list-style: none; }
.dok { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); text-decoration: none; }
.dok_liste li + li .dok { border-top: 1px solid var(--linie); }
.dok_symbol {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: var(--rot);
    background: var(--rot-blass);
    border-radius: 10px;
}
.dok_text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.dok_text strong { font-weight: 600; overflow-wrap: anywhere; }
.dok_aktion { color: var(--leise); }

.bw_betreff { font-weight: 600; }
.bw_nachricht, .bw_bewertung_text { white-space: pre-wrap; overflow-wrap: anywhere; }

.aufklapp > summary { display: block; list-style: none; cursor: pointer; }
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp_mehr {
    display: inline-block;
    margin-top: 10px;
    font: 700 14px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rot);
}
.aufklapp[open] .aufklapp_anfang,
.aufklapp[open] .aufklapp_mehr { display: none; }

.bw_schnitt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 14px; }
.sterne { color: #d99a00; letter-spacing: .08em; }

.bw_form { margin-bottom: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--linie); }

/* Sterne wählen ohne JavaScript: Die Radios stehen im HTML von 5 nach 1, row-reverse dreht sie
   zurück. So färbt ":checked ~ label" den gewählten Stern und alle links davon. */
.sterne_wahl { position: relative; margin: 0 0 12px; padding: 0; border: 0; }
.sterne_wahl legend {
    margin-bottom: 4px;
    padding: 0;
    font: 700 13px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--leise);
}
.sterne_wahl legend .leise { font: 13px var(--schrift); text-transform: none; letter-spacing: 0; }
.sterne_zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.sterne_reihe { display: inline-flex; flex-direction: row-reverse; }
.sterne_reihe input,
.sterne_keine input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sterne_reihe label {
    padding: 2px 3px;
    font-size: 40px;
    line-height: 1;
    color: #d9d2c8;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.sterne_reihe input:checked ~ label { color: #e0a100; }
.sterne_reihe input:focus-visible + label,
.sterne_keine input:focus-visible + span { outline: 3px solid var(--rot); outline-offset: 2px; border-radius: 6px; }
.sterne_keine span {
    display: inline-block;
    padding: 7px 12px;
    font-size: 14px;
    color: var(--leise);
    border: 1.5px solid var(--linie);
    border-radius: 999px;
    cursor: pointer;
}
.sterne_keine input:checked + span { color: var(--text); border-color: var(--text); }

.feld textarea {
    display: block;
    width: 100%;
    min-height: 112px;
    padding: 12px 14px;
    font: 17px/1.45 var(--schrift);
    color: var(--text);
    background: #fcfbf9;
    border: 1.5px solid var(--linie);
    border-radius: 11px;
    resize: vertical;
    -webkit-appearance: none;
    appearance: none;
}
.feld textarea:focus { outline: none; background: #fff; border-color: var(--rot); box-shadow: 0 0 0 4px rgba(139, 0, 0, .12); }

.bw_bewertung { padding: 12px 0; }
.bw_bewertungen li + li { border-top: 1px solid var(--linie); }
.bw_bewertung_kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13.5px; color: var(--leise); }
.bw_bewertung_text { margin: 6px 0 0; }

.daten { margin: 0; }
.daten > div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 8px 0; }
.daten > div + div { border-top: 1px solid var(--linie); }
.daten dt { color: var(--leise); font-size: 14px; }
.daten dd { margin: 0; overflow-wrap: anywhere; }

.team li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.team li + li { border-top: 1px solid var(--linie); }

/* Entscheidung — Farben wie die Knöpfe im Backend-Profil (bw_ent_einladen grün,
   bw_ent_absagen rot umrandet), das Grün eine Stufe dunkler: draußen am Handy lesbarer. */
/* 18 px Abstand: zwei große Knöpfe mit gegensätzlicher Wirkung sollen sich am Handy nicht
   versehentlich treffen lassen. */
.entscheidungen { display: flex; flex-direction: column; gap: 18px; }

.entscheidung > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 18px;
    font: 700 18px/1 var(--schmal);
    text-transform: uppercase;
    letter-spacing: .1em;
    list-style: none;
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.entscheidung > summary::-webkit-details-marker { display: none; }
.entscheidung_einladen > summary { color: #fff; background: #15803d; box-shadow: 0 2px 0 #0f6a31; }
.entscheidung_absagen > summary { color: #b91c1c; background: #fff; border: 1.5px solid #f1c3c3; }
.entscheidung[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; }

.entscheidung_frage {
    padding: 14px 16px 16px;
    background: #fcfbf9;
    border: 1.5px solid var(--linie);
    border-top: 0;
    border-radius: 0 0 12px 12px;
}
.entscheidung_frage p { margin: 0 0 8px; }
.entscheidung_einladen .knopf { background: #15803d; box-shadow: 0 2px 0 #0f6a31; }
.entscheidung_einladen .knopf:active { background: #0f6a31; }
.entscheidung_absagen .knopf { background: #b91c1c; box-shadow: 0 2px 0 #8f1515; }
.entscheidung_absagen .knopf:active { background: #8f1515; }

.entscheidung_steht {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    font-weight: 600;
    color: var(--gruen);
    background: var(--gruen-blass);
    border-radius: 12px;
}

/* ================================================================ Aufgaben
   Doku: readme/mobile_erp/readme_ai_mobile_erp.md §11.2 */

/* Tagesstand: dunkle Karte wie im Figma-Entwurf, der Balken im Hallen-Gelb. */
.auf_tag { margin-bottom: 14px; padding: 16px 18px 18px; color: #fff; background: var(--text); border-radius: 16px; }
.auf_tag_datum { font: 700 12.5px/1 var(--schmal); text-transform: uppercase; letter-spacing: .2em; color: rgba(255, 255, 255, .62); }
.auf_tag_zahl { margin: 8px 0 0; font: 700 25px/1.1 var(--schmal); }
.auf_tag_balken { height: 8px; margin-top: 14px; overflow: hidden; background: rgba(255, 255, 255, .14); border-radius: 999px; }
.auf_tag_balken span { display: block; height: 100%; background: var(--gelb); border-radius: 999px; }
.auf_tag_fuss { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .74); font-variant-numeric: tabular-nums; }
.auf_tag_fuss b { color: #fff; font-weight: 650; }

.auf_gruppe { margin-bottom: 20px; }
.auf_gruppe_kopf { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 8px; }
.auf_gruppe_kopf h2 { margin: 0; font: 700 17px/1 var(--schmal); text-transform: uppercase; letter-spacing: .08em; }
.auf_gruppe_zahl { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; font: 700 13px/1 var(--schmal); color: var(--leise); background: #e7e1d8; border-radius: 999px; font-variant-numeric: tabular-nums; }
.auf_gruppe_ueber h2 { color: var(--rot); }
.auf_gruppe_ueber .auf_gruppe_zahl { color: #fff; background: var(--rot); }
.auf_gruppe_wartet h2 { color: #7a5c00; }
.auf_gruppe_hinweis { margin: -2px 4px 10px; color: var(--leise); font-size: 13.5px; line-height: 1.4; }

.auf_liste { margin: 0 0 14px; padding: 0; list-style: none; overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.auf_zeile { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: start; scroll-margin-top: 76px; }
.auf_zeile + .auf_zeile { border-top: 1px solid var(--linie); }
.auf_zeile form { margin: 0; }

/* Der Kreis ist der Knopf — 50 × 52 px Tippfläche, der Kreis selbst 27 px. */
.auf_kreis_knopf,
.auf_kreis_platz { display: grid; place-items: center; width: 50px; height: 52px; padding: 0; background: none; border: 0; -webkit-tap-highlight-color: transparent; }
.auf_kreis_knopf { cursor: pointer; }
.auf_kreis_knopf:active .auf_kreis { transform: scale(.86); }
.auf_kreis { display: grid; flex: 0 0 auto; place-items: center; width: 27px; height: 27px; color: #fff; background: #fff; border: 2px solid #b3a89c; border-radius: 50%; transition: transform .12s; }
.auf_kreis .ic { stroke-width: 2.6; }
.auf_kreis[data-z="arbeit"]      { border-color: var(--rot); background: conic-gradient(var(--rot) 0 50%, #fff 0 100%); }
.auf_kreis[data-z="erledigt"]    { border-color: var(--gruen); background: var(--gruen); }
.auf_kreis[data-z="abgebrochen"] { color: #78716c; background: #ecebe9; border-color: #a8a29e; }
.auf_kreis[data-z="wartet"]      { color: #9a7400; background: #fff8e3; border: 2px dashed #c49a1a; }
.auf_kreis[data-z="wartet"] .ic  { stroke-width: 2; }

.auf_person { display: grid; place-items: center; width: 31px; height: 31px; font: 700 12.5px/1 var(--schmal); letter-spacing: .03em; color: var(--leise); background: #ebe5dc; border-radius: 50%; }

.auf_zeile_link { display: flex; align-items: flex-start; gap: 6px; min-width: 0; padding: 12px 10px 12px 0; color: var(--text); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.auf_zeile_link:active { background: #faf7f3; }
.auf_zeile_text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 5px; min-width: 0; }
.auf_zeile_titel { font-size: 16px; font-weight: 620; line-height: 1.3; overflow-wrap: anywhere; }
.auf_zeile_titel[data-z="erledigt"],
.auf_zeile_titel[data-z="abgebrochen"] { font-weight: 500; color: var(--leise); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.auf_zeile_pfeil { margin-top: 1px; color: #b3a89c; }

.auf_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--leise); font-size: 13px; line-height: 1.3; }
.auf_frist.ueber { color: var(--rot); font-weight: 650; }
/* Farbe des Boards aus task_boards.farbe; color-mix hellt sie für den Hintergrund auf. */
.auf_board { padding: 2px 8px; font-size: 12px; font-weight: 650; color: var(--b, var(--leise)); background: #f1ece5; background: color-mix(in srgb, var(--b, #6d655e) 11%, #fff); border-radius: 999px; }
.auf_chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: 12px; font-weight: 650; color: var(--leise); background: var(--grund); border-radius: 999px; }
.auf_chip .ic { stroke-width: 2.2; }
.auf_chip.hoch     { color: #8a4204; background: #fcefd5; }
.auf_chip.kritisch { color: #b91c1c; background: #fbe2e2; }
.auf_chip.arbeit   { color: var(--rot); background: var(--rot-blass); }
.auf_chip.pflicht  { color: #6b4e00; background: #fdefc3; }
.auf_wartet_auf { color: #7a5c00; }
.auf_teil_von { flex-basis: 100%; overflow-wrap: anywhere; }

.auf_zeile_meldung { grid-column: 1 / -1; margin: 0 12px 12px; }
.auf_zeile_meldung a { color: inherit; font-weight: 700; }
.auf_rueckgaengig { display: inline; }
.auf_rueckgaengig button { margin: 0 0 0 6px; padding: 0; font: 700 13.5px/1.4 var(--schmal); text-transform: uppercase; letter-spacing: .06em; color: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }

.auf_rechner { margin-top: 20px; }

/* Detail */
.auf_kopf { margin: 2px 4px 18px; }
.auf_kopf_oben { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--leise); font-size: 13px; font-variant-numeric: tabular-nums; }
.auf_kopf_titel { margin: 10px 0 12px; font: 700 30px/1.06 var(--schmal); text-wrap: balance; overflow-wrap: anywhere; }
.auf_chips { display: flex; flex-wrap: wrap; gap: 6px; }
.auf_status { display: inline-block; padding: 4px 9px 3px; font: 700 12px/1.2 var(--schmal); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: #1d4ed8; background: #e3ecfd; border-radius: 999px; }
.auf_status[data-z="arbeit"]      { color: var(--rot); background: var(--rot-blass); }
.auf_status[data-z="wartet"]      { color: #7a5c00; background: #fdefc3; }
.auf_status[data-z="erledigt"]    { color: #15803d; background: #dbf2e2; }
.auf_status[data-z="abgebrochen"] { color: #57534e; background: #ecebe9; }
.auf_status_frist { color: #44403c; background: #ecebe9; }
.auf_status_frist.ueber { color: #fff; background: var(--rot); }
.auf_status_rolle { color: var(--leise); background: var(--flaeche); border: 1px solid var(--linie); padding-block: 3px 2px; }

.auf_teil { display: grid; gap: 6px; margin-bottom: 14px; padding: 14px 16px; color: var(--text); text-decoration: none; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.auf_teil_eyebrow { font: 700 12px/1 var(--schmal); text-transform: uppercase; letter-spacing: .16em; color: var(--leise); }
.auf_teil_zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 620; overflow-wrap: anywhere; }
.auf_teil_zeile .ic { color: var(--leise); }
.auf_fortschritt { display: block; height: 6px; overflow: hidden; background: #ebe5dc; border-radius: 999px; }
.auf_fortschritt span { display: block; height: 100%; background: var(--gruen); border-radius: 999px; }
#unteraufgaben .auf_fortschritt { margin: 4px 0 8px; }

.karte h2 .ic { display: inline-block; margin: 0 4px -3px 0; }
.auf_text { white-space: pre-wrap; overflow-wrap: anywhere; }
.auf_dateien { margin-top: 12px; border-top: 1px solid var(--linie); }
.auf_von { margin: 8px 0 0; color: var(--gruen); font-size: 13.5px; }
.auf_verlangt { display: flex; gap: 9px; margin: 0 0 12px; padding: 11px 13px; font-size: 14.5px; line-height: 1.4; color: #5c4300; background: #fdf3d3; border-radius: 11px; }
.auf_verlangt .ic { margin-top: 1px; }

.auf_uebergaben { margin: 0; padding: 0; list-style: none; }
.auf_uebergaben > li + li { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie); }
.auf_uebergabe_kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; font-weight: 620; }
.auf_uebergabe_kopf .auf_kreis { width: 22px; height: 22px; }
.auf_uebergabe_kopf .auf_kreis .ic { width: 12px; height: 12px; }
.auf_uebergabe_kopf a { color: var(--text); }
.auf_uebergabe { padding: 12px 14px; background: var(--gruen-blass); border-radius: 11px; }
.auf_uebergabe .dok_liste { margin-top: 6px; }
.auf_zwischen { display: inline-block; margin-bottom: 6px; padding: 2px 8px; font: 700 11.5px/1.3 var(--schmal); text-transform: uppercase; letter-spacing: .08em; color: #6b4e00; background: #fdefc3; border-radius: 999px; }

.knopf_zweit { color: var(--text); background: var(--flaeche); border: 1.5px solid var(--linie); box-shadow: none; }
.knopf_zweit:active { background: var(--grund); }
.knopf_gruen { background: #15803d; box-shadow: 0 2px 0 #0f6a31; }
.knopf_gruen:active { background: #0f6a31; }
.auf_aktionen { display: flex; flex-direction: column; gap: 12px; }
.auf_aktionen form { margin: 0; }
.auf_aktionen .knopf { margin-top: 0; }
.auf_aktionen .auf_verlangt { margin: 0; }
/* Abbrechen ist die seltene Aktion: kleiner als Erledigt und mit Abstand darunter. */
.auf_abbrechen { margin-top: 6px; }
.auf_abbrechen > summary { min-height: 48px; font-size: 16px; }
.entscheidung_steht.auf_steht_ab { color: #57534e; background: #ecebe9; }
#status .entscheidung_steht { margin-bottom: 12px; }

.auf_kinder { margin: 0; padding: 0; list-style: none; }
.auf_kinder li + li { border-top: 1px solid var(--linie); }
.auf_kinder a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); text-decoration: none; }
.auf_kinder .auf_zeile_titel { flex: 1 1 auto; min-width: 0; font-size: 15.5px; }
.auf_kinder .auf_kreis { width: 24px; height: 24px; }
.auf_kinder a > .ic { color: #b3a89c; }

.auf_komm_form { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--linie); }
.auf_angelegt { margin: 10px 0 0; }

.auf_verlauf > summary { display: flex; align-items: center; gap: 8px; font: 700 20px/1.15 var(--schmal); text-transform: uppercase; letter-spacing: .03em; list-style: none; cursor: pointer; }
.auf_verlauf > summary::-webkit-details-marker { display: none; }
.auf_verlauf > summary::after { content: "+"; margin-left: auto; font-size: 24px; color: var(--leise); }
.auf_verlauf[open] > summary::after { content: "–"; }
.auf_verlauf ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; }
.auf_verlauf li { padding: 8px 0; border-top: 1px solid var(--linie); overflow-wrap: anywhere; }
.auf_verlauf li span { display: block; color: var(--leise); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Schnellerfassung (Neue Aufgabe) */

/* „+" wie im Figma-Entwurf, in Firmenrot. Klebt unten rechts, solange die Liste im Bild ist. */
.auf_fab_platz { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 5; display: flex; justify-content: flex-end; margin-top: 6px; pointer-events: none; }
.auf_fab { display: grid; place-items: center; width: 60px; height: 60px; color: #fff; background: var(--rot); border-radius: 50%; box-shadow: 0 2px 0 var(--rot-tief), 0 12px 26px rgba(139, 0, 0, .32); pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.auf_fab:active { transform: translateY(2px); box-shadow: 0 6px 16px rgba(139, 0, 0, .3); }
.auf_fab .ic { stroke-width: 2.4; }

.feld select {
    width: 100%;
    height: 52px;
    padding: 0 40px 0 14px;
    font: 17px var(--schrift);   /* unter 16 px zoomt iOS hinein */
    color: var(--text);
    background: #fcfbf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236d655e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1.5px solid var(--linie);
    border-radius: 11px;
    -webkit-appearance: none;
    appearance: none;
}
.feld select:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 4px rgba(139, 0, 0, .12); }

/* Frist als Auswahl-Chips — Radios ohne JavaScript, der gewählte wird dunkel. Radios, Chips und
   Datumsfeld sind Geschwister: Nur „Anderes" (#neu_frist_datum) blendet das Datum ein. */
.auf_wahl { margin: 0 0 16px; padding: 0; border: 0; }
.auf_wahl legend { margin-bottom: 8px; padding: 0; font: 700 13px/1 var(--schmal); text-transform: uppercase; letter-spacing: .12em; color: var(--leise); }
.auf_wahl_reihe { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.auf_wahl_reihe > input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.auf_wahl_reihe > label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 15.5px; font-weight: 600; color: var(--text); background: #fcfbf9; border: 1.5px solid var(--linie); border-radius: 999px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.auf_wahl_reihe > input:checked + label { color: #fff; background: var(--text); border-color: var(--text); }
.auf_wahl_reihe > input:focus-visible + label { outline: 3px solid var(--rot); outline-offset: 2px; }
.auf_datum { display: none; flex: 1 0 100%; margin: 6px 0 0; }
#neu_frist_datum:checked ~ .auf_datum { display: block; }

.auf_haken { display: grid; gap: 10px; margin: 4px 0 16px; }
.auf_haken label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: #fcfbf9; border: 1.5px solid var(--linie); border-radius: 11px; cursor: pointer; }
.auf_haken input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rot); }
.auf_haken label > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.auf_haken strong { font-weight: 620; }

.auf_mehr { margin: 0 0 14px; }
.auf_mehr > summary { padding: 6px 0; font: 700 14px/1 var(--schmal); text-transform: uppercase; letter-spacing: .08em; color: var(--rot); list-style: none; cursor: pointer; }
.auf_mehr > summary::-webkit-details-marker { display: none; }
.auf_mehr[open] > summary { margin-bottom: 12px; }
.auf_neu_hinweis { margin: 0 0 14px; }

/* ================================================================ Meetings
   Doku: readme/mobile_erp/readme_ai_mobile_erp.md §11.3 */

/* Das Kalenderblatt: roter Kopf mit dem Wochentag, darunter groß der Tag — wie ein Abreißkalender.
   Heute ist das ganze Blatt rot, abgesagte Termine verblassen. */
.mt_blatt { display: grid; grid-template-rows: auto 1fr auto; flex: 0 0 auto; width: 48px; overflow: hidden; text-align: center; background: var(--flaeche); border: 1.5px solid var(--linie); border-radius: 10px; font-variant-numeric: tabular-nums; }
.mt_blatt_wt { padding: 3px 0 2px; font: 700 11px/1 var(--schmal); text-transform: uppercase; letter-spacing: .12em; color: #fff; background: var(--rot); }
.mt_blatt_tag { padding-top: 4px; font: 700 23px/1 var(--schmal); color: var(--text); }
.mt_blatt_mon { padding: 1px 0 5px; font: 700 10.5px/1 var(--schmal); text-transform: uppercase; letter-spacing: .1em; color: var(--leise); }
.mt_blatt.heute { background: var(--rot); border-color: var(--rot); }
.mt_blatt.heute .mt_blatt_wt { background: var(--rot-tief); }
.mt_blatt.heute .mt_blatt_tag,
.mt_blatt.heute .mt_blatt_mon { color: #fff; }
.mt_blatt.abgesagt { opacity: .55; }
.mt_blatt.abgesagt .mt_blatt_wt { background: #a8a29e; }

.mt_zeile { scroll-margin-top: 76px; }
.mt_zeile + .mt_zeile { border-top: 1px solid var(--linie); }
.mt_zeile_link { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px 12px 12px; color: var(--text); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mt_zeile_link:active { background: #faf7f3; }
.mt_zeile_text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 5px; min-width: 0; }
.mt_zeile_titel { font-size: 16px; font-weight: 620; line-height: 1.3; overflow-wrap: anywhere; }
.mt_zeile_titel.abgesagt,
.mt_kopf_titel.abgesagt { color: var(--leise); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.mt_meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--leise); font-size: 13.5px; line-height: 1.3; }
.mt_zeit { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.mt_chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mt_chips:not(:has(*)) { display: none; }

.mt_status { display: inline-block; padding: 3px 8px 2px; font: 700 11.5px/1.2 var(--schmal); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: #44403c; background: #ecebe9; border-radius: 999px; }
.mt_status[data-status="2"] { color: #fff; background: var(--rot); }       /* läuft gerade */
.mt_status[data-status="3"] { color: #15803d; background: #dbf2e2; }       /* stattgefunden */
.mt_status[data-status="4"] { color: #57534e; background: #ecebe9; }       /* abgesagt */
.mt_vertraulich,
.mt_protokoll { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: 12px; font-weight: 650; border-radius: 999px; }
.mt_vertraulich { color: var(--rot); background: var(--rot-blass); }
.mt_protokoll { color: var(--gruen); background: var(--gruen-blass); }
.mt_vertraulich .ic,
.mt_protokoll .ic { stroke-width: 2.2; }

.mt_gruppe_heute h2 { color: var(--rot); }

/* Detail */
.mt_kopf { margin: 2px 4px 18px; }
.mt_kopf_titel { margin: 10px 0 14px; font: 700 30px/1.06 var(--schmal); text-wrap: balance; overflow-wrap: anywhere; }
.mt_wann { display: flex; align-items: center; gap: 14px; }
.mt_wann .mt_blatt { width: 58px; }
.mt_wann .mt_blatt_tag { font-size: 28px; }
.mt_wann_text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mt_wann_text strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.mt_wann_text span { color: var(--leise); font-size: 14.5px; overflow-wrap: anywhere; }
.mt_kopf_ich { margin-top: 12px; }

.mt_text { white-space: pre-wrap; overflow-wrap: anywhere; }
/* Protokoll und Transkript sind zum Lesen da: etwas größer, mehr Zeilenabstand. */
.mt_lesetext { font-size: 16.5px; line-height: 1.62; }
.mt_protokoll_karte { border-top: 4px solid var(--rot); }
.mt_herkunft { margin: 12px 0 0; color: var(--leise); font-size: 13px; }
.mt_klappe_hinweis { margin: 10px 0 8px; }
.mt_verborgen { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; }
.dok_liste + .mt_verborgen { padding-top: 10px; border-top: 1px solid var(--linie); }
.mt_aufgabe_text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.mt_aufgabe_text .auf_frist:not(.ueber) { color: var(--leise); font-size: 13px; }
.mt_aufgabe_text .auf_frist.ueber { font-size: 13px; }
.mt_person { display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow-wrap: anywhere; }
.mt_person .leise { font-size: 13px; }
.mt_teilnahme { font-size: 12.5px; color: var(--leise); }
.mt_teilnahme[data-t="2"],
.mt_teilnahme[data-t="4"] { color: var(--gruen); }   /* zugesagt, teilgenommen */
.mt_teilnahme[data-t="3"],
.mt_teilnahme[data-t="5"] { color: var(--rot); }     /* abgesagt, gefehlt */
