/* /Components/Layout/BereichsUmschalter.razor.rz.scp.css */
/* Bereiche als Reiter in der Kopfleiste. Farben kommen aus dem Theme. */
.dw-bereiche[b-gcwucrgqqz] {
    display: flex;
    gap: 0.25rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.dw-bereich[b-gcwucrgqqz] {
    padding: 0.4rem 0.8rem;
    border-radius: calc(var(--dw-radius, 11px) * 0.5);
    color: var(--dw-muted, #6b7280);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

    .dw-bereich:hover[b-gcwucrgqqz] {
        background-color: var(--dw-mut-bg, #edeef1);
        color: var(--dw-ink, #23262b);
    }

    .dw-bereich.aktiv[b-gcwucrgqqz] {
        background-color: var(--dw-nav-active-bg, rgba(36, 87, 166, 0.12));
        color: var(--dw-nav-active-ink, #2457a6);
        font-weight: 600;
    }

    .dw-bereich:focus-visible[b-gcwucrgqqz] {
        outline: 2px solid var(--dw-accent, #2457a6);
        outline-offset: 1px;
    }

/* Kopfleiste: nur auf breiten Bildschirmen. Auf dem Telefon steht der
   Umschalter oben im aufklappbaren Menü (Klasse "im-menue"). */
.dw-bereiche.in-kopfleiste[b-gcwucrgqqz] {
    display: none;
}

.dw-bereiche.im-menue[b-gcwucrgqqz] {
    flex-wrap: wrap;
    padding: 0.75rem 1rem 0;
}

    .dw-bereiche.im-menue .dw-bereich[b-gcwucrgqqz] {
        color: var(--dw-sidebar-ink, #3a3f46);
    }

@media (min-width: 641px) {
    /* Umbrechen statt wegscrollen: Die Bildlaufleiste ist ausgeblendet, ein
       weggescrollter Bereich war also schlicht nicht zu sehen. */
    .dw-bereiche.in-kopfleiste[b-gcwucrgqqz] {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
    }

    .dw-bereiche.im-menue[b-gcwucrgqqz] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-tsr4moof1k] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-tsr4moof1k] {
    flex: 1;
    /* Pflicht bei Flex-Items mit Textinhalt: Ohne min-width:0 weigert sich main,
       schmaler als sein breitester nicht-umbrechender Inhalt zu werden (z. B.
       text-truncate-Zeilen im Aktivitäts-Feed) — die ganze Seite bekäme dann
       einen horizontalen Scrollbalken. */
    min-width: 0;
}

/* Seitenmenü — Fläche und Schriftfarbe kommen aus dem Theme
   (Werkbank: weiß, Signal: dunkelgrau, Fokus: getönt, Fokus dunkel: dunkel). */
.sidebar[b-tsr4moof1k] {
    background-color: var(--dw-sidebar, #ffffff);
    border-right: 1px solid var(--dw-line, #e6e8ec);
}

/* Die Kopfzeile darf umbrechen. Mit fester Höhe teilten sich die Bereichs-Reiter eine
   Zeile mit Glocke, Name und Abmelden — bei Tablet-Breite (768 px) blieben ihnen
   191 von 426 px, und „Nachvollziehen" und „Verwaltung" waren unsichtbar
   weggescrollt. Jetzt rutschen Glocke, Name und Abmelden in eine zweite Zeile,
   sobald die Reiter sonst nicht ganz passen; auf breiten Schirmen bleibt es eine. */
.top-row[b-tsr4moof1k] {
    background-color: var(--dw-topbar, #ffffff);
    border-bottom: 1px solid var(--dw-line, #e6e8ec);
    justify-content: flex-end;
    min-height: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

/* Nimmt die Reiter in voller Breite auf und schrumpft nicht darunter — passt die
   Zeile nicht, bricht der Rest um. Nie breiter als die Zeile: dann brechen die
   Reiter selbst um (siehe BereichsUmschalter). */
.top-row-title[b-tsr4moof1k] {
    flex: 1 0 auto;
    max-width: 100%;
    min-width: 0;
    font-weight: 600;
    color: var(--dw-ink, #23262b);
}

/* Benachrichtigungs-Glocke mit Zähler-Badge in der Fehlerfarbe des Themes. */
.notification-bell[b-tsr4moof1k] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--dw-accent, #2457a6);
    padding: 0.35rem;
    border-radius: calc(var(--dw-radius, 11px) * 0.5);
    text-decoration: none;
}

    .notification-bell:hover[b-tsr4moof1k] {
        background-color: var(--dw-mut-bg, #edeef1);
        color: var(--dw-accent-hover, #1d4787);
    }

.notification-badge[b-tsr4moof1k] {
    position: absolute;
    top: -0.25rem;
    right: -0.35rem;
    min-width: 1.05rem;
    padding: 0 0.28rem;
    border-radius: 0.6rem;
    background-color: var(--dw-err, #b91c1c);
    color: var(--dw-err-bg, #fbdddd);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
}

.current-user[b-tsr4moof1k] {
    color: var(--dw-ink, #23262b);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 16rem;
    text-decoration: none;
}

    .current-user:hover[b-tsr4moof1k] {
        color: var(--dw-accent, #2457a6);
        text-decoration: underline;
    }

.logout-form[b-tsr4moof1k] {
    margin: 0;
    display: inline-flex;
}

.logout-button[b-tsr4moof1k] {
    white-space: nowrap;
}

@media (max-width: 640.98px) {
    .top-row[b-tsr4moof1k] {
        justify-content: space-between;
        gap: 0.5rem;
    }

    .current-user[b-tsr4moof1k] {
        max-width: 8rem;
    }
}

@media (min-width: 641px) {
    .page[b-tsr4moof1k] {
        flex-direction: row;
    }

    .sidebar[b-tsr4moof1k] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-tsr4moof1k] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-tsr4moof1k], article[b-tsr4moof1k] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Fehler-Overlay bewusst theme-unabhängig: Es muss auch dann korrekt
   erscheinen, wenn Theme-Styles nicht (mehr) geladen sind. */
#blazor-error-ui[b-tsr4moof1k] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-tsr4moof1k] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4fd0wufl4b] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: none;
    /* Hamburger-Icon als Maske: Die Farbe kommt aus dem Theme und
       funktioniert damit auf hellen wie dunklen Seitenleisten. */
    background-color: var(--dw-sidebar-ink, #3a3f46);
    opacity: 0.75;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center / 1.75rem;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center / 1.75rem;
}

.navbar-toggler:checked[b-4fd0wufl4b],
.navbar-toggler:hover[b-4fd0wufl4b] {
    opacity: 1;
}

.top-row[b-4fd0wufl4b] {
    min-height: 3.5rem;
    /* Leichte Tönung der Sidebar-Fläche — passt sich jedem Theme an. */
    background-color: color-mix(in srgb, var(--dw-sidebar-ink, #3a3f46) 7%, transparent);
}

.navbar-brand[b-4fd0wufl4b] {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--dw-sidebar-ink, #3a3f46);
}

    .navbar-brand:hover[b-4fd0wufl4b], .navbar-brand:focus[b-4fd0wufl4b] {
        color: var(--dw-sidebar-ink, #3a3f46);
    }

/* Icons als eingebettete SVG-Masken im Stil der Bootstrap-Icons: Die
   Füllfarbe ist currentColor und folgt damit dem Link-Zustand (normal,
   hover, aktiv) in jedem Theme. */
.dw-icon[b-4fd0wufl4b] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-color: currentColor;
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.dw-icon-dashboard[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.dw-icon-projekte[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.825a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3zm-8.322.12C1.72 3.042 1.95 3 2.19 3h5.396l-.707-.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139z'/%3E%3C/svg%3E");
}

.dw-icon-mails[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z'/%3E%3C/svg%3E");
}

.dw-icon-review[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4H4.98zm9.954 5H10.45a2.5 2.5 0 0 1-4.9 0H1.066l.32 2.562a.5.5 0 0 0 .497.438h12.234a.5.5 0 0 0 .496-.438L14.933 9zM3.809 3.563A1.5 1.5 0 0 1 4.981 3h6.038a1.5 1.5 0 0 1 1.172.563l3.7 4.625a.5.5 0 0 1 .105.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374l3.7-4.625z'/%3E%3C/svg%3E");
}

.dw-icon-absender[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z'/%3E%3C/svg%3E");
}

.dw-icon-aktivitaeten[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3C/svg%3E");
}

.dw-icon-benachrichtigungen[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z'/%3E%3C/svg%3E");
}

.dw-icon-benutzer[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}

/* Aufräumliste: Checkliste (drei Zeilen + Haken) — eigene, einfache Zeichnung. */
.dw-icon-aufraeumen[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M2 3h8v1.5H2z'/%3E%3Cpath d='M2 7.25h8v1.5H2z'/%3E%3Cpath d='M2 11.5h5v1.5H2z'/%3E%3Cpath d='M15.28 9.28l-3.9 3.9-1.66-1.66-1.06 1.06 2.72 2.72 4.96-4.96z'/%3E%3C/svg%3E");
}

/* Berichte: Balkendiagramm mit Grundlinie — eigene, einfache Zeichnung. */
.dw-icon-berichte[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M2 9h2.5v4H2z'/%3E%3Cpath d='M6.75 5h2.5v8h-2.5z'/%3E%3Cpath d='M11.5 2H14v11h-2.5z'/%3E%3Cpath d='M1 14h14v1.2H1z'/%3E%3C/svg%3E");
}

/* Qualität: Prüfsiegel (Kreis mit Haken) — eigene, einfache Zeichnung. */
.dw-icon-qualitaet[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zm0 1.6a5.4 5.4 0 1 1 0 10.8A5.4 5.4 0 0 1 8 2.6z'/%3E%3Cpath d='M11.3 5.7 7.2 9.8 5 7.6 3.9 8.7l3.3 3.3 5.2-5.2z'/%3E%3C/svg%3E");
}

/* Wie es entscheidet: Lupe ueber einer Liste — eigene, einfache Zeichnung. */
.dw-icon-transparenz[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 2h9v1.4h-9z'/%3E%3Cpath d='M1.5 5.3h6v1.4h-6z'/%3E%3Cpath d='M1.5 8.6h4v1.4h-4z'/%3E%3Cpath d='M10.6 7.4a3.4 3.4 0 1 0 2.02 6.13l1.79 1.79 1.1-1.1-1.79-1.79A3.4 3.4 0 0 0 10.6 7.4zm0 1.5a1.9 1.9 0 1 1 0 3.8 1.9 1.9 0 0 1 0-3.8z'/%3E%3C/svg%3E");
}

/* Eigene, einfache Zeichnungen fuer die Punkte, die bisher ein fremdes
   Symbol trugen (Waechter, Regelwerk, Einrichtung, Funktionen, KI-Modelle,
   Sicherung) und fuer den Weg in den Wissens-Chat. */
.dw-icon-kalender[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M4 1h1v1h6V1h1v1h1.5A1.5 1.5 0 0 1 15 3.5v10a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 13.5v-10A1.5 1.5 0 0 1 2.5 2H4V1zM2.5 5v8.5h11V5h-11zM4 7h2v2H4V7zm3 0h2v2H7V7zm3 0h2v2h-2V7zm-6 3h2v2H4v-2zm3 0h2v2H7v-2z'/%3E%3C/svg%3E");
}

.dw-icon-chat[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 2h11A1.5 1.5 0 0 1 15 3.5v7a1.5 1.5 0 0 1-1.5 1.5H6.2L3 14.8V12h-.5A1.5 1.5 0 0 1 1 10.5v-7A1.5 1.5 0 0 1 2.5 2zM4 6.25h1.5v1.5H4v-1.5zm3.25 0h1.5v1.5h-1.5v-1.5zm3.25 0H12v1.5h-1.5v-1.5z'/%3E%3C/svg%3E");
}

.dw-icon-regelwerk[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M3 1h7l3 3v10.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-13A.5.5 0 0 1 3 1zm1 1v12h8V5H9V2H4zm1 5h6v1H5V7zm0 2h6v1H5V9zm0 2h4v1H5v-1z'/%3E%3C/svg%3E");
}

.dw-icon-regler[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M1 3h7v-.5a1.5 1.5 0 0 1 3 0V3h4v1.5h-4V5a1.5 1.5 0 0 1-3 0v-.5H1V3zm0 4.25h2v-.5a1.5 1.5 0 0 1 3 0v.5h9v1.5H6v.5a1.5 1.5 0 0 1-3 0v-.5H1v-1.5zm0 4.25h9V11a1.5 1.5 0 0 1 3 0v.5h2V13h-2v.5a1.5 1.5 0 0 1-3 0V13H1v-1.5z'/%3E%3C/svg%3E");
}

.dw-icon-schalter[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M5 4h6a4 4 0 0 1 0 8H5a4 4 0 0 1 0-8zm6 1.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E");
}

.dw-icon-ki[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M5 0h1v2h1.5V0h1v2H10V0h1v2h1.5A1.5 1.5 0 0 1 14 3.5V5h2v1h-2v1.5h2v1h-2V10h2v1h-2v1.5a1.5 1.5 0 0 1-1.5 1.5H11v2h-1v-2H8.5v2h-1v-2H6v2H5v-2H3.5A1.5 1.5 0 0 1 2 12.5V11H0v-1h2V8.5H0v-1h2V6H0V5h2V3.5A1.5 1.5 0 0 1 3.5 2H5V0zm0 5v6h6V5H5z'/%3E%3C/svg%3E");
}

.dw-icon-sicherung[b-4fd0wufl4b] {
    --nav-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-rule='evenodd' viewBox='0 0 16 16'%3E%3Cpath d='M1 2h14v3.5H1V2zm1 4.5h12v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7zM6 8v1.5h4V8H6z'/%3E%3C/svg%3E");
}

.dw-icon-dashboard[b-4fd0wufl4b],
.dw-icon-projekte[b-4fd0wufl4b],
.dw-icon-mails[b-4fd0wufl4b],
.dw-icon-review[b-4fd0wufl4b],
.dw-icon-absender[b-4fd0wufl4b],
.dw-icon-aktivitaeten[b-4fd0wufl4b],
.dw-icon-benachrichtigungen[b-4fd0wufl4b],
.dw-icon-benutzer[b-4fd0wufl4b],
.dw-icon-aufraeumen[b-4fd0wufl4b],
.dw-icon-berichte[b-4fd0wufl4b],
.dw-icon-transparenz[b-4fd0wufl4b],
.dw-icon-qualitaet[b-4fd0wufl4b],
.dw-icon-kalender[b-4fd0wufl4b],
.dw-icon-chat[b-4fd0wufl4b],
.dw-icon-regelwerk[b-4fd0wufl4b],
.dw-icon-regler[b-4fd0wufl4b],
.dw-icon-schalter[b-4fd0wufl4b],
.dw-icon-ki[b-4fd0wufl4b],
.dw-icon-sicherung[b-4fd0wufl4b] {
    -webkit-mask-image: var(--nav-icon-url);
    mask-image: var(--nav-icon-url);
}

.nav-item[b-4fd0wufl4b] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4fd0wufl4b] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4fd0wufl4b] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4fd0wufl4b]  .nav-link {
        color: var(--dw-sidebar-ink, #3a3f46);
        background: none;
        border: none;
        border-radius: calc(var(--dw-radius, 11px) * 0.5);
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

/* Aktiver Menüpunkt: Fläche/Farbe/Balken kommen aus dem Theme —
   Werkbank/Signal füllen dezent, Fokus zeigt einen linken Akzentbalken. */
.nav-item[b-4fd0wufl4b]  a.active {
    background-color: var(--dw-nav-active-bg, rgba(36, 87, 166, 0.12));
    color: var(--dw-nav-active-ink, #2457a6);
    box-shadow: var(--dw-nav-active-bar, none);
}

.nav-item[b-4fd0wufl4b]  .nav-link:hover {
    background-color: color-mix(in srgb, var(--dw-sidebar-ink, #3a3f46) 10%, transparent);
    color: var(--dw-sidebar-ink, #3a3f46);
}

/* "Fragen an die Ablage" ist ein Knopf, kein Link — er soll genauso aussehen. */
.nav-item button.nav-link[b-4fd0wufl4b] {
    text-align: left;
    font: inherit;
    cursor: pointer;
}

/* Hinweis auf wartende Mails, wenn man gerade in einem anderen Bereich ist. */
.dw-wartet[b-4fd0wufl4b] {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: calc(var(--dw-radius, 11px) * 0.5);
    background-color: var(--dw-warn-bg, #fdebd0);
    color: var(--dw-warn, #b45309);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

    .dw-wartet:hover[b-4fd0wufl4b] {
        text-decoration: underline;
    }

.nav-divider[b-4fd0wufl4b] {
    border-top: 1px solid color-mix(in srgb, var(--dw-sidebar-ink, #3a3f46) 30%, transparent);
    margin: 0.5rem 1rem;
}

.nav-scrollable[b-4fd0wufl4b] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-4fd0wufl4b] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4fd0wufl4b] {
        display: none;
    }

    .nav-scrollable[b-4fd0wufl4b] {
        /* Auf breiten Bildschirmen bleibt das Menü immer sichtbar. */
        display: block;

        /* Menü darf bei vielen Einträgen selbst scrollen. */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a4hdrsgksb],
.components-reconnect-repeated-attempt-visible[b-a4hdrsgksb],
.components-reconnect-failed-visible[b-a4hdrsgksb],
.components-pause-visible[b-a4hdrsgksb],
.components-resume-failed-visible[b-a4hdrsgksb],
.components-rejoining-animation[b-a4hdrsgksb] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-retrying[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-failed[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-a4hdrsgksb] {
    display: block;
}


#components-reconnect-modal[b-a4hdrsgksb] {
    /* Tokenisiert, damit das Overlay auch im Dunkelmodus lesbar bleibt. */
    background-color: var(--dw-card, #ffffff);
    color: var(--dw-ink, #23262b);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-a4hdrsgksb 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-a4hdrsgksb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-a4hdrsgksb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-a4hdrsgksb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-a4hdrsgksb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-a4hdrsgksb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-a4hdrsgksb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-a4hdrsgksb {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-a4hdrsgksb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-a4hdrsgksb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-a4hdrsgksb] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-a4hdrsgksb] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-a4hdrsgksb] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-a4hdrsgksb] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-a4hdrsgksb] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-a4hdrsgksb 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-a4hdrsgksb] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-a4hdrsgksb {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/UeberfaelligHinweis.razor.rz.scp.css */
.dw-ueberfaellig[b-7c6e9pra8d] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    background-color: var(--dw-err-bg, #fbdddd);
    color: var(--dw-err, #b91c1c);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

    .dw-ueberfaellig:hover[b-7c6e9pra8d] {
        text-decoration: underline;
    }
/* /Components/Pages/Mail/MailDetailsDialog.razor.rz.scp.css */
/* Volltext-Anzeige im Detail-Dialog: Zeilenumbrüche der Mail erhalten (pre),
   aber lange Zeilen umbrechen statt horizontal zu scrollen; vertikal scrollbar,
   damit sehr lange Mails den Dialog nicht sprengen. */
.mail-body[b-6hxnrnkdtw] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 50vh;
    overflow-y: auto;
    font-family: inherit;
    font-size: 0.9rem;
}

/* Vollständiger NAS-Ablagepfad: lange UNC-Pfade umbrechen statt den Dialog
   horizontal zu sprengen. */
.ablage-pfad[b-6hxnrnkdtw] {
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}

/* Anhang-Dateinamen: sehr lange Namen umbrechen, Badge bleibt rechts stehen. */
.anhang-name[b-6hxnrnkdtw] {
    overflow-wrap: anywhere;
}
