/* /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;
    position: fixed;
    inset: 0.75rem 0.75rem auto auto;
    width: min(20rem, calc(100vw - 1.5rem));
    margin: 0;
    padding: 1rem 1.25rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.12s allow-discrete, overlay 0.12s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-flyityc46q 0.12s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-flyityc46q .18s ease-out, components-reconnect-modal-fadeInOpacity-b-flyityc46q .12s ease-out;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-flyityc46q]::backdrop {
    background: transparent;
}

@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;
}

.recovery-localized > span[b-flyityc46q] { display: none; }
.recovery-localized > span[lang="it"][b-flyityc46q] { display: inline; }
html[lang^="en"] .recovery-localized > span[lang="it"][b-flyityc46q],
html[lang^="ro"] .recovery-localized > span[lang="it"][b-flyityc46q],
html[lang^="mo"] .recovery-localized > span[lang="it"][b-flyityc46q],
html[lang^="es"] .recovery-localized > span[lang="it"][b-flyityc46q] { display: none; }
html[lang^="en"] .recovery-localized > span[lang="en"][b-flyityc46q],
html[lang^="ro"] .recovery-localized > span[lang="ro"][b-flyityc46q],
html[lang^="mo"] .recovery-localized > span[lang="mo"][b-flyityc46q],
html[lang^="es"] .recovery-localized > span[lang="es"][b-flyityc46q] { display: inline; }

#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;color:var(--ds-color-text);text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}.dashboard-stat:hover[b-493sjfsdhq]{transform:translateY(-2px);box-shadow:0 15px 32px rgba(36,58,86,.15)!important}.dashboard-stat small[b-493sjfsdhq]{color:var(--ds-color-text-muted);font-size:13px;line-height:1.25}
.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}
.dashboard-action-grid :is(.factory-icon,.calendar-icon,.attendance-icon,.umbrella-icon,.monitor-icon,.analytics-icon,.training-icon) svg[b-493sjfsdhq]{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@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}}

/* Impaginazione coerente con le altre pagine Office. */
.dashboard-page[b-493sjfsdhq]{box-sizing:border-box;width:100%;max-width:1500px;margin:0 auto;padding:28px}
.dashboard-welcome[b-493sjfsdhq]{display:flex;width:100%;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:28px 24px;text-align:center;border:1px solid var(--ds-color-border);border-radius:var(--ds-radius-card);background:var(--ds-color-surface);box-shadow:var(--ds-shadow-card)}
.dashboard-welcome-logo[b-493sjfsdhq]{display:block;width:min(600px,78vw);height:auto;max-height:190px;object-fit:contain;margin:0 auto;border-radius:0!important;background:transparent!important}
.dashboard-welcome-title[b-493sjfsdhq]{margin:0!important;color:var(--ds-color-text)!important;font-family:"Bahnschrift SemiCondensed","Arial Narrow",var(--ds-font-family)!important;font-size:clamp(30px,3.8vw,48px)!important;font-weight:700!important;line-height:1!important;letter-spacing:.045em!important;text-align:center!important}
.dashboard-stats[b-493sjfsdhq]{margin-top:28px}
.dashboard-actions[b-493sjfsdhq]{margin-top:28px}
@media(max-width:980px){.dashboard-page[b-493sjfsdhq]{padding:28px}}
@media(max-width:680px){.dashboard-page[b-493sjfsdhq]{padding:18px}.dashboard-welcome[b-493sjfsdhq]{gap:14px;padding:22px 14px}.dashboard-welcome-logo[b-493sjfsdhq]{width:min(420px,86vw);max-height:140px}.dashboard-welcome-title[b-493sjfsdhq]{font-size:clamp(27px,8vw,38px)!important}.dashboard-stats[b-493sjfsdhq],.dashboard-actions[b-493sjfsdhq]{margin-top:22px}}
/* /Components/Pages/EmployeePayslips.razor.rz.scp.css */
.payslips-page[b-byv8ivxa2f] {
    --payslip-accent: var(--mh-primary, #185abd);
    --payslip-accent-soft: color-mix(in srgb, var(--payslip-accent) 13%, var(--mh-surface, #fff));
    --payslip-accent-border: color-mix(in srgb, var(--payslip-accent) 32%, var(--mh-border, #cfdae7));
    --payslip-danger: color-mix(in srgb, #dc2626 74%, var(--mh-text, #172033));
    --payslip-danger-soft: color-mix(in srgb, #ef4444 13%, var(--mh-surface, #fff));
    --payslip-danger-border: color-mix(in srgb, #ef4444 42%, var(--mh-border, #cfdae7));
    --payslip-ochre: color-mix(in srgb, #c97a00 76%, var(--mh-text, #172033));
    --payslip-ochre-soft: color-mix(in srgb, #e6a625 20%, var(--mh-surface, #fff));
    --payslip-ochre-border: color-mix(in srgb, #d99a24 70%, var(--mh-border, #cfdae7));
    box-sizing: border-box;
    display: grid;
    align-content: start;
    gap: 1rem;
    width: min(100%, 780px);
    min-height: 100dvh;
    margin: 0 auto;
    padding: 1rem 1rem 4rem;
    color: var(--mh-text, #172033);
}

.payslips-page *[b-byv8ivxa2f],
.payslips-page *[b-byv8ivxa2f]::before,
.payslips-page *[b-byv8ivxa2f]::after {
    box-sizing: border-box;
}

.payslip-state-icon svg[b-byv8ivxa2f],
.payslip-year-icon svg[b-byv8ivxa2f],
.payslip-action svg[b-byv8ivxa2f] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payslips-archive-heading span[b-byv8ivxa2f],
.payslip-preview > header div > span[b-byv8ivxa2f] {
    display: block;
    font-size: .68rem;
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: .105em;
}

.payslips-page-header[b-byv8ivxa2f] {
    padding: .4rem .25rem .85rem;
}

.payslips-page-header h1[b-byv8ivxa2f] {
    margin: 0;
    color: var(--mh-text, #172033);
    font-size: clamp(2rem, 8vw, 2.65rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.payslips-page-header p[b-byv8ivxa2f] {
    margin: .45rem 0 0;
    color: var(--mh-text-muted, #66758a);
    font-size: 1rem;
    line-height: 1.4;
}

.payslips-archive[b-byv8ivxa2f] {
    display: grid;
    gap: .75rem;
}

.payslips-archive-heading[b-byv8ivxa2f] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: .3rem .2rem 0;
}

.payslips-archive-heading span[b-byv8ivxa2f],
.payslip-preview > header div > span[b-byv8ivxa2f] {
    color: var(--mh-primary, #185abd);
}

.payslips-archive-heading h2[b-byv8ivxa2f] {
    margin: .18rem 0 0;
    color: var(--mh-text, #172033);
    font-size: 1.2rem;
    line-height: 1.15;
}

.payslip-year-list[b-byv8ivxa2f] {
    display: grid;
    gap: .8rem;
}

.payslip-year-group[b-byv8ivxa2f] {
    overflow: hidden;
    border: 1px solid var(--mh-border, #cfdae7);
    border-radius: 21px;
    background: var(--mh-surface, #fff);
    color: var(--mh-text, #172033);
    box-shadow: 0 9px 26px rgba(48, 76, 110, .09);
}

.payslip-year-summary[b-byv8ivxa2f] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .75rem;
    min-height: 82px;
    padding: .8rem .9rem;
    list-style: none outside none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.payslip-year-summary[b-byv8ivxa2f]::marker {
    content: "";
}

.payslip-year-summary[b-byv8ivxa2f]::-webkit-details-marker {
    display: none;
}

.payslip-year-summary:focus-visible[b-byv8ivxa2f] {
    outline: 3px solid rgba(37, 99, 235, .2);
    outline-offset: -3px;
}

.payslip-year-icon[b-byv8ivxa2f] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--payslip-accent-border);
    border-radius: 15px;
    color: var(--payslip-accent);
    background: var(--payslip-accent-soft);
}

.payslip-year-icon svg[b-byv8ivxa2f] {
    width: 25px;
    height: 25px;
}

.payslip-year-heading[b-byv8ivxa2f] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.payslip-year-heading small[b-byv8ivxa2f] {
    color: var(--mh-text-muted, #66758a);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.payslip-year-heading strong[b-byv8ivxa2f] {
    margin-top: .08rem;
    color: var(--mh-text, #172033);
    font-size: 1.42rem;
    line-height: 1.05;
}

.payslip-year-meta[b-byv8ivxa2f] {
    color: var(--mh-text-muted, #66758a);
    font-size: .78rem;
    font-weight: 750;
    white-space: nowrap;
}

.payslip-year-chevron[b-byv8ivxa2f] {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--payslip-accent-border);
    border-radius: 50%;
    color: var(--payslip-accent);
    background: var(--payslip-accent-soft);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    transition: transform .18s ease, background-color .18s ease;
}

.payslip-year-group[open] .payslip-year-summary[b-byv8ivxa2f] {
    border-bottom: 1px solid var(--mh-border, #dbe3ed);
}

.payslip-year-group[open] .payslip-year-chevron[b-byv8ivxa2f] {
    transform: rotate(90deg);
    color: var(--mh-surface, #fff);
    border-color: var(--payslip-accent);
    background: var(--payslip-accent);
}

.payslip-month-list[b-byv8ivxa2f] {
    display: grid;
    gap: .75rem;
    padding: .75rem;
    background: var(--mh-surface-soft, #f2f7fc);
}

.payslip-month-card[b-byv8ivxa2f] {
    overflow: hidden;
    border: 1px solid var(--mh-border, #dbe3ed);
    border-radius: 17px;
    background: var(--mh-surface, #fff);
}

.payslip-month-heading[b-byv8ivxa2f] {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .78rem .85rem;
}

.payslip-month-number[b-byv8ivxa2f] {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--payslip-accent);
    background: var(--payslip-accent-soft);
    font-size: .85rem;
    font-weight: 950;
}

.payslip-month-heading > span:last-child[b-byv8ivxa2f],
.payslip-month-heading strong[b-byv8ivxa2f],
.payslip-month-heading small[b-byv8ivxa2f] {
    display: block;
    min-width: 0;
}

.payslip-month-heading strong[b-byv8ivxa2f] {
    color: var(--mh-text, #172033);
    font-size: 1.02rem;
    line-height: 1.15;
}

.payslip-month-heading small[b-byv8ivxa2f] {
    margin-top: .15rem;
    color: var(--mh-text-muted, #66758a);
    font-size: .74rem;
}

.payslip-month-documents[b-byv8ivxa2f] {
    border-top: 1px solid var(--mh-border, #dbe3ed);
}

.payslip-document-row[b-byv8ivxa2f] {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: .72rem;
    min-width: 0;
    padding: .85rem;
}

.payslip-document-row + .payslip-document-row[b-byv8ivxa2f] {
    border-top: 1px dashed var(--mh-border, #dbe3ed);
}

.payslip-pdf-icon[b-byv8ivxa2f] {
    position: relative;
    display: grid;
    place-items: end center;
    width: 40px;
    height: 48px;
    padding-bottom: 7px;
    border: 1px solid var(--payslip-danger-border);
    border-radius: 9px;
    color: var(--payslip-danger);
    background: var(--payslip-danger-soft);
}

.payslip-pdf-icon[b-byv8ivxa2f]::after {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    content: "";
    border-bottom: 1px solid var(--payslip-danger-border);
    border-left: 1px solid var(--payslip-danger-border);
    border-radius: 0 8px 0 5px;
    background: var(--mh-surface, #fff);
}

.payslip-pdf-icon b[b-byv8ivxa2f] {
    font-size: .62rem;
    letter-spacing: .04em;
}

.payslip-document-info[b-byv8ivxa2f] {
    display: grid;
    min-width: 0;
}

.payslip-document-info strong[b-byv8ivxa2f] {
    color: var(--mh-text, #172033);
    font-size: .9rem;
}

.payslip-document-info > span[b-byv8ivxa2f] {
    overflow: hidden;
    margin-top: .12rem;
    color: var(--mh-text-muted, #52647a);
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payslip-document-info small[b-byv8ivxa2f] {
    margin-top: .16rem;
    color: var(--mh-text-muted, #728197);
    font-size: .7rem;
}

.payslip-document-actions[b-byv8ivxa2f] {
    display: flex;
    gap: .45rem;
}

.payslip-action[b-byv8ivxa2f],
.payslip-retry[b-byv8ivxa2f],
.payslip-preview > header button[b-byv8ivxa2f] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .55rem .8rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.payslip-action svg[b-byv8ivxa2f] {
    width: 18px;
    height: 18px;
}

.payslip-open[b-byv8ivxa2f] {
    color: var(--mh-surface, #fff);
    border-color: var(--payslip-accent);
    background: var(--payslip-accent);
}

.payslip-download[b-byv8ivxa2f] {
    color: var(--payslip-ochre);
    border-color: var(--payslip-ochre-border);
    background: var(--payslip-ochre-soft);
}

.payslip-action:disabled[b-byv8ivxa2f] {
    opacity: .55;
    cursor: wait;
}

.payslip-state-card[b-byv8ivxa2f] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--mh-border, #dbe3ed);
    border-radius: 20px;
    background: var(--mh-surface, #fff);
    box-shadow: 0 9px 26px rgba(48, 76, 110, .08);
}

.payslip-state-card strong[b-byv8ivxa2f],
.payslip-state-card p[b-byv8ivxa2f] {
    display: block;
    margin: 0;
}

.payslip-state-card p[b-byv8ivxa2f] {
    margin-top: .2rem;
    color: var(--mh-text-muted, #66758a);
    font-size: .83rem;
}

.payslip-state-icon[b-byv8ivxa2f],
.payslip-spinner[b-byv8ivxa2f] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: var(--payslip-accent);
    background: var(--payslip-accent-soft);
    font-size: 1.25rem;
    font-weight: 950;
}

.payslip-state-icon svg[b-byv8ivxa2f] {
    width: 25px;
    height: 25px;
}

.payslip-state-card--error[b-byv8ivxa2f] {
    border-color: var(--payslip-danger-border);
    background: var(--payslip-danger-soft);
}

.payslip-state-card--error .payslip-state-icon[b-byv8ivxa2f] {
    color: var(--payslip-danger);
    background: color-mix(in srgb, #ef4444 20%, var(--mh-surface, #fff));
}

.payslip-retry[b-byv8ivxa2f] {
    color: var(--payslip-danger);
    border-color: var(--payslip-danger-border);
    background: var(--mh-surface, #fff);
}

.payslip-spinner[b-byv8ivxa2f],
.payslip-mini-spinner[b-byv8ivxa2f] {
    border: 3px solid var(--payslip-accent-soft);
    border-top-color: var(--payslip-accent);
    border-radius: 50%;
    background: transparent;
    animation: payslip-spin-b-byv8ivxa2f .8s linear infinite;
}

.payslip-mini-spinner[b-byv8ivxa2f] {
    width: 22px;
    height: 22px;
}

@keyframes payslip-spin-b-byv8ivxa2f {
    to { transform: rotate(360deg); }
}

.payslip-preview[b-byv8ivxa2f] {
    overflow: hidden;
    padding: .9rem;
    border: 1px solid var(--mh-border, #dbe3ed);
    border-radius: 21px;
    background: var(--mh-surface, #fff);
    box-shadow: 0 12px 32px rgba(48, 76, 110, .12);
}

.payslip-preview > header[b-byv8ivxa2f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--mh-border, #dbe3ed);
}

.payslip-preview > header div[b-byv8ivxa2f] {
    display: grid;
    min-width: 0;
}

.payslip-preview > header strong[b-byv8ivxa2f] {
    overflow: hidden;
    margin-top: .18rem;
    color: var(--mh-text, #172033);
    font-size: .88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payslip-preview > header button[b-byv8ivxa2f] {
    flex: 0 0 auto;
    color: var(--mh-text, #334155);
    border-color: var(--mh-border, #cbd5e1);
    background: var(--mh-surface-soft, #f8fafc);
}

.payslip-preview > header button span[b-byv8ivxa2f] {
    font-size: 1.25rem;
    line-height: .7;
}

@media (hover: hover) {
    .payslip-year-summary:hover[b-byv8ivxa2f] {
        background: var(--mh-surface-soft, #f7faff);
    }

    .payslip-action:hover[b-byv8ivxa2f],
    .payslip-retry:hover[b-byv8ivxa2f],
    .payslip-preview > header button:hover[b-byv8ivxa2f] {
        transform: translateY(-1px);
    }
}

@media (max-width: 640px) {
    .payslips-page[b-byv8ivxa2f] {
        width: 100%;
        gap: .9rem;
        padding-right: .75rem;
        padding-bottom: 3rem;
        padding-left: .75rem;
    }

    .payslips-page-header[b-byv8ivxa2f] {
        padding-right: .2rem;
        padding-bottom: .65rem;
        padding-left: .2rem;
    }

    .payslip-year-summary[b-byv8ivxa2f] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: .65rem;
        min-height: 76px;
        padding: .7rem .75rem;
    }

    .payslip-year-icon[b-byv8ivxa2f] {
        width: 43px;
        height: 43px;
        border-radius: 14px;
    }

    .payslip-year-meta[b-byv8ivxa2f] {
        display: none;
    }

    .payslip-year-heading[b-byv8ivxa2f]::after {
        color: var(--mh-text-muted, #66758a);
        font-size: .7rem;
        font-weight: 700;
        line-height: 1.1;
        margin-top: .16rem;
        content: attr(data-months);
    }

    .payslip-month-list[b-byv8ivxa2f] {
        padding: .65rem;
    }

    .payslip-document-row[b-byv8ivxa2f] {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: .65rem;
        padding: .78rem;
    }

    .payslip-document-actions[b-byv8ivxa2f] {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: .15rem;
    }

    .payslip-action[b-byv8ivxa2f] {
        width: 100%;
    }

    .payslip-state-card[b-byv8ivxa2f] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .payslip-state-card .payslip-retry[b-byv8ivxa2f] {
        grid-column: 1 / -1;
        width: 100%;
    }
}
/* /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: var(--mh-text-xs, .75rem);
    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: 1px solid var(--mh-border-strong, #91aac5);
    border-radius: 10px;
    color: var(--mh-text, #edf3ff);
    background: var(--mh-surface-soft, #132943);
    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/OfficePayslips.razor.rz.scp.css */
.payslips-page[b-10fgw83ebq] { display:grid; align-content:start; align-items:start; grid-auto-rows:max-content; gap:1rem; padding:1rem; }
.payslip-grid[b-10fgw83ebq] { display:grid; align-items:start; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:1rem; }
.panel[b-10fgw83ebq] { padding:1rem; border:1px solid var(--ds-border,#dbe3ed); border-radius:var(--mh-radius-md,1rem); background:var(--ds-surface,#fff); color:var(--ds-text,#182638); min-width:0; }
label[b-10fgw83ebq] { display:block; margin:.75rem 0; }
select[b-10fgw83ebq] { width:100%; min-height:44px; }
button[b-10fgw83ebq] { min-height:44px; margin:.3rem; }
.error[b-10fgw83ebq] { color:var(--danger,#b42318); }
.matec-file-picker[b-10fgw83ebq] { position:relative; display:flex; align-items:center; width:min(100%,42rem); min-height:3.25rem; margin:1rem 0; overflow:hidden; border:1px solid var(--ds-border,#cbd5e1); border-radius:var(--mh-radius-sm,.65rem); background:var(--ds-surface,#fff); cursor:pointer; }
.matec-file-picker:focus-within[b-10fgw83ebq] { outline:3px solid color-mix(in srgb,var(--ds-color-primary,#185abd) 35%,transparent); outline-offset:2px; }
.matec-file-picker.disabled[b-10fgw83ebq] { opacity:.58; cursor:not-allowed; }
/* InputFile renders a child component: anchor scoped CSS to the parent label. */
.matec-file-picker[b-10fgw83ebq]  input[type="file"] { position:absolute; inset:0; z-index:2; width:100%; height:100%; opacity:0; cursor:pointer; }
.matec-file-picker[b-10fgw83ebq]  input[type="file"]:disabled { cursor:not-allowed; clip-path:inset(50%); }
.matec-file-button[b-10fgw83ebq] { align-self:stretch; display:flex; align-items:center; gap:.4rem; padding:.75rem 1rem; color:#fff; background:linear-gradient(135deg,var(--ds-color-primary,#185abd),var(--ds-color-accent,#0891b2)); font-weight:800; white-space:nowrap; }
.matec-file-button > span[b-10fgw83ebq] { font-size:1.25rem; line-height:1; }
.matec-file-name[b-10fgw83ebq] { min-width:0; padding:.75rem 1rem; overflow:hidden; color:var(--ds-text-muted,#5f6f83); text-overflow:ellipsis; white-space:nowrap; }
.payslip-table-wrap[b-10fgw83ebq] { width:100%; overflow-x:auto; margin:1rem 0; }
.payslip-table[b-10fgw83ebq] { width:100%; border-collapse:separate; border-spacing:0; }
.payslip-table th[b-10fgw83ebq],.payslip-table td[b-10fgw83ebq] { padding:.7rem; text-align:left; vertical-align:middle; border-bottom:1px solid var(--ds-border,#dbe3ed); }
.payslip-table th[b-10fgw83ebq] { white-space:nowrap; color:var(--ds-text-muted,#5f6f83); }
.payslip-table td > small[b-10fgw83ebq] { display:block; margin-top:.25rem; }
.payslip-table tr.ignored[b-10fgw83ebq] { opacity:.58; background:var(--ds-surface-muted,#edf3f9); }
.send-toggle[b-10fgw83ebq] { display:inline-flex; align-items:center; gap:.45rem; margin:0; cursor:pointer; }
.send-toggle input[b-10fgw83ebq] { position:absolute; opacity:0; pointer-events:none; }
.send-toggle span[b-10fgw83ebq] { position:relative; width:2.9rem; height:1.55rem; border-radius:999px; background:#8896a8; transition:.15s ease; }
.send-toggle span[b-10fgw83ebq]::after { content:""; position:absolute; width:1.15rem; height:1.15rem; left:.2rem; top:.2rem; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0005; transition:.15s ease; }
.send-toggle input:checked + span[b-10fgw83ebq] { background:var(--ds-color-primary,#185abd); }
.send-toggle input:checked + span[b-10fgw83ebq]::after { transform:translateX(1.35rem); }
.send-toggle input:focus-visible + span[b-10fgw83ebq] { outline:3px solid var(--ds-color-focus,#60a5fa); outline-offset:2px; }
.send-toggle input:disabled + span[b-10fgw83ebq] { cursor:not-allowed; }
.archive-filters[b-10fgw83ebq] { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin:.5rem 0 1rem; }
.archive-filters label:first-child[b-10fgw83ebq] { flex:1 1 18rem; max-width:34rem; }
.archive-filters input[type="search"][b-10fgw83ebq] { display:block; width:100%; min-height:44px; }
.terminated-toggle[b-10fgw83ebq] { display:inline-flex; align-items:center; gap:.55rem; cursor:pointer; }
.terminated-toggle input[b-10fgw83ebq] { position:absolute; opacity:0; pointer-events:none; }
.terminated-toggle span[b-10fgw83ebq] { position:relative; width:2.9rem; height:1.55rem; border-radius:999px; background:#8896a8; }
.terminated-toggle span[b-10fgw83ebq]::after { content:""; position:absolute; width:1.15rem; height:1.15rem; left:.2rem; top:.2rem; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0005; transition:.15s ease; }
.terminated-toggle input:checked + span[b-10fgw83ebq] { background:var(--ds-color-primary,#185abd); }
.terminated-toggle input:checked + span[b-10fgw83ebq]::after { transform:translateX(1.35rem); }
.terminated-toggle input:focus-visible + span[b-10fgw83ebq] { outline:3px solid var(--ds-color-focus,#60a5fa); outline-offset:2px; }
.terminated-badge[b-10fgw83ebq] { display:inline-block; margin-left:.4rem; padding:.15rem .45rem; border-radius:999px; background:var(--mh-warning-bg,#fff2cc); color:var(--mh-warning,#8a4b00); font-weight:700; font-size:.75rem; }
.payslip-period-list[b-10fgw83ebq] { display:grid; gap:.75rem; }
.payslip-period-group[b-10fgw83ebq] { overflow:hidden; border:1px solid var(--ds-border,#dbe3ed); border-radius:var(--mh-radius-md,1rem); background:var(--ds-surface,#fff); }
.payslip-period-group > summary[b-10fgw83ebq] { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:4.5rem; padding:1rem 1.15rem; cursor:pointer; list-style:none; background:var(--ds-surface-muted,#edf3f9); }
.payslip-period-group > summary[b-10fgw83ebq]::-webkit-details-marker { display:none; }
.payslip-period-group > summary:hover[b-10fgw83ebq] { background:color-mix(in srgb,var(--ds-color-primary,#185abd) 8%,var(--ds-surface-muted,#edf3f9)); }
.payslip-period-group > summary:focus-visible[b-10fgw83ebq] { outline:3px solid var(--ds-color-focus,#60a5fa); outline-offset:-3px; }
.period-heading[b-10fgw83ebq] { display:flex; align-items:center; gap:.75rem; font-size:1.15rem; }
.period-chevron[b-10fgw83ebq] { display:inline-grid; place-items:center; width:1.7rem; height:1.7rem; border-radius:50%; color:#fff; background:var(--ds-color-primary,#185abd); font-size:1.5rem; line-height:1; transition:transform .15s ease; }
.payslip-period-group[open] .period-chevron[b-10fgw83ebq] { transform:rotate(90deg); }
.period-count[b-10fgw83ebq] { padding:.35rem .7rem; border-radius:999px; color:var(--ds-color-primary,#185abd); background:var(--ds-surface,#fff); font-weight:800; white-space:nowrap; }
.payslip-period-employees[b-10fgw83ebq] { display:grid; padding:0 1.15rem; }
.payslip-period-employee[b-10fgw83ebq] { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:4rem; padding:.55rem 0; border-top:1px solid var(--ds-border,#dbe3ed); }
.payslip-period-employee:first-child[b-10fgw83ebq] { border-top:0; }
.payslip-period-employee button[b-10fgw83ebq] { flex:0 0 auto; }
.payslip-preview[b-10fgw83ebq] { position:relative; margin:1.25rem 0; overflow:hidden; border:1px solid var(--ds-border,#dbe3ed); border-radius:var(--mh-radius-md,1rem); background:var(--ds-surface-muted,#edf3f9); }
.payslip-preview > header[b-10fgw83ebq] { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem; border-bottom:1px solid var(--ds-border,#dbe3ed); }
.payslip-preview h3[b-10fgw83ebq],.payslip-preview p[b-10fgw83ebq] { margin:0; }
.preview-actions[b-10fgw83ebq] { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.35rem; }
.preview-actions span[b-10fgw83ebq] { min-width:3.5rem; text-align:center; }
.payslip-preview iframe[b-10fgw83ebq] { display:block; width:100%; height:min(76vh,920px); min-height:560px; border:0; background:#fff; }
.preview-empty[b-10fgw83ebq] { display:grid; place-items:center; align-content:center; gap:.5rem; height:min(76vh,920px); min-height:560px; padding:2rem; text-align:center; color:var(--ds-text-muted,#5f6f83); background:var(--ds-surface,#fff); }
.preview-empty span[b-10fgw83ebq] { display:grid; place-items:center; width:4.5rem; height:5.5rem; border:2px solid currentColor; border-radius:.5rem; font-weight:800; }
.preview-empty strong[b-10fgw83ebq] { color:var(--ds-text,#182638); font-size:1.3rem; }
.preview-empty p[b-10fgw83ebq] { margin:0; }
@media (max-width:760px) {
  .matec-file-picker[b-10fgw83ebq] { align-items:stretch; flex-direction:column; }
  .matec-file-button[b-10fgw83ebq] { justify-content:center; }
  .matec-file-name[b-10fgw83ebq] { text-align:center; }
  .payslip-table[b-10fgw83ebq],.payslip-table tbody[b-10fgw83ebq],.payslip-table tr[b-10fgw83ebq],.payslip-table td[b-10fgw83ebq] { display:block; width:100%; }
  .payslip-table thead[b-10fgw83ebq] { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .payslip-table tr[b-10fgw83ebq] { margin-bottom:.8rem; padding:.65rem; border:1px solid var(--ds-border,#dbe3ed); border-radius:var(--mh-radius-md,1rem); }
  .payslip-table td[b-10fgw83ebq] { display:grid; grid-template-columns:minmax(7.5rem,35%) minmax(0,1fr); gap:.6rem; padding:.55rem; border:0; }
  .payslip-table td[b-10fgw83ebq]::before { content:attr(data-label); color:var(--ds-text-muted,#5f6f83); font-weight:700; }
  .payslip-preview > header[b-10fgw83ebq] { align-items:stretch; flex-direction:column; }
  .preview-actions[b-10fgw83ebq] { justify-content:flex-start; }
  .payslip-preview iframe[b-10fgw83ebq] { height:68vh; min-height:460px; }
  .preview-empty[b-10fgw83ebq] { height:50vh; min-height:360px; }
  .payslip-period-group > summary[b-10fgw83ebq] { align-items:flex-start; flex-direction:column; gap:.55rem; }
  .payslip-period-employee[b-10fgw83ebq] { align-items:flex-start; flex-direction:column; padding:.8rem 0; }
  .payslip-period-employee button[b-10fgw83ebq] { width:100%; margin:.2rem 0; }
}
/* /Components/Pages/OfficeSettings.razor.rz.scp.css */
.settings-sections[b-qk1n7jlhxf] {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-5, 1.25rem);
}

.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: var(--ds-color-surface-soft);
  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: var(--ds-color-surface-soft);
}

.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: var(--ds-color-surface-soft);
  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; }
}
/* /Components/Pages/OfficeUserManual.razor.rz.scp.css */
.manual-notice[b-ibhz0u8efg],.manual-search[b-ibhz0u8efg],.manual-index[b-ibhz0u8efg],.manual-chapter[b-ibhz0u8efg]{background:var(--mh-surface,var(--ds-surface,#fff));color:var(--mh-text,var(--ds-text,#16243c));border:1px solid var(--mh-border,#b9c9df);border-radius:16px;padding:24px;min-width:0}
.manual-notice[b-ibhz0u8efg]{margin-bottom:16px;line-height:1.6}
.manual-action[b-ibhz0u8efg]{display:inline-flex;justify-content:center;align-items:center;padding:12px 18px!important;min-height:48px;margin:4px;white-space:normal;text-align:center}
.manual-search[b-ibhz0u8efg]{margin-bottom:24px}
.manual-search label[b-ibhz0u8efg]{display:block;font-weight:700;margin-bottom:8px;text-transform:none}
.manual-search-row[b-ibhz0u8efg]{display:flex;gap:12px;align-items:center}
.manual-search-row input[b-ibhz0u8efg]{flex:1;min-width:0}
.manual-search p[b-ibhz0u8efg]{margin:12px 0 0;color:var(--mh-muted,#52657e);font-size:.95rem}
.manual-layout[b-ibhz0u8efg]{display:grid;grid-template-columns:minmax(240px,310px) minmax(0,1fr);gap:24px;align-items:start}
.manual-index[b-ibhz0u8efg]{position:sticky;top:16px;max-height:80vh;overflow:auto}
.manual-index h2[b-ibhz0u8efg]{font-size:1.2rem;margin:0 0 12px;text-transform:none}
.manual-index a[b-ibhz0u8efg]{display:block;padding:9px 4px;line-height:1.4;color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.manual-index a:hover[b-ibhz0u8efg],.manual-index a:focus-visible[b-ibhz0u8efg]{color:var(--mh-info,#185abd)}
.manual-content[b-ibhz0u8efg]{min-width:0}
.manual-chapter[b-ibhz0u8efg]{margin-bottom:20px;scroll-margin-top:24px;overflow-wrap:anywhere}
.manual-chapter h2[b-ibhz0u8efg]{font-size:1.55rem;line-height:1.3;margin:0 0 18px;text-transform:none}
.manual-chapter h3[b-ibhz0u8efg]{font-size:1.15rem;margin:24px 0 12px;text-transform:none}
.manual-chapter p[b-ibhz0u8efg],.manual-chapter li[b-ibhz0u8efg]{line-height:1.75;font-size:1rem;font-weight:400}
.manual-chapter p[b-ibhz0u8efg]{margin:0 0 14px}
.manual-chapter ul[b-ibhz0u8efg]{padding-left:24px;margin-bottom:18px}
.manual-chapter li[b-ibhz0u8efg]{margin-bottom:8px}
@media(max-width:900px){.manual-layout[b-ibhz0u8efg]{grid-template-columns:1fr}.manual-index[b-ibhz0u8efg]{position:static;max-height:260px}.manual-chapter[b-ibhz0u8efg],.manual-index[b-ibhz0u8efg],.manual-search[b-ibhz0u8efg],.manual-notice[b-ibhz0u8efg]{padding:18px}}
@media(max-width:480px){.manual-search-row[b-ibhz0u8efg]{flex-wrap:wrap}.manual-search-row input[b-ibhz0u8efg]{flex-basis:100%}.manual-chapter h2[b-ibhz0u8efg]{font-size:1.3rem}}
@media print{.manual-search[b-ibhz0u8efg],.manual-index[b-ibhz0u8efg],.manual-notice[b-ibhz0u8efg]{display:none}.manual-layout[b-ibhz0u8efg]{display:block}.manual-chapter[b-ibhz0u8efg]{border:0;border-radius:0;padding:0;color:#000;background:#fff}.manual-chapter h2[b-ibhz0u8efg],.manual-chapter h3[b-ibhz0u8efg]{break-after:avoid}.manual-chapter p[b-ibhz0u8efg],.manual-chapter li[b-ibhz0u8efg]{orphans:3;widows:3}}
/* /Components/Shared/MonthStatusCalendar.razor.rz.scp.css */
.timesheet-calendar-panel[b-89wvtrkker]{width:100%;margin-bottom:22px;padding:18px 20px 0;border:1px solid var(--mh-border,#d7e1ed);border-radius:20px;background:var(--mh-surface,#fff);box-shadow:0 10px 30px rgba(15,23,42,.08)}
.month-bar[b-89wvtrkker]{display:flex;justify-content:center;align-items:center;gap:20px;margin-bottom:18px}.month-bar button[b-89wvtrkker]{width:52px;height:52px;padding:0;border:1px solid var(--mh-border,#cbd8e7);border-radius:16px;background:var(--mh-surface,#fff);color:var(--mh-text,#243247);font-size:22px;font-weight:900}.month-bar strong[b-89wvtrkker]{min-width:270px;text-align:center;font-size:27px;color:var(--mh-text);text-transform:capitalize}
.calendar-strip[b-89wvtrkker]{display:grid;position:relative;z-index:1;align-items:stretch;gap:4px;width:100%;margin-bottom:24px;overflow:hidden;padding:16px 0 20px}.day[b-89wvtrkker]{container-type:inline-size;width:100%;min-width:0;height:86px;border:1px solid var(--mh-border);border-radius:22px;background:var(--mh-surface);color:var(--mh-text);box-shadow:0 10px 24px rgba(15,23,42,.10);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.2s}.day.empty-day[b-89wvtrkker]{opacity:.45}.day.has-events[b-89wvtrkker]{opacity:1}.day>.day-weekday[b-89wvtrkker]{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-align:center;text-transform:uppercase;font-size:var(--mh-text-xs,.75rem);color:var(--mh-muted);font-weight:900}.day>.day-number[b-89wvtrkker]{display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:calc(clamp(22px,1.8vw,28px) + 2pt);font-weight:950;line-height:1}.day-number>span[b-89wvtrkker]{font-size:inherit;color:inherit}.day>.saturday-day-number[b-89wvtrkker]{color:#e6ad00!important}.day>.holiday-day-number[b-89wvtrkker]{color:#ef4444!important}.day.selected-day[b-89wvtrkker]{position:relative;z-index:4;height:94px;border:3px solid #2563eb;outline:3px solid rgba(37,99,235,.32);outline-offset:-7px;background:#dbeafe;color:#172033;box-shadow:inset 0 0 0 3px #fff,0 0 0 4px #2563eb,0 8px 22px rgba(37,99,235,.38);transform:translateY(-4px) scale(1.025)}
.day-status-dots[b-89wvtrkker]{display:flex;align-items:center;justify-content:center;gap:3px;min-height:9px;margin-top:5px}.day-status-dot[b-89wvtrkker]{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:999px;box-shadow:0 0 0 1px rgba(15,23,42,.16)}.day-status-dot.waiting[b-89wvtrkker]{background:#f97316}.day-status-dot.draft[b-89wvtrkker]{background:#eab308}.day-status-dot.pending[b-89wvtrkker],.day-status-dot.submitted[b-89wvtrkker]{background:#2563eb}.day-status-dot.anomaly[b-89wvtrkker]{background:#dc2626}.day-status-dot.approved[b-89wvtrkker]{background:#16a34a}.day-status-missing[b-89wvtrkker],.day-status-ignored[b-89wvtrkker]{display:inline-flex;align-items:center;justify-content:center;width:8px;height:8px;flex:0 0 8px;color:#64748b;font:950 13px/8px Arial,sans-serif}
:global(html[data-theme="dark"]) .day.selected-day[b-89wvtrkker]{border-color:#22c55e;outline-color:rgba(74,222,128,.42);background:#16345f;color:#fff;box-shadow:0 0 0 4px #22c55e,0 8px 26px rgba(34,197,94,.46)}
@media(max-width:1200px){.calendar-strip[b-89wvtrkker]{gap:2px}.day[b-89wvtrkker]{height:92px;border-radius:14px}.day.selected-day[b-89wvtrkker]{height:98px}}
@container(max-width:44px){.day-weekday[b-89wvtrkker]{font-size:0!important}.day-weekday[b-89wvtrkker]::after{content:attr(data-narrow);font-size:.6875rem;color:inherit}.day-number[b-89wvtrkker]{flex-direction:column!important;gap:0;line-height:.82!important}.day-number>span[b-89wvtrkker]{display:block;line-height:.82!important}.day-status-dots[b-89wvtrkker]{flex-direction:column;gap:1px;min-height:24px;margin-top:3px}.day-status-dot[b-89wvtrkker]{width:6px;height:6px;flex-basis:6px}.day-status-missing[b-89wvtrkker],.day-status-ignored[b-89wvtrkker]{width:7px;height:7px;flex-basis:7px;font-size:.6875rem;line-height:7px}}
/* /Components/Shared/PayslipPdfPreview.razor.rz.scp.css */
.payslip-reader[b-msg5yjys0g] {
    min-width: 0;
    margin-top: .8rem;
    color: var(--mh-text, #172033);
}

.pdf-name[b-msg5yjys0g] {
    display: none;
}

.payslip-reader > p[role="alert"][b-msg5yjys0g],
.payslip-reader > p[role="status"][b-msg5yjys0g] {
    margin: 0 0 .7rem;
    padding: .75rem;
    border-radius: 12px;
    color: var(--mh-text-muted, #52647a);
    background: var(--mh-surface-soft, #f4f7fb);
    text-align: center;
}

.payslip-reader > p[role="alert"][b-msg5yjys0g] {
    color: color-mix(in srgb, #dc2626 74%, var(--mh-text, #172033));
    background: color-mix(in srgb, #ef4444 13%, var(--mh-surface, #fff));
}

.pdf-toolbar[b-msg5yjys0g] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .7rem;
    padding: .48rem;
    border: 1px solid var(--mh-border, #dbe3ed);
    border-radius: 15px;
    background: var(--mh-surface-soft, #f3f7fc);
}

.pdf-toolbar button[b-msg5yjys0g] {
    min-width: 42px;
    min-height: 42px;
    padding: .2rem .55rem;
    border: 1px solid var(--mh-border, #cbd8e7);
    border-radius: 11px;
    color: var(--mh-primary, #185abd);
    background: var(--mh-surface, #fff);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 900;
}

.pdf-toolbar button:disabled[b-msg5yjys0g] {
    color: var(--mh-text-muted, #94a3b8);
    opacity: .55;
}

.pdf-toolbar span[b-msg5yjys0g] {
    min-width: 52px;
    color: var(--mh-text, #334155);
    font-size: .78rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.pdf-scroll[b-msg5yjys0g] {
    max-width: 100%;
    max-height: 72dvh;
    overflow: auto;
    border: 1px solid var(--mh-border, #cbd8e7);
    border-radius: 14px;
    background: color-mix(in srgb, var(--mh-text-muted, #64748b) 20%, var(--mh-surface-soft, #eef3f8));
    box-shadow: inset 0 1px 5px rgba(15, 23, 42, .08);
    overscroll-behavior: contain;
}

canvas[b-msg5yjys0g] {
    display: block;
    max-width: none;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .13);
}

@media (max-width: 480px) {
    .pdf-toolbar[b-msg5yjys0g] {
        gap: .25rem;
        padding: .38rem;
    }

    .pdf-toolbar button[b-msg5yjys0g] {
        min-width: 40px;
        min-height: 40px;
    }

    .pdf-toolbar span[b-msg5yjys0g] {
        min-width: 44px;
        font-size: .72rem;
    }
}
