/* /Components/Account/Pages/AccessDenied.razor.rz.scp.css */
.access-denied-page[b-bs4rx5qrsk] {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Inside .main-content. Below 1024 px: the header 56 + the bottom bar 64 + the main padding 16 or 32 (152 at most);
       from 1024 px: the header 56 + the main padding 64 (120). 200 px fits both. dvh: the visible height (lists.css) */
    min-height: calc(100vh - 200px);
    min-height: calc(100dvh - 200px);
    padding: 40px 20px;
    background: var(--bg-secondary);
}

.access-denied-container[b-bs4rx5qrsk] {
    max-width: 600px;
    text-align: center;
    background: var(--bg-primary);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.access-denied-icon[b-bs4rx5qrsk] {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: var(--color-warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    box-shadow: var(--shadow-raised);
}

.access-denied-title[b-bs4rx5qrsk] {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.access-denied-message[b-bs4rx5qrsk] {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.access-denied-submessage[b-bs4rx5qrsk] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.access-denied-actions[b-bs4rx5qrsk] {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.access-denied-actions .btn[b-bs4rx5qrsk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-control);
    border: none;
    cursor: pointer;
}

.access-denied-actions .btn-primary[b-bs4rx5qrsk] {
    background: var(--gradient-brand);
    color: white;
}

@media (hover: hover) {
    .access-denied-actions .btn-primary:hover[b-bs4rx5qrsk] {
        transform: translateY(-2px);
        box-shadow: var(--shadow-raised);
    }
}

    .access-denied-actions .btn-secondary[b-bs4rx5qrsk] {
        background: var(--bg-secondary);
        color: var(--text-primary);
        border: 2px solid var(--color-border);
    }

@media (hover: hover) {
    .access-denied-actions .btn-secondary:hover[b-bs4rx5qrsk] {
        border-color: var(--color-primary);
        background: rgba(var(--color-primary-rgb), 0.1);
    }
}

/* The pressed look (D6); after the hover rules, so a desktop press also shows it. */
.access-denied-actions .btn:active:not(:disabled)[b-bs4rx5qrsk] {
    transform: scale(0.97);
}

@media (max-width: 640px) {
    .access-denied-container[b-bs4rx5qrsk] {
        padding: 40px 24px;
    }

    .access-denied-icon[b-bs4rx5qrsk] {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .access-denied-title[b-bs4rx5qrsk] {
        font-size: var(--font-size-2xl);
    }

    .access-denied-actions[b-bs4rx5qrsk] {
        flex-direction: column;
    }

    .access-denied-actions .btn[b-bs4rx5qrsk] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Account/Pages/Auth.razor.rz.scp.css */
.auth-tabs[b-sjth7nrz4g] {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    /*border-bottom: 2px solid var(--color-border);*/
}

/* T-20261124-01 C5 (D376): the tabs are links to ?mode= (the server shows the tab) */
.auth-tab[b-sjth7nrz4g] {
    flex: 1;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-control);
    margin-bottom: -2px;
}

@media (hover: hover) {
    .auth-tab:hover[b-sjth7nrz4g] {
        color: var(--text-primary);
        background-color: var(--bg-secondary);
    }
}

.auth-tab-active[b-sjth7nrz4g] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.auth-form[b-sjth7nrz4g] {
    animation: fadeIn-b-sjth7nrz4g var(--transition-base);
}

@keyframes fadeIn-b-sjth7nrz4g {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-divider[b-sjth7nrz4g] {
    display: flex;
    align-items: center;
    text-align: center;
    margin: var(--space-xl) 0 var(--space-lg);
}

    .auth-divider[b-sjth7nrz4g]::before,
    .auth-divider[b-sjth7nrz4g]::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--color-border);
    }

    .auth-divider span[b-sjth7nrz4g] {
        padding: 0 var(--space-md);
        color: var(--text-tertiary);
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.5px;
    }

.external-login-buttons[b-sjth7nrz4g] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.external-login-form[b-sjth7nrz4g] {
    width: 100%;
}

.w-100[b-sjth7nrz4g] {
    width: 100%;
}

/* Social Login Buttons */
.btn-social[b-sjth7nrz4g] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-control);
    position: relative;
    overflow: hidden;
}

@media (hover: hover) {
    .btn-social:hover[b-sjth7nrz4g] {
        box-shadow: var(--shadow-raised);
        transform: translateY(-1px);
    }
}

    .btn-social:active[b-sjth7nrz4g] {
        transform: scale(0.97);
    }

.btn-social-icon[b-sjth7nrz4g] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-social-text[b-sjth7nrz4g] {
    /*flex: 1;*/
    text-align: center;
}

/* Google Button */
.btn-social-google[b-sjth7nrz4g] {
    border-color: #dadce0;
}

@media (hover: hover) {
    .btn-social-google:hover[b-sjth7nrz4g] {
        background-color: #f8f9fa;
        border-color: #dadce0;
    }
}

    .btn-social-google:focus-visible[b-sjth7nrz4g] {
        outline: 2px solid #4285f4;
        outline-offset: 2px;
    }

/* Facebook Button */
.btn-social-facebook[b-sjth7nrz4g] {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
}

@media (hover: hover) {
    .btn-social-facebook:hover[b-sjth7nrz4g] {
        background-color: #166fe5;
        border-color: #166fe5;
    }
}

    .btn-social-facebook:focus-visible[b-sjth7nrz4g] {
        outline: 2px solid #1877f2;
        outline-offset: 2px;
    }

    .btn-social-facebook .btn-social-text[b-sjth7nrz4g] {
        color: white;
    }

/* Microsoft Button */
.btn-social-microsoft[b-sjth7nrz4g] {
    border-color: #8c8c8c;
}

@media (hover: hover) {
    .btn-social-microsoft:hover[b-sjth7nrz4g] {
        background-color: #f3f3f3;
        border-color: #8c8c8c;
    }
}

    .btn-social-microsoft:focus-visible[b-sjth7nrz4g] {
        outline: 2px solid #0078d4;
        outline-offset: 2px;
    }
/* /Components/Account/Pages/ExternalLogin.razor.rz.scp.css */
/* ============================================
   External Login Page Styles
   Isolated CSS for ExternalLogin.razor component
   ============================================ */

.external-login-header[b-n3lxpy0zij] {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.external-login-provider-badge[b-n3lxpy0zij] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-card);
}

.provider-icon[b-n3lxpy0zij] {
    width: 48px;
    height: 48px;
}

.provider-icon-text[b-n3lxpy0zij] {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.external-login-title[b-n3lxpy0zij] {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.external-login-subtitle[b-n3lxpy0zij] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.external-login-subtitle strong[b-n3lxpy0zij] {
    color: var(--text-primary);
    font-weight: 600;
}

.external-login-footer[b-n3lxpy0zij] {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .external-login-provider-badge[b-n3lxpy0zij] {
        width: 70px;
        height: 70px;
    }

    .provider-icon[b-n3lxpy0zij] {
        width: 40px;
        height: 40px;
    }

    .external-login-title[b-n3lxpy0zij] {
        font-size: var(--font-size-xl);
    }

    .external-login-subtitle[b-n3lxpy0zij] {
        font-size: var(--font-size-sm);
    }
}
/* /Components/Account/Pages/Manage/ChangePassword.razor.rz.scp.css */
/* Password Page Layout */
.password-page[b-36h6w17iy9] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

.password-container[b-36h6w17iy9] {
    max-width: 600px;
    margin: 0 auto;
}

/* Password Content */
.password-content[b-36h6w17iy9] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Section */
.password-form-section[b-36h6w17iy9] {
    padding: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.section-header[b-36h6w17iy9] {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.section-title[b-36h6w17iy9] {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

/* Security Notice */
.security-notice[b-36h6w17iy9] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--color-info-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border-left: 4px solid var(--color-info);
}

.notice-icon[b-36h6w17iy9] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-info);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 18px;
    flex-shrink: 0;
}

.notice-content[b-36h6w17iy9] {
    flex: 1;
}

.notice-content strong[b-36h6w17iy9] {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-info-dark);
    margin-bottom: 4px;
}

.notice-content p[b-36h6w17iy9] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--line-height-normal);
}

/* Form Styles */
.form-group[b-36h6w17iy9] {
    margin-bottom: 20px;
}

.form-label[b-36h6w17iy9] {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label-required[b-36h6w17iy9]::after {
    content: '*';
    color: var(--color-danger);
    margin-left: 4px;
}

.form-input[b-36h6w17iy9] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-control);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus[b-36h6w17iy9] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.form-input[b-36h6w17iy9]::placeholder {
    color: var(--text-tertiary);
}

.form-hint[b-36h6w17iy9] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-top: 6px;
}

.form-error[b-36h6w17iy9] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-danger);
    margin-top: 6px;
}

.input-with-icon[b-36h6w17iy9] {
    position: relative;
}

.input-with-icon .form-input[b-36h6w17iy9] {
    padding-right: 44px;
}

.input-icon-right[b-36h6w17iy9] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
}

.form-actions[b-36h6w17iy9] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.btn-lg[b-36h6w17iy9] {
    padding: 14px 28px;
    font-size: var(--font-size-base);
}

/* Validation Summary */
.validation-summary[b-36h6w17iy9] {
    padding: 16px;
    background: var(--color-danger-light);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border-left: 4px solid var(--color-danger);
    color: var(--color-danger-dark);
    font-size: var(--font-size-sm);
}

.validation-summary ul[b-36h6w17iy9] {
    margin: 8px 0 0 20px;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-notice[b-36h6w17iy9] {
        flex-direction: column;
        text-align: center;
    }

    .notice-icon[b-36h6w17iy9] {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .password-page[b-36h6w17iy9] {
        padding: 16px 8px;
    }

    .password-form-section[b-36h6w17iy9] {
        padding: 16px;
    }
}
/* /Components/Account/Pages/Manage/Index.razor.rz.scp.css */
/* Profile Page Layout */
.profile-page[b-yp9ht0t4dr] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

.profile-container[b-yp9ht0t4dr] {
    max-width: 800px;
    margin: 0 auto;
}

/* Profile Content */
.profile-content[b-yp9ht0t4dr] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Avatar Section */
.profile-avatar-section[b-yp9ht0t4dr] {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.avatar-large[b-yp9ht0t4dr] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-raised);
}

.avatar-info[b-yp9ht0t4dr] {
    flex: 1;
}

.user-fullname[b-yp9ht0t4dr] {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.user-email[b-yp9ht0t4dr] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.status-badge[b-yp9ht0t4dr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: var(--font-size-caption);
    font-weight: 600;
}

.status-approved[b-yp9ht0t4dr] {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-pending[b-yp9ht0t4dr] {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Form Section */
.profile-form-section[b-yp9ht0t4dr],
.profile-info-section[b-yp9ht0t4dr],
.profile-links-section[b-yp9ht0t4dr] {
    padding: 24px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.section-header[b-yp9ht0t4dr] {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.section-title[b-yp9ht0t4dr] {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

/* Form Styles */
.form-group[b-yp9ht0t4dr] {
    margin-bottom: 20px;
}

.form-label[b-yp9ht0t4dr] {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label-required[b-yp9ht0t4dr]::after {
    content: '*';
    color: var(--color-danger);
    margin-left: 4px;
}

.form-input[b-yp9ht0t4dr] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: var(--font-size-base);
    transition: var(--transition-control);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus[b-yp9ht0t4dr] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.form-input-disabled[b-yp9ht0t4dr] {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.form-hint[b-yp9ht0t4dr] {
    display: block;
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    margin-top: 6px;
}

.form-error[b-yp9ht0t4dr] {
    display: block;
    font-size: var(--font-size-caption);
    color: var(--color-danger);
    margin-top: 6px;
}

.input-with-icon[b-yp9ht0t4dr] {
    position: relative;
}

.input-with-icon .form-input[b-yp9ht0t4dr] {
    padding-right: 44px;
}

.input-icon-right[b-yp9ht0t4dr] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.form-actions[b-yp9ht0t4dr] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.btn-lg[b-yp9ht0t4dr] {
    padding: 14px 28px;
    font-size: var(--font-size-base);
}

/* Info Grid */
.info-grid[b-yp9ht0t4dr] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item[b-yp9ht0t4dr] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.info-icon[b-yp9ht0t4dr] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.info-content[b-yp9ht0t4dr] {
    flex: 1;
}

.info-label[b-yp9ht0t4dr] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value[b-yp9ht0t4dr] {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

/* Links Grid */
.links-grid[b-yp9ht0t4dr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card[b-yp9ht0t4dr] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-control);
    border: 2px solid transparent;
}

@media (hover: hover) {
    .link-card:hover[b-yp9ht0t4dr] {
        border-color: var(--color-primary);
        background: rgba(var(--color-primary-rgb), 0.05);
        transform: translateX(4px);
    }
}

.link-icon[b-yp9ht0t4dr] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.link-content[b-yp9ht0t4dr] {
    flex: 1;
}

.link-title[b-yp9ht0t4dr] {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.link-description[b-yp9ht0t4dr] {
    display: block;
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
}

.link-arrow[b-yp9ht0t4dr] {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: transform var(--transition-fast);
}

@media (hover: hover) {
    .link-card:hover .link-arrow[b-yp9ht0t4dr] {
        transform: translateX(4px);
        color: var(--color-primary);
    }
}

/* Alert Styles */
.alert[b-yp9ht0t4dr] {
    padding: 16px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-danger[b-yp9ht0t4dr] {
    background: rgba(var(--color-danger-rgb), 0.1);
    border-left: 4px solid var(--color-danger);
}

.alert-icon[b-yp9ht0t4dr] {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-content[b-yp9ht0t4dr] {
    flex: 1;
}

.alert-title[b-yp9ht0t4dr] {
    font-weight: 600;
    margin-bottom: 4px;
}

/* T-20261124-01 C5: the list of the form errors (it was a style attribute) */
.profile-error-list[b-yp9ht0t4dr] {
    margin: 8px 0 0 20px;
    padding: 0;
}

.mb-lg[b-yp9ht0t4dr] {
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-avatar-section[b-yp9ht0t4dr] {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .avatar-info[b-yp9ht0t4dr] {
        text-align: center;
    }

    .user-fullname[b-yp9ht0t4dr] {
        font-size: var(--font-size-xl);
    }

    .info-grid[b-yp9ht0t4dr] {
        grid-template-columns: 1fr;
    }

    .link-card[b-yp9ht0t4dr] {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .profile-page[b-yp9ht0t4dr] {
        padding: 16px 8px;
    }

    .avatar-large[b-yp9ht0t4dr] {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

    .profile-form-section[b-yp9ht0t4dr],
    .profile-info-section[b-yp9ht0t4dr],
    .profile-links-section[b-yp9ht0t4dr] {
        padding: 16px;
    }
}
/* /Components/Account/Pages/Manage/SetPassword.razor.rz.scp.css */
/* Password Page Layout */
.password-page[b-4r4uf1fng0] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

.password-container[b-4r4uf1fng0] {
    max-width: 600px;
    margin: 0 auto;
}

/* Password Content */
.password-content[b-4r4uf1fng0] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Section */
.password-form-section[b-4r4uf1fng0] {
    padding: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.section-header[b-4r4uf1fng0] {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.section-title[b-4r4uf1fng0] {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

/* Info Notice */
.info-notice[b-4r4uf1fng0] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    border-left: 4px solid var(--color-primary);
}

.info-notice .notice-icon[b-4r4uf1fng0] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 18px;
    flex-shrink: 0;
}

.info-notice .notice-content strong[b-4r4uf1fng0] {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.info-notice .notice-content p[b-4r4uf1fng0] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--line-height-normal);
}

/* Security Notice */
.security-notice[b-4r4uf1fng0] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--color-info-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border-left: 4px solid var(--color-info);
}

.notice-icon[b-4r4uf1fng0] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-info);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 18px;
    flex-shrink: 0;
}

.notice-content[b-4r4uf1fng0] {
    flex: 1;
}

.notice-content strong[b-4r4uf1fng0] {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-info-dark);
    margin-bottom: 4px;
}

.notice-content p[b-4r4uf1fng0] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--line-height-normal);
}

/* Form Styles */
.form-group[b-4r4uf1fng0] {
    margin-bottom: 20px;
}

.form-label[b-4r4uf1fng0] {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label-required[b-4r4uf1fng0]::after {
    content: '*';
    color: var(--color-danger);
    margin-left: 4px;
}

.form-input[b-4r4uf1fng0] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-control);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus[b-4r4uf1fng0] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.form-input[b-4r4uf1fng0]::placeholder {
    color: var(--text-tertiary);
}

.form-hint[b-4r4uf1fng0] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-top: 6px;
}

.form-error[b-4r4uf1fng0] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-danger);
    margin-top: 6px;
}

.input-with-icon[b-4r4uf1fng0] {
    position: relative;
}

.input-with-icon .form-input[b-4r4uf1fng0] {
    padding-right: 44px;
}

.input-icon-right[b-4r4uf1fng0] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
}

.form-actions[b-4r4uf1fng0] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.btn-lg[b-4r4uf1fng0] {
    padding: 14px 28px;
    font-size: var(--font-size-base);
}

/* Validation Summary */
.validation-summary[b-4r4uf1fng0] {
    padding: 16px;
    background: var(--color-danger-light);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border-left: 4px solid var(--color-danger);
    color: var(--color-danger-dark);
    font-size: var(--font-size-sm);
}

.validation-summary ul[b-4r4uf1fng0] {
    margin: 8px 0 0 20px;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-notice[b-4r4uf1fng0],
    .security-notice[b-4r4uf1fng0] {
        flex-direction: column;
        text-align: center;
    }

    .info-notice .notice-icon[b-4r4uf1fng0],
    .notice-icon[b-4r4uf1fng0] {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .password-page[b-4r4uf1fng0] {
        padding: 16px 8px;
    }

    .password-form-section[b-4r4uf1fng0] {
        padding: 16px;
    }
}
/* /Components/Account/Pages/PendingApproval.razor.rz.scp.css */
/* ============================================
   Pending Approval Page Styles
   Isolated CSS for PendingApproval.razor component
   ============================================ */

.pending-approval-content[b-o3vcvbzw42] {
    text-align: center;
}

.pending-approval-icon[b-o3vcvbzw42] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-warning);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-raised);
}

.icon-clock[b-o3vcvbzw42] {
    width: 40px;
    height: 40px;
    color: white;
}

.pending-approval-title[b-o3vcvbzw42] {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
}

.alert-title[b-o3vcvbzw42], .alert-message[b-o3vcvbzw42] {
    text-align: left;
}

/* Approval Steps */
.pending-approval-steps[b-o3vcvbzw42] {
    margin: var(--space-2xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: left;
}

.approval-step[b-o3vcvbzw42] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-control);
}

@media (hover: hover) {
    .approval-step:hover[b-o3vcvbzw42] {
        box-shadow: var(--shadow-card);
    }
}

.step-icon[b-o3vcvbzw42] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    font-size: 18px;
    flex-shrink: 0;
}

.step-icon-completed[b-o3vcvbzw42] {
    background-color: var(--color-success);
    color: white;
}

.step-icon-pending[b-o3vcvbzw42] {
    background-color: var(--color-warning);
    color: white;
}

.step-icon-future[b-o3vcvbzw42] {
    background-color: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.step-content[b-o3vcvbzw42] {
    flex: 1;
}

.step-title[b-o3vcvbzw42] {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.step-description[b-o3vcvbzw42] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Info Section */
.pending-approval-info[b-o3vcvbzw42] {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: left;
}

.info-title[b-o3vcvbzw42] {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.info-list[b-o3vcvbzw42] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li[b-o3vcvbzw42] {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.info-list li:last-child[b-o3vcvbzw42] {
    margin-bottom: 0;
}

.info-list li[b-o3vcvbzw42]::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
}

/* Actions */
.pending-approval-actions[b-o3vcvbzw42] {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pending-approval-icon[b-o3vcvbzw42] {
        width: 70px;
        height: 70px;
    }

    .icon-clock[b-o3vcvbzw42] {
        width: 35px;
        height: 35px;
    }

    .pending-approval-title[b-o3vcvbzw42] {
        font-size: var(--font-size-xl);
    }

    .approval-step[b-o3vcvbzw42] {
        padding: var(--space-md);
    }

    .step-icon[b-o3vcvbzw42] {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .step-title[b-o3vcvbzw42] {
        font-size: var(--font-size-base);
    }

    .step-description[b-o3vcvbzw42] {
        font-size: var(--font-size-caption);
    }

    .pending-approval-info[b-o3vcvbzw42] {
        padding: var(--space-lg);
    }

    .info-title[b-o3vcvbzw42] {
        font-size: var(--font-size-base);
    }

    .info-list li[b-o3vcvbzw42] {
        font-size: var(--font-size-caption);
    }
}
/* /Components/Account/Shared/AuthLayout.razor.rz.scp.css */
.auth-layout[b-vja6xqmfkm] {
    min-height: 100vh;
    /* T-20261124-01 C10: the visible height of a phone browser with its bar (lists.css has the same pair for body) */
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    padding: var(--space-lg);
}

.auth-container[b-vja6xqmfkm] {
    width: 100%;
    max-width: 480px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-overlay);
    padding: var(--space-2xl);
}

.auth-header[b-vja6xqmfkm] {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-logo[b-vja6xqmfkm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.auth-brand[b-vja6xqmfkm] {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    outline: none;
}

.auth-tagline[b-vja6xqmfkm] {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

.auth-content[b-vja6xqmfkm] {
    margin-bottom: var(--space-xl);
}

.auth-footer[b-vja6xqmfkm] {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .auth-layout[b-vja6xqmfkm] {
        padding: var(--space-md);
    }

    .auth-container[b-vja6xqmfkm] {
        padding: var(--space-xl);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================
   MainLayout Styles - Phoenix CSS Framework
   Styles for MainLayout.razor component
   ============================================ */

/* Error UI Styling */
#blazor-error-ui[b-z8xk69pruk] {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

#blazor-error-ui[data-nosnippet][b-z8xk69pruk] {
    display: flex;
}

#blazor-error-ui .alert[b-z8xk69pruk] {
    max-width: 500px;
    width: 100%;
}

#blazor-error-ui .reload[b-z8xk69pruk] {
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

@media (hover: hover) {
    #blazor-error-ui .reload:hover[b-z8xk69pruk] {
        color: var(--color-primary-hover);
    }
}

#blazor-error-ui .dismiss[b-z8xk69pruk] {
    cursor: pointer;
}

/* ========== Enhanced User Avatar Button ========== */
.user-avatar-btn[b-z8xk69pruk] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 24px;
    transition: var(--transition-control);
}

.avatar-circle[b-z8xk69pruk] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.avatar-chevron[b-z8xk69pruk] {
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

@media (hover: hover) {
    .user-avatar-btn:hover[b-z8xk69pruk] {
        background: var(--bg-tertiary);
    }

    .user-avatar-btn:hover .avatar-chevron[b-z8xk69pruk] {
        color: var(--text-primary);
    }
}

/* ========== Enhanced User Dropdown ========== */
.user-dropdown[b-z8xk69pruk] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-overlay), 0 0 0 1px var(--color-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: var(--transition-control);
    z-index: 1000;
    overflow: hidden;
    border: none;
}

.user-dropdown.show[b-z8xk69pruk] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown Header */
.dropdown-header[b-z8xk69pruk] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-info-rgb), 0.05));
    /*border-bottom: 1px solid var(--color-border);*/
}

.dropdown-avatar[b-z8xk69pruk] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-raised);
}

.dropdown-user-info[b-z8xk69pruk] {
    flex: 1;
    min-width: 0;
}

.dropdown-user-name[b-z8xk69pruk] {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.dropdown-user-email[b-z8xk69pruk] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Divider - Enhanced visibility */
.user-dropdown .dropdown-divider[b-z8xk69pruk] {
    height: 0.5px;
    background: var(--color-border);
    margin: 8px 16px;
    border: none;
}

/* Dropdown Items */
.user-dropdown .dropdown-item[b-z8xk69pruk] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-control);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown .dropdown-item i[b-z8xk69pruk] {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.user-dropdown .dropdown-item span[b-z8xk69pruk] {
    flex: 1;
}

@media (hover: hover) {
    .user-dropdown .dropdown-item:hover[b-z8xk69pruk] {
        background: var(--bg-secondary);
    }

    .user-dropdown .dropdown-item:hover i[b-z8xk69pruk] {
        color: var(--color-primary);
    }
}

/* Danger Item (Logout) */
.user-dropdown .dropdown-item-danger[b-z8xk69pruk] {
    color: var(--color-danger);
}

.user-dropdown .dropdown-item-danger i[b-z8xk69pruk] {
    color: var(--color-danger);
}

@media (hover: hover) {
    .user-dropdown .dropdown-item-danger:hover[b-z8xk69pruk] {
        background: rgba(var(--color-danger-rgb), 0.1);
    }

    .user-dropdown .dropdown-item-danger:hover i[b-z8xk69pruk] {
        color: var(--color-danger);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .user-dropdown[b-z8xk69pruk] {
        min-width: 260px;
        right: 0;
    }

    .avatar-chevron[b-z8xk69pruk] {
        display: none;
    }

    .user-avatar-btn[b-z8xk69pruk] {
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .user-dropdown[b-z8xk69pruk] {
        min-width: 240px;
        right: -4px;
    }

    .dropdown-header[b-z8xk69pruk] {
        padding: 14px;
    }

    .dropdown-avatar[b-z8xk69pruk] {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .dropdown-user-name[b-z8xk69pruk] {
        font-size: var(--font-size-sm);
    }

    .user-dropdown .dropdown-item[b-z8xk69pruk] {
        padding: 10px 14px;
        font-size: var(--font-size-caption);
    }

    .user-dropdown .dropdown-divider[b-z8xk69pruk] {
        margin: 6px 14px;
    }
}
/* /Components/Layout/NotificationBell.razor.rz.scp.css */
/* The header bell and its panel (T-20261030-02, U9, D3). A dropdown under the bell on desktop, a bottom sheet at
   768 px and less. The panel is inside the header (z-index 1000, under the bottom bar), so while it is open lists.css
   raises the header to 2050 (.app-header:has(.notif-panel-open:not(.notif-panel-closing))) and, on the phone, locks the
   page scroll. Inside the
   raised header the backdrop is 1 and the panel 2. The bell keeps .icon-btn and .icon-btn .badge of mobile.css.
   Hover rules only inside @media (hover: hover): a phone keeps :hover after a tap. */

/* The link of the static form (moved from MainLayout.razor.css): .icon-btn of mobile.css styles a button */
a.icon-btn[b-si3uvynp8i] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.notif-bell[b-si3uvynp8i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* The static icon of a user without the pending page: it does nothing, so it does not look like a button */
.notif-bell-static[b-si3uvynp8i] {
    cursor: default;
}

/* No pressed look on the static icon (the .icon-btn:active rule of mobile.css, T-20261030-03 D6) */
.notif-bell-static:active[b-si3uvynp8i] {
    transform: none;
    background: none;
}

.notif-bell:focus-visible[b-si3uvynp8i] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* position: relative places the desktop panel under the bell */
.notif[b-si3uvynp8i] {
    position: relative;
    display: inline-flex;
}

/* An outside click hits the transparent backdrop (it also covers the avatar: a click there first closes the panel) */
.notif-backdrop[b-si3uvynp8i] {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: transparent;
}

/* A flex column: the header stays, the body scrolls */
.notif-panel[b-si3uvynp8i] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    max-height: min(70dvh, 560px);
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-overlay);
    overflow: hidden;
    animation: notif-drop-b-si3uvynp8i var(--transition-base);
}

/* The close at once (E2, the B0b pattern of DetailDrawer): the layout script (layout.js) adds notif-panel-closing at a click on
   the close button, the backdrop or a row, and at Escape; the server removes the panel after its round trip. The
   elements carry this file's scope, so the scoped rule matches a class that JS added; (0,3,0) wins over the display
   rules of .notif-panel and .notif-backdrop. */
.notif-panel.notif-panel-closing[b-si3uvynp8i],
.notif-backdrop.notif-panel-closing[b-si3uvynp8i] {
    display: none;
}

/* The grab line of the phone sheet: look only (no swipe close) */
.notif-grab[b-si3uvynp8i] {
    display: none;
}

.notif-header[b-si3uvynp8i] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 8px 8px 8px 16px;
    border-bottom: 1px solid var(--color-border);
}

.notif-title[b-si3uvynp8i] {
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

/* The heading takes the focus at the open (tabindex -1): no ring, it is not a control (the global *:focus-visible ring) */
.notif-title:focus-visible[b-si3uvynp8i] {
    outline: none;
}

.notif-close[b-si3uvynp8i] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition-control);
}

.notif-close:focus-visible[b-si3uvynp8i] {
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
}

.notif-body[b-si3uvynp8i] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 6px 8px;
}

.notif-section + .notif-section[b-si3uvynp8i] {
    margin-top: 4px;
    border-top: 1px solid var(--color-border);
}

/* Alerts on this device (T-20261123-01 Part B, P8): the footer block under the scrolling body; it never scrolls away */
.notif-push[b-si3uvynp8i] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: 10px 14px 12px;
    border-top: 1px solid var(--color-border);
}

.notif-push-text[b-si3uvynp8i] {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--font-size-caption);
    line-height: 1.4;
}

.notif-push-actions[b-si3uvynp8i] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.notif-section-title[b-si3uvynp8i] {
    margin: 0;
    padding: 12px 10px 6px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.notif-empty[b-si3uvynp8i] {
    margin: 0;
    padding: 8px 10px 12px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.notif-list[b-si3uvynp8i] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.notif-row[b-si3uvynp8i] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    padding: 10px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
}

/* A stored finance line whose page the keys do not open is a button (F8b, P9): it looks like the link rows (base.css resets its font, border and background) */
button.notif-row[b-si3uvynp8i] {
    width: 100%;
    text-align: start;
    cursor: pointer;
}

/* Inside the scrolling body: an inner ring is not cut off */
.notif-row:focus-visible[b-si3uvynp8i] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.notif-row-icon[b-si3uvynp8i] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    font-size: 14px;
}

.notif-row-icon-action[b-si3uvynp8i] {
    background: rgba(var(--color-warning-rgb), 0.15);
    color: var(--color-warning);
}

.notif-row-icon-alarm[b-si3uvynp8i] {
    background: rgba(var(--color-danger-rgb), 0.12);
    color: var(--color-danger);
}

.notif-row-main[b-si3uvynp8i] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-row-title[b-si3uvynp8i] {
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.notif-row-sub[b-si3uvynp8i] {
    font-size: var(--font-size-xs);
    line-height: 1.35;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}

/* The "New" title with "Mark all as seen" at the right (E1) */
.notif-section-head[b-si3uvynp8i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* A button with the look of a link (the filter panel's "Clear") */
.notif-mark-all[b-si3uvynp8i] {
    flex-shrink: 0;
    min-height: 32px;
    margin: 6px 4px 0 0;
    padding: 0 8px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--color-primary);
    font-size: var(--font-size-caption);
    font-weight: 500;
    cursor: pointer;
}

.notif-mark-all:focus-visible[b-si3uvynp8i] {
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
}

.notif-mark-all:disabled[b-si3uvynp8i] {
    color: var(--text-tertiary);
    cursor: default;
}

/* The first load: three grey rows (ListSkeleton's card grid does not fit the panel) */
.notif-skeleton[b-si3uvynp8i] {
    padding: 8px 4px;
}

.notif-skeleton-row[b-si3uvynp8i] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px;
}

.notif-skeleton-icon[b-si3uvynp8i] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
}

.notif-skeleton-lines[b-si3uvynp8i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notif-skeleton-bar[b-si3uvynp8i] {
    display: block;
    width: 80%;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    animation: notif-pulse-b-si3uvynp8i 1.4s ease-in-out infinite;
}

.notif-skeleton-bar-short[b-si3uvynp8i] {
    width: 45%;
}

/* The stale bar and the error block of ErrorState sit inside the panel's padding */
.notif-body[b-si3uvynp8i]  .list-stale {
    margin: 6px 4px;
}

@keyframes notif-drop-b-si3uvynp8i {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes notif-sheet-in-b-si3uvynp8i {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes notif-fade-b-si3uvynp8i {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes notif-pulse-b-si3uvynp8i {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@media (hover: hover) {
    /* The base a:hover colour would turn the link bell blue; keep the colour of the button beside it */
    a.icon-btn:hover[b-si3uvynp8i] {
        color: var(--text-primary);
    }

    .notif-row:hover[b-si3uvynp8i] {
        background: var(--bg-tertiary);
        color: var(--text-primary);
    }

    .notif-close:hover[b-si3uvynp8i] {
        background: var(--bg-tertiary);
    }

    .notif-bell-static:hover[b-si3uvynp8i] {
        background: none;
    }

    .notif-mark-all:not(:disabled):hover[b-si3uvynp8i] {
        background: rgba(var(--color-primary-rgb), 0.08);
    }
}

/* The phone: a bottom sheet over a dimmed backdrop, over the bottom bar (the header is raised while it is open) */
@media (max-width: 768px) {
    .notif-backdrop[b-si3uvynp8i] {
        background: var(--bg-overlay);
        animation: notif-fade-b-si3uvynp8i var(--transition-base);
    }

    /* env(safe-area-inset-bottom) is 0 today: the viewport tag has no viewport-fit=cover */
    .notif-panel[b-si3uvynp8i] {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 85vh;
        max-height: 85dvh;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        border: none;
        border-radius: 16px 16px 0 0;
        animation: notif-sheet-in-b-si3uvynp8i var(--transition-base);
    }

    .notif-grab[b-si3uvynp8i] {
        display: block;
        flex-shrink: 0;
        width: 40px;
        height: 4px;
        margin: 8px auto 0;
        border-radius: var(--radius-full);
        background: var(--color-border);
    }

    .notif-header[b-si3uvynp8i] {
        min-height: 60px;
    }

    .notif-close[b-si3uvynp8i] {
        width: 44px;
        height: 44px;
        font-size: var(--font-size-lg);
    }

    .notif-mark-all[b-si3uvynp8i] {
        min-height: 44px;
        margin-top: 0;
        font-size: var(--font-size-sm);
    }

    .notif-body[b-si3uvynp8i] {
        padding: 4px 8px 8px;
    }

    .notif-row[b-si3uvynp8i] {
        min-height: 48px;
    }

    .notif-row-title[b-si3uvynp8i] {
        font-size: var(--font-size-base);
    }

    /* The alert row's buttons: 44 px targets on the phone, as the other controls of the sheet */
    .notif-push-actions .btn[b-si3uvynp8i] {
        min-height: 44px;
    }
}

/* A touch screen wider than 768 px (a tablet, a phone across): 44 px targets in the desktop form */
@media (pointer: coarse) and (min-width: 769px) {
    .notif-close[b-si3uvynp8i] {
        width: 44px;
        height: 44px;
    }

    .notif-mark-all[b-si3uvynp8i] {
        min-height: 44px;
    }

    .notif-push-actions .btn[b-si3uvynp8i] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .notif-panel[b-si3uvynp8i],
    .notif-backdrop[b-si3uvynp8i],
    .notif-skeleton-bar[b-si3uvynp8i] {
        animation: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-eiklquboy0],
.components-reconnect-repeated-attempt-visible[b-eiklquboy0],
.components-reconnect-failed-visible[b-eiklquboy0],
.components-pause-visible[b-eiklquboy0],
.components-resume-failed-visible[b-eiklquboy0],
.components-rejoining-animation[b-eiklquboy0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-retrying[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-failed[b-eiklquboy0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-eiklquboy0] {
    display: block;
}

/* T-20261031-04: the dialog opens only after a delay (ReconnectModal.razor.js), so the classes above can arrive
   while it is closed. A closed dialog stays hidden; without this rule it becomes a box in the page that takes taps. */
#components-reconnect-modal:not([open])[b-eiklquboy0] {
    display: none;
}


#components-reconnect-modal[b-eiklquboy0] {
    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-eiklquboy0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-eiklquboy0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-eiklquboy0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-eiklquboy0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-eiklquboy0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-eiklquboy0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-eiklquboy0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-eiklquboy0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-eiklquboy0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-eiklquboy0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-eiklquboy0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-eiklquboy0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-eiklquboy0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-eiklquboy0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-eiklquboy0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-eiklquboy0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-eiklquboy0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-eiklquboy0 {
    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/AccessDenied.razor.rz.scp.css */
.access-denied-page[b-4ercygg8lt] {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Inside .main-content. Below 1024 px: the header 56 + the bottom bar 64 + the main padding 16 or 32 (152 at most);
       from 1024 px: the header 56 + the main padding 64 (120). 200 px fits both. dvh: the visible height (lists.css) */
    min-height: calc(100vh - 200px);
    min-height: calc(100dvh - 200px);
    padding: 40px 20px;
    background: var(--bg-secondary);
}

.access-denied-container[b-4ercygg8lt] {
    max-width: 600px;
    text-align: center;
    background: var(--bg-primary);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.access-denied-icon[b-4ercygg8lt] {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: var(--color-warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    box-shadow: var(--shadow-raised);
}

.access-denied-title[b-4ercygg8lt] {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.access-denied-message[b-4ercygg8lt] {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.access-denied-submessage[b-4ercygg8lt] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.access-denied-actions[b-4ercygg8lt] {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.access-denied-actions .btn[b-4ercygg8lt] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-control);
    border: none;
    cursor: pointer;
}

.access-denied-actions .btn-primary[b-4ercygg8lt] {
    background: var(--gradient-brand);
    color: white;
}

@media (hover: hover) {
    .access-denied-actions .btn-primary:hover[b-4ercygg8lt] {
        transform: translateY(-2px);
        box-shadow: var(--shadow-raised);
    }
}

    .access-denied-actions .btn-secondary[b-4ercygg8lt] {
        background: var(--bg-secondary);
        color: var(--text-primary);
        border: 2px solid var(--color-border);
    }

@media (hover: hover) {
    .access-denied-actions .btn-secondary:hover[b-4ercygg8lt] {
        border-color: var(--color-primary);
        background: rgba(var(--color-primary-rgb), 0.1);
    }
}

/* The pressed look (D6); after the hover rules, so a desktop press also shows it. */
.access-denied-actions .btn:active:not(:disabled)[b-4ercygg8lt] {
    transform: scale(0.97);
}

@media (max-width: 640px) {
    .access-denied-container[b-4ercygg8lt] {
        padding: 40px 24px;
    }

    .access-denied-icon[b-4ercygg8lt] {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .access-denied-title[b-4ercygg8lt] {
        font-size: var(--font-size-2xl);
    }

    .access-denied-actions[b-4ercygg8lt] {
        flex-direction: column;
    }

    .access-denied-actions .btn[b-4ercygg8lt] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Pages/Admin/ApproveUsers.razor.rz.scp.css */
/* Page Layout */
.users-page[b-42fogm081x] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

/* The header is the shared PageHeader (T-20261122-01 A2) */

/* Section */
.section[b-42fogm081x] {
    margin-bottom: 32px;
}

.section-header[b-42fogm081x] {
    margin-bottom: 16px;
}

.section-title[b-42fogm081x] {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

/* Table */
.table-container[b-42fogm081x] {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.users-table[b-42fogm081x] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.users-table thead[b-42fogm081x] {
    background: var(--bg-secondary);
}

.users-table th[b-42fogm081x] {
    padding: 16px 20px;
    text-align: left;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table tbody tr[b-42fogm081x] {
    border-top: 1px solid var(--color-border);
    transition: background-color var(--transition-fast);
}

@media (hover: hover) {
    .users-table tbody tr:hover[b-42fogm081x] {
        background: var(--bg-secondary);
    }
}

.users-table td[b-42fogm081x] {
    padding: 16px 20px;
}

.user-cell[b-42fogm081x] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar[b-42fogm081x] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.user-info[b-42fogm081x] {
    display: flex;
    flex-direction: column;
}

.user-name[b-42fogm081x] {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

.user-id[b-42fogm081x] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    /* A long e-mail wraps at every width (review round 2 r4 #1), so the buttons keep their room */
    overflow-wrap: anywhere;
}

.email-cell[b-42fogm081x] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.email-cell i[b-42fogm081x] {
    font-size: 14px;
}

.status-badge[b-42fogm081x] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: var(--font-size-caption);
    font-weight: 600;
}

.status-approved[b-42fogm081x] {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-pending[b-42fogm081x] {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.text-right[b-42fogm081x] {
    text-align: right;
}

/* T-20261124-01 A8: the status badge with the month limits line and the chip "Sign-in paused" under it, and the row's buttons in one wrapping row */
.status-stack[b-42fogm081x] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.limits-line[b-42fogm081x] {
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* A long e-mail wraps, so the buttons keep their room */
.email-cell span[b-42fogm081x] {
    overflow-wrap: anywhere;
}

.row-actions[b-42fogm081x] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

/* The auto-renew row's own block */
.system-account-card[b-42fogm081x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.system-account-text .form-hint[b-42fogm081x] {
    margin: 4px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    /* The phone space of the list pages (lists.css .list-page): with the 8 px of .main-content, 12 px from the screen edge */
    .users-page[b-42fogm081x] {
        padding: 8px 4px;
    }

    /* The tiles: 2 small columns, as on the Dashboard (Dashboard.razor.css) */
    .grid[b-42fogm081x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    .stat-card[b-42fogm081x] {
        padding: var(--space-md);
    }

    .stat-card-title[b-42fogm081x] {
        letter-spacing: 0;
        text-transform: none;
    }

    .stat-card-icon[b-42fogm081x] {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-base);
    }

    .stat-card-value[b-42fogm081x] {
        font-size: var(--font-size-2xl);
    }

    /* The e-mail on the phone card wraps instead of "..." (T-20261029-01 D10; the rule .user-id above, at every width since
       T-20261124-01). The card rules and the phone/desktop switch are in css/phoenix/lists.css. */

    /* The system block's button: 44 px on the phone, like the card buttons of lists.css (review round 2 r1b #7) */
    .system-account-btn[b-42fogm081x] {
        min-height: 44px;
    }
}
/* /Components/Pages/Admin/ErrorLogPage.razor.rz.scp.css */
/* T-20261126-01 Part 2a: the error log page. Phoenix tokens only; the list parts are the shared components. */

/* A number column: right-aligned digits */
.error-log-num[b-23nmpykciv] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* A time column: one line (the UI check at 1366 px: the dates wrapped into four lines and pushed the last column out) */
.error-log-when[b-23nmpykciv] {
    white-space: nowrap;
}

/* The message start under a kind name: one line, cut with an ellipsis (the panel shows it whole) */
.error-log-start[b-23nmpykciv] {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .error-log-start[b-23nmpykciv] {
        max-width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* The phone: seven filters do not fit the one row of FilterDropdown's phone rule (flex: 1 1 0; the UI check at 375 px
   showed buttons of 40 px with cut words): three per row, the row wraps (the gap of .list-toolbar-filters is 8 px) */
@media (max-width: 768px) {
    .list-page[b-23nmpykciv]  .list-toolbar-filters .filter-dd {
        flex: 1 1 calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
    }
}

/* A long text of a row (R5: encoded text only) in a scroll box: the look of JsonDetails (BossPageFrame.razor.css .boss-json) */
.error-log-text[b-23nmpykciv] {
    font-family: var(--font-mono);
    font-size: var(--font-size-xs);
    line-height: 1.5;
    margin: 0;
    padding: 10px 12px;
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--text-primary);
}

/* The items of a card's meta row (ExpandableCard MetaRow; the rule of Machines.razor.css .meta-item, which is scoped to
   that page: r1b #3) */
.meta-item[b-23nmpykciv] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.meta-item i[b-23nmpykciv] {
    font-size: 11px;
    color: var(--color-primary);
}

/* The small tables of a kind's panel */
.error-log-mini[b-23nmpykciv] {
    width: 100%;
    margin: 0;
}

/* Part 2b: the bars of 30 days: one inline svg (the rect attributes; no style attribute, docs/CONVENTIONS.md §4) */
.error-log-bars-head[b-23nmpykciv] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-sm);
}

.error-log-bars[b-23nmpykciv] {
    display: block;
    width: 100%;
    height: 120px;
}

.error-log-bar[b-23nmpykciv] {
    fill: var(--color-primary);
}

/* The day's whole slot: the title (the day and its rows) shows on a hover also over a low or empty bar */
.error-log-bar-hit[b-23nmpykciv] {
    fill: transparent;
}

@media (hover: hover) {
    .error-log-bars g:hover .error-log-bar[b-23nmpykciv] {
        fill: var(--color-primary-dark);
    }

    .error-log-bars g:hover .error-log-bar-hit[b-23nmpykciv] {
        fill: var(--bg-tertiary);
    }
}

.error-log-bars-axis[b-23nmpykciv] {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
}

/* The bars' place while the summary loads (r1b #5): about the height of the head, the svg and the axis */
.error-log-bars-wait[b-23nmpykciv] {
    height: 170px;
}

/* The version table's title wraps on a phone: its end "all shops" is the D427 label (r1b #4; .section-title cuts with an ellipsis) */
.error-log-title-wrap[b-23nmpykciv] {
    white-space: normal;
}

/* On a phone the bars' head line wraps into two lines (review round 2 r2 #6): the wait box is that much higher */
@media (max-width: 768px) {
    .error-log-bars-wait[b-23nmpykciv] {
        height: 200px;
    }
}

/* The owner's "4 in a row when wide" (2026-11-26, review round 2 r2 #8; D428) and his "5th tile" (Part 3, D429): the five tiles of the
   framework grid fin-tiles stand in one row when the page area (not the window: the open panel narrows it) is 900 px or wider;
   else 2 columns, and the fifth tile ("Open kinds") over the full row. Only the columns change; the tile itself stays the
   framework's (docs/CONVENTIONS.md §4) */
.error-log-summary[b-23nmpykciv] {
    container-type: inline-size;
}

.error-log-summary .fin-tiles > :nth-child(5)[b-23nmpykciv] {
    grid-column: 1 / -1;
}

@container (min-width: 900px) {
    .error-log-summary .fin-tiles[b-23nmpykciv] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .error-log-summary .fin-tiles > :nth-child(5)[b-23nmpykciv] {
        grid-column: auto;
    }
}

/* Part 3: the state chips beside a kind's name (the framework's badge; one line gap) */
.error-log-states[b-23nmpykciv] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

/* The version table's number headers wrap (the UI check at 375 px: "Shops with errors" in one line pushed "Rows" out of view) */
.error-log-head-wrap[b-23nmpykciv] {
    white-space: normal;
}
/* /Components/Pages/Admin/PermissionManagement.razor.rz.scp.css */
/* Page Layout */
.permissions-page[b-bxyso604ph] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}


/* The header is the shared PageHeader, the search the shared ListToolbar (T-20261122-01 A2, A4) */

/* Users Table */
.users-table-container[b-bxyso604ph] {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.users-table[b-bxyso604ph] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.users-table thead[b-bxyso604ph] {
    background: var(--bg-secondary);
}

.users-table th[b-bxyso604ph] {
    padding: 16px 20px;
    text-align: left;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table tbody tr[b-bxyso604ph] {
    border-top: 1px solid var(--color-border);
    transition: background-color var(--transition-fast);
}

@media (hover: hover) {
    .users-table tbody tr:hover[b-bxyso604ph] {
        background: var(--bg-secondary);
    }
}

.users-table td[b-bxyso604ph] {
    padding: 16px 20px;
}

.user-cell[b-bxyso604ph] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar[b-bxyso604ph] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.user-info[b-bxyso604ph] {
    display: flex;
    flex-direction: column;
}

.user-name[b-bxyso604ph] {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

.user-id[b-bxyso604ph] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.email-cell[b-bxyso604ph] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.email-cell i[b-bxyso604ph] {
    font-size: 14px;
}

.status-badge[b-bxyso604ph] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: var(--font-size-caption);
    font-weight: 600;
}

.status-approved[b-bxyso604ph] {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-pending[b-bxyso604ph] {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.permissions-cell[b-bxyso604ph] {
    font-size: var(--font-size-sm);
}

.permission-count[b-bxyso604ph] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 500;
}

.no-permissions[b-bxyso604ph] {
    color: var(--text-secondary);
    font-style: italic;
}

.text-right[b-bxyso604ph] {
    text-align: right;
}

/* Modal User Info Section */
.modal-user-info[b-bxyso604ph] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.modal-user-avatar[b-bxyso604ph] {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.modal-user-name[b-bxyso604ph] {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.modal-user-email[b-bxyso604ph] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    overflow-wrap: anywhere; /* a long e-mail wraps inside the window at 375 px (B4) */
}

/* Permissions Search in Modal */
.permissions-search[b-bxyso604ph] {
    position: relative;
    margin-bottom: 20px;
}

.permissions-search i[b-bxyso604ph] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.permissions-search input[b-bxyso604ph] {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: var(--font-size-base);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.permissions-search input:focus[b-bxyso604ph] {
    outline: none;
    border-color: var(--color-primary);
}

/* Permissions List in Modal */
.permissions-list[b-bxyso604ph] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.permission-group-header[b-bxyso604ph] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.permission-group-count[b-bxyso604ph] {
    margin-left: auto;
    padding: 4px 8px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    border-radius: 6px;
    font-size: var(--font-size-xs);
    font-variant-numeric: tabular-nums;
}

.permission-group-items[b-bxyso604ph] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.permission-item[b-bxyso604ph] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .permission-item:hover[b-bxyso604ph] {
        border-color: var(--color-primary);
        background: rgba(var(--color-primary-rgb), 0.05);
    }

    /* B3: a read-only box does not look clickable (review round 2 B1b #16) */
    .permission-item.read-only:not(.checked):hover[b-bxyso604ph] {
        border-color: var(--color-border);
        background: none;
    }

    .permission-item.read-only.checked:hover[b-bxyso604ph] {
        background: rgba(var(--color-primary-rgb), 0.1);
    }
}

.permission-item.checked[b-bxyso604ph] {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
}

.permission-item input[type="checkbox"][b-bxyso604ph] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.permission-info[b-bxyso604ph] {
    flex: 1;
}

.permission-name[b-bxyso604ph] {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

/* B2 (D361): one short line that says what the key does, between the label and the key */
.permission-description[b-bxyso604ph] {
    margin-top: 2px;
    font-size: var(--font-size-xs);
    line-height: 1.4;
    color: var(--text-secondary);
}

.permission-key[b-bxyso604ph] {
    margin-top: 2px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    overflow-wrap: anywhere;
}

/* B3: without the Admin key the boxes are read-only */
.permission-item.read-only[b-bxyso604ph] {
    cursor: default;
}

.permission-item.read-only input[type="checkbox"][b-bxyso604ph] {
    cursor: default;
}

.permission-item > i[b-bxyso604ph] {
    font-size: 20px;
    color: var(--text-secondary);
}

.permission-item.checked > i[b-bxyso604ph] {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    /* The phone space of the list pages (lists.css .list-page): with the 8 px of .main-content, 12 px from the screen edge */
    .permissions-page[b-bxyso604ph] {
        padding: 8px 4px;
    }

    /* The tiles: 2 small columns, as on the Dashboard (Dashboard.razor.css) */
    .grid[b-bxyso604ph] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    .stat-card[b-bxyso604ph] {
        padding: var(--space-md);
    }

    .stat-card-title[b-bxyso604ph] {
        letter-spacing: 0;
        text-transform: none;
    }

    .stat-card-icon[b-bxyso604ph] {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-base);
    }

    .stat-card-value[b-bxyso604ph] {
        font-size: var(--font-size-2xl);
    }

    /* The e-mail on the phone card wraps instead of "..." (T-20261029-01 D10); the table is hidden at this width.
       The card rules and the phone/desktop switch are in css/phoenix/lists.css. */
    .user-id[b-bxyso604ph] {
        overflow-wrap: anywhere;
    }
}
/* /Components/Pages/Admin/RemotePc.razor.rz.scp.css */
/* T-20261125-01: the page "Wake my PC". Phoenix tokens only; the tiles are the framework's stat-card. */

/* The page space of the other pages (ApproveUsers.razor.css .users-page) */
.remote-pc-page[b-o6ir4o2fc4] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    /* With the 8 px of .main-content, 12 px from the screen edge */
    .remote-pc-page[b-o6ir4o2fc4] {
        padding: 8px 4px;
    }
}

/* The word of a tile ("Connected", "On"): smaller than a stat number, so "Not connected" fits a narrow tile */
.remote-pc-word[b-o6ir4o2fc4] {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

/* The order line: a whole sentence */
.remote-pc-text[b-o6ir4o2fc4] {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm);
}

.remote-pc-note[b-o6ir4o2fc4] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

.remote-pc-note + .remote-pc-note[b-o6ir4o2fc4] {
    margin-top: var(--space-xs);
}

.remote-pc-action[b-o6ir4o2fc4] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}
/* /Components/Pages/Boss/BossPageFrame.razor.rz.scp.css */
/* Boss pages — the one style file of the six Boss pages (T-20261122-01 C5, D341; before, six equal files Boss*.razor.css).

   This is the scoped file of the wrapper component BossPageFrame: each Boss page puts its whole markup inside
   <BossPageFrame>, which renders <div class="boss-page">. Blazor gives this file's rules the frame's own attribute, so
   a rule reaches the Boss page's elements only through ::deep. The rules keep the weight they had in the six page files.

   ⚠ A NEW RULE IS WRITTEN WITH ::deep: ".boss-page ::deep .x" (the frame's div, then any element below it) or
     "::deep .x" (compiled to "[frame] .x"). A rule without ::deep styles only the frame's own div.

   The rewrite rule of the move (one selector at a time): (a) a selector with ::deep kept its text; (b) one that started
   with ".boss-page " got ::deep after .boss-page; (c) ".boss-page" alone kept its text; (d) every other selector got
   "::deep " in front. So the weight of every rule is the same as before.

   ⚠ WHAT THE RULES REACH. Before, a rule of kind (b) or (d) styled only the page's own elements. Now it also reaches
     the elements of the child components under the frame: the module's own (BossSiteSelector, WorkHoursEditor,
     OverridesEditor, ActivationBranchPicker, MachinePicker, JsonDetails, BossConfirmModal, BossPlanChoices; they have
     no file of their own) and the shared ones (PageHeader, Alert, CardField, ErrorState, ExpandableCard, ListSkeleton).
     Three rules are narrowed by :where(:not(…)), which adds no weight, so they reach only what they reached before:
     ".boss-page code" (not the code of OverridesEditor and MachinePicker), the phone rules of the window title, header
     and close button (not BossConfirmModal, whose backdrop alone carries data-close-now) and ".boss-panel .btn" (not
     the buttons of WorkHoursEditor, JsonDetails (in a table cell or a card field) and the card toggle). The reach
     table of each selector: docs/tasks/T-20261122-01-look-css-cleanup.md, the Part C report.

   ⚠ TWO MARKUP RULES OF THE BOSS PAGES HOLD THESE NARROWINGS: (1) a page's own window backdrop carries no
     data-close-now (the close-now attribute goes on its × and footer close buttons); (2) a page's own button inside a
     .boss-panel never sits in a table cell or a card field. A page that breaks one loses the phone rule there.

   Only the project's own tokens (wwwroot/css/phoenix/variables.css) — no new colour. */

/* Page Layout */
.boss-page[b-j4k6qbdhzn] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

/* The header is the shared PageHeader with WrapActions (T-20261122-01 A3) */

/* The site selector (BossSiteSelector, inside the PageHeader's actions) */
.boss-page[b-j4k6qbdhzn]  .boss-site {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.boss-page[b-j4k6qbdhzn]  .boss-site-label {
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    white-space: nowrap;
}

.boss-page[b-j4k6qbdhzn]  .boss-site-select {
    width: auto;
    min-width: 140px;
}

/* Section header */
[b-j4k6qbdhzn] .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* Tabs */
[b-j4k6qbdhzn] .boss-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

[b-j4k6qbdhzn] .boss-tab {
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
}

[b-j4k6qbdhzn] .boss-tab.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

[b-j4k6qbdhzn] .boss-tab:disabled {
    cursor: default;
    opacity: 0.6;
}

/* Paging */
[b-j4k6qbdhzn] .boss-paging {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

/* A list of label / value pairs */
[b-j4k6qbdhzn] .boss-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px 24px;
    margin: 0;
}

[b-j4k6qbdhzn] .boss-facts dt {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

[b-j4k6qbdhzn] .boss-facts dd {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    word-break: break-word;
}

/* Warnings of a fleet row */
[b-j4k6qbdhzn] .boss-warnings {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[b-j4k6qbdhzn] .boss-warnings li {
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--color-warning-light);
    color: var(--color-warning-dark);
    font-size: var(--font-size-sm);
}

/* A panel inside a card (the branch panel of the fleet, the role parts of a user) */
[b-j4k6qbdhzn] .boss-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

[b-j4k6qbdhzn] .boss-panel h4 {
    margin: 0 0 12px 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

[b-j4k6qbdhzn] .boss-note {
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    margin: 8px 0;
}

/* The framework resets lists to no marker: the install steps are numbered again here. */
[b-j4k6qbdhzn] .boss-steps {
    margin: 0;
    padding-left: 26px;
    list-style: decimal outside;
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

[b-j4k6qbdhzn] .boss-steps > li {
    display: list-item;
    margin-bottom: 10px;
}

[b-j4k6qbdhzn] .boss-steps .boss-steps {
    list-style: lower-alpha outside;
    font-size: var(--font-size-sm);
}

/* The rows of the two Boss plan warning lists of Boss Branches (T-20261114-01): a plain list with a small gap */
[b-j4k6qbdhzn] .boss-plan-list {
    margin: 8px 0 0 0;
    padding-left: 20px;
    list-style: disc outside;
}

[b-j4k6qbdhzn] .boss-plan-list > li {
    display: list-item;
    margin-bottom: 6px;
}

[b-j4k6qbdhzn] .boss-steps code,
.boss-page[b-j4k6qbdhzn]  code:where(:not(.boss-overrides code):not(.boss-machine-picker code)) {
    font-family: var(--font-mono);
    font-size: var(--font-size-caption);
    background: var(--bg-tertiary);
    padding: 1px 5px;
    border-radius: 4px;
    word-break: break-word;
}

/* The one-time token */
.boss-page[b-j4k6qbdhzn]  .boss-token {
    font-family: var(--font-mono);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    user-select: all;
    word-break: break-all;
}

/* Stored JSON, shown as text (JsonDetails) */
.boss-page[b-j4k6qbdhzn]  .boss-json {
    font-family: var(--font-mono);
    font-size: var(--font-size-xs);
    line-height: 1.5;
    margin: 6px 0 0 0;
    padding: 10px 12px;
    max-width: 640px;
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--text-primary);
}

/* The work hours editor */
.boss-page[b-j4k6qbdhzn]  .boss-hours-day {
    display: grid;
    grid-template-columns: 110px 90px 1fr;
    gap: 8px 12px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.boss-page[b-j4k6qbdhzn]  .boss-hours-ranges {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.boss-page[b-j4k6qbdhzn]  .boss-hours-range {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.boss-page[b-j4k6qbdhzn]  .boss-hours-range .form-input {
    width: 130px;
}

/* The overrides editor and the pickers */
.boss-page[b-j4k6qbdhzn]  .boss-codes {
    max-height: 360px;
    overflow: auto;
}

.boss-page[b-j4k6qbdhzn]  .boss-pick-list {
    max-height: 240px;
    overflow: auto;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.boss-page[b-j4k6qbdhzn]  .boss-pick-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    text-align: left;
    cursor: pointer;
}

.boss-page[b-j4k6qbdhzn]  .boss-pick-item.active {
    background: var(--bg-tertiary);
}

@media (hover: hover) {
    .boss-page[b-j4k6qbdhzn]  .boss-pick-item:hover {
        background: var(--bg-tertiary);
    }
}

/* The two rules of the former style attributes (T-20261122-01 C2): the empty lines of ActivationBranchPicker
   ("No client matches.", "This client has no branch.") and the days box of Boss Audit */
.boss-page[b-j4k6qbdhzn]  .boss-pick-empty {
    padding: 8px 12px;
}

.boss-page[b-j4k6qbdhzn]  .boss-days-input {
    width: 90px;
}

@media (max-width: 768px) {
    /* The phone space of the list pages (T-20261030-03 Part C, the owner: "Fix it in Part C"): with the 8 px of
       .main-content, 12 px from the screen edge (lists.css .list-page), and the PageHeader's compact 12 px */
    .boss-page[b-j4k6qbdhzn] {
        padding: 8px 4px;
    }

    .boss-page[b-j4k6qbdhzn]  .boss-site-select {
        min-width: 0;
        flex: 1 1 140px;
    }

    .boss-page[b-j4k6qbdhzn]  .boss-hours-day {
        grid-template-columns: 1fr;
    }

    /* A form window on the phone (T-20261029-01 C9, measured live at 375 px): a long e-mail in the title
       pushed the close button out of view, and a long button text stuck out on the right. The title and
       the button texts wrap; the close button keeps its size. */
    .boss-page[b-j4k6qbdhzn]  .form-modal-title:where(:not(.form-modal-backdrop[data-close-now] *)) {
        flex-wrap: wrap;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .boss-page[b-j4k6qbdhzn]  .form-modal-title span:where(:not(.form-modal-backdrop[data-close-now] *)) {
        min-width: 0;
    }

    /* The name stays beside the icon (a 150 px start), the site badge wraps under it */
    .boss-page[b-j4k6qbdhzn]  .form-modal-title span:first-of-type:where(:not(.form-modal-backdrop[data-close-now] *)) {
        flex: 1 1 150px;
    }

    .boss-page[b-j4k6qbdhzn]  .form-modal-header:where(:not(.form-modal-backdrop[data-close-now] *)) {
        gap: 8px;
    }

    .boss-page[b-j4k6qbdhzn]  .form-modal-close:where(:not(.form-modal-backdrop[data-close-now] *)) {
        flex-shrink: 0;
    }

    .boss-page[b-j4k6qbdhzn]  .boss-panel .btn:where(:not(.boss-hours .btn):not(td .btn):not(.card-field .btn):not(.card-toggle)) {
        white-space: normal;
    }

    /* The overrides grid: the permission code wraps, so the three columns fit the window (C6) */
    .boss-page[b-j4k6qbdhzn]  .boss-codes code {
        overflow-wrap: anywhere;
    }

    .boss-page[b-j4k6qbdhzn]  .boss-codes th,
    .boss-page[b-j4k6qbdhzn]  .boss-codes td {
        padding-left: 8px;
        padding-right: 8px;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* The dashboard tiles (T-20261028-02): 3 columns on the desktop, 2 at phone width; the wide tiles span 2, the
   Versions tile the full row. "dense" fills a cell that a wide tile leaves empty with a later small tile (T-20261031-05) */
.dash-grid[b-g33y9ycbtu] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: var(--space-lg);
}

/* The tile itself is the framework class .dash-tile (cards.css, T-20261114-03 A8, D292), shared with the Finance dashboard; the
   Versions tile is a div.dash-tile with no hover (its rows are the links, T-20261031-06). This file keeps the rules of this page only. */
.dash-note[b-g33y9ycbtu] {
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.dash-tile-wide[b-g33y9ycbtu] {
    grid-column: span 2;
}

.dash-tile-full[b-g33y9ycbtu] {
    grid-column: 1 / -1;
}

/* The version rows (T-20261031-06, the owner's pick "rows with a bar"): 2 columns on the desktop, the order runs down
   the first column; 1 column at 768 px and less. No .dash-staff class: its li rules would hit the rows (r1 #4) */
.dash-versions[b-g33y9ycbtu] {
    list-style: none;
    margin: var(--space-xs) 0 0 0;
    padding: 0;
    columns: 2;
    column-gap: var(--space-xl);
    font-size: var(--font-size-sm);
}

.dash-versions li[b-g33y9ycbtu] {
    break-inside: avoid;
}

/* One row: fixed column widths, so the bar tracks of all rows are equal and the bars compare (r1 #5) */
.dash-version-row[b-g33y9ycbtu] {
    position: relative;
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) 3.5rem 3.5rem 1rem;
    align-items: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    color: inherit;
    text-decoration: none;
    transition: var(--transition-control);
}

/* The framework's .progress-bar has no display value: a span stays inline and ignores its width (r2 A1 / B1) */
.dash-version-bar .progress-bar[b-g33y9ycbtu] {
    display: block;
}

.dash-version-label[b-g33y9ycbtu] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--font-weight-medium);
}

.dash-version-count[b-g33y9ycbtu],
.dash-version-share[b-g33y9ycbtu] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dash-version-share[b-g33y9ycbtu] {
    color: var(--text-secondary);
}

.dash-version-chevron[b-g33y9ycbtu] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* The tap shows on a phone (:active); the hover only where a pointer hovers (CONVENTIONS §4); no scale: a row, not a button */
.dash-version-row:active[b-g33y9ycbtu] {
    background-color: rgba(var(--color-primary-rgb), 0.08);
}

@media (hover: hover) {
    .dash-version-row:hover[b-g33y9ycbtu] {
        background-color: rgba(var(--color-primary-rgb), 0.08);
    }
}

/* Inside the row, not over the next one (r1 #17) */
.dash-version-row:focus-visible[b-g33y9ycbtu] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* A touch pointer gets the tap size on every width (r1 #6, D7) */
@media (pointer: coarse) {
    .dash-version-row[b-g33y9ycbtu] {
        min-height: var(--tap-min);
    }
}

.dash-tile-line[b-g33y9ycbtu] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.dash-staff[b-g33y9ycbtu] {
    list-style: none;
    margin: 0 0 var(--space-xs) 0;
    padding: 0;
    font-size: var(--font-size-sm);
}

.dash-staff li[b-g33y9ycbtu] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 2px 0;
    border-bottom: 1px solid var(--color-border);
}

.dash-staff li:last-child[b-g33y9ycbtu] {
    border-bottom: none;
}

.dash-staff li > span:last-child[b-g33y9ycbtu] {
    flex-shrink: 0;
}

.dash-staff-name[b-g33y9ycbtu] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .dash-grid[b-g33y9ycbtu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    /* The phone padding and title of the tile are in cards.css; the smaller icon and value are this page's own */
    .dash-tile .stat-card-icon[b-g33y9ycbtu] {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-base);
    }

    .dash-tile .stat-card-value[b-g33y9ycbtu] {
        font-size: var(--font-size-2xl);
    }

    .dash-versions[b-g33y9ycbtu] {
        columns: 1;
    }

    .dash-version-row[b-g33y9ycbtu] {
        min-height: var(--tap-min);
    }
}

/* Narrower fixed columns below 1200 px: the bar keeps about 100 px on a 375 px phone, a 320 px screen does not overflow
   (r2 r1 A2 / B2), and the two columns beside the sidebar (1024-1199 px) keep a usable bar (r2 r2 #3) */
@media (max-width: 1199px) {
    .dash-version-row[b-g33y9ycbtu] {
        grid-template-columns: 4rem minmax(0, 1fr) 2.75rem 3.25rem 0.75rem;
        gap: var(--space-xs);
    }
}
/* /Components/Pages/Finance/Areas.razor.rz.scp.css */
/* The Areas page (T-20261102-01): one card per main area, its sub-areas as rows; one column on a phone. */

.fin-areas[b-7zq5cqkxbt] {
   display: flex;
   flex-direction: column;
   gap: var(--space-md);
   margin-bottom: var(--space-md);
}

.fin-area[b-7zq5cqkxbt] {
   padding: var(--space-md);
}

.fin-area-head[b-7zq5cqkxbt],
.fin-sub[b-7zq5cqkxbt] {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: var(--space-md);
}

.fin-sub[b-7zq5cqkxbt] {
   margin-top: var(--space-md);
   padding-top: var(--space-md);
   border-top: 1px solid var(--color-border);
}

.fin-sub-main[b-7zq5cqkxbt] {
   min-width: 0;
}

.fin-area-title[b-7zq5cqkxbt] {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: var(--space-sm);
   min-width: 0;
}

.fin-staff[b-7zq5cqkxbt] {
   margin-top: var(--space-sm);
}

/* A long name wraps inside its chip, so it stays inside the card at 375 px */
.fin-staff .card-chip[b-7zq5cqkxbt] {
   white-space: normal;
   height: auto;
}

.fin-actions[b-7zq5cqkxbt] {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-end;
   gap: var(--space-sm);
   flex-shrink: 0;
}

/* An inactive area or a person with an inactive profile: grey, still readable */
.fin-inactive[b-7zq5cqkxbt] {
   color: var(--text-secondary);
   background-color: var(--bg-tertiary);
}

@media (max-width: 768px) {
   .fin-area-head[b-7zq5cqkxbt],
   .fin-sub[b-7zq5cqkxbt] {
      flex-direction: column;
      align-items: stretch;
   }

   .fin-actions[b-7zq5cqkxbt] {
      justify-content: flex-start;
   }

}

@media (max-width: 768px), (pointer: coarse) {
   .fin-actions .btn[b-7zq5cqkxbt] {
      min-height: var(--tap-min);
   }
}
/* /Components/Pages/Finance/Billing.razor.rz.scp.css */
/* The Billing setup page (T-20261102-02): one row of the drawer's lists (a charge, an opening row, a pause, a price), the money numbers, the title of a part of a sheet. */

.fin-row-main[b-95o634eb9u] {
   flex: 1 1 180px;
   min-width: 0;
}

.fin-part-title[b-95o634eb9u] {
   margin: var(--space-lg) 0 var(--space-sm);
   padding-top: var(--space-md);
   border-top: 1px solid var(--color-border);
   font-size: var(--font-size-base);
   font-weight: 600;
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-row .btn[b-95o634eb9u] {
      min-height: var(--tap-min);
   }
}

/* Four filters on a phone: two on each line, so each name reads in full (one line cut them to "Pri...") */
@media (max-width: 768px) {
   .section[b-95o634eb9u]  .filter-dd {
      flex: 1 1 calc(50% - var(--space-sm));
   }
}
/* /Components/Pages/Finance/BillingLog.razor.rz.scp.css */
/* The Billing log (T-20261102-02): the two date fields in one line, the money numbers. */

.fin-range[b-2nstyfw0vc] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-md);
}

.fin-range .form-group[b-2nstyfw0vc] {
   flex: 1 1 160px;
   max-width: 220px;
}

.fin-nowrap[b-2nstyfw0vc] {
   white-space: nowrap;
}

/* /Components/Pages/Finance/BossSubscriptions.razor.rz.scp.css */
/* T-20261110-03 (F6a): the page "Boss subscriptions" */
.boss-nowrap[b-8i8n2m2wpc] {
   white-space: nowrap;
}

.boss-warning[b-8i8n2m2wpc] {
   color: var(--color-warning);
}

/* T-20261128-01 Part 2 (review round 2 r1b #7): the framework's radio has no disabled look; "From this month" when this month's fee has a payment */
.boss-price-from .form-radio:disabled[b-8i8n2m2wpc],
.boss-price-from .form-radio:disabled + .form-radio-label[b-8i8n2m2wpc] {
   opacity: 0.5;
   cursor: not-allowed;
}
/* /Components/Pages/Finance/CustodyRowLine.razor.rz.scp.css */
/* One row of a person's money (T-20261104-01): the form of a statement row of Receive.razor.css. */

.fin-row-main[b-l24mfyq10l] {
   flex: 1 1 180px;
   min-width: 0;
   overflow-wrap: anywhere;
}

.fin-row-actions[b-l24mfyq10l] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-xs);
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-row-actions[b-l24mfyq10l]  .btn {
      min-height: var(--tap-min);
   }
}
/* /Components/Pages/Finance/CycleReport.razor.rz.scp.css */
/* The Cycle report (T-20261105-02, decision 7): one card per section; a line is a label, a count and an amount, one row on a phone too. */

.fin-card[b-n3xy3mq7p2] {
   padding: var(--space-md);
   margin-bottom: var(--space-md);
}

.fin-report-toolbar[b-n3xy3mq7p2] {
   display: flex;
   flex-wrap: wrap;
   align-items: flex-end;
   justify-content: space-between;
   gap: var(--space-sm);
}

.fin-report-picker[b-n3xy3mq7p2] {
   flex: 1 1 16rem;
   margin-bottom: 0;
}

.fin-report-actions[b-n3xy3mq7p2] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-sm);
}

/* The picker's hint takes the whole next line (the owner, 2026-11-09): the buttons align with the Cycle box, not with the hint */
.fin-report-hint[b-n3xy3mq7p2] {
   flex-basis: 100%;
   margin-top: calc(-1 * var(--space-xs));
}

/* r2 #3 and #4 of review round 2: the hint follows the Cycle box in the page code (the reading order); on a desktop the buttons move up to the line of the box, on a phone the hint stands under the box, above the buttons */
@media (min-width: 769px) {
   .fin-report-actions[b-n3xy3mq7p2] {
      order: 1;
   }

   .fin-report-hint[b-n3xy3mq7p2] {
      order: 2;
   }
}

@media (max-width: 768px) {
   .fin-report-hint[b-n3xy3mq7p2] {
      margin-top: 0;
   }
}

.fin-report-sub[b-n3xy3mq7p2] {
   font-size: var(--font-size-base);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-xs);
}

.fin-report-row[b-n3xy3mq7p2] {
   display: flex;
   align-items: baseline;
   gap: var(--space-sm);
   padding: var(--space-xs) 0;
   border-bottom: 1px solid var(--color-border);
}

.fin-report-label[b-n3xy3mq7p2] {
   flex: 1 1 auto;
   min-width: 0;
   overflow-wrap: anywhere;
}

.fin-report-count[b-n3xy3mq7p2] {
   flex: 0 0 auto;
   color: var(--text-secondary);
   font-variant-numeric: tabular-nums;
}

.fin-money[b-n3xy3mq7p2] {
   flex: 0 0 auto;
   min-width: 5.5rem;
   text-align: right;
   font-variant-numeric: tabular-nums;
}

.fin-report-head[b-n3xy3mq7p2] {
   font-weight: 600;
   color: var(--text-secondary);
}

.fin-report-total[b-n3xy3mq7p2] {
   font-weight: 600;
   border-bottom: none;
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-action[b-n3xy3mq7p2] {
      min-height: var(--tap-min);
   }

   .fin-money[b-n3xy3mq7p2] {
      min-width: 4.5rem;
   }
}

/* F7 (T-20261108-02, decision 13): one line per payslip of the cycle */
.fin-report-payslip[b-n3xy3mq7p2] {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap: var(--space-xs) var(--space-md);
   padding: var(--space-xs) 0;
   border-bottom: 1px solid var(--color-border);
   overflow-wrap: anywhere;
}
/* /Components/Pages/Finance/ExpenseRowLine.razor.rz.scp.css */
/* One row of the Expenses page (T-20261104-02): the form of CustodyRowLine. */

.fin-row-main[b-4so6sb7m93] {
   flex: 1 1 180px;
   min-width: 0;
   overflow-wrap: anywhere;
}

.fin-row-actions[b-4so6sb7m93] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-xs);
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-row-actions[b-4so6sb7m93]  .btn {
      min-height: var(--tap-min);
   }
}
/* /Components/Pages/Finance/Expenses.razor.rz.scp.css */
/* The Expenses page (T-20261104-02): the form of My finance. A phone first: two small tiles, then the lists. */

.fin-part-title[b-xohb2u98s6] {
   font-size: var(--font-size-lg);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-sm);
}

/* The tile grid .fin-tiles and its compact phone tiles are in cards.css (T-20261114-03 A8, D292) */
.fin-main-action[b-xohb2u98s6] {
   margin-top: var(--space-md);
}

.fin-card[b-xohb2u98s6] {
   padding: var(--space-md);
}

.fin-list[b-xohb2u98s6] {
   margin-top: var(--space-md);
}

.fin-older-title[b-xohb2u98s6] {
   font-size: var(--font-size-base);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-xs);
}

.fin-number[b-xohb2u98s6] {
   text-align: right;
   font-variant-numeric: tabular-nums;
}

.fin-total-line td[b-xohb2u98s6] {
   font-weight: 600;
}

/* "My payslips" (T-20261108-02, F7): one line per payslip; a tap shows its rows */
.fin-payslip-line[b-xohb2u98s6] {
   padding: var(--space-xs) 0;
   border-bottom: 1px solid var(--color-border);
   overflow-wrap: anywhere;
}

.fin-payslip-line .row-name-btn[b-xohb2u98s6] {
   text-align: left;
   white-space: normal;
}

.fin-chosen-branch[b-xohb2u98s6] {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: var(--space-sm);
   overflow-wrap: anywhere;
}

/* A match of the branch search: a full line that wraps, with the tap size of a phone */
.fin-branch-match[b-xohb2u98s6] {
   display: block;
   width: 100%;
   margin-top: var(--space-xs);
   text-align: left;
   white-space: normal;
   overflow-wrap: anywhere;
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-branch-match[b-xohb2u98s6] {
      min-height: var(--tap-min);
   }

   .fin-chosen-branch .btn[b-xohb2u98s6] {
      min-width: var(--tap-min);
      min-height: var(--tap-min);
   }
}

@media (max-width: 768px) {
   .fin-main-action .btn[b-xohb2u98s6] {
      width: 100%;
      min-height: var(--tap-min);
   }

   /* The per-person table stays a table on the phone, its Total column in sight: smaller cells */
   .fin-totals th[b-xohb2u98s6],
   .fin-totals td[b-xohb2u98s6] {
      padding: var(--space-xs);
      font-size: var(--font-size-sm);
   }
}
/* /Components/Pages/Finance/FinanceDashboard.razor.rz.scp.css */
/* The Finance dashboard (T-20261111-02, P12). The tiles use the framework tile classes (stat-card-header, -title, -icon, -value) in the framework grid (grid grid-cols-3: 2 columns at 1024 px
   and less, 1 at 768 px and less). The tile is the framework class .dash-tile (cards.css, T-20261114-03 A8, D292), shared with the Dashboard: a tile with one target is one link
   (a.dash-tile, with the hover); a tile with several targets or a list is a div with no hover, and each row is its own link (.fdash-link-row) or a plain line (.fdash-row): never a
   link inside a link. This file keeps the rules of this page only. */
.fdash-grid[b-tf3h1h4eis] {
    align-items: start;
}

/* A long word or number must not widen its grid column (the framework grid-cols-3 is repeat(3, 1fr), with no minmax(0, ...)) */
.dash-tile[b-tf3h1h4eis] {
    min-width: 0;
}

.fdash-line[b-tf3h1h4eis] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.fdash-money[b-tf3h1h4eis] {
    font-variant-numeric: tabular-nums;
}

.fdash-warning[b-tf3h1h4eis] {
    color: var(--color-warning);
}

.fdash-rows[b-tf3h1h4eis] {
    list-style: none;
    margin: var(--space-xs) 0;
    padding: 0;
    font-size: var(--font-size-sm);
}

/* A plain line and a link row share one layout: the name, the value, and the chevron of a link */
.fdash-row[b-tf3h1h4eis],
.fdash-link-row[b-tf3h1h4eis] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: 2px var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.fdash-rows li:last-child .fdash-row[b-tf3h1h4eis],
.fdash-rows li:last-child .fdash-link-row[b-tf3h1h4eis],
.fdash-rows li.fdash-row:last-child[b-tf3h1h4eis] {
    border-bottom: none;
}

.fdash-link-row[b-tf3h1h4eis] {
    border-radius: var(--radius-md);
    color: inherit;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-control);
}

/* The tile's own link (Open the Staff page) stands under its list */
.dash-tile > .fdash-link-row[b-tf3h1h4eis] {
    margin-top: var(--space-xs);
    border-bottom: none;
    color: var(--color-primary);
    justify-content: space-between;
}

.fdash-link-row:active[b-tf3h1h4eis] {
    background-color: rgba(var(--color-primary-rgb), 0.08);
}

@media (hover: hover) {
    .fdash-link-row:hover[b-tf3h1h4eis] {
        background-color: rgba(var(--color-primary-rgb), 0.08);
    }
}

.fdash-link-row:focus-visible[b-tf3h1h4eis] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.fdash-link-row .fa-chevron-right[b-tf3h1h4eis] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.fdash-row-name[b-tf3h1h4eis] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.fdash-row-sub[b-tf3h1h4eis] {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.fdash-row-value[b-tf3h1h4eis] {
    flex-shrink: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* A touch pointer gets the tap size on every width (CONVENTIONS §4) */
@media (pointer: coarse) {
    .fdash-link-row[b-tf3h1h4eis] {
        min-height: var(--tap-min);
    }
}

@media (max-width: 768px) {
    .fdash-link-row[b-tf3h1h4eis] {
        min-height: var(--tap-min);
    }
}
/* /Components/Pages/Finance/MyFinance.razor.rz.scp.css */
/* My finance (T-20261104-01): the tiles, the main button and the parts. A phone first: one big tile, then two small ones. */

.fin-part-title[b-xk4m24vvw4] {
   font-size: var(--font-size-lg);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-sm);
}

/* The tile grid (.fin-tiles, the first row .fin-tiles-three: one big tile on a phone) and its compact phone tiles are in cards.css (T-20261114-03 A8, D292) */
.fin-main-action[b-xk4m24vvw4] {
   margin-top: var(--space-md);
}

.fin-card[b-xk4m24vvw4] {
   padding: var(--space-md);
}

.fin-older-title[b-xk4m24vvw4] {
   font-size: var(--font-size-base);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-xs);
}

@media (max-width: 768px) {
   .fin-main-action .btn[b-xk4m24vvw4] {
      width: 100%;
      min-height: var(--tap-min);
   }
}

/* F4 (T-20261105-02): the payout sheet before the first close, and the total of "Paid to me" */
.fin-not-yet[b-xk4m24vvw4] {
   font-weight: 500;
   color: var(--color-warning-dark);
}

.fin-paid-total[b-xk4m24vvw4] {
   margin: var(--space-sm) 0 0;
   text-align: right;
}

/* T-20261111-02 (P15): the second tile row: two equal tiles at every width (the shared .fin-tiles grid; the first row is .fin-tiles-three) */
.fin-tiles.fin-tiles-two[b-xk4m24vvw4] {
   margin-top: var(--space-md);
}

.fin-tile-link[b-xk4m24vvw4] {
   display: inline-flex;
   align-items: center;
   min-height: var(--tap-min);
   color: var(--color-primary);
   font-size: var(--font-size-sm);
}

/* The lists "Overdue in my areas" and "Added by you": name first, then the numbers; they wrap on a phone */
.fin-mine[b-xk4m24vvw4] {
   list-style: none;
   margin: 0;
   padding: 0;
}

.fin-mine-line[b-xk4m24vvw4] {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: var(--space-xs) var(--space-sm);
   padding: var(--space-xs) 0;
   border-bottom: 1px solid var(--color-border);
}

.fin-mine-line:last-child[b-xk4m24vvw4] {
   border-bottom: none;
}

.fin-mine-name[b-xk4m24vvw4] {
   flex: 1 1 12rem;
   min-width: 0;
   overflow-wrap: anywhere;
   font-weight: 500;
}

.fin-mine-actions[b-xk4m24vvw4] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-sm);
   margin-top: var(--space-sm);
}

.fin-mine-actions .btn[b-xk4m24vvw4] {
   min-height: var(--tap-min);
   display: inline-flex;
   align-items: center;
}
/* /Components/Pages/Finance/Overdue.razor.rz.scp.css */
/* The Overdue page (T-20261107-01, F5a): the tiles, the three sections, the sheets' fact lines. */

.fin-part-title[b-y9scfshf8h] {
   font-size: var(--font-size-lg);
   font-weight: 600;
   margin: var(--space-lg) 0 var(--space-sm);
}

/* The tile grid .fin-tiles and its compact phone tiles are in cards.css (T-20261114-03 A8, D292); the space above is this page's own */
.fin-tiles[b-y9scfshf8h] {
   margin-top: var(--space-md);
}

.fin-toolbar[b-y9scfshf8h] {
   display: flex;
   justify-content: flex-end;
   margin-top: var(--space-sm);
}

.fin-warning[b-y9scfshf8h] {
   color: var(--color-warning-dark);
}

.fin-card[b-y9scfshf8h] {
   padding: var(--space-md);
   margin-bottom: var(--space-md);
}

.fin-card-head[b-y9scfshf8h] {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: flex-start;
   gap: var(--space-sm);
   margin-bottom: var(--space-sm);
}

.fin-card-actions[b-y9scfshf8h],
.fin-chips[b-y9scfshf8h] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-sm);
   margin-top: var(--space-sm);
}

.fin-empty[b-y9scfshf8h] {
   margin: 0;
   font-weight: 500;
}

.fin-lines[b-y9scfshf8h] {
   margin: var(--space-sm) 0;
   padding-left: var(--space-lg);
}

.fin-lines li[b-y9scfshf8h] {
   margin-bottom: var(--space-xs);
   overflow-wrap: anywhere;
}

.fin-machine-lines[b-y9scfshf8h] {
   font-size: var(--font-size-sm);
}

.fin-identifier[b-y9scfshf8h] {
   font-family: var(--font-mono);
}

.fin-close-words[b-y9scfshf8h] {
   font-weight: 500;
   color: var(--color-warning-dark);
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-action[b-y9scfshf8h] {
      min-height: var(--tap-min);
   }
}
/* /Components/Pages/Finance/OwnersShareCard.razor.rz.scp.css */
/* The owners' share block (T-20261113-03, P5): the form of a report section; a line is a label and an amount, one row on a phone too. */

.fin-share-card[b-b0iulj40p8] {
   padding: var(--space-md);
   margin-bottom: var(--space-md);
}

/* Inside the Close part: the heading of "The numbers so far" (Periods.razor.css .fin-close-title) */
.fin-share-flat[b-b0iulj40p8] {
   margin: var(--space-sm) 0 var(--space-md);
}

.fin-share-title[b-b0iulj40p8] {
   font-size: var(--font-size-base);
   font-weight: 600;
   margin: var(--space-sm) 0;
}

.fin-share-row[b-b0iulj40p8] {
   display: flex;
   align-items: baseline;
   gap: var(--space-sm);
   padding: var(--space-xs) 0;
   border-bottom: 1px solid var(--color-border);
}

.fin-share-label[b-b0iulj40p8] {
   flex: 1 1 auto;
   min-width: 0;
   overflow-wrap: anywhere;
}

.fin-share-money[b-b0iulj40p8] {
   flex: 0 0 auto;
   min-width: 5.5rem;
   text-align: right;
   font-variant-numeric: tabular-nums;
}

.fin-share-total[b-b0iulj40p8] {
   font-weight: 600;
   border-bottom: none;
}

.fin-share-owner[b-b0iulj40p8] {
   margin-top: var(--space-md);
}

.fin-share-owner .fin-share-row:last-child[b-b0iulj40p8] {
   border-bottom: none;
}

.fin-share-none[b-b0iulj40p8] {
   margin-top: var(--space-sm);
}

@media (max-width: 768px) {
   .fin-share-money[b-b0iulj40p8] {
      min-width: 4.5rem;
   }
}
/* /Components/Pages/Finance/Payroll.razor.rz.scp.css */
/* The Payroll page (T-20261108-02, F7): the form of the Expenses page. A small list: the table on a desktop, a card per person on a phone. */

.fin-part-title[b-zbqx3jfpam] {
   font-size: var(--font-size-lg);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-sm);
}

.fin-actions[b-zbqx3jfpam] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-sm);
   margin: var(--space-sm) 0 var(--space-md);
}

.fin-main-action[b-zbqx3jfpam] {
   margin-top: var(--space-md);
}

.fin-card[b-zbqx3jfpam] {
   padding: var(--space-md);
}

.fin-line[b-zbqx3jfpam] {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap: var(--space-xs) var(--space-md);
   padding: var(--space-xs) 0;
   border-bottom: 1px solid var(--color-border);
   overflow-wrap: anywhere;
}

.fin-line:last-child[b-zbqx3jfpam] {
   border-bottom: none;
}

.fin-number[b-zbqx3jfpam] {
   text-align: right;
   font-variant-numeric: tabular-nums;
}

.fin-cancelled[b-zbqx3jfpam] {
   color: var(--text-secondary);
}

.fin-drawer-action[b-zbqx3jfpam] {
   margin-top: var(--space-md);
}

@media (max-width: 768px) {
   .fin-actions .btn[b-zbqx3jfpam],
   .fin-main-action .btn[b-zbqx3jfpam] {
      width: 100%;
      min-height: var(--tap-min);
   }
}

/* The state on a phone card: under the name, the full width of the card, the text centred (the owner, 2026-11-09, after the F7 deploy) */
.fin-card-identity[b-zbqx3jfpam],
.fin-card-identity .mobile-card-info[b-zbqx3jfpam] {
   flex: 1 1 auto;
   min-width: 0;
   width: 100%;
}

.fin-state-card[b-zbqx3jfpam] {
   display: block;
   width: 100%;
   margin-top: var(--space-xs);
   text-align: center;
   white-space: normal;
}

/* In the table the state stays on one row for the usual words; only the manager's long word wraps (the owner, 2026-11-09) */
.fin-payroll-table .fin-state[b-zbqx3jfpam] {
   display: inline-block;
   min-width: 14rem;
   white-space: normal;
   text-align: center;
}

/* Ten columns in a 1000 px box: this table takes the small side padding, so the State column keeps its one row and Actions stays in sight (the owner, 2026-11-09) */
.fin-payroll-table th[b-zbqx3jfpam],
.fin-payroll-table td[b-zbqx3jfpam] {
   padding-left: var(--space-sm);
   padding-right: var(--space-sm);
}
/* /Components/Pages/Finance/Periods.razor.rz.scp.css */
/* The Cycles page (T-20261102-02): one card per cycle and per money held at start row. */

.fin-card[b-ipqm7444qo] {
   padding: var(--space-md);
   margin-bottom: var(--space-md);
}

.fin-card-head[b-ipqm7444qo],
.fin-section-head[b-ipqm7444qo] {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   gap: var(--space-sm);
}

.fin-card-head[b-ipqm7444qo] {
   margin-bottom: var(--space-sm);
}

.fin-card-side[b-ipqm7444qo] {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: var(--space-sm);
}

/* An undone row stays visible, in grey */
.fin-undone[b-ipqm7444qo] {
   color: var(--text-secondary);
   background-color: var(--bg-tertiary);
}

.fin-undone .fin-money[b-ipqm7444qo] {
   text-decoration: line-through;
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-action[b-ipqm7444qo] {
      min-height: var(--tap-min);
   }
}

/* The Close part of the open cycle and the Close sheet (T-20261105-02, decision 13) */
.fin-close-part[b-ipqm7444qo] {
   margin-top: var(--space-md);
   padding-top: var(--space-md);
   border-top: 1px solid var(--color-border);
}

.fin-close-title[b-ipqm7444qo] {
   font-size: var(--font-size-base);
   font-weight: 600;
   margin: var(--space-sm) 0;
}

.fin-close-none[b-ipqm7444qo] {
   color: var(--color-success-dark);
}

.fin-blockers[b-ipqm7444qo] {
   margin: 0 0 var(--space-sm);
   padding-left: var(--space-lg);
   color: var(--color-danger-dark);
}

.fin-blockers li[b-ipqm7444qo] {
   margin-bottom: var(--space-xs);
}

.fin-close-words[b-ipqm7444qo] {
   font-weight: 500;
   color: var(--color-warning-dark);
}
/* /Components/Pages/Finance/Receive.razor.rz.scp.css */
/* The Receive page (T-20261103-01): one row of the statement, the money numbers, the actions of the saved view. The same forms as Billing.razor.css. */

.fin-row-main[b-jzp5yhh4wv] {
   flex: 1 1 180px;
   min-width: 0;
}

.fin-row-actions[b-jzp5yhh4wv] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-xs);
}

.fin-text-actions[b-jzp5yhh4wv] {
   display: flex;
   flex-wrap: wrap;
   gap: var(--space-sm);
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-row .btn[b-jzp5yhh4wv],
   .fin-text-actions .btn[b-jzp5yhh4wv] {
      min-height: var(--tap-min);
   }
}

/* The filters on a phone (Payment, Area, Sort since T-20261130-01): each half a line, so each name reads in full; the third goes to its own line */
@media (max-width: 768px) {
   .section[b-jzp5yhh4wv]  .filter-dd {
      flex: 1 1 calc(50% - var(--space-sm));
   }
}
/* /Components/Pages/Finance/Settings.razor.rz.scp.css */
/* The Financial Settings page (T-20261102-01): the tap size of its two main actions on a phone (a plain .btn is 40 px). */

@media (max-width: 768px), (pointer: coarse) {
   .fin-settings-action[b-8a85h42jxf] {
      min-height: var(--tap-min);
   }
}

/* The default receipt text keeps its lines (T-20261103-01) */
.fin-template[b-8a85h42jxf] {
   white-space: pre-line;
}
/* /Components/Pages/Finance/Staff.razor.rz.scp.css */
/* The Staff page (T-20261102-01): the link to the Areas page is one icon, so it gets the tap size on a phone. */

/* A narrow phone: the buttons of a row go to a second line */
.fin-row-actions[b-pbcoexeawe] {
   flex-wrap: wrap;
}

.fin-areas-link[b-pbcoexeawe] {
   display: inline-flex;
   align-items: center;
   justify-content: center;
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-areas-link[b-pbcoexeawe] {
      min-width: var(--tap-min);
      min-height: var(--tap-min);
   }
}

/* Decision 16 of T-20261102-02: "Actions" fits at 1366 px without a sideways scroll: tighter cell sides, and the e-mail under the name breaks only when it must */
.fin-staff-table th[b-pbcoexeawe],
.fin-staff-table td[b-pbcoexeawe] {
   padding-left: var(--space-sm);
   padding-right: var(--space-sm);
}

.fin-staff-table th:first-child[b-pbcoexeawe],
.fin-staff-table td:first-child[b-pbcoexeawe] {
   padding-left: var(--space-lg);
}

.fin-money[b-pbcoexeawe] {
   font-variant-numeric: tabular-nums;
   white-space: nowrap;
}

.fin-staff-email[b-pbcoexeawe] {
   overflow-wrap: break-word;
}

/* The sub line under "Money held": the money cell does not wrap, this line may */
.fin-waiting[b-pbcoexeawe] {
   white-space: normal;
}

.fin-drawer-action[b-pbcoexeawe] {
   margin: var(--space-sm) 0;
}

.fin-older-title[b-pbcoexeawe] {
   font-size: var(--font-size-base);
   font-weight: 600;
   margin: var(--space-md) 0 var(--space-xs);
}

@media (max-width: 768px), (pointer: coarse) {
   .fin-show-older[b-pbcoexeawe],
   .fin-drawer-action .btn[b-pbcoexeawe] {
      min-height: var(--tap-min);
   }
}
/* /Components/Pages/Finance/UnbilledLicenses.razor.rz.scp.css */
/* T-20261109-01, D15: the page "Unbilled licenses" */
.unbilled-nowrap[b-6wag8eueyj] {
   white-space: nowrap;
   font-variant-numeric: tabular-nums;
}

.unbilled-mono[b-6wag8eueyj] {
   font-family: var(--font-mono);
   white-space: nowrap;
}
/* /Components/Pages/Machines.razor.rz.scp.css */
/* Monospace for machine identifiers */
.font-mono[b-6j0af3dzu7] {
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* Machines Table - compact */
.machines-table[b-6j0af3dzu7] {
    font-size: var(--font-size-caption);
}

.machines-table th[b-6j0af3dzu7] {
    padding: 12px 10px;
    white-space: nowrap;
    font-size: var(--font-size-xs);
}

.machines-table td[b-6j0af3dzu7] {
    padding: 10px 10px;
    white-space: nowrap;
}

.machine-name-cell[b-6j0af3dzu7] {
    max-width: 180px;
}

.machine-name-cell .font-medium[b-6j0af3dzu7] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.machine-name-cell .font-mono[b-6j0af3dzu7] {
    font-size: var(--font-size-2xs);
}

/* Icon columns */
.col-icon[b-6j0af3dzu7] {
    text-align: center;
    width: 44px;
    min-width: 44px;
}

/* Status icons */
.status-icon-success[b-6j0af3dzu7] {
    color: #10b981;
    font-size: 16px;
}

.status-icon-danger[b-6j0af3dzu7] {
    color: #ef4444;
    font-size: 16px;
}

/* The suspended mark in the head of a phone card is larger (T-20261122-01 C2: before, a style attribute of 18 px) */
.status-icon-success.status-icon-card[b-6j0af3dzu7],
.status-icon-danger.status-icon-card[b-6j0af3dzu7] {
    font-size: 18px;
}

/* The small dot in the head cell of the status column (T-20261122-01 C2: before, a style attribute) */
.col-icon-dot[b-6j0af3dzu7] {
    font-size: 8px;
}

/* Boolean icons */
.bool-icon-on[b-6j0af3dzu7] {
    font-size: 14px;
}

.bool-icon-off[b-6j0af3dzu7] {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.25;
}

/* Connection badges */
.conn-badge[b-6j0af3dzu7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: var(--font-size-2xs);
    font-weight: 600;
    white-space: nowrap;
}

.conn-badge i[b-6j0af3dzu7] {
    font-size: 10px;
}

.conn-server[b-6j0af3dzu7] {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.conn-remote[b-6j0af3dzu7] {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
}

.text-nowrap[b-6j0af3dzu7] {
    white-space: nowrap;
}

/* Machine avatar for mobile */
.machine-avatar[b-6j0af3dzu7] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

/* The items of the meta row (ExpandableCard MetaRow; the row itself is .card-meta in css/phoenix/lists.css) */
.meta-item[b-6j0af3dzu7] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.meta-item i[b-6j0af3dzu7] {
    font-size: 11px;
    color: var(--color-primary);
}

/* The name in the desktop row opens the drawer (row-name-btn, lists.css): cut with "..." as the name text was */
.machine-name-cell .row-name-btn[b-6j0af3dzu7] {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    outline-offset: -2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Below 1024 px the button is 44 px high (lists.css): the text in its middle (an inline block, for the "...") */
@media not all and (min-width: 1024px) {
    .machine-name-cell .row-name-btn[b-6j0af3dzu7] {
        line-height: 44px;
    }
}

/* The Devices section of the detail drawer (T-20261029-02): the field panels of the devices and the shop names */
.drawer-devices[b-6j0af3dzu7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-label[b-6j0af3dzu7] {
    font-size: var(--font-size-2xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
/* Page not found (T-20261122-01 C2: before, three style attributes) */
.not-found-page[b-df5sooxotz] {
    min-height: 60vh;
}

.not-found-box[b-df5sooxotz] {
    max-width: 500px;
}

/* The big 404: a display number, out of the type scale */
.not-found-code[b-df5sooxotz] {
    font-size: 120px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}
/* /Components/Pages/OfflineActivation.razor.rz.scp.css */
/* Page Layout */
.offline-activation-page[b-rua3yplpbh] {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Inside .main-content. Below 1024 px: the header 56 + the bottom bar 64 + the main padding 16 or 32 (152 at most);
       from 1024 px: the header 56 + the main padding 64 (120). 200 px fits both. dvh: the visible height (lists.css) */
    min-height: calc(100vh - 200px);
    min-height: calc(100dvh - 200px);
    padding: 40px 0;
}

/* The header is the shared PageHeader (T-20261122-01 A2) */

/* Offline Card */
.offline-card[b-rua3yplpbh] {
    width: 100%;
    max-width: 640px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.offline-card-body[b-rua3yplpbh] {
    padding: 16px 20px 24px 20px;
}

.form-row[b-rua3yplpbh] {
    margin-bottom: 12px;
}

.form-row.grid-cols-2[b-rua3yplpbh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-label[b-rua3yplpbh] {
    display: block;
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input[b-rua3yplpbh] {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--bg-secondary);
    font-size: var(--font-size-base);
}

.hint[b-rua3yplpbh] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-top: 6px;
}

/* T-20261025-03: the key format choice, one option per line under its label */
/* "Change key format" (T-20261031-02): the touch size on a phone */
@media (pointer: coarse) {
    .format-choice-btn[b-rua3yplpbh] {
        min-height: var(--tap-min);
    }
}

.key-format-options[b-rua3yplpbh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.text-danger[b-rua3yplpbh] {
    color: #dc3545;
    font-weight: 500;
}

.btn-generate[b-rua3yplpbh] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
}

.result-row[b-rua3yplpbh] {
    margin-top: 16px;
}

.result-box[b-rua3yplpbh] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.04), rgba(var(--color-info-rgb), 0.04));
}

.result-text[b-rua3yplpbh] {
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
}

.result-actions[b-rua3yplpbh] {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.icon-btn[b-rua3yplpbh] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .icon-btn:hover[b-rua3yplpbh] {
        background: var(--bg-secondary);
    }
}

/* The pressed look of D6 (mobile.css .icon-btn:active): this rule's transparent background would hide it. */
.icon-btn:active[b-rua3yplpbh] {
    transform: scale(0.97);
    background-color: var(--bg-tertiary);
}

.small[b-rua3yplpbh] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-top: 8px;
}

.offline-card-footer[b-rua3yplpbh] {
    padding: 12px 20px;
    border-top: 1px solid var(--color-border);
    background: var(--bg-primary);
}

.footer-note[b-rua3yplpbh] {
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
}

/* Responsive. The phone space of the list pages (lists.css .list-page): with the 8 px of .main-content, 12 px
   from the screen edge */
@media (max-width: 768px) {
    .offline-activation-page[b-rua3yplpbh] {
        padding: 8px 4px;
    }
}

@media (max-width: 600px) {
    .offline-card[b-rua3yplpbh] { max-width: 100%; }
    .form-row.grid-cols-2[b-rua3yplpbh] { grid-template-columns: 1fr 1fr; }
}
/* /Components/Pages/PendingActivations.razor.rz.scp.css */
/* Page Layout */
.activations-page[b-k54vsrnauk] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}


/* The header is the shared PageHeader (T-20261122-01 A2) */

/* Grid Layout */
.activation-grid[b-k54vsrnauk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 480px));
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styling */
.activation-card[b-k54vsrnauk] {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-control);
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-sm);
}

@media (hover: hover) {
    .activation-card:hover[b-k54vsrnauk] {
        transform: translateY(-4px);
        box-shadow: var(--shadow-raised);
        border-color: var(--color-primary);
    }
}

.activation-card-processing[b-k54vsrnauk] {
    opacity: 0.6;
    pointer-events: none;
}

    .activation-card-processing[b-k54vsrnauk]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-info) 50%, var(--color-primary) 100%);
        background-size: 200% 100%;
        animation: shimmer-b-k54vsrnauk 2s infinite;
    }

@keyframes shimmer-b-k54vsrnauk {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Card Header */
.activation-card-header[b-k54vsrnauk] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.03) 0%, rgba(var(--color-info-rgb), 0.03) 100%);
    border-bottom: 1px solid var(--color-border);
    gap: 12px;
    /* The band reaches the card's edges and top over the card's 8 px padding (T-20261031-05, B1); the card's radius and
       overflow: hidden round its top corners. The processing bar (::before, absolute) still paints above it. */
    margin: calc(-1 * var(--space-sm)) calc(-1 * var(--space-sm)) 0;
}

.activation-card-company[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.activation-card-avatar[b-k54vsrnauk] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: var(--shadow-raised);
    flex-shrink: 0;
    align-self: flex-start;
}

.activation-card-company-info[b-k54vsrnauk] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.activation-card-company-name[b-k54vsrnauk] {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
    max-width: 100%;
    /* Multi-line text with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
}

.activation-card-code[b-k54vsrnauk] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 1px;
}

.activation-card-status[b-k54vsrnauk] {
    flex-shrink: 0;
    /* The badge, and under it the line that names the passed date (T-20261031-05, B2) */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.status-expired-note[b-k54vsrnauk] {
    font-size: var(--font-size-2xs);
    font-weight: 600;
    color: var(--color-danger);
    white-space: nowrap;
}

/* Status Badges */
.status-badge[b-k54vsrnauk] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: var(--font-size-2xs);
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

    .status-badge i[b-k54vsrnauk] {
        font-size: 10px;
    }

.status-new[b-k54vsrnauk] {
    background: rgba(var(--color-success-rgb), 0.12);
    color: var(--color-success);
}

.status-renewal[b-k54vsrnauk] {
    background: rgba(var(--color-warning-rgb), 0.12);
    color: var(--color-warning);
}

.status-processing[b-k54vsrnauk] {
    background: rgba(var(--color-info-rgb), 0.12);
    color: var(--color-info);
}

.status-legacy[b-k54vsrnauk] {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

/* Client/Branch Section */
.activation-client-section[b-k54vsrnauk] {
    padding: 12px 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--color-border);
}

/* Assign Button */
.assign-client-btn[b-k54vsrnauk] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 2px dashed var(--color-border);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: var(--font-size-caption);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .assign-client-btn:hover:not(:disabled)[b-k54vsrnauk] {
        border-color: var(--color-primary);
        background: rgba(var(--color-primary-rgb), 0.05);
        color: var(--color-primary);
    }
}

    .assign-client-btn:active:not(:disabled)[b-k54vsrnauk] {
        transform: scale(0.97);
    }

    .assign-client-btn:disabled[b-k54vsrnauk] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .assign-client-btn i:first-child[b-k54vsrnauk] {
        font-size: 16px;
    }

    .assign-client-btn span[b-k54vsrnauk] {
        flex: 1;
        text-align: left;
    }

    .assign-client-btn i:last-child[b-k54vsrnauk] {
        font-size: 12px;
        opacity: 0.6;
    }

/* Assigned Client Display */
.assigned-client-display[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(var(--color-primary-rgb), 0.06);
    border-radius: 10px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
}

.assigned-client-content[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.assigned-avatar[b-k54vsrnauk] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.assigned-details[b-k54vsrnauk] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.assigned-client-name[b-k54vsrnauk] {
    font-size: var(--font-size-caption);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* T-20261110-01 (D14): the billing badge under the branch name; its text may wrap on a phone */
.assigned-billing-badge[b-k54vsrnauk] {
    align-self: flex-start;
    max-width: 100%;
    height: auto;
    min-height: 24px;
    padding: 2px 10px;
    line-height: 1.3;
    white-space: normal;
    margin-top: 2px;
}

.assigned-branch-name[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

    .assigned-branch-name i[b-k54vsrnauk] {
        font-size: 10px;
        color: var(--color-primary);
    }

.change-client-btn[b-k54vsrnauk] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-control);
    flex-shrink: 0;
}

@media (hover: hover) {
    .change-client-btn:hover:not(:disabled)[b-k54vsrnauk] {
        background: var(--color-primary);
        color: white;
    }
}

    .change-client-btn:active:not(:disabled)[b-k54vsrnauk] {
        transform: scale(0.97);
    }

    .change-client-btn:disabled[b-k54vsrnauk] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .change-client-btn i[b-k54vsrnauk] {
        font-size: 12px;
    }

/* Activation Period Section */
.activation-period-section[b-k54vsrnauk] {
    padding: 14px 16px;
    margin: 12px 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: none;
}

.activation-period-header[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-caption);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

    .activation-period-header i[b-k54vsrnauk] {
        font-size: 14px;
    }

.activation-period-row[b-k54vsrnauk] {
    margin-bottom: 12px;
}

    .activation-period-row:last-child[b-k54vsrnauk] {
        margin-bottom: 0;
    }

.activation-period-label[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: 6px;
}

    .activation-period-label i[b-k54vsrnauk] {
        font-size: 12px;
        width: 14px;
        text-align: center;
    }

.activation-period-inputs[b-k54vsrnauk] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.activation-input-group[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.activation-input[b-k54vsrnauk] {
    width: 60px;
    height: 38px;
    padding: 0 8px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition-control);
}

    .activation-input:focus[b-k54vsrnauk] {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: var(--shadow-focus);
    }

    .activation-input:disabled[b-k54vsrnauk] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.activation-input-label[b-k54vsrnauk] {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Info Grid */
.activation-info-grid[b-k54vsrnauk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--bg-primary);
}

.activation-info-item[b-k54vsrnauk] {
    display: flex;
    gap: 10px;
}

.activation-info-icon[b-k54vsrnauk] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--color-primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.activation-info-content[b-k54vsrnauk] {
    flex: 1;
    min-width: 0;
}

.activation-info-label[b-k54vsrnauk] {
    font-size: var(--font-size-2xs);
    color: var(--text-secondary);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.activation-info-value[b-k54vsrnauk] {
    font-size: var(--font-size-caption);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1px;
    font-variant-numeric: tabular-nums;
}

.activation-info-time[b-k54vsrnauk] {
    font-size: var(--font-size-2xs);
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Expiry Section */
.activation-expiry[b-k54vsrnauk] {
    padding: 12px 16px;
    margin: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid;
}

.expiry-active[b-k54vsrnauk] {
    background: rgba(var(--color-info-rgb), 0.06);
    border-left-color: var(--color-info);
}

.expiry-today[b-k54vsrnauk] {
    background: rgba(var(--color-warning-rgb), 0.06);
    border-left-color: var(--color-warning);
}

.expiry-expired[b-k54vsrnauk] {
    background: rgba(var(--color-danger-rgb), 0.06);
    border-left-color: var(--color-danger);
}

.activation-expiry-header[b-k54vsrnauk] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-2xs);
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* One line per date (T-20261031-05, B3): the label, the date, the day text; on a narrow card the day text wraps to its
   own row, under the label */
.activation-expiry-line[b-k54vsrnauk] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    padding: 2px 0;
}

.activation-expiry-label[b-k54vsrnauk] {
    min-width: 56px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.activation-expiry-date[b-k54vsrnauk] {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.activation-expiry-status[b-k54vsrnauk] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--font-size-xs);
}

    .activation-expiry-status i[b-k54vsrnauk] {
        font-size: 11px;
    }

/* The colour of each line follows its own date, not the block's worst date */
.expiry-line-active .activation-expiry-status[b-k54vsrnauk] {
    color: var(--color-info);
}

.expiry-line-today .activation-expiry-status[b-k54vsrnauk] {
    color: var(--color-warning);
}

.expiry-line-expired .activation-expiry-status[b-k54vsrnauk] {
    color: var(--color-danger);
}

/* Action Buttons */
.activation-actions[b-k54vsrnauk] {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-primary);
}

.activation-btn[b-k54vsrnauk] {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-control);
}

    .activation-btn:disabled[b-k54vsrnauk] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.activation-btn-primary[b-k54vsrnauk] {
    background: var(--gradient-brand);
    color: white;
    box-shadow: var(--shadow-card);
}

@media (hover: hover) {
    .activation-btn-primary:hover:not(:disabled)[b-k54vsrnauk] {
        transform: translateY(-2px);
        box-shadow: var(--shadow-raised);
    }
}

    .activation-btn:active:not(:disabled)[b-k54vsrnauk] {
        transform: scale(0.97);
    }

.activation-btn-cancel[b-k54vsrnauk] {
    flex: 0 0 44px;
    background: transparent;
    color: var(--color-danger);
    border: 1.5px solid var(--color-border);
}

@media (hover: hover) {
    .activation-btn-cancel:hover:not(:disabled)[b-k54vsrnauk] {
        background: rgba(var(--color-danger-rgb), 0.08);
        border-color: var(--color-danger);
    }
}


/* Desktop (1024px - 1400px) - 2-3 columns */
@media (min-width: 1024px) and (max-width: 1400px) {
    .activation-card[b-k54vsrnauk] {
        max-width: 480px;
    }
}

/* Tablet (768px - 1023px) - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .activation-card[b-k54vsrnauk] {
        max-width: 100%;
    }

    .activation-card-company-name[b-k54vsrnauk] {
        font-size: var(--font-size-base);
    }
}

/* Mobile (< 768px) - 1 column */
@media (max-width: 767px) {
    .activation-card[b-k54vsrnauk] {
        max-width: 100%;
    }

    .activation-card-header[b-k54vsrnauk] {
        padding: 14px;
    }

    .activation-card-avatar[b-k54vsrnauk] {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .activation-card-company-name[b-k54vsrnauk] {
        font-size: var(--font-size-base);
        -webkit-line-clamp: 3;
    }

    .activation-period-section[b-k54vsrnauk],
    .activation-client-section[b-k54vsrnauk] {
        padding: 12px 14px;
    }

    .activation-info-grid[b-k54vsrnauk] {
        grid-template-columns: 1fr;
        padding: 12px 14px;
    }

    .activation-actions[b-k54vsrnauk] {
        padding: 12px 14px;
    }

    .activation-expiry[b-k54vsrnauk] {
        margin: 10px 14px;
        padding: 10px 12px;
    }

    /* 44 px tap targets on the phone */
    .activation-input[b-k54vsrnauk] {
        height: 44px;
    }

    .change-client-btn[b-k54vsrnauk] {
        width: 44px;
        height: 44px;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .activation-card-header[b-k54vsrnauk] {
        padding: 12px;
    }

    .activation-card-avatar[b-k54vsrnauk] {
        width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 8px;
    }

    .activation-card-company-name[b-k54vsrnauk] {
        font-size: var(--font-size-sm);
    }

    .activation-period-section[b-k54vsrnauk],
    .activation-client-section[b-k54vsrnauk] {
        padding: 10px 12px;
    }

    .activation-period-inputs[b-k54vsrnauk] {
        gap: 12px;
    }

    .activation-input[b-k54vsrnauk] {
        width: 56px;
        height: 44px;
        font-size: var(--font-size-base);
    }

    .activation-info-grid[b-k54vsrnauk] {
        padding: 10px 12px;
        gap: 10px;
    }

    .activation-info-icon[b-k54vsrnauk] {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .activation-actions[b-k54vsrnauk] {
        padding: 10px 12px;
        gap: 8px;
    }

    .activation-btn[b-k54vsrnauk] {
        height: 44px;
        font-size: var(--font-size-caption);
    }

    .activation-btn-cancel[b-k54vsrnauk] {
        flex: 0 0 44px;
    }

    .activation-expiry[b-k54vsrnauk] {
        margin: 8px 12px;
        padding: 10px;
    }
}

/* The phone space of the list pages (lists.css .list-page): with the 8 px of .main-content, 12 px from the screen edge */
@media (max-width: 768px) {
    .activations-page[b-k54vsrnauk] {
        padding: 8px 4px;
    }
}
/* /Components/Pages/Secrets.razor.rz.scp.css */
/* Page Layout */
.secrets-page[b-4dbq4u62lp] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

/* The header is the shared PageHeader (T-20261122-01 A2) */

/* Secrets Grid */
.secrets-grid[b-4dbq4u62lp] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* Secret Card */
.secret-card[b-4dbq4u62lp] {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .secret-card:hover[b-4dbq4u62lp] {
        box-shadow: var(--shadow-raised);
        transform: translateY(-2px);
    }
}

.secret-card-header[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05), rgba(var(--color-info-rgb), 0.05));
    border-bottom: 1px solid var(--color-border);
}

.secret-icon[b-4dbq4u62lp] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.secret-info[b-4dbq4u62lp] {
    flex: 1;
    min-width: 0;
}

.secret-name[b-4dbq4u62lp] {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.secret-category[b-4dbq4u62lp] {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    border-radius: 6px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.secret-card-body[b-4dbq4u62lp] {
    padding: 20px;
}

.secret-description[b-4dbq4u62lp] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Password Container */
.password-container[b-4dbq4u62lp] {
    margin-top: 16px;
}

.password-label[b-4dbq4u62lp] {
    display: block;
    font-size: var(--font-size-caption);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.password-field[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .password-field:hover[b-4dbq4u62lp] {
        border-color: var(--color-primary);
    }
}

.password-text[b-4dbq4u62lp] {
    flex: 1;
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
    font-weight: 600;
    min-width: 0;
}

.password-text.visible[b-4dbq4u62lp] {
    color: var(--text-primary);
    word-break: break-all;
}

.password-text.hidden[b-4dbq4u62lp] {
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-size: var(--font-size-lg);
}

.password-actions[b-4dbq4u62lp] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.icon-btn[b-4dbq4u62lp] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .icon-btn:hover[b-4dbq4u62lp] {
        background: rgba(var(--color-primary-rgb), 0.1);
        color: var(--color-primary);
    }
}

/* The pressed look of D6 (mobile.css .icon-btn:active): this rule's transparent background would hide it. */
.icon-btn:active[b-4dbq4u62lp] {
    transform: scale(0.97);
    background-color: var(--bg-tertiary);
}

/* Card Footer */
.secret-card-footer[b-4dbq4u62lp] {
    padding: 12px 20px;
    border-top: 1px solid var(--color-border);
    background: var(--bg-primary);
}

.last-modified[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.last-modified i[b-4dbq4u62lp] {
    font-size: 14px;
}

/* Empty State */
.empty-state[b-4dbq4u62lp] {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px dashed var(--color-border);
}

.empty-state i[b-4dbq4u62lp] {
    font-size: 64px;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 16px;
}

.empty-state h3[b-4dbq4u62lp] {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.empty-state p[b-4dbq4u62lp] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* The phone space of the list pages (lists.css .list-page): with the 8 px of .main-content, 12 px from the screen edge */
    .secrets-page[b-4dbq4u62lp] {
        padding: 8px 4px;
    }

    .secrets-grid[b-4dbq4u62lp] {
        grid-template-columns: 1fr;
    }

    .secret-card-header[b-4dbq4u62lp] {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .password-text.visible[b-4dbq4u62lp] {
        font-size: var(--font-size-caption);
    }
}

/* ============================================
   TOTP GENERATOR CARD
   ============================================ */

.totp-card[b-4dbq4u62lp] {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
    overflow: hidden;
}

/* The TOTP cards side by side; one card fills the row (auto-fit), one column on a phone; the grid gives the gap */
.secrets-grid.totp-grid[b-4dbq4u62lp] {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.totp-grid .totp-card[b-4dbq4u62lp] {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .secrets-grid.totp-grid[b-4dbq4u62lp] {
        grid-template-columns: 1fr;
    }
}

.totp-card-header[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05), rgba(var(--color-info-rgb), 0.05));
    border-bottom: 1px solid var(--color-border);
}

.totp-icon[b-4dbq4u62lp] {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.totp-title h3[b-4dbq4u62lp] {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.totp-title p[b-4dbq4u62lp] {
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    margin: 0;
}

.totp-card-body[b-4dbq4u62lp] {
    padding: 24px;
}

/* Date/Time Display at Top */
.totp-datetime[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.totp-datetime i[b-4dbq4u62lp] {
    color: var(--color-primary);
    font-size: 16px;
}

/* TOTP Code Display */
.totp-code-display[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.totp-code[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.totp-digit[b-4dbq4u62lp] {
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    transition: var(--transition-control);
    font-variant-numeric: tabular-nums;
}

.totp-separator[b-4dbq4u62lp] {
    width: 12px;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    margin: 0 4px;
}

/* TOTP Action Buttons */
.totp-actions[b-4dbq4u62lp] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.totp-generate-btn[b-4dbq4u62lp],
.totp-copy-btn[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-control);
    width: 100%;
}

.totp-generate-btn[b-4dbq4u62lp] {
    background: var(--color-success);
    border: none;
    color: white;
    box-shadow: var(--shadow-card);
}

@media (hover: hover) {
    .totp-generate-btn:hover[b-4dbq4u62lp] {
        transform: translateY(-2px);
        box-shadow: var(--shadow-raised);
    }
}

.totp-generate-btn:active[b-4dbq4u62lp] {
    transform: scale(0.97);
}

.totp-copy-btn[b-4dbq4u62lp] {
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}

@media (hover: hover) {
    .totp-copy-btn:hover[b-4dbq4u62lp] {
        transform: translateY(-2px);
        background: var(--bg-secondary);
        box-shadow: var(--shadow-raised);
    }
}

.totp-copy-btn:active[b-4dbq4u62lp] {
    transform: scale(0.97);
}

/* Warning Message */
.totp-warning[b-4dbq4u62lp] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    font-size: var(--font-size-caption);
    color: #f59e0b;
}

.totp-warning i[b-4dbq4u62lp] {
    font-size: 14px;
}

.totp-buttons-container[b-4dbq4u62lp] {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

@media (max-width: 480px) {
    .totp-buttons-container[b-4dbq4u62lp] {
        flex-direction: column-reverse;
    }
}
@media (max-width: 768px) {
    .totp-card-header[b-4dbq4u62lp] {
        flex-direction: column;
        text-align: center;
    }

    .totp-digit[b-4dbq4u62lp] {
        width: 38px;
        height: 46px;
        font-size: var(--font-size-xl);
    }

    .totp-separator[b-4dbq4u62lp] {
        width: 8px;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .totp-digit[b-4dbq4u62lp] {
        width: 34px;
        height: 42px;
        font-size: var(--font-size-lg);
    }

    .totp-code[b-4dbq4u62lp] {
        gap: 4px;
    }
}
/* /Components/Pages/Updates/FleetDashboard.razor.rz.scp.css */
/* Fleet Updates — scoped styles.
   The page header, the list toolbar and the list-page wrapper are the shared ones since T-20261030-01 (U8): this
   file keeps the detail grid and the site rows.

   ⚠ Blazor CSS isolation rewrites every selector in a .razor.css with an attribute unique to its own component, so a
   class borrowed from another page's .razor.css gets no styling here. */

/* Identifiers, release numbers and hashes read as data, not prose */
.font-mono[b-fw7jvm1sxc] {
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* The site rows (T-20261030-01, D3): one compact card per site (card-body-compact: 16 px) (a closed row is at most about 100 px high at
   1366 px), a tap on its button opens the machines */
.fleet-site[b-fw7jvm1sxc] {
    margin-bottom: 12px;
}

.fleet-site-row[b-fw7jvm1sxc] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* An h3 after the h1 of PageHeader and the h2 of ListToolbar, with the size of the old h4 */
.fleet-site-title[b-fw7jvm1sxc] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: var(--font-size-xl);
}

/* The native button reset; the name and the sub line on the left, the chevron on the right; 44 px for a tap */
.fleet-site-toggle[b-fw7jvm1sxc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
    min-height: 44px;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* The ring stays inside the card padding, so .card { overflow: hidden } does not cut it */
.fleet-site-toggle:focus-visible[b-fw7jvm1sxc] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.fleet-site-name[b-fw7jvm1sxc] {
    grid-column: 1;
    overflow-wrap: anywhere;
}

/* The sub line must not take the heading's weight */
.fleet-site-sub[b-fw7jvm1sxc] {
    display: block;
    grid-column: 1;
    font-weight: var(--font-weight-normal);
}

.fleet-site-chevron[b-fw7jvm1sxc] {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: transform var(--transition-base);
}

.fleet-site-chevron-open[b-fw7jvm1sxc] {
    transform: rotate(180deg);
}

@media (hover: hover) {
    .fleet-site-toggle:hover .fleet-site-chevron[b-fw7jvm1sxc] {
        color: var(--color-primary);
    }
}

/* The open part keeps its spacing below the row */
.fleet-site-part[b-fw7jvm1sxc] {
    margin-top: 16px;
}

/* Per-machine detail rows */
.detail-grid[b-fw7jvm1sxc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detail-item[b-fw7jvm1sxc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label[b-fw7jvm1sxc] {
    font-size: var(--font-size-2xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value[b-fw7jvm1sxc] {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .detail-grid[b-fw7jvm1sxc] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fleet-site-chevron[b-fw7jvm1sxc] {
        transition: none;
    }
}
/* /Components/Pages/Updates/Publishing.razor.rz.scp.css */
/* Update Packages — scoped styles.

   Blazor CSS isolation rewrites every selector in a .razor.css with an attribute unique
   to its own component, so a rule in another page's file styles nothing here. The header
   is the shared PageHeader (T-20261122-01), with its own styles. This file holds the
   page's wrapper and its section header; add a page rule here, never in another page's file. */

/* Page Layout */
.packages-page[b-3fvu8utgg7] {
    padding: 24px 16px;
    background: var(--bg-secondary);
}

/* The header is the shared PageHeader (T-20261122-01 A2) */

/* The ring select of a package row keeps its width (T-20261122-01 C2: before, a style attribute) */
.ring-select[b-3fvu8utgg7] {
    min-width: 120px;
}

@media (max-width: 768px) {
    /* The phone space of the list pages (lists.css .list-page): with the 8 px of .main-content, 12 px from the screen edge */
    .packages-page[b-3fvu8utgg7] {
        padding: 8px 4px;
    }

    .section-header[b-3fvu8utgg7] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Shared/ActiveChangeConfirm.razor.rz.scp.css */
/* The Active step: the list of the branches and PCs below that the save changes, at most 40 % of the screen high
   (T-20261122-01 C2: before, a style attribute) */
.active-change-list[b-zfo8wshghq] {
    max-height: 40vh;
    margin: 0;
    padding-left: 20px;
}
/* /Components/Shared/BranchBillingSetupSheet.razor.rz.scp.css */
/* T-20261109-01, D24: the approver's billing sheet. The frame is the shared form-modal of components.css */
.billing-sheet-lead[b-w01vhhtk85] {
   margin: 0 0 var(--space-sm) 0;
   font-size: var(--font-size-base);
   font-weight: var(--font-weight-semibold);
   color: var(--text-primary);
}
/* /Components/Shared/BranchSettingsModal.razor.rz.scp.css */
/* Branch info bar at top of modal */
.branch-info-bar[b-rxl7t0ho58] {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 8px;
}

/* T-20261121-01 (P10): the words of a failed save above the buttons, outside the scrolling body */
.settings-error[b-rxl7t0ho58] {
    padding: var(--space-md) var(--space-xl) 0;
}
/* /Components/Shared/ClientBranchPicker.razor.rz.scp.css */
/* Overlay - using !important to override framework styles */
.picker-overlay[b-w65khuozyq],
.add-client-overlay[b-w65khuozyq] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    /* The backdrop opens and closes at once (T-20261114-03 B3; D5: no window animates its close): no transition, and
       visibility takes a closed overlay and its controls out of the Tab order. A server close (Assign, a save) hides at
       once, and the step swap (client to branch) keeps a backdrop in place while the new panel comes in */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.add-client-overlay[b-w65khuozyq] {
    z-index: 100000 !important; /* Above picker modal */
}

.picker-overlay.picker-open[b-w65khuozyq],
.add-client-overlay.picker-open[b-w65khuozyq] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Modal */
.picker-modal[b-w65khuozyq],
.add-client-modal[b-w65khuozyq] {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: var(--shadow-overlay);
    width: 100%;
    max-width: 500px;
    max-height: min(600px, calc(100vh - 40px));
    max-height: min(600px, calc(100dvh - 40px));
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    margin: 0 auto;
}

.add-client-modal[b-w65khuozyq] {
    max-width: 450px;
    max-height: min(500px, calc(100vh - 40px));
    max-height: min(500px, calc(100dvh - 40px));
}

/* Only the panel animates, and only on the open (B3): the transition sits on the open state, so the close has none */
.picker-overlay.picker-open .picker-modal[b-w65khuozyq],
.add-client-overlay.picker-open .add-client-modal[b-w65khuozyq] {
    transform: scale(1);
    opacity: 1;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Header */
.picker-header[b-w65khuozyq],
.add-client-header[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05) 0%, rgba(var(--color-info-rgb), 0.05) 100%);
    flex-shrink: 0;
}

.picker-title[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary, #1f2937);
}

.picker-title i[b-w65khuozyq] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gradient-brand);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 14px;
}

.picker-back-btn[b-w65khuozyq] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-control);
    flex-shrink: 0;
    font-size: var(--font-size-sm);
}

@media (hover: hover) {
    .picker-back-btn:hover[b-w65khuozyq] {
        background: rgba(var(--color-primary-rgb), 0.2);
    }
}

.picker-close[b-w65khuozyq] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .picker-close:hover[b-w65khuozyq] {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
    }
}

/* Selected Client Banner */
.selected-client-banner[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(var(--color-primary-rgb), 0.06);
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    flex-shrink: 0;
}

.selected-client-name[b-w65khuozyq] {
    font-size: var(--font-size-caption);
    font-weight: 600;
    color: var(--text-primary, #1f2937);
}

/* Search */
.picker-search[b-w65khuozyq] {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    flex-shrink: 0;
    display: flex !important;
    gap: 10px;
    align-items: center !important;
}

.search-input-wrapper[b-w65khuozyq] {
    position: relative;
    display: flex !important;
    align-items: center !important;
    flex: 1;
}

.search-input-wrapper > i[b-w65khuozyq] {
    position: absolute;
    left: 12px;
    color: var(--text-secondary, #6b7280);
    font-size: 13px;
    pointer-events: none;
}

.search-input[b-w65khuozyq] {
    width: 100% !important;
    height: 40px;
    padding: 0 36px 0 38px;
    border: 1.5px solid var(--color-border, #e5e7eb);
    border-radius: 8px;
    font-size: var(--font-size-base);
    color: var(--text-primary, #1f2937);
    background: var(--bg-secondary, #f9fafb);
    transition: var(--transition-control);
    box-sizing: border-box;
}

.search-input:focus[b-w65khuozyq] {
    outline: none;
    border-color: var(--color-primary);
    background: var(--bg-primary, #fff);
    box-shadow: var(--shadow-focus);
}

.search-input[b-w65khuozyq]::placeholder {
    color: var(--text-secondary, #9ca3af);
}

.search-clear[b-w65khuozyq] {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .search-clear:hover[b-w65khuozyq] {
        background: var(--bg-secondary, #f3f4f6);
        color: var(--text-primary, #1f2937);
    }
}

/* Add Client Button (in search bar) */
.add-client-btn[b-w65khuozyq] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: var(--color-success);
    color: white;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: var(--font-size-sm);
    transition: var(--transition-control);
    flex-shrink: 0;
    box-shadow: var(--shadow-card);
}

@media (hover: hover) {
    .add-client-btn:hover[b-w65khuozyq] {
        transform: scale(1.05);
        box-shadow: var(--shadow-raised);
    }
}

/* Content */
.picker-content[b-w65khuozyq] {
    flex: 1;
    overflow-y: auto;
    min-height: 120px;
}

.picker-loading[b-w65khuozyq],
.picker-empty[b-w65khuozyq] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    padding: 40px 20px;
    color: var(--text-secondary, #6b7280);
}

.picker-loading .spinner[b-w65khuozyq] {
    width: 32px;
    height: 32px;
}

.picker-empty i[b-w65khuozyq] {
    font-size: 28px;
    opacity: 0.4;
}

.add-first-client-btn[b-w65khuozyq] {
    margin-top: 12px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--color-success);
    color: white;
    font-size: var(--font-size-caption);
    font-weight: 500;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .add-first-client-btn:hover[b-w65khuozyq] {
        transform: translateY(-2px);
        box-shadow: var(--shadow-raised);
    }
}

/* List-based layout */
.picker-list[b-w65khuozyq] {
    display: flex !important;
    flex-direction: column !important;
}

.picker-list-item[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.picker-list-item:last-child[b-w65khuozyq] {
    border-bottom: none;
}

/* The rows are buttons (T-20261128-01 Part 3, D478: Tab and Enter): the browser's button look is reset, so a row looks as
   the div row of before. (0,2,1) with the scope: more than .picker-list-item, so the bottom line is set again here; the
   selected, new and hover backgrounds of the rules below win, (0,3,0). */
button.picker-list-item[b-w65khuozyq] {
    width: 100%;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    /* No grey flash of a phone browser at a tap (a div row had none; review round 2 r1b #15) */
    -webkit-tap-highlight-color: transparent;
}

button.picker-list-item:last-child[b-w65khuozyq] {
    border-bottom: none;
}

/* Inside the scrolling list: an inner ring is not cut off (the filter list's form) */
.picker-list-item:focus-visible[b-w65khuozyq] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

@media (hover: hover) {
    .picker-list-item:hover[b-w65khuozyq] {
        background: rgba(var(--color-primary-rgb), 0.05);
    }
}

.picker-list-item.selected[b-w65khuozyq] {
    background: rgba(var(--color-primary-rgb), 0.1);
}

.picker-list-item.new-item[b-w65khuozyq] {
    background: rgba(16, 185, 129, 0.05);
}

@media (hover: hover) {
    .picker-list-item.new-item:hover[b-w65khuozyq] {
        background: rgba(16, 185, 129, 0.1);
    }
}

.picker-list-item.new-item.selected[b-w65khuozyq] {
    background: rgba(16, 185, 129, 0.15);
}

.picker-list-arrow[b-w65khuozyq] {
    color: var(--text-secondary, #9ca3af);
    font-size: var(--font-size-xs);
    flex-shrink: 0;
}

.picker-list-check[b-w65khuozyq] {
    color: var(--color-primary);
    font-size: var(--font-size-base);
    flex-shrink: 0;
}

/* Client info in list */
.client-info-text[b-w65khuozyq] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px;
}

.client-branch-count[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 4px;
    font-size: var(--font-size-2xs);
    color: var(--text-secondary, #9ca3af);
    font-variant-numeric: tabular-nums;
}

.client-branch-count i[b-w65khuozyq] {
    font-size: 10px;
    color: var(--color-primary);
}

/* Branch avatar */
.branch-avatar[b-w65khuozyq] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--gradient-brand);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.branch-avatar.new-avatar[b-w65khuozyq] {
    background: var(--color-success);
}

/* Cell Content */
.cell-content[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}

.client-avatar[b-w65khuozyq] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--gradient-brand);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.client-avatar.new-avatar[b-w65khuozyq] {
    background: var(--color-success);
}

.client-name[b-w65khuozyq] {
    font-size: var(--font-size-caption);
    font-weight: 500;
    color: var(--text-primary, #1f2937);
}

.new-badge[b-w65khuozyq] {
    padding: 2px 6px;
    border-radius: 4px;
    background: #10b981;
    color: white;
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.branch-info[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    font-size: var(--font-size-caption);
    color: var(--text-secondary, #6b7280);
}

.branch-info i[b-w65khuozyq] {
    font-size: 11px;
    color: var(--color-primary);
}

/* Footer */
.picker-footer[b-w65khuozyq],
.add-client-footer[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px;
    border-top: 1px solid var(--color-border, #e5e7eb);
    background: var(--bg-secondary, #f9fafb);
    gap: 12px;
    flex-shrink: 0;
}

.add-client-footer[b-w65khuozyq] {
    justify-content: flex-end !important;
}

.selected-info[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-info i[b-w65khuozyq] {
    color: #10b981;
    flex-shrink: 0;
}

.selected-info .no-selection[b-w65khuozyq] {
    color: var(--text-secondary, #9ca3af);
    font-weight: 400;
}

.picker-actions[b-w65khuozyq] {
    display: flex !important;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cancel[b-w65khuozyq],
.btn-assign[b-w65khuozyq],
.btn-save[b-w65khuozyq] {
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: var(--font-size-caption);
    font-weight: 600;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    transition: var(--transition-control);
}

/* The pressed look (D6): also on a phone. */
.btn-cancel:active:not(:disabled)[b-w65khuozyq],
.btn-assign:active:not(:disabled)[b-w65khuozyq],
.btn-save:active:not(:disabled)[b-w65khuozyq],
.add-client-btn:active[b-w65khuozyq],
.add-first-client-btn:active[b-w65khuozyq] {
    transform: scale(0.97);
}

.btn-cancel[b-w65khuozyq] {
    background: transparent;
    border: 1.5px solid var(--color-border, #d1d5db);
    color: var(--text-secondary, #6b7280);
}

@media (hover: hover) {
    .btn-cancel:hover:not(:disabled)[b-w65khuozyq] {
        background: var(--bg-primary, #fff);
        border-color: #9ca3af;
        color: var(--text-primary, #374151);
    }
}

.btn-assign[b-w65khuozyq] {
    background: var(--gradient-brand);
    border: none;
    color: white;
    box-shadow: var(--shadow-card);
}

@media (hover: hover) {
    .btn-assign:hover:not(:disabled)[b-w65khuozyq] {
        box-shadow: var(--shadow-raised);
    }
}

.btn-assign:disabled[b-w65khuozyq],
.btn-cancel:disabled[b-w65khuozyq],
.btn-save:disabled[b-w65khuozyq] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-save[b-w65khuozyq] {
    background: var(--color-success);
    border: none;
    color: white;
    box-shadow: var(--shadow-card);
}

@media (hover: hover) {
    .btn-save:hover:not(:disabled)[b-w65khuozyq] {
        box-shadow: var(--shadow-raised);
    }
}

/* Add Client Modal Content */
.add-client-content[b-w65khuozyq] {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.form-section[b-w65khuozyq] {
    margin-bottom: 20px;
}

.form-section:last-child[b-w65khuozyq] {
    margin-bottom: 0;
}

.form-label[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    font-size: var(--font-size-caption);
    font-weight: 600;
    color: var(--text-primary, #374151);
    margin-bottom: 8px;
}

.form-label i[b-w65khuozyq] {
    color: var(--color-primary);
    font-size: 12px;
}

.form-input[b-w65khuozyq] {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid var(--color-border, #e5e7eb);
    border-radius: 8px;
    font-size: var(--font-size-base);
    color: var(--text-primary, #1f2937);
    background: var(--bg-primary, #fff);
    transition: var(--transition-control);
    box-sizing: border-box;
}

.form-input:focus[b-w65khuozyq] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.form-input[b-w65khuozyq]::placeholder {
    color: var(--text-secondary, #9ca3af);
}

/* Readonly field */
.readonly-field[b-w65khuozyq] {
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid var(--color-border, #e5e7eb);
    border-radius: 8px;
    font-size: var(--font-size-base);
    color: var(--text-secondary, #6b7280);
    background: var(--bg-secondary, #f9fafb);
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box;
}

/* Branches Section */
.branches-header[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px;
}

.branches-header .form-label[b-w65khuozyq] {
    margin-bottom: 0;
}

.add-branch-btn[b-w65khuozyq] {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: var(--font-size-xs);
    font-weight: 500;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .add-branch-btn:hover[b-w65khuozyq] {
        background: rgba(16, 185, 129, 0.2);
    }
}

.branches-list[b-w65khuozyq] {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
}

.branch-input-row[b-w65khuozyq] {
    display: flex !important;
    gap: 8px;
    align-items: center !important;
}

.branch-input[b-w65khuozyq] {
    flex: 1;
}

.remove-branch-btn[b-w65khuozyq] {
    width: 36px;
    height: 42px;
    border: none;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-control);
    flex-shrink: 0;
}

@media (hover: hover) {
    .remove-branch-btn:hover[b-w65khuozyq] {
        background: rgba(239, 68, 68, 0.2);
    }
}

/* Error Message */
.error-message[b-w65khuozyq] {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #ef4444;
    font-size: var(--font-size-caption);
    margin-top: 16px;
}

.error-message i[b-w65khuozyq] {
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 480px) {
    .picker-overlay[b-w65khuozyq],
    .add-client-overlay[b-w65khuozyq] {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    /* A fixed height keeps the header and the first field at the top, above the phone keyboard (the owner, 2026-11-30): the
       search takes the focus at the open (D478), so the keyboard opens at once, and a short sheet at the bottom was under it.
       The form of FilterDropdown's searchable sheet */
    .picker-modal[b-w65khuozyq],
    .add-client-modal[b-w65khuozyq] {
        max-width: 100%;
        height: 85vh;
        height: 85dvh;
        max-height: 85vh;
        max-height: 85dvh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        opacity: 1;
    }

    .picker-overlay.picker-open .picker-modal[b-w65khuozyq],
    .add-client-overlay.picker-open .add-client-modal[b-w65khuozyq] {
        transform: translateY(0);
    }

    .picker-header[b-w65khuozyq],
    .picker-search[b-w65khuozyq],
    .picker-footer[b-w65khuozyq],
    .add-client-header[b-w65khuozyq],
    .add-client-content[b-w65khuozyq],
    .add-client-footer[b-w65khuozyq] {
        padding: 12px 16px;
    }

    .picker-list-item[b-w65khuozyq] {
        padding: 12px 16px;
    }

    .picker-footer[b-w65khuozyq] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
    }

    .selected-info[b-w65khuozyq] {
        justify-content: center !important;
        text-align: center;
    }

    .picker-actions[b-w65khuozyq] {
        width: 100%;
    }

    .btn-cancel[b-w65khuozyq],
    .btn-assign[b-w65khuozyq],
    .btn-save[b-w65khuozyq] {
        flex: 1;
        height: 44px;
    }

    .add-client-footer[b-w65khuozyq] {
        flex-direction: row !important;
    }
}

/* The close at once (T-20261030-03 C2b, the owner's Q9): the layout script (layout.js) adds picker-closing to the overlay at a
   click on the overlay itself or on a control with data-close-now, not while the "add" window carries data-busy. The
   overlay gets the closed values with no transition, so it hides at once with its panel (the panel keeps its open
   transform; visibility takes the hidden sheet out of the Tab order); the server's close writes the class string again
   (picker-closing goes). After picker-open (the same specificity: the later rule wins). */
.picker-overlay.picker-closing[b-w65khuozyq],
.add-client-overlay.picker-closing[b-w65khuozyq] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

/* The x and the branch step's back arrow on a touch screen (T-20261030-03 C2b, the owner's Q10 and his yes to review r2
   Minor 7a; D7): 44 x 44 px, the icon centred */
@media (pointer: coarse) {
    .picker-close[b-w65khuozyq],
    .picker-back-btn[b-w65khuozyq] {
        min-width: var(--tap-min);
        min-height: var(--tap-min);
    }
}
/* /Components/Shared/ClientSettingsModal.razor.rz.scp.css */
/* Client info bar at top of modal */
.client-info-bar[b-b35uhhlpqf] {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 8px;
}

/* T-20261121-01 (P10): the words of a failed save above the buttons, outside the scrolling body */
.settings-error[b-b35uhhlpqf] {
    padding: var(--space-md) var(--space-xl) 0;
}
/* /Components/Shared/DeleteConfirmationModal.razor.rz.scp.css */
/* The delete window: the big warning icon (T-20261122-01 C2: before, a style attribute; an icon keeps its raw size) */
.delete-confirm-icon[b-rmhvgu22ll] {
    font-size: 32px;
}
/* /Components/Shared/DetailDrawer.razor.rz.scp.css */
/* The detail drawer (T-20261029-02, U7, D1). Two forms by CSS only, so the drawer follows a resize:
   - from 1024 px a panel at the right side under the header, no backdrop; the list gets narrower (lists.css);
   - below 1024 px a sheet from the bottom with a backdrop, the footer at the bottom and the body scrolling.
   The layers (z-index), from the bottom:
     the sticky desktop Pager 2, the table header 2 (components.css);
     the sticky phone toolbar 990 (lists.css);
     the side panel 995 (from 1024 px): over the page, under the header;
     .sidebar 999, .app-header 1000 with its user menu 1000 (MainLayout.razor.css), .bottom-nav 1000 (mobile.css);
     the sheet's backdrop 1039 and the sheet 1040 (below 1024 px): over the header, the bottom bar and the toolbar;
     every form window 1050 / 1051 (components.css): over the drawer, so a window opened from it is on top; inside a
     window's layer (1051) the list of a pick field 2100 / 2101 (FilterDropdown's field form, T-20261128-01 Part 3);
     the "More" menu 2000 / 2001, the raised phone toolbar with the filter sheet 2050, the header raised while the bell
     panel is open 2050 (lists.css; inside it the panel's backdrop 1 and the panel 2), the filter sheet 2100 / 2101;
     #blazor-error-ui 9999, pwa-styles.css 9999-10001, the picker 99999 / 100000, the toasts 100100.
   The strip on the left: the colour comes from the global card-accent-* rule of lists.css (it sets only the colour). */

.detail-drawer[b-nkjwp8j4jy] {
    position: fixed;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary);
}

.detail-drawer[b-nkjwp8j4jy]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    z-index: 1;
}

/* The focus guards of the sheet: 1 x 1 px, never a ring (the focus moves on at once) */
.detail-drawer-guard[b-nkjwp8j4jy] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    outline: none;
}

.detail-drawer-header[b-nkjwp8j4jy] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 16px 16px 12px 20px;
    border-bottom: 1px solid var(--color-border);
}

.detail-drawer-icon[b-nkjwp8j4jy] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    font-size: 18px;
}

.detail-drawer-heading[b-nkjwp8j4jy] {
    flex: 1;
    min-width: 0;
}

.detail-drawer-title[b-nkjwp8j4jy] {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.detail-drawer-subtitle[b-nkjwp8j4jy] {
    margin-top: 2px;
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}

.detail-drawer-close[b-nkjwp8j4jy] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .detail-drawer-close:hover[b-nkjwp8j4jy] {
        color: var(--text-primary);
        border-color: var(--color-primary);
    }
}

.detail-drawer-body[b-nkjwp8j4jy] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 16px 16px 20px;
}

.detail-drawer-note[b-nkjwp8j4jy] {
    margin: 0 0 12px;
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
}

.detail-drawer-footer[b-nkjwp8j4jy] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 16px 12px 20px;
    border-top: 1px solid var(--color-border);
    background: var(--bg-primary);
}

/* From 1024 px: the panel at the right side, under the header (56 px), the list narrower beside it */
@media (min-width: 1024px) {
    .detail-drawer[b-nkjwp8j4jy] {
        top: 56px;
        right: 0;
        bottom: 0;
        width: var(--detail-drawer-width);
        z-index: 995;
        border-left: 1px solid var(--color-border);
        box-shadow: var(--shadow-overlay);
        animation: detail-drawer-in-side-b-nkjwp8j4jy var(--transition-base);
    }

    /* A hidden element takes no focus: the side panel never holds the focus */
    .detail-drawer-backdrop[b-nkjwp8j4jy],
    .detail-drawer-guard[b-nkjwp8j4jy],
    .detail-drawer-grab[b-nkjwp8j4jy] {
        display: none;
    }
}

/* Below 1024 px: the sheet from 24 px under the screen top to the bottom, over the header and the bottom bar */
@media not all and (min-width: 1024px) {
    .detail-drawer-backdrop[b-nkjwp8j4jy] {
        position: fixed;
        inset: 0;
        z-index: 1039;
        background: var(--bg-overlay);
    }

    .detail-drawer[b-nkjwp8j4jy] {
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 24px);
        height: calc(100dvh - 24px);
        z-index: 1040;
        border-radius: 16px 16px 0 0;
        box-shadow: var(--shadow-overlay);
        animation: detail-drawer-in-sheet-b-nkjwp8j4jy var(--transition-base);
    }

    /* The grab line: a look only (no drag) */
    .detail-drawer-grab[b-nkjwp8j4jy] {
        flex-shrink: 0;
        width: 40px;
        height: 4px;
        margin: 8px auto 0;
        border-radius: 2px;
        background: var(--color-border);
    }

    /* The buttons over the phone's home bar; 44 px tap targets (the buttons are the page's markup) */
    .detail-drawer-footer[b-nkjwp8j4jy] {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .detail-drawer-footer[b-nkjwp8j4jy]  .btn {
        min-height: 44px;
    }
}

@keyframes detail-drawer-in-side-b-nkjwp8j4jy {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes detail-drawer-in-sheet-b-nkjwp8j4jy {
    from {
        transform: translateY(100%);
    }
    to {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-drawer[b-nkjwp8j4jy] {
        animation: none;
    }
}

/* The close at once (T-20261029-02 B0b): the layout script (layout.js) adds detail-drawer-closing at the click or Escape, the
   server removes the drawer after its round trip. The elements carry this file's scope, so the scoped rule matches a
   class that JS added; (0,3,0) wins over every display rule above. */
.detail-drawer.detail-drawer-closing[b-nkjwp8j4jy],
.detail-drawer-backdrop.detail-drawer-closing[b-nkjwp8j4jy] {
    display: none;
}
/* /Components/Shared/DrawerSection.razor.rz.scp.css */
/* A section of the detail drawer (T-20261029-02, U7): the title line as the old Machines details window
   (detail-section-title), the space between the sections. */

.drawer-section + .drawer-section[b-po9xxyuky8] {
    margin-top: 20px;
}

.drawer-section-title[b-po9xxyuky8] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
}

.drawer-section-title i[b-po9xxyuky8] {
    font-size: 14px;
}
/* /Components/Shared/FilterDropdown.razor.rz.scp.css */
/* The list filter (T-20261028-01, U11): a soft button; the open list is a dropdown under the button on desktop
   and a bottom sheet on the phone (≤ 768 px). The layers: the backdrop 2100, the panel 2101: above the header and
   the bottom nav (1000) and the "more" menu (2000), below the error bar and the PWA layers (9999-10001), the picker
   (99999) and the toast stack (100100).
   Hover rules only inside @media (hover: hover): a phone keeps :hover after a tap. */

/* position: relative places the panel; inline-flex makes the root's box the button's box (filterDdFitsRight and filterDdFitsLeft measure the button) */
.filter-dd[b-lyc0q6fl96] {
    position: relative;
    display: inline-flex;
}

/* The closed button */
.filter-dd-button[b-lyc0q6fl96] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    max-width: 200px;
    padding: 0 12px 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: var(--transition-control);
}

/* A transparent outline: Windows high-contrast mode shows it, where it hides the shadow */
.filter-dd-button:focus-visible[b-lyc0q6fl96] {
    outline: 2px solid transparent;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.filter-dd-icon[b-lyc0q6fl96] {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.filter-dd-text[b-lyc0q6fl96] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-dd-chevron[b-lyc0q6fl96] {
    flex-shrink: 0;
    margin-left: auto;
    font-size: var(--font-size-2xs);
    color: var(--text-secondary);
    transition: transform var(--transition-base);
}

.filter-dd-button[aria-expanded="true"] .filter-dd-chevron[b-lyc0q6fl96] {
    transform: rotate(180deg);
}

/* On: something selected */
.filter-dd-on[b-lyc0q6fl96] {
    background: rgba(var(--color-primary-rgb), 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-dd-on .filter-dd-icon[b-lyc0q6fl96],
.filter-dd-on .filter-dd-chevron[b-lyc0q6fl96] {
    color: var(--color-primary);
}

.filter-dd-badge[b-lyc0q6fl96] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--text-inverse);
    font-size: var(--font-size-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* The open list: an outside click hits the transparent backdrop */
.filter-dd-backdrop[b-lyc0q6fl96] {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: transparent;
}

/* A flex column: the header, the search and "Done" stay in place, only the options scroll */
.filter-dd-panel[b-lyc0q6fl96] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 2101;
    display: flex;
    flex-direction: column;
    width: 280px;
    max-width: calc(100vw - 32px);
    max-height: 360px;
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-overlay);
    overflow: hidden;
    animation: filter-dd-drop-b-lyc0q6fl96 var(--transition-base);
}

.filter-dd-panel:focus[b-lyc0q6fl96] {
    outline: none;
}

/* The grab line of the phone sheet: a swipe down on it or on the header row closes the sheet (data-sheet-grab, layout.js) */
.filter-dd-grab[b-lyc0q6fl96] {
    display: none;
}

.filter-dd-header[b-lyc0q6fl96] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px 8px;
}

.filter-dd-title[b-lyc0q6fl96] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* A button with the look of a link */
.filter-dd-clear[b-lyc0q6fl96] {
    flex-shrink: 0;
    min-height: 32px;
    padding: 0 4px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
}

.filter-dd-search[b-lyc0q6fl96] {
    flex-shrink: 0;
    position: relative;
    padding: 0 12px 8px;
}

.filter-dd-search-icon[b-lyc0q6fl96] {
    position: absolute;
    left: 26px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-secondary);
    pointer-events: none;
}

/* 16 px: below it a phone browser zooms the page at the focus */
.filter-dd-search-input[b-lyc0q6fl96] {
    width: 100%;
    height: 44px;
    padding: 0 12px 0 38px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.filter-dd-search-input:focus[b-lyc0q6fl96] {
    outline: 2px solid transparent;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.filter-dd-search-input[b-lyc0q6fl96]::placeholder {
    color: var(--text-secondary);
}

.filter-dd-options[b-lyc0q6fl96] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 6px 6px;
}

.filter-dd-option[b-lyc0q6fl96] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    text-align: left;
    cursor: pointer;
}

/* Inside the scrolling list: an inner ring is not cut off */
.filter-dd-option:focus-visible[b-lyc0q6fl96] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.filter-dd-option[aria-pressed="true"][b-lyc0q6fl96] {
    font-weight: 600;
}

.filter-dd-option:disabled[b-lyc0q6fl96],
.filter-dd-option:disabled .filter-dd-count[b-lyc0q6fl96] {
    color: var(--text-tertiary);
    cursor: not-allowed;
}

/* Multiple choice: a check box mark */
.filter-dd-box[b-lyc0q6fl96] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--text-tertiary);
    border-radius: 5px;
    background: var(--bg-primary);
    color: transparent;
    font-size: var(--font-size-2xs);
}

.filter-dd-box-on[b-lyc0q6fl96] {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--text-inverse);
}

/* Single choice: a check mark */
.filter-dd-tick[b-lyc0q6fl96] {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: var(--font-size-caption);
    color: var(--color-primary);
    visibility: hidden;
}

.filter-dd-tick-on[b-lyc0q6fl96] {
    visibility: visible;
}

.filter-dd-label[b-lyc0q6fl96] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-dd-count[b-lyc0q6fl96] {
    flex-shrink: 0;
    font-size: var(--font-size-caption);
    font-weight: 400;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* T-20261130-01 (A-R3): the line before an option that starts a group (FilterOption.GroupStart) */
.filter-dd-divider[b-lyc0q6fl96] {
    height: 1px;
    margin: 4px 10px;
    background: var(--color-border);
}

.filter-dd-empty[b-lyc0q6fl96] {
    padding: 16px;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.filter-dd-footer[b-lyc0q6fl96] {
    flex-shrink: 0;
    padding: 8px 12px 12px;
    border-top: 1px solid var(--color-border);
}

.filter-dd-done[b-lyc0q6fl96] {
    width: 100%;
    min-height: 40px;
}

@keyframes filter-dd-drop-b-lyc0q6fl96 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes filter-dd-sheet-in-b-lyc0q6fl96 {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes filter-dd-fade-b-lyc0q6fl96 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (hover: hover) {
    .filter-dd-button:hover[b-lyc0q6fl96] {
        border-color: var(--color-primary);
    }

    .filter-dd-option:not(:disabled):hover[b-lyc0q6fl96] {
        background: var(--bg-tertiary);
    }

    .filter-dd-clear:hover[b-lyc0q6fl96] {
        background: rgba(var(--color-primary-rgb), 0.08);
    }
}

/* Desktop: the side measured at the open (filterDdFitsRight, filterDdFitsLeft); the phone sheet stays full width */
@media (min-width: 769px) {
    .filter-dd-panel-end[b-lyc0q6fl96] {
        left: auto;
        right: 0;
    }
}

/* The phone: one row of buttons, the open list is a bottom sheet */
@media (max-width: 768px) {
    .filter-dd[b-lyc0q6fl96] {
        display: flex;
        flex: 1 1 0;
        min-width: 0;
    }

    .filter-dd-button[b-lyc0q6fl96] {
        width: 100%;
        max-width: none;
        height: 44px;
    }

    /* Several dropdowns share the row (Branch Subscriptions): the text gets the space of the icon */
    .filter-dd:not(:only-child) .filter-dd-icon[b-lyc0q6fl96] {
        display: none;
    }

    .filter-dd-backdrop[b-lyc0q6fl96] {
        background: var(--bg-overlay);
        animation: filter-dd-fade-b-lyc0q6fl96 var(--transition-base);
    }

    /* env(safe-area-inset-bottom) is 0 today: the viewport tag has no viewport-fit=cover */
    .filter-dd-panel[b-lyc0q6fl96] {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        max-height: 80vh;
        max-height: 80dvh;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        border: none;
        border-radius: 16px 16px 0 0;
        animation: filter-dd-sheet-in-b-lyc0q6fl96 var(--transition-base);
    }

    /* A fixed height keeps the search at the top above the phone keyboard */
    .filter-dd-searchable[b-lyc0q6fl96] {
        height: 80vh;
        height: 80dvh;
    }

    .filter-dd-grab[b-lyc0q6fl96] {
        display: block;
        flex-shrink: 0;
        width: 40px;
        height: 4px;
        margin: 8px auto 0;
        border-radius: var(--radius-full);
        background: var(--color-border);
    }

    .filter-dd-header[b-lyc0q6fl96] {
        min-height: 60px;
        padding: 8px 16px;
    }

    /* The swipe zone (T-20261122-01 B7): the browser neither scrolls nor zooms from it, so the script gets every move */
    [data-sheet-grab][b-lyc0q6fl96] {
        touch-action: none;
    }

    .filter-dd-title[b-lyc0q6fl96] {
        font-size: var(--font-size-base);
    }

    .filter-dd-clear[b-lyc0q6fl96] {
        min-height: 44px;
        padding: 0 8px;
        font-size: var(--font-size-base);
    }

    .filter-dd-options[b-lyc0q6fl96] {
        padding: 0 8px 4px;
    }

    .filter-dd-option[b-lyc0q6fl96] {
        min-height: 48px;
        font-size: var(--font-size-base);
    }

    .filter-dd-footer[b-lyc0q6fl96] {
        padding: 8px 16px 0;
    }

    .filter-dd-done[b-lyc0q6fl96] {
        min-height: 44px;
    }
}

/* A touch screen wider than 768 px (a tablet, a phone across): 44 px targets in the desktop form */
@media (pointer: coarse) and (min-width: 769px) {
    .filter-dd-button[b-lyc0q6fl96],
    .filter-dd-done[b-lyc0q6fl96] {
        min-height: 44px;
    }

    .filter-dd-option[b-lyc0q6fl96],
    .filter-dd-clear[b-lyc0q6fl96] {
        min-height: 44px;
    }
}

/* The field form (T-20261128-01 Part 3, D478): a form field of a window. The button has the look of form-select
   (forms.css: the same sizes and tokens, 44 px high). The open list is the phone sheet at 768 px and less (the rules
   above); wider, it is a box in the middle of the screen: a dropdown under the field would be cut by the window body's
   own scroll box (form-modal-body, overflow-y: auto). position: fixed takes the box out of that box: its containing
   block is the window's backdrop (form-modal-backdrop: fixed, the whole screen, backdrop-filter), except during the
   window's own open animation (slideUpModal, about 200 ms, a transform: then .form-modal holds the box, a list opened
   by the keyboard in that moment shows inside the window until the animation ends). These rules come after the hover
   rules of the filter form: a field has no hover look, as form-select. */
.filter-dd-field[b-lyc0q6fl96] {
    display: flex;
    width: 100%;
}

.filter-dd-field .filter-dd-button[b-lyc0q6fl96] {
    width: 100%;
    max-width: none;
    height: auto;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.filter-dd-field .filter-dd-button:focus-visible[b-lyc0q6fl96] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.filter-dd-field .filter-dd-button.form-input-error[b-lyc0q6fl96] {
    border-color: var(--color-danger);
}

.filter-dd-field .filter-dd-button.form-input-error:focus-visible[b-lyc0q6fl96] {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px var(--color-danger-light);
}

/* The text keeps its colour, as form-select:disabled (the client name of an Edit without the move keys stays readable) */
.filter-dd-field .filter-dd-button:disabled[b-lyc0q6fl96] {
    background: var(--bg-tertiary);
    cursor: not-allowed;
}

/* No option chosen: the placeholder's colour of form-input */
.filter-dd-placeholder[b-lyc0q6fl96] {
    color: var(--text-tertiary);
}

/* A finger on the field's backdrop does not scroll the window body behind the open list (the backdrop is a child of
   form-modal-body); a tap still closes the list. A mouse wheel there still scrolls the body: the look only. */
.filter-dd-field .filter-dd-backdrop[b-lyc0q6fl96] {
    touch-action: none;
}

@media (min-width: 769px) {
    .filter-dd-field .filter-dd-backdrop[b-lyc0q6fl96] {
        background: var(--bg-overlay);
        animation: filter-dd-fade-b-lyc0q6fl96 var(--transition-base);
    }

    /* inset 0 with margin auto centres a box of a fixed size; the fixed height keeps the search in place while the list shrinks */
    .filter-dd-field .filter-dd-panel[b-lyc0q6fl96] {
        position: fixed;
        inset: 0;
        margin: auto;
        width: min(480px, calc(100vw - 32px));
        max-width: none;
        height: min(560px, calc(100vh - 64px));
        height: min(560px, calc(100dvh - 64px));
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .filter-dd-field .filter-dd-backdrop[b-lyc0q6fl96] {
        animation: none;
    }
}

/* The close at once (T-20261030-03 C2, the B0b pattern): the layout script (layout.js) adds filter-dd-closing at a click on the
   backdrop, Done, Clear, an option of a single choice or the open button, and at Escape; the server removes the panel
   after its round trip. The elements carry this file's scope, so the scoped rule matches a class that JS added; with the
   scope attribute it is (0,3,0) and wins over every display rule above. */
.filter-dd-panel.filter-dd-closing[b-lyc0q6fl96],
.filter-dd-backdrop.filter-dd-closing[b-lyc0q6fl96] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .filter-dd-panel[b-lyc0q6fl96],
    .filter-dd-backdrop[b-lyc0q6fl96] {
        animation: none;
    }

    .filter-dd-chevron[b-lyc0q6fl96] {
        transition: none;
    }
}
/* /Components/Shared/ListSkeleton.razor.rz.scp.css */
/* The skeleton of a list's first load (T-20261029-02, U7, D3). Grey bars (--bg-tertiary) with a soft shimmer of 1.4 s;
   none with prefers-reduced-motion. The table form as wide as the table box, the card form as the phone cards. */

.list-skeleton[b-t7ody05217] {
    width: 100%;
}

.skeleton-table[b-t7ody05217] {
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* desktop-only hides it at the phone width; the scoped display wins over the global display: none, so it is here */
@media (min-width: 769px) {
    .skeleton-table[b-t7ody05217] {
        display: flex;
    }
}

.skeleton-row[b-t7ody05217] {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
}

.skeleton-head[b-t7ody05217] {
    border-top: 0;
    background: var(--bg-secondary);
}

.skeleton-bar[b-t7ody05217] {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer-b-t7ody05217 1.4s ease-in-out infinite;
}

.skeleton-row .skeleton-bar[b-t7ody05217] {
    flex: 1 1 0;
}

.skeleton-bar-head[b-t7ody05217] {
    height: 10px;
    max-width: 90px;
}

.skeleton-row .skeleton-bar-short[b-t7ody05217] {
    max-width: 60%;
}

.skeleton-cards[b-t7ody05217] {
    flex-direction: column;
    gap: 8px;
}

/* CardsOnly: the cards at every width, as many in a row as fit, centred (the grid of Pending Activations:
   .activation-grid, 300-480 px columns, gap 24 px), so the cards come in at the place of the skeleton */
.skeleton-cards-grid[b-t7ody05217] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 480px));
    justify-content: center;
    gap: 24px;
}

.skeleton-card[b-t7ody05217] {
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 14px 16px 14px 20px;
}

.skeleton-card-head[b-t7ody05217] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.skeleton-avatar[b-t7ody05217] {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--bg-tertiary);
}

.skeleton-card-lines[b-t7ody05217] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.skeleton-card-lines .skeleton-bar-long[b-t7ody05217] {
    width: 70%;
}

.skeleton-card-lines .skeleton-bar-short[b-t7ody05217] {
    width: 45%;
}

.skeleton-card-bottom[b-t7ody05217] {
    display: flex;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.skeleton-bar-chip[b-t7ody05217] {
    width: 72px;
    height: 24px;
    border-radius: 12px;
}

@keyframes skeleton-shimmer-b-t7ody05217 {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-bar[b-t7ody05217] {
        animation: none;
    }
}
/* /Components/Shared/ListToolbar.razor.rz.scp.css */
/* The list toolbar of a list page (T-20261027-03). Scoped: search-input / search-clear are also used by other pages. */
.list-toolbar[b-vfsyich69z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 16px;
}

/* As layout.css .section-title; the margin replaces the h2 default of base.css */
.list-toolbar-title[b-vfsyich69z] {
    margin: 0;
    font-size: var(--font-size-xl);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* margin-left: auto keeps the controls right, also when they wrap to their own row */
.list-toolbar-controls[b-vfsyich69z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.list-toolbar-filters[b-vfsyich69z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.list-toolbar-search[b-vfsyich69z] {
    position: relative;
    width: 360px;
    flex-shrink: 0;
}

.list-toolbar-search-icon[b-vfsyich69z] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
}

.list-toolbar-input[b-vfsyich69z] {
    width: 100%;
    padding: 10px 40px 10px 42px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: var(--font-size-sm);
    transition: var(--transition-control);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.list-toolbar-input:focus[b-vfsyich69z] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.list-toolbar-input[b-vfsyich69z]::placeholder {
    color: var(--text-secondary);
}

.list-toolbar-clear[b-vfsyich69z] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .list-toolbar-clear:hover[b-vfsyich69z] {
        background: rgba(var(--color-danger-rgb), 0.1);
        color: var(--color-danger);
    }
}

/* 769-899 px (T-20261122-01 B5, CUT-LIST 58): the controls always have their own row under the title, so a longer
   title (a first filter choice: "927" to "226 of 927") can no longer push them to a second row and move an open panel */
@media (min-width: 769px) and (max-width: 899px) {
    .list-toolbar-controls[b-vfsyich69z] {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .list-toolbar[b-vfsyich69z],
    .list-toolbar-controls[b-vfsyich69z] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-left: 0;
    }

    /* The toolbar sticks under the header (lists.css, T-20261029-01 D7): paddings with its background, not a margin,
       so no gap shows the cards that scroll under it. Only the space; the sticky rule and its layer are in lists.css. */
    .list-toolbar[b-vfsyich69z] {
        margin-bottom: 0;
        padding-top: 8px;
        padding-bottom: 12px;
    }

    .list-toolbar-filters[b-vfsyich69z] {
        width: 100%;
    }

    .list-toolbar-title[b-vfsyich69z] {
        font-size: var(--font-size-base);
        white-space: normal;
    }

    .list-toolbar-search[b-vfsyich69z] {
        width: 100%;
    }

    /* Below 16 px a phone browser zooms the page at the focus */
    .list-toolbar-input[b-vfsyich69z] {
        min-height: 44px;
        font-size: var(--font-size-base);
        padding-right: 48px;
    }

    /* 40 px inside the 2 px border of the 44 px input */
    .list-toolbar-clear[b-vfsyich69z] {
        width: 40px;
        height: 40px;
        right: 2px;
    }
}
/* /Components/Shared/MachineSettingsModal.razor.rz.scp.css */
/* Machine info bar at top of modal */
.machine-info-bar[b-nsvwk82g85] {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 8px;
}

/* T-20261121-01 (P10): the words of a failed save above the buttons, outside the scrolling body */
.settings-error[b-nsvwk82g85] {
    padding: var(--space-md) var(--space-xl) 0;
}

/* The machine identifier in the info bar: the site's one monospace stack (T-20261122-01 C2; before, a style attribute with Consolas) */
.settings-identifier[b-nsvwk82g85] {
    font-family: var(--font-mono);
}
/* /Components/Shared/OneRowNote.razor.rz.scp.css */
/* The one-row line of a list page (T-20261114-03 B4): the info colours of the framework alert, one line */
.one-row-note[b-k93ff2mkyp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-info);
    background-color: var(--color-info-light);
    color: var(--color-info-dark);
    font-size: var(--font-size-sm);
}

.one-row-note-text[b-k93ff2mkyp] {
    flex: 1 1 auto;
    min-width: 0;
}
/* /Components/Shared/PageHeader.razor.rz.scp.css */
/* The page header of every page (T-20261027-03; T-20261122-01). Scoped, with its own page-head names: the app header has its own classes. */
.page-head[b-5nrw34srcb] {
    display: flex;
    align-items: center;
    gap: 20px;  /* with the icon's 64 px: the 84 px of the page-head-wrap text rule below */
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.page-head-icon[b-5nrw34srcb] {
    width: 64px;  /* with the gap of .page-head: the 84 px of the page-head-wrap text rule below */
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

/* The text stays left beside the icon, the actions stay right */
.page-head-text[b-5nrw34srcb] {
    flex: 1;
    min-width: 0;
}

/* The margins replace the h1 default of base.css */
.page-head-title[b-5nrw34srcb] {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.page-head-subtitle[b-5nrw34srcb] {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

.page-head-actions[b-5nrw34srcb] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* WrapActions (T-20261122-01 A1): the actions wrap, and take their own row when they do not fit beside the title */
.page-head-wrap[b-5nrw34srcb] {
    flex-wrap: wrap;
}

/* The title keeps its own width (as the old Boss header did): the actions go to their own row before the title gets less */
.page-head-wrap .page-head-text[b-5nrw34srcb] {
    flex: 1 1 auto;
}

/* Beside the icon (64 px + the 20 px gap) the text never takes the whole row: a long subtitle wraps inside it and
   never puts the title on a row of its own under the icon (review round 2 r2 #1) */
.page-head-wrap .page-head-icon + .page-head-text[b-5nrw34srcb] {
    max-width: calc(100% - 84px);
}

.page-head-wrap .page-head-actions[b-5nrw34srcb] {
    flex-wrap: wrap;
    flex-shrink: 1;
    justify-content: flex-end;
}

/* The compact form: one row, the title and an icon-only 44 px action */
@media (max-width: 768px) {
    .page-head[b-5nrw34srcb] {
        gap: 12px;
        padding: 12px;
        margin-bottom: 12px;
    }

    .page-head-icon[b-5nrw34srcb],
    .page-head-subtitle[b-5nrw34srcb] {
        display: none;
    }

    .page-head-title[b-5nrw34srcb] {
        font-size: var(--font-size-lg);
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .page-head-actions[b-5nrw34srcb]  .btn {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .page-head-actions[b-5nrw34srcb]  .btn i {
        margin: 0;
    }

    .page-head-actions[b-5nrw34srcb]  .btn span {
        display: none;
    }

    /* No icon on the phone: the text may take the whole row */
    .page-head-wrap .page-head-icon + .page-head-text[b-5nrw34srcb] {
        max-width: none;
    }
}
/* /Components/Shared/Pager.razor.rz.scp.css */
/* The pages of a list (T-20261028-03, U5). Desktop: the range, Previous / Next and the page under the table box
   (after the scroll box, not inside it; sticky at the screen bottom). Phone: a full-width "Load more" button and the shown count under the cards.
   Hover rules only inside @media (hover: hover): a phone keeps :hover after a tap. */

.pager[b-rpptjbqzm3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm) var(--space-md);
    padding: var(--space-md) 0;
}

/* No range text at the left (the count exception, T-20261103-01): the buttons stay at the right, where every other list has them */
.pager-no-total[b-rpptjbqzm3] {
    justify-content: flex-end;
}

/* Desktop: the table box is as tall as the screen, so the bar after it starts below the screen edge. Sticky keeps it at
   the bottom edge while the list section is in view; after a full scroll it sits in its place under the box
   (the owner, 2026-10-29). The page background hides the rows that pass under it. */
.pager-sticky[b-rpptjbqzm3] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--bg-secondary);
    border-top: 1px solid var(--color-border);
}

/* Below 1024 px the fixed bottom navigation (64 px, mobile.css) covers the screen bottom: the bar sticks above it.
   The exact opposite of mobile.css "min-width: 1024px", so a fractional width (a zoom level) matches one of the two. */
@media not all and (min-width: 1024px) {
    .pager-sticky[b-rpptjbqzm3] {
        bottom: 64px;
    }
}

/* The scoped display: flex wins over the global desktop-only: hide the desktop bar at the phone width here */
@media (max-width: 768px) {
    .pager-sticky[b-rpptjbqzm3] {
        display: none;
    }
}

.pager-text[b-rpptjbqzm3] {
    font-size: var(--font-size-sm);
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
    white-space: nowrap;
}

.pager-buttons[b-rpptjbqzm3] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.pager-button[b-rpptjbqzm3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 40px;
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.pager-button:disabled[b-rpptjbqzm3] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* A transparent outline: Windows high-contrast mode shows it, where it hides the shadow */
.pager-button:focus-visible[b-rpptjbqzm3] {
    outline: 2px solid transparent;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

@media (hover: hover) {
    .pager-button:not(:disabled):hover[b-rpptjbqzm3] {
        background: var(--bg-tertiary);
        border-color: var(--color-primary);
    }
}

/* The phone form: the button over the whole width, the count under it */
.pager-more[b-rpptjbqzm3] {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm) 0 var(--space-md);
}

.pager-more .pager-text[b-rpptjbqzm3] {
    text-align: center;
}

.pager-more-button[b-rpptjbqzm3] {
    width: 100%;
    color: var(--color-primary);
}

/* 44 px tap targets on a touch screen */
@media (pointer: coarse) {
    .pager-button[b-rpptjbqzm3] {
        min-height: 44px;
    }
}
/* /Components/Shared/ToastHost.razor.rz.scp.css */
/* The toast stack under the 56 px header (T-20261027-02). Above every modal and dropdown of the site. */
.toast-stack[b-ijlqeopaup] {
    position: fixed;
    top: calc(56px + 8px);
    right: 16px;
    width: min(420px, calc(100vw - 32px));
    z-index: 100100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

/* The tint over a solid colour: only the last background layer can be a plain colour.
   The var() fallbacks keep the toast readable on the first load after a deploy (an old variables.css). */
.toast[b-ijlqeopaup] {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 8px 12px 16px;
    border-radius: var(--radius-lg, 12px);
    border-left: 4px solid var(--toast-color);
    box-shadow: var(--shadow-overlay);
    background: linear-gradient(rgba(var(--toast-rgb), 0.12), rgba(var(--toast-rgb), 0.12)), var(--bg-primary, #ffffff);
    color: var(--text-primary, #1f2937);
    animation: toast-in-b-ijlqeopaup var(--transition-base);
}

.toast-success[b-ijlqeopaup] {
    --toast-rgb: var(--color-success-rgb, 16, 185, 129);
    --toast-color: var(--color-success, #10b981);
}

.toast-info[b-ijlqeopaup] {
    --toast-rgb: var(--color-info-rgb, 139, 92, 246);
    --toast-color: var(--color-info, #8b5cf6);
}

.toast-warning[b-ijlqeopaup] {
    --toast-rgb: var(--color-warning-rgb, 245, 158, 11);
    --toast-color: var(--color-warning, #f59e0b);
}

.toast-error[b-ijlqeopaup] {
    --toast-rgb: var(--color-danger-rgb, 239, 68, 68);
    --toast-color: var(--color-danger, #ef4444);
}

.toast-icon[b-ijlqeopaup] {
    flex-shrink: 0;
    padding-top: 12px;
    font-size: 18px;
    line-height: 1;
    color: var(--toast-color);
}

.toast-text[b-ijlqeopaup] {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
    font-size: var(--font-size-sm);
    line-height: 1.45;
    overflow-wrap: anywhere;
    max-height: 40vh;
    overflow-y: auto;
}

.toast-close[b-ijlqeopaup] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--radius-md, 8px);
    background: transparent;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-control);
}

@media (hover: hover) {
    .toast-close:hover[b-ijlqeopaup] {
        background: rgba(var(--toast-rgb), 0.15);
        color: var(--text-primary, #1f2937);
    }
}

@keyframes toast-in-b-ijlqeopaup {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .toast-stack[b-ijlqeopaup] {
        left: 16px;
        right: 16px;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .toast[b-ijlqeopaup] {
        animation: none;
    }
}
