/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-shell[b-7eei1r4ubu] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(900px 500px at 50% -120px, color-mix(in oklch, var(--accent) 14%, transparent), transparent 70%),
        var(--surface-sunk);
}

.login-card[b-7eei1r4ubu] {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.login-brand[b-7eei1r4ubu] {
    text-align: center;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.login-brand-mark[b-7eei1r4ubu] {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--accent-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.25rem;
}

.login-brand h1[b-7eei1r4ubu] {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.015em;
    color: var(--text-strong);
}

.login-brand-suffix[b-7eei1r4ubu] {
    color: var(--text-muted);
    font-weight: 500;
}

.login-brand-tagline[b-7eei1r4ubu] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ----------------------------------------------------------------
   App-Shell: Sidebar links + Topbar oben + Content darunter.
   Auf < 720 px klappt die Sidebar zu einer kompakten Top-Leiste
   zusammen (Brand + Burger), die NavMenu-Komponente liefert den
   passenden Mobile-State selbst.
---------------------------------------------------------------- */
.app-shell[b-yn7fc45j9s] {
    display: flex;
    min-height: 100vh;
    background: var(--surface-sunk);
}

.app-sidebar[b-yn7fc45j9s] {
    background: var(--surface);
    border-right: 1px solid var(--border);
    width: 100%;
}

.app-main[b-yn7fc45j9s] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* erlaubt der Tabelle, korrekt zu schrumpfen */
}

.app-topbar[b-yn7fc45j9s] {
    height: var(--topbar-height);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-spacer[b-yn7fc45j9s] {
    flex: 1;
}

.app-content[b-yn7fc45j9s] {
    flex: 1;
    padding: 0 1.5rem;
    background: var(--surface-sunk);
}

/* ----- Breakpoints ----- */
@media (max-width: 640.98px) {
    .app-shell[b-yn7fc45j9s] {
        flex-direction: column;
    }
    .app-topbar[b-yn7fc45j9s] {
        padding: 0 1rem;
    }
    .app-content[b-yn7fc45j9s] {
        padding: 0 1rem;
    }
}

@media (min-width: 641px) {
    .app-shell[b-yn7fc45j9s] {
        flex-direction: row;
    }
    .app-sidebar[b-yn7fc45j9s] {
        width: var(--sidebar-width);
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }
}

/* ----- Blazor Error-UI bleibt unverändert in der Position ----- */
#blazor-error-ui[b-yn7fc45j9s] {
    color-scheme: light only;
    background: var(--warn);
    color: white;
    bottom: 0;
    box-shadow: 0 -1px 4px oklch(0 0 0 / 0.15);
    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-yn7fc45j9s] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui .reload[b-yn7fc45j9s] {
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ----------------------------------------------------------------
   Helle Sidebar im Stil des Vue-Frontends:
   sanfter Surface-Hintergrund, frischer Akzent für aktive Items,
   keine SVG-data-URLs mehr — Icons kommen als Inline-SVGs aus dem
   NavMenu.razor und erben currentColor, das macht den Akzent für
   das aktive Item automatisch grün, ohne pro Item neu zu malen.
---------------------------------------------------------------- */

.nav-header[b-qwklebm2i5] {
    height: var(--topbar-height);
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.nav-brand[b-qwklebm2i5] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-strong);
    text-decoration: none;
    font-weight: 600;
}

.nav-brand:hover[b-qwklebm2i5] {
    color: var(--text-strong);
    text-decoration: none;
}

.nav-brand-mark[b-qwklebm2i5] {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--accent-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.nav-brand-text[b-qwklebm2i5] {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand-name[b-qwklebm2i5] {
    font-size: 1.05rem;
    color: var(--text-strong);
    letter-spacing: -0.01em;
}

.nav-brand-suffix[b-qwklebm2i5] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-subtle);
    font-weight: 600;
}

/* ----- Navigation ----- */
.nav-scrollable[b-qwklebm2i5] {
    display: none;
    padding: 0.75rem;
}

.nav-list[b-qwklebm2i5] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item[b-qwklebm2i5] {
    width: 100%;
}

.nav-item[b-qwklebm2i5]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease;
    cursor: pointer;
    line-height: 1.2;
    background: transparent;
    border: 0;
}

.nav-item[b-qwklebm2i5]  .nav-link:hover {
    background: var(--surface-2);
    color: var(--text-strong);
    text-decoration: none;
}

.nav-item[b-qwklebm2i5]  .nav-link.active {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.nav-item[b-qwklebm2i5]  .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.nav-item[b-qwklebm2i5]  .nav-link.active .nav-icon {
    color: var(--accent-strong);
}

/* ----- Mobile-Toggler ----- */
.navbar-toggler[b-qwklebm2i5] {
    display: none;
}

.nav-toggler-label[b-qwklebm2i5] {
    display: none;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-strong);
    cursor: pointer;
}

.nav-toggler-label:hover[b-qwklebm2i5] {
    background: var(--surface-2);
}

@media (max-width: 640.98px) {
    .nav-header[b-qwklebm2i5] {
        height: var(--topbar-height);
        padding-right: 4rem; /* Platz für den Burger */
    }
    .nav-toggler-label[b-qwklebm2i5] {
        display: inline-flex;
    }
    .nav-scrollable[b-qwklebm2i5] {
        display: none;
    }
    .navbar-toggler:checked ~ .nav-scrollable[b-qwklebm2i5] {
        display: block;
        border-bottom: 1px solid var(--border);
    }
}

@media (min-width: 641px) {
    .nav-scrollable[b-qwklebm2i5] {
        display: block;
        height: calc(100vh - var(--topbar-height));
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pip35n4e69],
.components-reconnect-repeated-attempt-visible[b-pip35n4e69],
.components-reconnect-failed-visible[b-pip35n4e69],
.components-pause-visible[b-pip35n4e69],
.components-resume-failed-visible[b-pip35n4e69],
.components-rejoining-animation[b-pip35n4e69] {
    display: none;
}

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


#components-reconnect-modal[b-pip35n4e69] {
    background-color: white;
    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-pip35n4e69 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-pip35n4e69 {
    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/UserMenu.razor.rz.scp.css */
.user-menu[b-q8pyglt5sa] {
    position: relative;
}

.user-menu-trigger[b-q8pyglt5sa] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.3rem 0.75rem 0.3rem 0.4rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: var(--text-strong);
    cursor: pointer;
    transition:
        background 120ms ease,
        border-color 120ms ease,
        box-shadow 120ms ease;
    /* Trigger muss über dem Backdrop liegen, damit ein erneuter Klick
       auf die Pille das Menü tatsächlich toggelt — sonst schluckt der
       Backdrop den Klick und der Trigger wirkt im offenen Zustand tot. */
    position: relative;
    z-index: 55;
}

.user-menu-trigger:hover[b-q8pyglt5sa] {
    background: var(--surface-2);
    border-color: var(--border);
}

.user-menu.is-open .user-menu-trigger[b-q8pyglt5sa] {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

.user-menu-trigger:focus-visible[b-q8pyglt5sa] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.user-avatar[b-q8pyglt5sa] {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--accent-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.user-info[b-q8pyglt5sa] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    min-width: 0;
}

.user-name[b-q8pyglt5sa] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14rem;
}

.user-email[b-q8pyglt5sa] {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14rem;
}

.user-caret[b-q8pyglt5sa] {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    transition: transform 160ms ease;
}

.user-menu.is-open .user-caret[b-q8pyglt5sa] {
    transform: rotate(180deg);
}

/* ----- Popover ----- */
.user-menu-backdrop[b-q8pyglt5sa] {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: transparent;
}

.user-menu-popover[b-q8pyglt5sa] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.4rem;
    z-index: 60;
    animation: userMenuIn-b-q8pyglt5sa 160ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes userMenuIn-b-q8pyglt5sa {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.user-menu-header[b-q8pyglt5sa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.6rem 0.75rem 0.5rem;
}

.user-menu-name[b-q8pyglt5sa] {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-strong);
}

.user-menu-email[b-q8pyglt5sa] {
    font-size: 0.78rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-divider[b-q8pyglt5sa] {
    height: 1px;
    background: var(--border);
    margin: 0.3rem 0;
}

.user-menu-form[b-q8pyglt5sa] {
    margin: 0;
    padding: 0;
}

.user-menu-action[b-q8pyglt5sa] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--text-strong);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
}

.user-menu-action:hover[b-q8pyglt5sa] {
    background: var(--surface-2);
    color: var(--text-strong);
}

.user-menu-action svg[b-q8pyglt5sa] {
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ----- Mobile: Name/Mail einklappen, nur Avatar zeigen ----- */
@media (max-width: 640.98px) {
    .user-info[b-q8pyglt5sa] {
        display: none;
    }
    .user-menu-trigger[b-q8pyglt5sa] {
        padding: 0.25rem;
    }
    .user-menu-popover[b-q8pyglt5sa] {
        right: -0.25rem;
        min-width: 220px;
    }
}
/* /Components/Pages/ActionStubModal.razor.rz.scp.css */
.modal-backdrop[b-tmu1col0ms] {
    position: fixed;
    inset: 0;
    background: oklch(0.14 0.012 145 / 0.4);
    backdrop-filter: blur(2px);
    z-index: 1050;
    /* Backdrop ist rein dekorativ — er liegt visuell hinter dem Dialog,
       darf aber keine Klicks abfangen, sonst landen Hit-Tests auf den
       Dialog-Buttons fälschlich am Backdrop (vor allem mit scoped-CSS-
       Stacking-Contexts in Blazor). Schließen erfolgt über das "×" und
       den "Schließen"-Button. */
    pointer-events: none;
    animation: modalBackdropIn-b-tmu1col0ms 160ms ease both;
}

@keyframes modalBackdropIn-b-tmu1col0ms {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-dialog[b-tmu1col0ms] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    pointer-events: auto;
    background: var(--surface);
    color: var(--text);
    width: min(560px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-tmu1col0ms 200ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes modalIn-b-tmu1col0ms {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 8px)) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header[b-tmu1col0ms] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem 0.95rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2[b-tmu1col0ms] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-strong);
    letter-spacing: -0.01em;
}

.modal-close[b-tmu1col0ms] {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 0.35rem;
    border-radius: var(--radius-sm);
    transition: background 120ms ease, color 120ms ease;
}

.modal-close:hover[b-tmu1col0ms] {
    color: var(--text-strong);
    background: var(--surface-2);
}

.modal-body[b-tmu1col0ms] {
    padding: 1.1rem 1.35rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-body p[b-tmu1col0ms] {
    margin-bottom: 0.75rem;
}

.selected-list[b-tmu1col0ms] {
    margin: 0;
    padding-left: 1.25rem;
    max-height: 240px;
    overflow: auto;
    font-size: 0.9rem;
    color: var(--text);
}

.selected-list li[b-tmu1col0ms] {
    padding: 0.18rem 0;
}

.modal-footer[b-tmu1col0ms] {
    display: flex;
    justify-content: flex-end;
    padding: 0.9rem 1.35rem 1rem;
    border-top: 1px solid var(--border);
    gap: 0.5rem;
}
/* /Components/Pages/CompanyCombobox.razor.rz.scp.css */
.combobox[b-dhc2o9gagx] {
    position: relative;
    width: 100%;
}

.combobox-control[b-dhc2o9gagx] {
    position: relative;
}

/* Platz für Caret-Pfeil und ggf. Clear-Button rechts vom Text */
.combobox-control input[b-dhc2o9gagx] {
    padding-right: 2.5rem;
}

.combobox.open input[b-dhc2o9gagx],
.combobox input:focus[b-dhc2o9gagx] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.combobox-caret[b-dhc2o9gagx] {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 160ms ease;
}

.combobox.open .combobox-caret[b-dhc2o9gagx] {
    transform: translateY(-50%) rotate(180deg);
    color: var(--accent-strong);
}

.combobox-clear[b-dhc2o9gagx] {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
}

.combobox-clear:hover[b-dhc2o9gagx] {
    color: var(--text-strong);
}

.combobox-list[b-dhc2o9gagx] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 0.3rem;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    animation: comboIn-b-dhc2o9gagx 140ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes comboIn-b-dhc2o9gagx {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.combobox-option[b-dhc2o9gagx] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
    gap: 0.75rem;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
}

.combobox-option:hover[b-dhc2o9gagx],
.combobox-option.active[b-dhc2o9gagx] {
    background: var(--accent-soft);
    color: var(--text-strong);
}

.combobox-option-name[b-dhc2o9gagx] {
    color: var(--text-strong);
}

.combobox-option-city[b-dhc2o9gagx] {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.combobox-empty[b-dhc2o9gagx] {
    padding: 0.6rem 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.88rem;
}
/* /Components/Pages/CompanyMembers.razor.rz.scp.css */
/* ----------------------------------------------------------------
   Firmen & Mitarbeiter — Filterleiste, Action-Bar, Tabelle.
   Stilistisch an die neuen Tokens angepasst; Bootstrap-Klassen
   (table, table-hover, alert) liefern weiter die Grobstruktur.
---------------------------------------------------------------- */

.filter-row[b-1jtkc3v480] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 1.25rem !important;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.1rem;
}

.filter-field[b-1jtkc3v480] {
    flex: 1 1 280px;
    min-width: 240px;
}

.filter-field label[b-1jtkc3v480] {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.filter-meta[b-1jtkc3v480] {
    min-width: 120px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 0.45rem;
}

/* ----- Action-Bar ----- */
.action-bar[b-1jtkc3v480] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
    color: var(--text-strong);
}

.action-count[b-1jtkc3v480] {
    font-weight: 600;
    color: var(--accent-strong);
}

.action-buttons[b-1jtkc3v480] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-wrap: wrap;
}

/* ----- Tabellen-Details ----- */
.select-col[b-1jtkc3v480] {
    width: 2.75rem;
    text-align: center;
}

/* Markierte Zeile bekommt einen sanften Akzent-Hintergrund.
   Wir adressieren die Zellen statt der Reihe, damit das Bootstrap-
   Hover-Styling nicht hineingreift und die Auswahl überlagert. */
.row-selected td[b-1jtkc3v480] {
    background-color: var(--accent-soft) !important;
}

.row-selected:hover td[b-1jtkc3v480] {
    background-color: color-mix(in oklch, var(--accent) 20%, transparent) !important;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.page-header[b-k6mxqyacvq] {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.t-eyebrow[b-k6mxqyacvq] {
    font-size: 0.7rem;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-subtle);
}

.page-lede[b-k6mxqyacvq] {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 60ch;
}

.card-grid[b-k6mxqyacvq] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.module-card[b-k6mxqyacvq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.15rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--text-strong);
    text-decoration: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 60ms ease;
    position: relative;
    isolation: isolate;
}

.module-card:hover[b-k6mxqyacvq] {
    text-decoration: none;
    color: var(--text-strong);
}

.module-card--active[b-k6mxqyacvq] {
    cursor: pointer;
}

.module-card--active:hover[b-k6mxqyacvq] {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
}

.module-card--active:active[b-k6mxqyacvq] {
    transform: scale(0.995);
}

.module-card--soon[b-k6mxqyacvq] {
    opacity: 0.85;
}

.module-card-icon[b-k6mxqyacvq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent-strong);
    margin-bottom: 0.25rem;
}

.module-card--soon .module-card-icon[b-k6mxqyacvq] {
    background: var(--surface-2);
    color: var(--text-muted);
}

.module-card-title[b-k6mxqyacvq] {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-strong);
}

.module-card-desc[b-k6mxqyacvq] {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.module-card-cta[b-k6mxqyacvq] {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-strong);
}

.module-card-cta--muted[b-k6mxqyacvq] {
    color: var(--text-subtle);
    background: var(--surface-2);
    align-self: flex-start;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
/* /Components/Pages/MessageComposer.razor.rz.scp.css */
/* Wiederverwendete Modal-Basis aus ActionStubModal — Backdrop + Dialog-Position
   sind identisch, damit beide Modals sich konsistent anfühlen. */
.modal-backdrop[b-h5a9lkbpeo] {
    position: fixed;
    inset: 0;
    background: oklch(0.14 0.012 145 / 0.4);
    backdrop-filter: blur(2px);
    z-index: 1050;
    pointer-events: none;
    animation: composerBackdropIn-b-h5a9lkbpeo 160ms ease both;
}

@keyframes composerBackdropIn-b-h5a9lkbpeo {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-dialog.composer[b-h5a9lkbpeo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    pointer-events: auto;
    background: var(--surface);
    color: var(--text);
    width: min(640px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    animation: composerIn-b-h5a9lkbpeo 200ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes composerIn-b-h5a9lkbpeo {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 8px)) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header[b-h5a9lkbpeo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem 0.95rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2[b-h5a9lkbpeo] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-strong);
    letter-spacing: -0.01em;
}

.modal-close[b-h5a9lkbpeo] {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 0.35rem;
    border-radius: var(--radius-sm);
    transition: background 120ms ease, color 120ms ease;
}

.modal-close:hover:not(:disabled)[b-h5a9lkbpeo] {
    color: var(--text-strong);
    background: var(--surface-2);
}

.modal-close:disabled[b-h5a9lkbpeo] {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal-body[b-h5a9lkbpeo] {
    padding: 1rem 1.35rem 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.modal-footer[b-h5a9lkbpeo] {
    display: flex;
    justify-content: flex-end;
    padding: 0.9rem 1.35rem 1rem;
    border-top: 1px solid var(--border);
    gap: 0.5rem;
}

/* Composer-spezifisch ab hier ------------------------------------------- */

.composer-section[b-h5a9lkbpeo] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.05rem;
}

.composer-section > label[b-h5a9lkbpeo],
.composer-section > legend[b-h5a9lkbpeo] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-strong);
    padding: 0;
    margin: 0;
}

fieldset.composer-section[b-h5a9lkbpeo] {
    border: none;
    padding: 0;
}

.audience-options[b-h5a9lkbpeo] {
    display: grid;
    gap: 0.4rem;
}

.audience-option[b-h5a9lkbpeo] {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}

.audience-option:hover[b-h5a9lkbpeo] {
    background: var(--surface-2);
}

.audience-option input[type="radio"][b-h5a9lkbpeo] {
    margin-top: 0.2rem;
    accent-color: var(--accent);
}

.audience-option input[type="radio"]:checked + span[b-h5a9lkbpeo] {
    color: var(--text-strong);
}

.audience-option input[type="radio"]:checked ~ *[b-h5a9lkbpeo] {
    /* leeres Selector-Suffix, falls jemand Geschwister stylen will */
}

.audience-option > span[b-h5a9lkbpeo] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.audience-option > span > em[b-h5a9lkbpeo] {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hervorhebung der aktiv gewählten Option — wir können den parent <label>
   nicht direkt über :has() ansprechen in allen Browsern, also setzen wir
   die Border-Color reaktiv via einer Klasse, sobald die Radio checked ist.
   Stand 2026 unterstützt aber :has() flächendeckend. */
.audience-option:has(input[type="radio"]:checked)[b-h5a9lkbpeo] {
    border-color: var(--accent);
    background: oklch(from var(--accent) l c h / 0.06);
}

.picker-results[b-h5a9lkbpeo] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    max-height: 220px;
    overflow: auto;
    background: var(--surface);
}

.picker-result[b-h5a9lkbpeo] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    color: var(--text);
}

.picker-results li:last-child .picker-result[b-h5a9lkbpeo] {
    border-bottom: none;
}

.picker-result:hover:not(:disabled)[b-h5a9lkbpeo] {
    background: var(--surface-2);
}

.picker-result:disabled[b-h5a9lkbpeo] {
    opacity: 0.6;
    cursor: default;
}

.picker-result-name[b-h5a9lkbpeo] {
    font-weight: 500;
    color: var(--text-strong);
}

.picker-result-email[b-h5a9lkbpeo] {
    grid-column: 1;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.picker-result-flag[b-h5a9lkbpeo] {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.picker-selected[b-h5a9lkbpeo] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem 0;
    min-height: 1.5rem;
}

.picker-selected-empty[b-h5a9lkbpeo] {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.chip[b-h5a9lkbpeo] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.45rem 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-strong);
    max-width: 100%;
}

.chip-remove[b-h5a9lkbpeo] {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.15rem;
    border-radius: 50%;
}

.chip-remove:hover[b-h5a9lkbpeo] {
    color: var(--text-strong);
    background: var(--surface);
}

.field-hint[b-h5a9lkbpeo] {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.field-hint--error[b-h5a9lkbpeo] {
    color: var(--danger, oklch(0.55 0.18 25));
}

.composer-channel-hint[b-h5a9lkbpeo] {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.alert.alert-info[b-h5a9lkbpeo] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text);
}

.alert.alert-danger[b-h5a9lkbpeo] {
    background: oklch(0.95 0.06 25);
    border: 1px solid oklch(0.7 0.18 25);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
    font-size: 0.88rem;
    color: oklch(0.32 0.16 25);
    margin-bottom: 1rem;
}

.form-control[b-h5a9lkbpeo] {
    /* Stellt sicher, dass scoped CSS auch dann greift, wenn ein Wrapper
       das form-control der CompanyCombobox / Inputs umschließt. Box-Sizing
       border-box ist Standard, wird hier zur Sicherheit gesetzt. */
    box-sizing: border-box;
    width: 100%;
}

textarea.form-control[b-h5a9lkbpeo] {
    resize: vertical;
    font-family: inherit;
}
/* /Components/Pages/Mitteilungen.razor.rz.scp.css */
.page-head[b-6uh5p2sm9i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page-head h1[b-6uh5p2sm9i] {
    margin: 0;
}

.history-table[b-6uh5p2sm9i] {
    table-layout: auto;
    font-size: 0.92rem;
}

.history-when[b-6uh5p2sm9i] {
    white-space: nowrap;
    color: var(--text);
}

.history-text[b-6uh5p2sm9i] {
    /* Vermeidet, dass eine sehr lange Mitteilung die Spalte ins Endlose
       streckt. Der Body-Preview wird im Code auf BodyPreviewLength gekürzt,
       hier zusätzlich noch ein flexibler max-Wert für die Spalte. */
    max-width: 480px;
}

.history-text strong[b-6uh5p2sm9i] {
    display: block;
    color: var(--text-strong);
    margin-bottom: 0.15rem;
}

.history-body[b-6uh5p2sm9i] {
    color: var(--text-muted);
    font-size: 0.88rem;
    /* zwei-zeiliger Ellipsis mit Web-Standard-Property. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.history-stats[b-6uh5p2sm9i] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.audience-badge[b-6uh5p2sm9i] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    white-space: nowrap;
}

.audience-badge--all[b-6uh5p2sm9i] {
    background: oklch(from var(--accent) l c h / 0.1);
    border-color: oklch(from var(--accent) l c h / 0.45);
    color: var(--text-strong);
}

.audience-badge--company[b-6uh5p2sm9i] {
    background: oklch(0.94 0.04 230);
    border-color: oklch(0.74 0.1 230);
    color: oklch(0.32 0.1 230);
}

.audience-badge--users[b-6uh5p2sm9i] {
    background: oklch(0.95 0.04 80);
    border-color: oklch(0.78 0.1 80);
    color: oklch(0.36 0.1 80);
}

.empty-state[b-6uh5p2sm9i] {
    text-align: center;
}

.empty-state strong[b-6uh5p2sm9i] {
    display: block;
    color: var(--text-strong);
    margin-bottom: 0.3rem;
}
/* /Components/Pages/PairingCodesResultModal.razor.rz.scp.css */
/* Reuse derselben Backdrop/Dialog-Strategie wie ActionStubModal — siehe
   dortige Kommentare. Hier nur dialog-spezifische Anpassungen (breiter,
   weil eine Tabelle mit vier Spalten reingeht). */

.modal-backdrop[b-nxu3ur47wg] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    pointer-events: none;
}

.modal-dialog[b-nxu3ur47wg] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    pointer-events: auto;
    background: #fff;
    width: min(720px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    overflow: auto;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.modal-header[b-nxu3ur47wg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header h2[b-nxu3ur47wg] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-close[b-nxu3ur47wg] {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 0.25rem;
}

.modal-close:hover[b-nxu3ur47wg] {
    color: #000;
}

.modal-body[b-nxu3ur47wg] {
    padding: 1rem 1.25rem;
}

.modal-body p[b-nxu3ur47wg] {
    margin-bottom: 0.75rem;
}

/* Tabelle bekommt eine Maxhöhe, damit auch 200-Zeilen-Batches scrollbar
   bleiben statt das ganze Modal über den Viewport zu drücken. */
.pairing-table[b-nxu3ur47wg] {
    margin: 0;
    font-size: 0.9rem;
}

.pairing-code[b-nxu3ur47wg] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.95rem;
    background: #f5f5f5;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.status-col[b-nxu3ur47wg] {
    width: 9rem;
    white-space: nowrap;
}

.action-col[b-nxu3ur47wg] {
    width: 6.5rem;
    text-align: right;
}

.copy-btn[b-nxu3ur47wg] {
    padding: 0.125rem 0.5rem;
    font-size: 0.85rem;
}

.modal-footer[b-nxu3ur47wg] {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e5e5e5;
}
