* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f5f7;
    margin: 0;
    color: #1c1c1e;
}

.topbar-clock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #6b6d73;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}

.page-shell {
    display: flex;
    align-items: stretch;
}

.page-shell > .container {
    flex: 1;
    min-width: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

h1 { font-size: 1.6rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 2rem 1rem;
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    color: #1c1c1e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 320px;
}

.filter {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: none;
}

.filter-group input {
    padding: 0.4rem;
}

.filter-group-nowrap {
    flex-wrap: nowrap;
}

.filter-group-nowrap input {
    flex-shrink: 0;
}

.table-scroll {
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

input, select, button, textarea {
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
}

button {
    background: #24346b;
    color: white;
    border: none;
    cursor: pointer;
}

button:disabled {
    background: #c7c7cc;
    cursor: not-allowed;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.password-field {
    display: flex;
    gap: 0.5rem;
}

.password-field input {
    flex: 1;
    min-width: 0;
}

.password-toggle {
    flex-shrink: 0;
    align-self: center;
    background: white;
    color: #24346b;
    border: 1px solid #ccc;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
}

.org-choice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.org-choice input {
    width: auto;
    padding: 0;
}

.member-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
    max-height: 260px;
    overflow-y: auto;
}

.member-picker .org-choice {
    background: #f6f7f9;
    border: 1px solid #d7dade;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    cursor: pointer;
}

.member-picker .org-choice:has(input:checked) {
    background: #24346b;
    border-color: #24346b;
    color: white;
}

.stamp-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.5rem 0 0.75rem 0;
}

.stamp-choice-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    font-size: 1.15rem;
    font-family: inherit;
    color: #1c1c1e;
    cursor: pointer;
    min-width: 140px;
    min-height: 3.5rem;
}

.stamp-choice-button:hover {
    border-color: #24346b;
    background: #f0f2f8;
}

.stamp-choice-button.selected {
    border-color: #24346b;
    background: #24346b;
    color: white;
    font-weight: 600;
    box-shadow: 0 0 0 3px #dadfee;
}

#selected-abteilung-label {
    font-size: 1rem;
}

.nav-link-button {
    display: inline-block;
    margin-left: auto;
    background: transparent;
    color: #55575c;
    border: 1px solid #d8dade;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link-button:hover {
    background: #f2f3f5;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #24346b;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #eceef1;
}

.card h2, .card h3 {
    margin-top: 0;
}

.row-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.inline-form {
    display: inline;
}

.btn-secondary {
    background: white;
    color: #1c1c1e;
    border: 1px solid #ccc;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: none;
    background: #24346b;
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-danger {
    background: #d70015;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-positive {
    background: #e3f7e9;
    color: #1a7a3d;
}

.badge-negative {
    background: #fdeaea;
    color: #b3261e;
}

.badge-neutral {
    background: #eef1f5;
    color: #55575c;
}

.badge-warning {
    background: #fff3cd;
    color: #8a6d00;
}

.badge-info {
    background: #e9ecf5;
    color: #364985;
}

.error { color: #d70015; }
.success { color: #15803d; display: flex; align-items: center; gap: 0.35rem; }

.preview-banner {
    background: #fff4d6;
    color: #7a5b00;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.negative { color: #d70015; font-weight: 600; }

.admin-link {
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* ---- Organigramm ------------------------------------------------------------------
   Ein Diagramm von oben nach unten: Leitungsebene, darunter je Kostenträger ein Ast mit
   Verbindungslinie, darin die Abteilungen als aufklappbare Karten. Zugeklappt zeigt eine
   Abteilung nur Name, Anzahl und die ersten Gesichter — so passt die ganze Einrichtung auf
   einen Bildschirm, statt dass eine große Abteilung alles in die Länge zieht. */

.org-chart {
    --org-linie: #cfd5dd;
    position: relative;
    /* Die schmale Darstellung richtet sich nach dem Platz im Inhaltsbereich, nicht nach der
       Fensterbreite — daneben steht ja noch die Seitenleiste. */
    container-type: inline-size;
}

.org-werkzeuge {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}

.org-werkzeuge .org-alle-knopf {
    position: relative;
}

.org-alle-knopf .icon-svg {
    transition: transform 0.15s;
}

.org-alle-knopf.org-alle-offen .icon-svg {
    transform: rotate(180deg);
}

/* -- Leitungsebene -- */
.org-ebene {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-strich {
    width: 2px;
    height: 22px;
    background: var(--org-linie);
}

.org-knoten {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    padding: 0.55rem 1.3rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.org-knoten-rolle {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.org-knoten-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1c1e;
}

.org-knoten-oben {
    min-width: 220px;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.org-knoten-leitung {
    border-color: #c7cee4;
    background: linear-gradient(180deg, #f0f2f8, #fff);
    padding: 0.6rem 0.8rem 0.7rem;
}

.org-leitung-personen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.org-leer {
    font-size: 0.85rem;
    color: #6b6d73;
}

/* -- Äste je Kostenträger mit Verbindungslinien -- */
.org-zweige {
    --org-abstand: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem var(--org-abstand);
    align-items: start;
}

.org-zweig {
    position: relative;
    padding-top: 22px;
    min-width: 0;
}

/* Querlinie über allen Ästen: je Ast ein Stück, das bis in die Lücke zum Nachbarn reicht. */
.org-zweig::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--org-abstand) / -2);
    right: calc(var(--org-abstand) / -2);
    height: 2px;
    background: var(--org-linie);
}

.org-zweig:first-child::before { left: 50%; }
.org-zweig:last-child::before { right: 50%; }
.org-zweig:only-child::before { display: none; }

/* Abzweig nach unten zum Kostenträger. */
.org-zweig::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    width: 2px;
    height: 22px;
    background: var(--org-linie);
}

.org-kt-knoten {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    background: var(--kt-farbe);
    color: #fff;
    text-align: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.org-kt-name {
    overflow-wrap: anywhere;
    font-weight: 700;
    font-size: 1rem;
}

.org-kt-count {
    font-size: 0.78rem;
    opacity: 0.9;
}
/* Kostenträger einer Abteilung — nur als Hinweis unter dem Namen des Astes. */
.org-kt-traeger {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.15rem;
}

/* Abteilungen hängen an einer senkrechten Linie in der Farbe des Kostenträgers. */
.org-abt-liste {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0 0 0 1.1rem;
    padding: 0.8rem 0 0 1rem;
    border-left: 2px solid color-mix(in srgb, var(--kt-farbe) 35%, #fff);
}

.org-abt {
    position: relative;
    background: #fff;
    border: 1px solid #e3e6eb;
    border-left: 4px solid var(--kt-farbe);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Kleiner Abzweig von der Linie zur Karte. */
.org-abt::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: calc(-1rem - 4px);
    width: 1rem;
    height: 2px;
    background: color-mix(in srgb, var(--kt-farbe) 35%, #fff);
}

.org-abt[open] {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.org-abt-kopf {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.65rem 0.8rem;
    cursor: pointer;
    list-style: none;
    border-radius: 12px;
}

.org-abt-kopf::-webkit-details-marker {
    display: none;
}

.org-abt-kopf:hover {
    background: #f7f9fc;
}

.org-abt-titelzeile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.org-abt-name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1c1c1e;
}

.org-abt-count {
    background: color-mix(in srgb, var(--kt-farbe) 12%, #fff);
    color: var(--kt-farbe);
    border-radius: 999px;
    padding: 0.05rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.org-abt-pfeil {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #9aa1ab;
    border-bottom: 2px solid #9aa1ab;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s;
    flex-shrink: 0;
}

.org-abt[open] .org-abt-pfeil {
    transform: rotate(225deg) translate(-2px, 0);
}

/* Die ersten Gesichter einer Abteilung, leicht überlappend. */
.org-stapel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 5px;
    padding-left: 2px;
}

.org-stapel-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--person-farbe, #c7ccd4);
    font-size: 0.62rem;
    letter-spacing: -0.02em;
}

.org-stapel-mehr {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f5;
    color: #55575c;
    font-weight: 700;
    box-shadow: 0 0 0 2px #dfe3e8;
}

.org-abt[open] .org-stapel {
    display: none;
}

.org-abt-people,
.org-abt-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.org-abt-people {
    padding: 0 0.4rem 0.5rem;
    border-top: 1px solid #eef0f3;
    padding-top: 0.35rem;
}

.org-abt-children {
    margin-left: 1rem;
    padding-left: 0.4rem;
    border-left: 2px solid #eceef1;
}

/* -- Person -- */
.org-person-form {
    margin: 0;
    padding: 0;
    max-width: none;
    display: block;
}

.org-person {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.35rem 0.45rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.org-person:hover {
    background: #f1f2f8;
}

.org-person-karte {
    width: auto;
    min-width: 200px;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
}

.org-person-karte:hover {
    border-color: #c7cee4;
    background: #f0f2f8;
}

.org-person-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--person-farbe, #c7ccd4);
}

.org-person-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--person-farbe, #c7ccd4) 14%, #fff);
    color: color-mix(in srgb, var(--person-farbe, #55575c) 75%, #1c1c1e);
    font-weight: 700;
    font-size: 0.78rem;
}

.org-person-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.org-person-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1c1c1e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-person-role {
    font-size: 0.76rem;
    color: #6b6d73;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Wenig Platz: die Äste stehen untereinander, die Querlinie entfällt. */
@container (max-width: 640px) {
    .org-zweige {
        grid-template-columns: 1fr;
    }
    .org-zweig::before {
        display: none;
    }
    .org-zweig + .org-zweig {
        padding-top: 0;
    }
    .org-zweig + .org-zweig::after {
        display: none;
    }
    .org-knoten-oben,
    .org-person-karte {
        min-width: 0;
    }
    .org-knoten-leitung,
    .org-leitung-personen,
    .org-person-karte {
        max-width: 100%;
    }
    .org-abt-liste {
        margin-left: 0.6rem;
        padding-left: 0.7rem;
    }
    .org-abt::before {
        left: calc(-0.7rem - 4px);
        width: 0.7rem;
    }
}

/* --- Ankündigungs-Banner (Mitarbeiter-Übersicht) --------------------------------------- */
/* Rundnachrichten der Leitung stehen quer über der Übersicht, damit sie nicht übersehen
   werden — im Gegensatz zu einem Widget lassen sie sich weder wegschieben noch ausblenden. */
.ankuendigungs-banner {
    background: #fff8e6;
    border: 1px solid #f3d38a;
    border-left: 6px solid #f0b429;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ankuendigung-zeile {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.ankuendigung-symbol {
    display: flex;
    color: #a06a00;
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.ankuendigung-text p {
    margin: 0;
    white-space: pre-wrap;
}

.ankuendigung-text small {
    color: #8a6d3b;
}

.ankuendigung-mehr {
    margin: 0;
    font-style: italic;
    color: #8a6d3b;
}

/* Liste aller Ankündigungen bei der Leitung: dasselbe Banner, nur mit Trennlinie zwischen den
   Einträgen und dem Löschen-Knopf rechts. */
.ankuendigungs-liste {
    margin-bottom: 0;
}

.ankuendigungs-liste .ankuendigung-zeile + .ankuendigung-zeile {
    border-top: 1px solid #f3d38a;
    padding-top: 0.7rem;
}

.ankuendigungs-liste .ankuendigung-text {
    flex: 1;
    min-width: 0;
}

.ankuendigung-zielgruppe {
    font-weight: 600;
}

.ankuendigung-aktion {
    flex: 0 0 auto;
}

/* "schreibt gerade …" über dem Eingabefeld — zurückhaltend, damit es die Unterhaltung nicht
   optisch zerschneidet. */
.chat-tippt {
    margin: 0 0 0.3rem 0.2rem;
    font-size: 0.85rem;
    font-style: italic;
    color: #6b6d73;
}

.chat-tippt[hidden] {
    display: none;
}

/* Hinweis beim Stempeln: früher da als im Dienstplan — gezählt wird ab Dienstbeginn. */
.stempel-hinweis {
    background: #fff7e6;
    border: 1px solid #f5d9a8;
    color: #8a5a00;
    border-radius: 10px;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
}

.stempel-hinweis-gross {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    max-width: 38rem;
}

/* Rückfrage „Früher gehen“ auf der Stempelseite: Formular so breit wie die Karte, die beiden
   Knöpfe nebeneinander und gleich groß. */
.frueh-gehen-formular {
    max-width: none;
}

.frueh-gehen-knoepfe {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.frueh-gehen-knoepfe button {
    flex: 1;
}

/* Download der Wochenübersicht am Tablet: rechts oben in der aufgeklappten Woche. */
.hours-week-download {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.4rem;
}

/* „Auf diesem Handy merken“ nur auf schmalen Bildschirmen — die Tablets der Einrichtung teilen
   sich alle, dort soll sich kein Gerät eine Person merken. */
.nur-handy {
    display: none !important;
}

@media (max-width: 640px) {
    .nur-handy {
        display: flex !important;
    }
}

/* Stempel-Kachel, wenn das Gerät nicht im Netz der Einrichtung ist. */
.auswahl-kachel-gesperrt {
    opacity: 0.6;
}

/* Lizenzseite */
.lizenzen {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.lizenzen .lizenz {
    border-top: 1px solid var(--rand, #e3e6eb);
    padding-top: 0.8rem;
    margin-top: 1.2rem;
}

.lizenzen h2 small {
    font-weight: 400;
    color: #7a7d83;
    font-size: 0.8em;
}

.lizenzen pre {
    white-space: pre-wrap;
    font-size: 0.8rem;
    background: rgba(127, 127, 127, 0.08);
    padding: 0.8rem;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

.lizenz-verweis {
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* Mitarbeitende in den Abteilungen: Karten wie die Leitung, untereinander mit etwas Abstand. */
.org-abt-people > li + li,
.org-abt-children > li {
    margin-top: 0.35rem;
}

.org-abt-people .org-person-karte {
    width: 100%;
    min-width: 0;
}

.org-abt-children {
    margin-top: 0.35rem;
}

/* Einrichtung wählen (gemeinsame Startseite) */
.waehlen-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.waehlen-karte {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.waehlen-aktuell {
    outline: 2px solid #24346b;
}

.waehlen-kopf {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.waehlen-kopf h2 {
    margin: 0;
    font-size: 1.1rem;
}

.waehlen-symbol .icon-svg {
    width: 1.6rem;
    height: 1.6rem;
}

.waehlen-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.waehlen-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border: 1px solid #d7dade;
    border-radius: 8px;
    background: #fff;
    color: #24346b;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.waehlen-links a:hover {
    border-color: #24346b;
    background: #f1f2f8;
}

/* Startseite einer Einrichtung (startseite.html): feste Kachelbreite, damit sie auf Tablet und großem
   Monitor gleich aussehen. */
.start-titel { margin-bottom: 0.2rem; }
.start-unter { color: #6b6d73; margin-top: 0; }
.start-auswahl {
    display: grid;
    grid-template-columns: repeat(auto-fill, 230px);
    gap: 1rem;
    margin-top: 1.25rem;
}
.start-kachel {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1rem;
    border: 1px solid #d7dade;
    border-radius: 12px;
    background: #fff;
    color: #24346b;
    text-decoration: none;
}
.start-kachel:hover, .start-kachel:focus-visible {
    border-color: #24346b;
    background: #f1f2f8;
}
.start-kachel strong { font-size: 1.15rem; }
.start-kachel small { color: #6b6d73; line-height: 1.35; }
.start-kachel-symbol .icon-svg { width: 1.8rem; height: 1.8rem; }

/* Passwortregeln mit Häkchen beim Tippen (_passwort_regeln.html). */
.passwort-regeln { list-style: none; padding: 0; margin: 4px 0 12px; font-size: .9em; color: var(--text-gedimmt, #6b7280); text-align: left; }
.passwort-regeln li { padding-left: 1.5em; position: relative; margin: 2px 0; }
.passwort-regeln li::before { content: "○"; position: absolute; left: 0; }
.passwort-regeln li.erfuellt { color: var(--positiv, #15803d); }
.passwort-regeln li.erfuellt::before { content: "✓"; }
.passwort-seite .hinweis-box { background: var(--warn-flaeche, #fff7e6); border-radius: 8px; padding: 10px 12px; text-align: left; }
.passwort-seite h1 { font-size: 1.3em; margin: 8px 0; }

/* Zwei-Faktor-Anmeldung (zwei_faktor.html). */
.zwei-faktor-seite .zf-qr svg { width: 200px; height: 200px; display: block; margin: 8px auto; }
.zwei-faktor-seite .zf-schritte { text-align: left; padding-left: 20px; }
.zwei-faktor-seite .zf-codes { columns: 2; list-style: none; padding: 0; font-size: 1.1em; }
.zwei-faktor-seite form + form { margin-top: 8px; }
@media print { .zwei-faktor-seite form, .zwei-faktor-seite .traeger-login-hinweis, .zwei-faktor-seite a.button { display: none; } }
.zwei-faktor-seite .zf-zurueck { display: inline-block; margin: 4px 0 8px; font-weight: 600; text-decoration: none; }
.zwei-faktor-seite .zf-qr svg { max-width: 100%; }
@media print { .zwei-faktor-seite .zf-zurueck { display: none; } }

/* Grauer Tag eines anderen Monats: Klick wechselt in diesen Monat (app.js, data-monat-ziel). */
[data-monat-ziel] { cursor: pointer; }
[data-monat-ziel]:hover { background: rgba(36, 52, 107, 0.06); }
