/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-i8vbm69pbh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-i8vbm69pbh] {
    flex: 1;
}

.sidebar[b-i8vbm69pbh] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-i8vbm69pbh] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-i8vbm69pbh]  a, .top-row[b-i8vbm69pbh]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-i8vbm69pbh]  a:hover, .top-row[b-i8vbm69pbh]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-i8vbm69pbh]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-i8vbm69pbh] {
        justify-content: space-between;
    }

    .top-row[b-i8vbm69pbh]  a, .top-row[b-i8vbm69pbh]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-i8vbm69pbh] {
        flex-direction: row;
    }

    .sidebar[b-i8vbm69pbh] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-i8vbm69pbh] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-i8vbm69pbh]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-i8vbm69pbh], article[b-i8vbm69pbh] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-i8vbm69pbh] {
    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-i8vbm69pbh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-wxcvli8ubh] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-wxcvli8ubh] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-wxcvli8ubh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-wxcvli8ubh] {
    font-size: 1.1rem;
}

.bi[b-wxcvli8ubh] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-wxcvli8ubh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' 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");
}

.bi-plus-square-fill-nav-menu[b-wxcvli8ubh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-wxcvli8ubh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-wxcvli8ubh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-wxcvli8ubh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-wxcvli8ubh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-wxcvli8ubh]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-wxcvli8ubh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-wxcvli8ubh]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-wxcvli8ubh] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-wxcvli8ubh] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-wxcvli8ubh] {
        display: none;
    }

    .nav-scrollable[b-wxcvli8ubh] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-flyityc46q],
.components-reconnect-repeated-attempt-visible[b-flyityc46q],
.components-reconnect-failed-visible[b-flyityc46q],
.components-pause-visible[b-flyityc46q],
.components-resume-failed-visible[b-flyityc46q],
.components-rejoining-animation[b-flyityc46q] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-flyityc46q],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-flyityc46q],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-flyityc46q],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-flyityc46q],
#components-reconnect-modal.components-reconnect-retrying[b-flyityc46q],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-flyityc46q],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-flyityc46q],
#components-reconnect-modal.components-reconnect-failed[b-flyityc46q],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-flyityc46q] {
    display: block;
}


#components-reconnect-modal[b-flyityc46q] {
    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-flyityc46q 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-flyityc46q 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-flyityc46q 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-flyityc46q]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-flyityc46q 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-flyityc46q {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-flyityc46q {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-flyityc46q {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-flyityc46q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-flyityc46q] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-flyityc46q] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-flyityc46q] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-flyityc46q] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-flyityc46q] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-flyityc46q] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-flyityc46q 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-flyityc46q] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-flyityc46q {
    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/Pages/Dashboard.razor.rz.scp.css */
.dashboard-page[b-493sjfsdhq]{max-width:1480px;margin:0 auto;padding:var(--ds-space-7);color:var(--ds-color-text)}
.dashboard-header[b-493sjfsdhq]{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:30px;border:1px solid var(--ds-color-border);border-radius:var(--ds-radius-card);background:linear-gradient(135deg,color-mix(in srgb,var(--ds-color-primary) 12%,var(--ds-color-surface)),color-mix(in srgb,#15b8a6 10%,var(--ds-color-surface)));box-shadow:var(--ds-shadow-card)}
.dashboard-eyebrow[b-493sjfsdhq],.dashboard-section-title span[b-493sjfsdhq]{display:block;color:var(--ds-color-primary);font-size:12px;font-weight:900;letter-spacing:.14em}.dashboard-header h1[b-493sjfsdhq]{margin:5px 0 4px;font-size:clamp(34px,4vw,54px);line-height:1}.dashboard-header p[b-493sjfsdhq]{margin:0;color:var(--ds-color-text-muted);font-size:18px}.dashboard-primary[b-493sjfsdhq]{min-width:190px}
.dashboard-loading[b-493sjfsdhq]{margin-top:24px;padding:32px;border:1px solid var(--ds-color-border);border-radius:var(--ds-radius-card);background:var(--ds-color-surface);color:var(--ds-color-text-muted)}
.dashboard-stats[b-493sjfsdhq]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.dashboard-stat[b-493sjfsdhq]{position:relative;display:grid;gap:5px;min-height:148px;padding:22px;border:1px solid var(--ds-color-border);border-radius:var(--ds-radius-card);background:var(--ds-color-surface);box-shadow:var(--ds-shadow-card);color:var(--ds-color-text);text-decoration:none;overflow:hidden}.dashboard-stat[b-493sjfsdhq]::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--stat-accent,#2f80ed)}.dashboard-stat:hover[b-493sjfsdhq]{transform:translateY(-2px);border-color:var(--stat-accent,#2f80ed)}.dashboard-stat span[b-493sjfsdhq]{font-weight:800}.dashboard-stat strong[b-493sjfsdhq]{font-size:38px;line-height:1}.dashboard-stat small[b-493sjfsdhq]{align-self:end;color:var(--ds-color-text-muted)}.dashboard-stat--blue[b-493sjfsdhq]{--stat-accent:#2f80ed}.dashboard-stat--teal[b-493sjfsdhq]{--stat-accent:#0f9f8f}.dashboard-stat--green[b-493sjfsdhq]{--stat-accent:#22a06b}.dashboard-stat--amber[b-493sjfsdhq]{--stat-accent:#e59b19}.dashboard-stat--red[b-493sjfsdhq]{--stat-accent:#dc4c4c}
.dashboard-actions[b-493sjfsdhq]{margin-top:30px}.dashboard-section-title[b-493sjfsdhq]{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.dashboard-section-title h2[b-493sjfsdhq]{margin:4px 0 0;font-size:25px}.dashboard-action-grid[b-493sjfsdhq]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-action-grid>a[b-493sjfsdhq]{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:14px;padding:18px;border:1px solid var(--ds-color-border);border-radius:16px;background:var(--ds-color-surface);box-shadow:var(--ds-shadow-card);color:var(--ds-color-text);text-decoration:none}.dashboard-action-grid>a:hover[b-493sjfsdhq]{border-color:var(--ds-color-primary);background:color-mix(in srgb,var(--ds-color-primary) 5%,var(--ds-color-surface))}.dashboard-action-grid i[b-493sjfsdhq]{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:color-mix(in srgb,var(--ds-color-primary) 13%,var(--ds-color-surface));color:var(--ds-color-primary);font-style:normal;font-size:22px;font-weight:900}.dashboard-action-grid div[b-493sjfsdhq]{display:grid;gap:3px}.dashboard-action-grid strong[b-493sjfsdhq]{font-size:16px}.dashboard-action-grid span[b-493sjfsdhq]{color:var(--ds-color-text-muted);font-size:14px}.dashboard-action-grid b[b-493sjfsdhq]{color:var(--ds-color-primary);font-size:20px}
@media(max-width:980px){.dashboard-page[b-493sjfsdhq]{padding:22px}.dashboard-stats[b-493sjfsdhq]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.dashboard-page[b-493sjfsdhq]{padding:14px}.dashboard-header[b-493sjfsdhq]{align-items:stretch;flex-direction:column;padding:22px}.dashboard-header p[b-493sjfsdhq]{font-size:15px}.dashboard-primary[b-493sjfsdhq]{width:100%}.dashboard-stats[b-493sjfsdhq],.dashboard-action-grid[b-493sjfsdhq]{grid-template-columns:1fr}.dashboard-stat[b-493sjfsdhq]{min-height:125px}.dashboard-action-grid>a[b-493sjfsdhq]{grid-template-columns:42px 1fr auto;padding:15px}.dashboard-action-grid i[b-493sjfsdhq]{width:40px;height:40px}}
/* /Components/Pages/OfficeEmployees.razor.rz.scp.css */
*[b-mlbk8wwqdr] {
    box-sizing: border-box;
}

.employees-page[b-mlbk8wwqdr] {
    min-height: 100vh;
    padding: 22px 26px 40px;
}

.topbar[b-mlbk8wwqdr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.new-button[b-mlbk8wwqdr] {
    width: auto;
    min-width: 210px;
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    color: white;
    background: linear-gradient(90deg, #2771e8, #0cb9d0);
    font-weight: 800;
    cursor: pointer;
}

.toolbar[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid var(--ds-color-border);
    border-radius: 16px;
    background: var(--ds-color-surface);
}

.toolbar label[b-mlbk8wwqdr] {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #d7e1f5;
    white-space: nowrap;
    font-size: 13px;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--ds-color-border);
    border-radius: 12px;
    background: var(--ds-color-surface-subtle);
}

.search[b-mlbk8wwqdr] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(117, 143, 204, .28);
    border-radius: 13px;
    outline: none;
    color: #eef4ff;
    background: rgba(6, 15, 38, .66);
    font-size: 15px;
}

.employee-search[b-mlbk8wwqdr] {
    position: relative;
    flex: 1 1 420px;
}

.employee-search > span[b-mlbk8wwqdr] {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: #9fb0d3;
    font-size: 22px;
    pointer-events: none;
}

.employee-search .search[b-mlbk8wwqdr] {
    padding-left: 46px;
}

.search[b-mlbk8wwqdr]::placeholder {
    color: #9fb0d3;
}

.employee-list[b-mlbk8wwqdr] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.employee-card[b-mlbk8wwqdr] {
    overflow: hidden;
    border: 1px solid rgba(123, 150, 213, .20);
    border-radius: 16px;
    background: rgba(56, 75, 131, .64);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.employee-main[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 12px 16px;
    cursor: pointer;
}

.employee-main:hover[b-mlbk8wwqdr] {
    background: rgba(255, 255, 255, .025);
}

.avatar[b-mlbk8wwqdr] {
    width: 46px;
    height: 46px;
    border: 1px solid #4d7cff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, #2874ed, #7548f1);
    font-size: 15px;
    font-weight: 800;
}

.info[b-mlbk8wwqdr] {
    min-width: 0;
}

.employee-title-row[b-mlbk8wwqdr] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.info h2[b-mlbk8wwqdr] {
    margin: 0;
    overflow: hidden;
    color: #f8fbff;
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.expand-indicator[b-mlbk8wwqdr] {
    color: #91a9d8;
    font-size: 10px;
}

.info p[b-mlbk8wwqdr] {
    margin: 3px 0 0;
    color: #a7b7d7;
    font-size: 12px;
}

.badges[b-mlbk8wwqdr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.pill[b-mlbk8wwqdr] {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
}

.pill.ok[b-mlbk8wwqdr] {
    color: #78efac;
    background: rgba(22, 163, 74, .28);
}

.pill.warning[b-mlbk8wwqdr] {
    color: #ffd47d;
    background: rgba(217, 119, 6, .28);
}

.pill.danger[b-mlbk8wwqdr] {
    color: #ff9fa8;
    background: rgba(220, 38, 38, .24);
}

.pill.blue[b-mlbk8wwqdr] {
    border: 1px solid #60a5fa;
    color: #bfdbfe;
    background: #1e3a8a;
}

.pill.violet[b-mlbk8wwqdr] {
    border: 1px solid #a78bfa;
    color: #ede9fe;
    background: #5b21b6;
}

:global(html[data-theme="colorful"]) .employees-page .toolbar[b-mlbk8wwqdr] {
    background: #fff;
    border-color: #c9d8e8;
}

:global(html[data-theme="colorful"]) .employees-page .toolbar label[b-mlbk8wwqdr] {
    background: #edf4fc;
    border-color: #c9d8e8;
    color: #26364d;
}

:global(html[data-theme="colorful"]) .employees-page .pill.blue[b-mlbk8wwqdr] {
    border-color: #60a5fa;
    color: #123f75;
    background: #dbeafe;
}

:global(html[data-theme="colorful"]) .employees-page .pill.violet[b-mlbk8wwqdr] {
    border-color: #a78bfa;
    color: #5b21b6;
    background: #ede9fe;
}

.actions[b-mlbk8wwqdr] {
    display: flex;
    gap: 7px;
    align-items: center;
}

.actions button[b-mlbk8wwqdr],
.modal-actions button[b-mlbk8wwqdr],
.section button[b-mlbk8wwqdr] {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #3477e8;
    border-radius: 11px;
    color: #a9ccff;
    background: rgba(30, 64, 175, .17);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.actions button:hover[b-mlbk8wwqdr],
.modal-actions button:hover[b-mlbk8wwqdr],
.section button:hover[b-mlbk8wwqdr] {
    filter: brightness(1.15);
}

.danger-action[b-mlbk8wwqdr] {
    border-color: #df4b5a !important;
    color: #ffb1ba !important;
    background: rgba(185, 28, 28, .18) !important;
}

.cease-action[b-mlbk8wwqdr] {
    border-color: #facc15 !important;
    color: #ffffff !important;
    background: #ca8a04 !important;
    box-shadow: 0 0 0 1px rgba(250, 204, 21, .18) !important;
}

.cease-action:hover[b-mlbk8wwqdr] {
    background: #eab308 !important;
}

.status-row[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: 92px 150px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(121, 147, 204, .16);
    border-radius: 10px;
    color: var(--ds-text-muted, #aab8ce);
    font-size: 12px;
}

.status-row strong[b-mlbk8wwqdr] { color: var(--ds-text, #edf3ff); }
.empty-history[b-mlbk8wwqdr] { margin: 8px 0 0; color: var(--ds-text-muted, #9cabc3); font-size: 12px; }
.delete-warning[b-mlbk8wwqdr] { padding: 13px; border: 1px solid rgba(223, 75, 90, .45); border-radius: 12px; background: rgba(185, 28, 28, .12); }
.delete-warning p[b-mlbk8wwqdr] { margin: 7px 0 0; color: var(--ds-text-muted, #b6c2d5); line-height: 1.45; }
.delete-confirmation[b-mlbk8wwqdr] { display: grid; gap: 7px; margin-top: 14px; }
.delete-confirmation input[b-mlbk8wwqdr] { min-height: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--ds-border, #30415f); background: var(--ds-input-bg, #071127); color: var(--ds-text, #fff); }
.modal-actions button:disabled[b-mlbk8wwqdr] { opacity: .45; cursor: not-allowed; filter: none; }

.reactivate[b-mlbk8wwqdr] {
    border-color: #24a66b !important;
    color: #9ff2c7 !important;
    background: rgba(22, 101, 52, .21) !important;
}

.employee-expanded[b-mlbk8wwqdr] {
    border-top: 1px solid rgba(121, 147, 204, .18);
    background: rgba(8, 17, 42, .16);
}

.details[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 16px 0;
}

.detail[b-mlbk8wwqdr] {
    min-width: 0;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(7, 16, 39, .56);
}

.detail span[b-mlbk8wwqdr] {
    display: block;
    margin-bottom: 5px;
    color: #91a5cc;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail strong[b-mlbk8wwqdr] {
    display: block;
    overflow: hidden;
    color: #f5f8ff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subsection[b-mlbk8wwqdr] {
    margin: 10px 16px 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(7, 16, 39, .56);
    font-size: 12px;
}

.subsection > strong[b-mlbk8wwqdr] {
    display: block;
    margin-bottom: 8px;
}

.rule-row[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: 1fr .6fr 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 10px;
    color: #d9e2f4;
    background: rgba(4, 11, 28, .62);
    font-size: 11px;
}

.page-message[b-mlbk8wwqdr],
.form-error[b-mlbk8wwqdr],
.empty-state[b-mlbk8wwqdr] {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 12px;
}

.page-message.success[b-mlbk8wwqdr] {
    color: #a7f3c5;
    background: rgba(22, 101, 52, .28);
}

.page-message.error[b-mlbk8wwqdr],
.form-error[b-mlbk8wwqdr] {
    color: #fecaca;
    background: rgba(127, 29, 29, .35);
}

.empty-state[b-mlbk8wwqdr] {
    color: #cbd7ed;
    background: rgba(15, 23, 42, .55);
}

.modal-backdrop[b-mlbk8wwqdr] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 23, .78);
}

.modal[b-mlbk8wwqdr] {
    /*
       "modal" è anche una classe globale di Bootstrap, che imposta display:none
       e position:fixed. Questi valori nascondevano il popup lasciando visibile
       soltanto lo sfondo scuro.
    */
    display: block !important;
    position: relative !important;
    inset: auto !important;
    z-index: 10001;
    width: min(1040px, 96vw);
    height: auto !important;
    max-height: 92vh;
    overflow-x: visible !important;
    overflow-y: auto;
    opacity: 1 !important;
    padding: 24px;
    border: 1px solid rgba(120, 148, 211, .28);
    border-radius: 20px;
    color: #eef4ff;
    background: #142143;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.modal.small[b-mlbk8wwqdr] {
    width: min(560px, 96vw);
}

.modal-header[b-mlbk8wwqdr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.modal-header h2[b-mlbk8wwqdr] {
    margin: 0;
    font-size: 24px;
}

.modal-header button[b-mlbk8wwqdr] {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    color: white;
    background: rgba(220, 38, 38, .72);
    font-size: 23px;
    cursor: pointer;
}

.form-grid[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.field[b-mlbk8wwqdr] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.field label[b-mlbk8wwqdr] {
    color: #aebdde;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.field input[b-mlbk8wwqdr],
.field select[b-mlbk8wwqdr],
.field textarea[b-mlbk8wwqdr] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(113, 139, 198, .34);
    border-radius: 11px;
    outline: none;
    color: #f8fbff;
    background: #0b1530;
    font-size: 14px;
}

.field textarea[b-mlbk8wwqdr] {
    min-height: 96px;
    padding-top: 11px;
    resize: vertical;
}

.field input:focus[b-mlbk8wwqdr],
.field select:focus[b-mlbk8wwqdr],
.field textarea:focus[b-mlbk8wwqdr],
.search:focus[b-mlbk8wwqdr] {
    border-color: #3182f6;
    box-shadow: 0 0 0 3px rgba(49, 130, 246, .14);
}

.section[b-mlbk8wwqdr] {
    margin-top: 16px;
    padding: 15px;
    border: 1px solid rgba(113, 139, 198, .18);
    border-radius: 14px;
    background: rgba(7, 16, 39, .35);
}

.section h3[b-mlbk8wwqdr] {
    margin: 0 0 13px;
    font-size: 16px;
}

.switches[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.switch[b-mlbk8wwqdr] {
    min-height: 44px;
    padding: 9px 11px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #0b1530;
    color: #eaf0fc;
    font-size: 12px;
    font-weight: 700;
}

.switch > span[b-mlbk8wwqdr] {
    display: grid;
    gap: 4px;
}

.switch small[b-mlbk8wwqdr] {
    color: var(--ds-text-muted, #9cabc3);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.feature-status-note[b-mlbk8wwqdr] {
    margin: 12px 0 4px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--ds-warning, #d99a22) 38%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--ds-warning, #d99a22) 10%, transparent);
    color: var(--ds-text-muted, #b7c3d7);
    font-size: 12px;
    line-height: 1.45;
}

.feature-status-note strong[b-mlbk8wwqdr] {
    color: var(--ds-text, #f3f6fc);
}

.switch input[b-mlbk8wwqdr] {
    width: 18px;
    height: 18px;
    accent-color: #2877ed;
}

.modal-actions[b-mlbk8wwqdr] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.cancel[b-mlbk8wwqdr] {
    border-color: #64748b !important;
    color: #dbe4f4 !important;
    background: rgba(100, 116, 139, .18) !important;
}

.save[b-mlbk8wwqdr] {
    border: 0 !important;
    color: white !important;
    background: linear-gradient(90deg, #2873e8, #0eb5cf) !important;
}

.employee-save[b-mlbk8wwqdr] {
    min-width: 210px;
    min-height: 54px;
    padding: 13px 26px !important;
    border: 2px solid rgba(255, 255, 255, .34) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 26px rgba(14, 116, 207, .34) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.employee-save:hover[b-mlbk8wwqdr] {
    box-shadow: 0 13px 30px rgba(14, 116, 207, .46) !important;
    transform: translateY(-1px);
}

.unsaved-confirmation-backdrop[b-mlbk8wwqdr] {
    z-index: 11000;
}

.unsaved-confirmation[b-mlbk8wwqdr] {
    z-index: 11001;
}

.unsaved-confirmation p[b-mlbk8wwqdr] {
    margin: 0;
    color: var(--ds-text-muted, #cbd7ed);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .employee-main[b-mlbk8wwqdr] {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .actions[b-mlbk8wwqdr] {
        grid-column: 1 / -1;
        padding-left: 66px;
        justify-content: flex-start;
    }

    .details[b-mlbk8wwqdr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid[b-mlbk8wwqdr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .employees-page[b-mlbk8wwqdr] {
        padding: 16px;
    }

    .topbar[b-mlbk8wwqdr],
    .toolbar[b-mlbk8wwqdr] {
        grid-template-columns: 1fr;
        display: grid;
    }

    .new-button[b-mlbk8wwqdr] {
        width: 100%;
    }

    .employee-main[b-mlbk8wwqdr] {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 11px;
    }

    .avatar[b-mlbk8wwqdr] {
        width: 40px;
        height: 40px;
    }

    .actions[b-mlbk8wwqdr] {
        padding-left: 0;
        flex-wrap: wrap;
    }

    .details[b-mlbk8wwqdr],
    .form-grid[b-mlbk8wwqdr],
    .switches[b-mlbk8wwqdr],
    .rule-row[b-mlbk8wwqdr] {
        grid-template-columns: 1fr;
    }

    .status-row[b-mlbk8wwqdr] { grid-template-columns: 1fr; }
}

.credential-grid[b-mlbk8wwqdr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.credential-card[b-mlbk8wwqdr] {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(113, 139, 198, .18);
    border-radius: 14px;
    background: rgba(7, 16, 39, .42);
}

.mobile-activation-card[b-mlbk8wwqdr] { grid-column: 1 / -1; }
.credential-status[b-mlbk8wwqdr] { margin: 10px 0 0; color: var(--ds-color-text-muted); }
.activation-code[b-mlbk8wwqdr] {
    margin: 14px 0 8px;
    padding: 14px 18px;
    border: 1px dashed var(--ds-color-primary);
    border-radius: 12px;
    background: rgba(37, 99, 235, .09);
    color: var(--ds-color-text);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: .22em;
    text-align: center;
}

.credential-header[b-mlbk8wwqdr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.credential-header h4[b-mlbk8wwqdr] {
    margin: 0 0 4px;
    font-size: 16px;
}

.credential-header p[b-mlbk8wwqdr] {
    margin: 0;
    color: #aebdde;
    font-size: 11px;
    line-height: 1.4;
}

.qr-preview[b-mlbk8wwqdr] {
    display: grid;
    place-items: center;
    padding: 12px;
}

.qr-preview img[b-mlbk8wwqdr] {
    width: min(230px, 100%);
    height: auto;
    padding: 8px;
    border-radius: 10px;
    background: white;
}

.credential-code[b-mlbk8wwqdr] {
    overflow: hidden;
    padding: 9px 10px;
    border-radius: 9px;
    color: #b8c8e8;
    background: #0b1530;
    font-family: Consolas, monospace;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.credential-empty[b-mlbk8wwqdr] {
    min-height: 82px;
    display: grid;
    place-items: center;
    color: #9fb0d3;
    font-size: 12px;
}

.credential-actions[b-mlbk8wwqdr] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.credential-actions button[b-mlbk8wwqdr] {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #3477e8;
    border-radius: 11px;
    color: #a9ccff;
    background: rgba(30, 64, 175, .17);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 760px) {
    .credential-grid[b-mlbk8wwqdr] {
        grid-template-columns: 1fr;
    }
}

/* Contrasto coerente dei selettori nel tema colorato. Il riquadro resta neutro:
   soltanto il cursore comunica lo stato attivo. */
:global(html[data-theme="colorful"]) .employees-page .toolbar label[b-mlbk8wwqdr] {
    color: #17243a !important;
    background: #ffffff !important;
    border-color: #b9cbe0 !important;
}

:global(html[data-theme="colorful"]) .employees-page .switch[b-mlbk8wwqdr] {
    color: #17243a !important;
    background: #f7faff !important;
    border: 1px solid #c8d6e7;
}

:global(html[data-theme="colorful"]) .employees-page .switch small[b-mlbk8wwqdr] {
    color: #53657d !important;
}

:global(html[data-theme="colorful"]) .employees-page .switch strong[b-mlbk8wwqdr],
:global(html[data-theme="colorful"]) .employees-page .switch > span[b-mlbk8wwqdr] {
    color: #17243a !important;
}

.rules-manager-heading[b-mlbk8wwqdr],
.rule-manager-row[b-mlbk8wwqdr],
.rule-manager-actions[b-mlbk8wwqdr],
.rule-editor-actions[b-mlbk8wwqdr] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rules-manager-heading[b-mlbk8wwqdr] {
    justify-content: space-between;
    margin-bottom: 14px;
}

.rules-manager-heading h3[b-mlbk8wwqdr],
.rule-editor h4[b-mlbk8wwqdr] {
    margin: 0 0 5px;
}

.rules-list[b-mlbk8wwqdr] {
    display: grid;
    gap: 9px;
}

.rule-manager-row[b-mlbk8wwqdr] {
    justify-content: space-between;
    padding: 13px 14px;
    border: 1px solid var(--border, #c8d6e7);
    border-radius: 13px;
    background: var(--surface-soft, #f5f8fc);
}

.rule-manager-summary[b-mlbk8wwqdr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 14px;
}

.rule-manager-summary strong[b-mlbk8wwqdr] {
    color: var(--text, #17243a);
}

.rule-manager-summary span[b-mlbk8wwqdr] {
    color: var(--text-muted, #53657d);
    font-size: 13px;
}

.rule-manager-actions[b-mlbk8wwqdr] {
    flex: 0 0 auto;
}

.rule-manager-actions button:disabled[b-mlbk8wwqdr] {
    opacity: .45;
    cursor: not-allowed;
}

.rule-editor[b-mlbk8wwqdr] {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--border, #c8d6e7);
    border-radius: 14px;
    background: var(--surface, #fff);
}

.rule-editor-actions[b-mlbk8wwqdr] {
    justify-content: flex-end;
    margin-top: 14px;
}

@media (max-width: 760px) {
    .rules-manager-heading[b-mlbk8wwqdr],
    .rule-manager-row[b-mlbk8wwqdr] {
        align-items: stretch;
        flex-direction: column;
    }

    .rule-manager-actions > button[b-mlbk8wwqdr],
    .rules-manager-heading > button[b-mlbk8wwqdr] {
        flex: 1;
    }
}
/* /Components/Pages/OfficeSettings.razor.rz.scp.css */
.settings-grid[b-qk1n7jlhxf] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-5);
}

.fields-grid[b-qk1n7jlhxf] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-4) var(--ds-space-5);
}

.fields-grid--three[b-qk1n7jlhxf] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.setting-field[b-qk1n7jlhxf] {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2);
}

.setting-field__label[b-qk1n7jlhxf] {
  color: var(--ds-color-text-secondary);
  font-size: var(--ds-font-size-sm);
  font-weight: 650;
}

.setting-field__help[b-qk1n7jlhxf] {
  margin: 0;
  color: var(--ds-color-text-muted);
  font-size: var(--ds-font-size-xs);
  line-height: 1.4;
}

.setting-field input[type="number"][b-qk1n7jlhxf] {
  width: 100%;
  min-height: var(--ds-control-height);
  padding: 0 var(--ds-space-3);
  border: 1px solid var(--ds-color-border-strong);
  border-radius: var(--ds-radius-control);
  outline: none;
  background: rgba(2, 6, 23, .7);
  color: var(--ds-color-text);
}

.setting-field input:disabled[b-qk1n7jlhxf] { color: var(--ds-color-text-disabled); cursor: not-allowed; opacity: .65; }

.input-with-unit[b-qk1n7jlhxf] {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--ds-color-border-strong);
  border-radius: var(--ds-radius-control);
  background: rgba(2, 6, 23, .7);
}

.input-with-unit:focus-within[b-qk1n7jlhxf] { border-color: #60a5fa; box-shadow: var(--ds-shadow-focus); }
.input-with-unit input[type="number"][b-qk1n7jlhxf] { min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.input-with-unit span[b-qk1n7jlhxf] { display: inline-flex; align-items: center; padding: 0 var(--ds-space-3); border-left: 1px solid var(--ds-color-border); background: rgba(148,163,184,.07); color: var(--ds-color-text-muted); font-size: var(--ds-font-size-xs); font-weight: 700; }

.switch-card[b-qk1n7jlhxf] {
  grid-column: 1 / -1;
  min-height: 4rem;
  padding: var(--ds-space-3) var(--ds-space-4);
  border: 1px solid var(--ds-color-border);
  border-radius: var(--ds-radius-control);
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  background: rgba(255,255,255,.025);
  cursor: pointer;
}

.switch-card input[b-qk1n7jlhxf] { width: 1.125rem; height: 1.125rem; flex: 0 0 auto; accent-color: var(--ds-color-primary); }
.switch-card__copy[b-qk1n7jlhxf] { display: flex; flex-direction: column; gap: var(--ds-space-1); }
.switch-card__copy strong[b-qk1n7jlhxf] { color: var(--ds-color-text); font-size: var(--ds-font-size-sm); }
.switch-card__copy span[b-qk1n7jlhxf] { color: var(--ds-color-text-muted); font-size: var(--ds-font-size-xs); line-height: 1.4; }

.settings-footer[b-qk1n7jlhxf] { display: flex; justify-content: flex-end; margin-top: var(--ds-space-6); padding: var(--ds-space-4); border: 1px solid var(--ds-color-border); border-radius: var(--ds-radius-card); background: var(--ds-color-surface-elevated, var(--ds-color-surface)); box-shadow: var(--ds-shadow-card); }
.app-distribution[b-qk1n7jlhxf] { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: var(--ds-space-5); align-items: center; }
.app-distribution > img[b-qk1n7jlhxf] { width: 190px; aspect-ratio: 1; padding: 8px; border: 1px solid var(--ds-color-border); border-radius: 18px; background: #fff; }
.app-distribution > div[b-qk1n7jlhxf] { display: grid; justify-items: start; gap: 10px; }
.app-distribution p[b-qk1n7jlhxf], .app-distribution small[b-qk1n7jlhxf] { margin: 0; color: var(--ds-color-text-muted); line-height: 1.5; }
.app-distribution code[b-qk1n7jlhxf] { max-width: 100%; padding: 8px 10px; overflow-wrap: anywhere; border-radius: 9px; background: var(--ds-color-surface-soft); color: var(--ds-color-text); }

@media (max-width: 1280px) {
  .settings-grid[b-qk1n7jlhxf] { grid-template-columns: 1fr; }
  .fields-grid--three[b-qk1n7jlhxf] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .fields-grid[b-qk1n7jlhxf],
  .fields-grid--three[b-qk1n7jlhxf] { grid-template-columns: 1fr; }
  .settings-footer .ds-btn[b-qk1n7jlhxf] { width: 100%; }
  .app-distribution[b-qk1n7jlhxf] { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .app-distribution > div[b-qk1n7jlhxf] { justify-items: center; }
}

.settings-grid > *[b-qk1n7jlhxf] { min-width: 0; }

@media (max-width: 860px) {
  .fields-grid[b-qk1n7jlhxf] { grid-template-columns: 1fr; }
  .switch-card[b-qk1n7jlhxf] { align-items: flex-start; }
}
