@import '_content/Volo.Abp.PermissionManagement.Blazor/Volo.Abp.PermissionManagement.Blazor.o06urd3w66.bundle.scp.css';

/* /Components/Shared/TablePager.razor.rz.scp.css */
.table-pager[b-u5q8942j3y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-height: 32px;
}

.table-pager__meta[b-u5q8942j3y] {
    color: var(--ps-muted);
    font-size: var(--ps-font-size-sm);
    font-weight: 400;
    white-space: nowrap;
}

.table-pager__meta strong[b-u5q8942j3y] {
    color: var(--ps-ink);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.table-pager__size[b-u5q8942j3y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-muted);
    font-weight: 400;
    white-space: nowrap;
    margin: 0;
}

.table-pager__size select[b-u5q8942j3y] {
    width: auto;
    height: 30px;
    min-height: 30px;
    padding: 0 1.75rem 0 0.5rem;
    border-radius: var(--ps-radius-md);
    font-size: var(--ps-font-size-sm);
    font-weight: 500;
}

.table-pager__controls[b-u5q8942j3y] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.table-pager__btn[b-u5q8942j3y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 0.5rem;
    border: 1px solid transparent;
    border-radius: var(--ps-radius-md);
    background: transparent;
    color: var(--ps-gray-600);
    font-weight: 500;
    font-size: var(--ps-font-size-sm);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.table-pager__btn:hover:not(:disabled)[b-u5q8942j3y] {
    background: var(--ps-gray-100);
    color: var(--ps-ink);
}

.table-pager__btn:focus-visible[b-u5q8942j3y] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.table-pager__btn:disabled[b-u5q8942j3y] {
    opacity: 0.35;
    cursor: default;
}

.table-pager__btn--nav[b-u5q8942j3y] {
    font-size: 1rem;
    color: var(--ps-gray-500);
}

.table-pager__btn--page.is-active[b-u5q8942j3y] {
    background: var(--ps-surface);
    border-color: var(--ps-border-strong);
    color: var(--ps-ink);
    font-weight: 600;
    box-shadow: var(--ps-shadow-xs);
}

.table-pager__btn--page.is-active:hover[b-u5q8942j3y] {
    background: var(--ps-surface);
    color: var(--ps-ink);
}

.table-pager__ellipsis[b-u5q8942j3y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 30px;
    color: var(--ps-gray-400);
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .table-pager[b-u5q8942j3y] {
        justify-content: center;
    }

    .table-pager__meta[b-u5q8942j3y] {
        width: 100%;
        text-align: center;
    }

    .table-pager__controls[b-u5q8942j3y] {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* /Pages/CardDetails.razor.rz.scp.css */
.card-details-root[b-ojymqg7dqs] {
    min-height: 100vh;
    background: var(--paystream-bg);
    color: var(--ps-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.card-details-shell[b-ojymqg7dqs] {
    width: min(720px, 100%);
    background: var(--paystream-surface);
    border: 1px solid var(--paystream-border);
    border-radius: var(--paystream-radius);
    padding: 28px 28px 32px;
    box-shadow: var(--paystream-shadow);
}

.card-details-header[b-ojymqg7dqs] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.card-details-kicker[b-ojymqg7dqs] {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 12px;
    color: var(--paystream-accent-strong);
    margin-bottom: 8px;
    font-weight: 600;
}

.card-details-header h1[b-ojymqg7dqs] {
    font-size: 28px;
    margin: 0 0 8px;
}

.card-details-header p[b-ojymqg7dqs] {
    margin: 0;
    color: var(--ps-muted);
}

.card-details-badge[b-ojymqg7dqs] {
    background: rgba(14, 165, 164, 0.14);
    color: var(--paystream-accent-strong);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.card-details-alert[b-ojymqg7dqs] {
    background: rgba(220, 38, 38, 0.12);
    color: var(--ps-danger-text);
    padding: 12px 14px;
    border-radius: var(--ps-radius-md);
    margin-bottom: 16px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.card-details-form label[b-ojymqg7dqs] {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--ps-muted);
}

.card-details-input[b-ojymqg7dqs] {
    width: 100%;
    border-radius: var(--ps-radius-md);
    border: 1px solid var(--paystream-border);
    background: #ffffff;
    padding: 12px 14px;
    color: var(--ps-ink);
    font-size: 16px;
    outline: none;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.card-details-actions[b-ojymqg7dqs] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.card-details-primary[b-ojymqg7dqs],
.card-details-secondary[b-ojymqg7dqs] {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.card-details-primary[b-ojymqg7dqs] {
    background: var(--paystream-accent);
    color: #ffffff;
}

.card-details-secondary[b-ojymqg7dqs] {
    background: transparent;
    color: var(--ps-ink-soft);
    border: 1px solid var(--paystream-border);
}

.card-details-hint[b-ojymqg7dqs] {
    margin-top: 12px;
    font-size: 12px;
    color: var(--ps-muted);
}

.card-details-card[b-ojymqg7dqs] {
    border-radius: var(--ps-radius-lg);
    border: 1px solid var(--paystream-border);
    padding: 20px;
    background: var(--paystream-surface-2);
    display: grid;
    gap: 12px;
}

.card-details-row[b-ojymqg7dqs] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
}

.card-details-row span[b-ojymqg7dqs] {
    color: var(--ps-muted);
}

@media (max-width: 640px) {
    .card-details-header[b-ojymqg7dqs] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Pages/CustomerDetails.razor.rz.scp.css */
.wallet-cards-panel[b-tcgf7dgvi4] {
    background: var(--ps-surface-2);
    border: 1px solid var(--paystream-border);
    border-radius: var(--ps-radius-lg);
    padding: 16px;
}

.wallet-cards-header[b-tcgf7dgvi4] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.wallet-cards-title[b-tcgf7dgvi4] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ps-ink);
}

.wallet-cards-subtitle[b-tcgf7dgvi4] {
    color: var(--ps-muted);
    font-size: 0.9rem;
}

.wallet-cards-status[b-tcgf7dgvi4] {
    text-align: right;
    color: var(--ps-muted);
    font-size: 0.85rem;
}

.wallet-cards-status strong[b-tcgf7dgvi4] {
    display: block;
    color: var(--ps-ink);
    font-size: 0.95rem;
}

.card-create-row[b-tcgf7dgvi4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.card-create-field .form-control[b-tcgf7dgvi4],
.card-create-field .form-select[b-tcgf7dgvi4] {
    background: var(--paystream-surface);
    border-radius: var(--ps-radius-md);
}

.card-create-action[b-tcgf7dgvi4] {
    display: flex;
    align-items: end;
}

.card-create-action .btn-card-create[b-tcgf7dgvi4] {
    width: 100%;
}

.btn-card-create[b-tcgf7dgvi4] {
    width: 100%;
    border-radius: var(--ps-radius-md);
    background: var(--paystream-accent-strong);
    color: var(--paystream-surface);
    border: none;
    padding: 10px 14px;
    font-weight: 600;
}

.btn-card-create:disabled[b-tcgf7dgvi4] {
    opacity: 0.65;
}

.table-cards thead th[b-tcgf7dgvi4] {
    color: var(--ps-ink-soft);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.card-id[b-tcgf7dgvi4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-id-label[b-tcgf7dgvi4] {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--ps-gray-400);
}

.card-action-group[b-tcgf7dgvi4] {
    min-width: 180px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.card-action-group .form-control[b-tcgf7dgvi4] {
    text-align: right;
    border-radius: 10px 0 0 10px;
}

.card-action-group .btn[b-tcgf7dgvi4] {
    border-radius: 0 10px 10px 0;
    font-weight: 600;
}

.wallets-layout[b-tcgf7dgvi4] {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 20px;
    width: 100%;
    overflow-x: hidden;
}

.wallets-sidebar[b-tcgf7dgvi4] {
    background: var(--ps-ink);
    color: var(--paystream-border);
    border-radius: var(--ps-radius-lg);
    padding: 16px;
    min-height: 400px;
}

.wallets-sidebar-title[b-tcgf7dgvi4] {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    margin-bottom: 12px;
    color: var(--ps-gray-400);
}

.wallets-sidebar-list[b-tcgf7dgvi4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallets-sidebar-item[b-tcgf7dgvi4] {
    background: var(--ps-ink);
    border: 1px solid transparent;
    border-radius: var(--ps-radius-lg);
    padding: 12px;
    text-align: left;
    color: inherit;
}

.wallets-sidebar-item.selected[b-tcgf7dgvi4] {
    border-color: var(--ps-info);
    background: var(--ps-gray-900);
}

.wallets-sidebar-name[b-tcgf7dgvi4] {
    font-weight: 600;
    color: var(--ps-surface-2);
}

.wallets-sidebar-meta[b-tcgf7dgvi4] {
    font-size: 0.75rem;
    color: var(--ps-gray-400);
    margin-top: 2px;
}

.wallets-sidebar-dot[b-tcgf7dgvi4] {
    margin: 0 6px;
}

.wallets-sidebar-balance[b-tcgf7dgvi4] {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--paystream-border);
}

.wallets-content[b-tcgf7dgvi4] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    overflow-x: hidden;
}

.wallets-empty[b-tcgf7dgvi4] {
    border: 1px dashed var(--ps-border-strong);
    border-radius: var(--ps-radius-lg);
    padding: 24px;
    text-align: center;
    color: var(--ps-muted);
}

.wallets-summary[b-tcgf7dgvi4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--paystream-surface);
    border-radius: var(--ps-radius-lg);
    padding: 16px 20px;
    border: 1px solid var(--paystream-border);
}

.wallets-summary-title[b-tcgf7dgvi4] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ps-ink);
}

.wallets-summary-subtitle[b-tcgf7dgvi4] {
    color: var(--ps-muted);
    font-size: 0.85rem;
}

.wallets-summary-balance[b-tcgf7dgvi4] {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--ps-ink);
}

.card-tiles[b-tcgf7dgvi4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.card-tile[b-tcgf7dgvi4] {
    background: var(--paystream-surface);
    border: 1px solid var(--paystream-border);
    border-radius: var(--ps-radius-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-tile-header[b-tcgf7dgvi4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tile-body[b-tcgf7dgvi4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-tile-expiry[b-tcgf7dgvi4] {
    color: var(--ps-muted);
    font-size: 0.85rem;
}

.card-tile-actions[b-tcgf7dgvi4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.card-tile-footer[b-tcgf7dgvi4] {
    display: flex;
    gap: 8px;
}

.documents-admin-card[b-tcgf7dgvi4],
.kyc-review-card[b-tcgf7dgvi4] {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-xl);
    overflow: hidden;
    box-shadow: var(--ps-shadow-xs);
}

.documents-admin-header[b-tcgf7dgvi4],
.kyc-review-header[b-tcgf7dgvi4] {
    background: var(--ps-surface-2);
    border-bottom: 1px solid var(--ps-border-strong);
    padding: 18px 22px;
}

.documents-admin-header .card-title[b-tcgf7dgvi4],
.kyc-review-header .card-title[b-tcgf7dgvi4] {
    color: var(--ps-ink);
    font-weight: 600;
}

.documents-admin-subtitle[b-tcgf7dgvi4] {
    color: var(--ps-muted);
    font-size: 0.92rem;
}

.documents-admin-card .card-body[b-tcgf7dgvi4],
.kyc-review-card .card-body[b-tcgf7dgvi4] {
    padding: 22px;
}

.documents-admin-form[b-tcgf7dgvi4] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.document-form-alert[b-tcgf7dgvi4] {
    border-radius: var(--ps-radius-lg);
    border: 1px solid var(--ps-border);
}

.document-entry-grid[b-tcgf7dgvi4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.document-entry-field[b-tcgf7dgvi4],
.document-entry-upload[b-tcgf7dgvi4],
.document-entry-toggle[b-tcgf7dgvi4],
.kyc-checklist[b-tcgf7dgvi4] {
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: 14px 16px;
}

.document-entry-field .form-control[b-tcgf7dgvi4],
.document-entry-field .form-select[b-tcgf7dgvi4],
.document-entry-upload .form-control[b-tcgf7dgvi4],
.kyc-review-card .form-control[b-tcgf7dgvi4],
.kyc-review-card .form-select[b-tcgf7dgvi4] {
    border-radius: var(--ps-radius-md);
    border-color: var(--ps-border-strong);
    background: var(--ps-surface);
}

.document-entry-upload .form-control[b-tcgf7dgvi4]::file-selector-button {
    border: none;
    border-radius: var(--ps-radius-md);
    background: var(--ps-primary);
    color: var(--ps-surface);
    font-weight: 600;
    padding: 10px 14px;
    margin-right: 12px;
}

.upload-picker-meta[b-tcgf7dgvi4] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.upload-chip[b-tcgf7dgvi4] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.upload-chip.idle[b-tcgf7dgvi4] {
    background: var(--ps-border);
    color: var(--ps-gray-600);
}

.upload-chip.busy[b-tcgf7dgvi4] {
    background: var(--ps-info-soft);
    color: var(--ps-info);
}

.upload-chip.ready[b-tcgf7dgvi4] {
    background: var(--ps-success-soft);
    color: var(--ps-success-text);
}

.document-entry-actions[b-tcgf7dgvi4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.document-entry-toggle[b-tcgf7dgvi4] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
}

.document-entry-toggle .form-check-input[b-tcgf7dgvi4] {
    margin-top: 0;
}

.btn-document-save[b-tcgf7dgvi4],
.btn-kyc-override[b-tcgf7dgvi4] {
    border: none;
    border-radius: var(--ps-radius-lg);
    color: var(--ps-surface);
    font-weight: 600;
    padding: 12px 18px;
    min-width: 220px;
}

.btn-document-save[b-tcgf7dgvi4] {
    background: var(--ps-primary);
    box-shadow: var(--ps-shadow-xs);
}

.btn-kyc-override[b-tcgf7dgvi4] {
    background: var(--ps-warning);
    box-shadow: var(--ps-shadow-xs);
}

.btn-document-save:disabled[b-tcgf7dgvi4],
.btn-kyc-override:disabled[b-tcgf7dgvi4] {
    background: var(--ps-gray-400);
    box-shadow: none;
    color: var(--ps-surface);
    opacity: 0.7;
}

.documents-table thead th[b-tcgf7dgvi4] {
    color: var(--ps-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-bottom-color: var(--ps-border);
}

.documents-table tbody td[b-tcgf7dgvi4] {
    vertical-align: middle;
    border-bottom-color: var(--ps-border);
}

.document-link[b-tcgf7dgvi4] {
    color: var(--ps-primary);
    font-weight: 600;
    text-decoration: none;
}

.document-link:hover[b-tcgf7dgvi4] {
    color: var(--ps-primary);
    text-decoration: underline;
}

.kyc-checklist[b-tcgf7dgvi4] {
    display: grid;
    gap: 10px;
}

.kyc-checklist .form-check[b-tcgf7dgvi4] {
    margin: 0;
}

@media (max-width: 1200px) {
    .card-create-row[b-tcgf7dgvi4] {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .card-create-action[b-tcgf7dgvi4] {
        grid-column: 1 / -1;
    }

    .document-entry-grid[b-tcgf7dgvi4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .wallets-layout[b-tcgf7dgvi4] {
        grid-template-columns: 1fr;
    }

    .card-create-row[b-tcgf7dgvi4] {
        grid-template-columns: 1fr;
    }

    .document-entry-grid[b-tcgf7dgvi4] {
        grid-template-columns: 1fr;
    }

    .wallet-cards-header[b-tcgf7dgvi4] {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-action-group[b-tcgf7dgvi4] {
        min-width: auto;
    }

    .document-entry-actions[b-tcgf7dgvi4] {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-document-save[b-tcgf7dgvi4],
    .btn-kyc-override[b-tcgf7dgvi4] {
        width: 100%;
        min-width: 0;
    }
}



/* Enterprise kit alignment: one section per tab, Bootstrap cards rendered as kit surfaces. */
.card[b-tcgf7dgvi4] {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    box-shadow: none;
    margin-bottom: 16px;
}

.card-header[b-tcgf7dgvi4] {
    background: transparent;
    border-bottom: 1px solid var(--ps-border);
    padding: 16px 24px;
}

.card-body[b-tcgf7dgvi4] {
    padding: 24px;
}

.card-title[b-tcgf7dgvi4] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ps-ink);
}

@media (max-width: 575.98px) {
    .card-header[b-tcgf7dgvi4] { padding: 12px 16px; }
    .card-body[b-tcgf7dgvi4] { padding: 16px; }
}

/* Add-document form lives in the slide-over drawer: stack fields in one column. */
.documents-admin-form .document-entry-grid[b-tcgf7dgvi4] {
    grid-template-columns: 1fr;
}
/* /Pages/Identity/Users.razor.rz.scp.css */
.backend-users__roles-editor[b-9shueejljq] {
    margin-top: 1.25rem;
}

.backend-users__roles-palette[b-9shueejljq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
}

.backend-users__roles-palette .form-check[b-9shueejljq] {
    margin: 0;
}
/* /Pages/Inbox/LiveInbox.razor.rz.scp.css */
/* Live WhatsApp inbox. Colours come from the design tokens in css/tokens.css; the only
   literal colours are WhatsApp conventions users recognise (wallpaper, bot bubble, read ticks). */

.inbox-page[b-2ygerbjqio] {
    --inbox-side: 340px;
    --inbox-wa-wallpaper: #efeae2;
    --inbox-wa-bot: #d9fdd3;
    --inbox-wa-read: #53bdeb;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100vh - var(--ps-size-topbar-height, 64px) - 32px);
    min-height: 540px;
    font-family: var(--ps-font-sans);
    color: var(--ps-ink);
}

.inbox-num[b-2ygerbjqio] { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.inbox-header[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.inbox-header__title[b-2ygerbjqio] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inbox-header__title h1[b-2ygerbjqio] { font-size: 20px; font-weight: 600; margin: 0; }
.inbox-header__counters[b-2ygerbjqio] { display: flex; gap: 6px; flex-wrap: wrap; }
.inbox-header__actions[b-2ygerbjqio] { display: flex; align-items: center; gap: 8px; }
.inbox-tenant[b-2ygerbjqio] { width: 220px; }

.inbox-presence[b-2ygerbjqio] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--ps-border);
    background: var(--ps-surface);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.inbox-icon-btn[b-2ygerbjqio] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: 0;
    color: var(--ps-muted);
    cursor: pointer;
}

.inbox-icon-btn:hover[b-2ygerbjqio] { background: var(--ps-neutral-soft); color: var(--ps-ink); }
.inbox-icon-btn.disabled[b-2ygerbjqio] { opacity: .4; pointer-events: none; }
.btn.inbox-icon-btn[b-2ygerbjqio] { border: 1px solid var(--ps-border); }

/* ---------- Pills, dots, chips ---------- */
.inbox-pill[b-2ygerbjqio] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.inbox-pill--primary[b-2ygerbjqio] { background: var(--ps-primary-soft); color: var(--ps-primary-strong); }
.inbox-pill--success[b-2ygerbjqio] { background: var(--ps-success-soft); color: var(--ps-success-text); }
.inbox-pill--warning[b-2ygerbjqio] { background: var(--ps-warning-soft); color: var(--ps-warning-text); }
.inbox-pill--danger[b-2ygerbjqio] { background: var(--ps-danger-soft); color: var(--ps-danger-text); }
.inbox-pill--info[b-2ygerbjqio] { background: var(--ps-info-soft); color: var(--ps-info-text); }
.inbox-pill--neutral[b-2ygerbjqio] { background: var(--ps-neutral-soft); color: var(--ps-neutral-text); }

.inbox-dot[b-2ygerbjqio] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ps-gray-400); }
.inbox-dot--success[b-2ygerbjqio] { background: var(--ps-success); }
.inbox-dot--warning[b-2ygerbjqio] { background: var(--ps-warning); }
.inbox-dot--danger[b-2ygerbjqio] { background: var(--ps-danger); }
.inbox-dot--info[b-2ygerbjqio] { background: var(--ps-info); }
.inbox-dot--neutral[b-2ygerbjqio] { background: var(--ps-gray-400); }

.inbox-chip[b-2ygerbjqio] {
    border: 1px solid var(--ps-border);
    background: var(--ps-surface);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ps-muted);
}

.inbox-chip--primary[b-2ygerbjqio] { background: var(--ps-primary-soft); border-color: var(--ps-primary); color: var(--ps-primary-strong); }
.inbox-chip--warning[b-2ygerbjqio] { background: var(--ps-warning-soft); border-color: var(--ps-warning); color: var(--ps-warning-text); }

/* ---------- Grid ---------- */
.inbox-grid[b-2ygerbjqio] {
    display: grid;
    grid-template-columns: var(--inbox-side) minmax(0, 1fr) var(--inbox-side);
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.inbox-pane[b-2ygerbjqio] {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* ---------- List ---------- */
.inbox-list__filters[b-2ygerbjqio] { padding: 12px; border-bottom: 1px solid var(--ps-border); display: flex; flex-direction: column; gap: 10px; }

.inbox-search[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    padding: 0 6px 0 10px;
    height: 34px;
    color: var(--ps-muted);
}

.inbox-search:focus-within[b-2ygerbjqio] { border-color: var(--ps-primary); box-shadow: var(--ps-focus-ring); }
.inbox-search input[b-2ygerbjqio] { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 13px; background: transparent; color: var(--ps-ink); }
.inbox-search__clear[b-2ygerbjqio] { border: 0; background: transparent; color: var(--ps-muted); }

.inbox-filter-btn[b-2ygerbjqio] { position: relative; border: 0; background: transparent; color: var(--ps-muted); padding: 4px 6px; }
.inbox-filter-btn__badge[b-2ygerbjqio] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--ps-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
}

.inbox-tabs[b-2ygerbjqio] { display: flex; gap: 6px; flex-wrap: wrap; }
.inbox-tab[b-2ygerbjqio] {
    border: 1px solid var(--ps-border);
    background: var(--ps-surface);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ps-ink-soft);
}

.inbox-tab--active[b-2ygerbjqio] { background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; }
.inbox-tab__count[b-2ygerbjqio] { margin-left: 4px; opacity: .8; font-variant-numeric: tabular-nums; }
.inbox-filters[b-2ygerbjqio] { display: flex; flex-direction: column; gap: 8px; }

.inbox-progress[b-2ygerbjqio] { height: 2px; background: var(--ps-primary-soft); overflow: hidden; flex-shrink: 0; }
.inbox-progress span[b-2ygerbjqio] { display: block; height: 100%; width: 30%; background: var(--ps-primary); animation: inbox-progress-b-2ygerbjqio 1.1s ease-in-out infinite; }
@keyframes inbox-progress-b-2ygerbjqio { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

.inbox-list__items[b-2ygerbjqio] { flex: 1; overflow-y: auto; }

.inbox-row[b-2ygerbjqio] {
    display: flex;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--ps-border);
    border-left: 3px solid transparent;
    background: transparent;
    color: inherit;
}

.inbox-row:hover[b-2ygerbjqio] { background: var(--ps-primary-soft-2, var(--ps-primary-soft)); }
.inbox-row--selected[b-2ygerbjqio] { background: var(--ps-primary-soft); border-left-color: var(--ps-primary); }
.inbox-row--skeleton:hover[b-2ygerbjqio] { background: transparent; }
.inbox-row__body[b-2ygerbjqio] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.inbox-row__line[b-2ygerbjqio] { display: flex; align-items: center; gap: 8px; min-width: 0; }
.inbox-row__name[b-2ygerbjqio] { flex: 1; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row__name--unread[b-2ygerbjqio] { font-weight: 700; }
.inbox-row__time[b-2ygerbjqio] { font-size: 11px; color: var(--ps-muted); white-space: nowrap; }
.inbox-row__preview[b-2ygerbjqio] { flex: 1; font-size: 13px; color: var(--ps-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row__chips[b-2ygerbjqio] { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.inbox-row__owner[b-2ygerbjqio] { font-size: 11px; color: var(--ps-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }

/* [WA] unread marker green */
.inbox-unread[b-2ygerbjqio] { color: #25d366; font-size: 12px; }

.inbox-avatar[b-2ygerbjqio] {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ps-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inbox-avatar--lg[b-2ygerbjqio] { width: 46px; height: 46px; font-size: 15px; }
.inbox-avatar__status[b-2ygerbjqio] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--ps-surface);
}

.inbox-empty-list[b-2ygerbjqio] { padding: 24px 16px; text-align: center; color: var(--ps-muted); font-size: 13px; }
.inbox-list__footer[b-2ygerbjqio] {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid var(--ps-border);
    font-size: 12px;
    color: var(--ps-muted);
}

.inbox-skeleton[b-2ygerbjqio] { background: var(--ps-gray-100); border-radius: 6px; animation: inbox-pulse-b-2ygerbjqio 1.4s ease-in-out infinite; }
.inbox-skeleton--line[b-2ygerbjqio] { display: block; height: 10px; width: 80%; }
.inbox-skeleton--line.short[b-2ygerbjqio] { width: 50%; }
@keyframes inbox-pulse-b-2ygerbjqio { 50% { opacity: .5; } }

/* ---------- Chat ---------- */
.inbox-chat__placeholder[b-2ygerbjqio] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    color: var(--ps-muted);
}

.inbox-chat__placeholder i[b-2ygerbjqio] { font-size: 40px; color: var(--ps-gray-300); }
.inbox-chat__placeholder h2[b-2ygerbjqio] { font-size: 16px; font-weight: 600; color: var(--ps-ink); margin: 0; }
.inbox-chat__placeholder p[b-2ygerbjqio] { margin: 0 0 8px; font-size: 13px; }
.inbox-chat__loading[b-2ygerbjqio] { padding: 24px; }

.inbox-chat__header[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--ps-border);
}

.inbox-chat__back[b-2ygerbjqio] { display: none; }
.inbox-chat__who[b-2ygerbjqio] { flex: 1; min-width: 0; }
.inbox-chat__name[b-2ygerbjqio] { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-chat__meta[b-2ygerbjqio] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.inbox-meta[b-2ygerbjqio] { font-size: 12px; color: var(--ps-muted); }
.inbox-chat__actions[b-2ygerbjqio] { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.inbox-details-toggle[b-2ygerbjqio] { display: none; }

.inbox-menu[b-2ygerbjqio] { position: relative; }
.inbox-menu__list[b-2ygerbjqio] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    min-width: 220px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    box-shadow: var(--ps-shadow-md);
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.inbox-menu__list button[b-2ygerbjqio] { border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 6px; font-size: 13px; color: var(--ps-ink); }
.inbox-menu__list button:hover:not(:disabled)[b-2ygerbjqio] { background: var(--ps-neutral-soft); }
.inbox-menu__list button:disabled[b-2ygerbjqio] { color: var(--ps-muted); }

.inbox-banner[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    font-size: 12px;
}

.inbox-banner--danger[b-2ygerbjqio] { background: var(--ps-danger-soft); color: var(--ps-danger-text); }
.inbox-banner--warning[b-2ygerbjqio] { background: var(--ps-warning-soft); color: var(--ps-warning-text); }
.inbox-banner--info[b-2ygerbjqio] { background: var(--ps-info-soft); color: var(--ps-info-text); }
.inbox-banner--neutral[b-2ygerbjqio] { background: var(--ps-neutral-soft); color: var(--ps-neutral-text); }

/* [WA] chat wallpaper */
.inbox-messages[b-2ygerbjqio] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background-color: var(--inbox-wa-wallpaper);
    background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px);
    background-size: 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inbox-date[b-2ygerbjqio] { display: flex; justify-content: center; margin: 8px 0; }
.inbox-date span[b-2ygerbjqio] {
    background: var(--ps-surface);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ps-muted);
    box-shadow: var(--ps-shadow-xs);
}

.inbox-msg[b-2ygerbjqio] { display: flex; }
.inbox-msg--in[b-2ygerbjqio] { justify-content: flex-start; }
.inbox-msg--out[b-2ygerbjqio] { justify-content: flex-end; }

.inbox-bubble[b-2ygerbjqio] {
    max-width: 72%;
    border-radius: 10px;
    padding: 6px 10px 4px;
    font-size: 14px;
    box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
    background: var(--ps-surface);
}

.inbox-msg--in .inbox-bubble[b-2ygerbjqio] { border-top-left-radius: 2px; }
.inbox-msg--out .inbox-bubble[b-2ygerbjqio] { border-top-right-radius: 2px; }
.inbox-bubble--customer[b-2ygerbjqio] { background: var(--ps-surface); }
.inbox-bubble--bot[b-2ygerbjqio] { background: var(--inbox-wa-bot); }
.inbox-bubble--agent[b-2ygerbjqio] { background: var(--ps-primary-soft); }
.inbox-bubble--system[b-2ygerbjqio] { background: var(--ps-warning-soft); }
.inbox-bubble--note[b-2ygerbjqio] { background: var(--ps-warning-soft); border: 1px dashed var(--ps-warning); box-shadow: none; }

.inbox-bubble__sender[b-2ygerbjqio] { font-size: 11px; font-weight: 600; margin-bottom: 2px; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.inbox-bubble__sender--customer[b-2ygerbjqio] { color: var(--ps-ink-soft); }
.inbox-bubble__sender--bot[b-2ygerbjqio] { color: var(--ps-success-text); }
.inbox-bubble__sender--agent[b-2ygerbjqio] { color: var(--ps-primary-strong); }
.inbox-bubble__sender--system[b-2ygerbjqio],
.inbox-bubble__sender--note[b-2ygerbjqio] { color: var(--ps-warning-text); }
.inbox-bubble__text[b-2ygerbjqio] { white-space: pre-wrap; word-break: break-word; }
.inbox-bubble__error[b-2ygerbjqio] { font-size: 12px; color: var(--ps-danger-text); margin-top: 2px; }
.inbox-bubble__meta[b-2ygerbjqio] { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 11px; color: var(--ps-muted); margin-top: 2px; }
.inbox-bubble__image[b-2ygerbjqio] { display: block; max-width: 260px; max-height: 260px; border-radius: 6px; margin: 2px 0 4px; object-fit: cover; }
.inbox-bubble__image-placeholder[b-2ygerbjqio] { display: block; width: 200px; height: 140px; margin: 2px 0 4px; }

.inbox-doc[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ps-border);
    background: var(--ps-surface-2, var(--ps-surface));
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--ps-ink);
    margin: 2px 0 4px;
    max-width: 100%;
}

.inbox-doc span[b-2ygerbjqio] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.inbox-tick[b-2ygerbjqio] { color: var(--ps-muted); }
.inbox-tick--light[b-2ygerbjqio] { color: var(--ps-gray-400); }
.inbox-tick--read[b-2ygerbjqio] { color: var(--inbox-wa-read); }
.inbox-tick--failed[b-2ygerbjqio] { color: var(--ps-danger); }

/* ---------- Composer ---------- */
.inbox-composer[b-2ygerbjqio] { border-top: 1px solid var(--ps-border); padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.inbox-composer__modes[b-2ygerbjqio] { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inbox-composer__hint[b-2ygerbjqio] { font-size: 12px; color: var(--ps-muted); }
.inbox-composer__row[b-2ygerbjqio] { display: flex; align-items: flex-end; gap: 6px; }
.inbox-composer__tool[b-2ygerbjqio] { height: 40px; }

.inbox-composer__input[b-2ygerbjqio] {
    flex: 1;
    min-height: 40px;
    max-height: 160px;
    resize: none;
    border: 1px solid var(--ps-border);
    border-radius: 18px;
    padding: 9px 14px;
    font-size: 14px;
    line-height: 20px;
    outline: 0;
    background: var(--ps-surface);
    color: var(--ps-ink);
}

.inbox-composer__input:focus[b-2ygerbjqio] { border-color: var(--ps-primary); box-shadow: var(--ps-focus-ring); }
.inbox-composer__input:disabled[b-2ygerbjqio] { background: var(--ps-neutral-soft); }
.inbox-composer--note .inbox-composer__input[b-2ygerbjqio] { background: var(--ps-warning-soft); border-color: var(--ps-warning); }

.inbox-send[b-2ygerbjqio] {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 0;
    background: var(--ps-primary);
    color: #fff;
}

.inbox-send--note[b-2ygerbjqio] { background: var(--ps-warning); color: var(--ps-ink); }
.inbox-send:disabled[b-2ygerbjqio] { opacity: .45; }

.inbox-attachment[b-2ygerbjqio] { font-size: 12px; color: var(--ps-ink-soft); display: flex; align-items: center; gap: 6px; }

/* ---------- Details ---------- */
.inbox-details[b-2ygerbjqio] { overflow-y: auto; }
.inbox-details__empty[b-2ygerbjqio] { padding: 24px 16px; color: var(--ps-muted); font-size: 13px; text-align: center; }
.inbox-details__close[b-2ygerbjqio] { display: none; position: absolute; top: 8px; right: 8px; }
.inbox-section[b-2ygerbjqio] { padding: 14px 16px; border-bottom: 1px solid var(--ps-border); }
.inbox-section h3[b-2ygerbjqio] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ps-muted);
    margin: 0 0 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.inbox-customer[b-2ygerbjqio] { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.inbox-kv[b-2ygerbjqio] { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 8px; font-size: 13px; margin-bottom: 10px; }
.inbox-kv dt[b-2ygerbjqio] { color: var(--ps-muted); font-weight: 500; }
.inbox-kv dd[b-2ygerbjqio] { margin: 0; word-break: break-word; }
.inbox-card[b-2ygerbjqio] { border: 1px solid var(--ps-border); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.inbox-note[b-2ygerbjqio] { background: var(--ps-warning-soft); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; font-size: 13px; }
.inbox-drawer-backdrop[b-2ygerbjqio] { display: none; }

/* ---------- Dialogs ---------- */
.inbox-modal-backdrop[b-2ygerbjqio] { position: fixed; inset: 0; background: rgba(15, 23, 42, .35); z-index: 1050; }
.inbox-modal[b-2ygerbjqio] {
    position: fixed;
    z-index: 1051;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--ps-surface);
    border-radius: 12px;
    box-shadow: var(--ps-shadow-lg);
    padding: 16px;
}

.inbox-modal--wide[b-2ygerbjqio] { width: min(820px, calc(100vw - 32px)); }
.inbox-modal__header[b-2ygerbjqio] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.inbox-modal__header h2[b-2ygerbjqio] { font-size: 16px; font-weight: 600; margin: 0; }
.inbox-modal__list[b-2ygerbjqio] { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.inbox-modal__footer[b-2ygerbjqio] { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.inbox-option[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
}

.inbox-option--selected[b-2ygerbjqio] { border-color: var(--ps-primary); background: var(--ps-primary-soft); }
.inbox-option--disabled[b-2ygerbjqio] { opacity: .5; cursor: not-allowed; }

.inbox-template[b-2ygerbjqio] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.inbox-template__preview[b-2ygerbjqio] {
    margin-top: 8px;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--inbox-wa-wallpaper);
    display: flex;
    justify-content: flex-end;
}

.inbox-template__preview .inbox-bubble[b-2ygerbjqio] { border-top-right-radius: 2px; max-width: 100%; }

/* ---------- Toasts ---------- */
.inbox-toasts[b-2ygerbjqio] { position: fixed; right: 16px; bottom: 16px; z-index: 1060; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.inbox-toast[b-2ygerbjqio] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: var(--ps-shadow-md);
    background: var(--ps-surface);
    border-left: 4px solid var(--ps-info);
}

.inbox-toast span[b-2ygerbjqio] { flex: 1; }
.inbox-toast--success[b-2ygerbjqio] { border-left-color: var(--ps-success); }
.inbox-toast--warning[b-2ygerbjqio] { border-left-color: var(--ps-warning); }
.inbox-toast--danger[b-2ygerbjqio] { border-left-color: var(--ps-danger); }

/* ---------- Responsive ---------- */
@media (max-width: 1700px) {
    .inbox-page[b-2ygerbjqio] { --inbox-side: 310px; }
}

@media (max-width: 1480px) {
    .inbox-grid[b-2ygerbjqio] { grid-template-columns: var(--inbox-side) minmax(0, 1fr); }
    .inbox-details-toggle[b-2ygerbjqio] { display: inline-flex; }
    .inbox-details[b-2ygerbjqio] {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 100vw);
        z-index: 1041;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform .2s ease;
    }

    .inbox-details__close[b-2ygerbjqio] { display: inline-flex; }
    .inbox-grid--drawer-open .inbox-details[b-2ygerbjqio] { transform: translateX(0); }
    .inbox-grid--drawer-open .inbox-drawer-backdrop[b-2ygerbjqio] { display: block; position: fixed; inset: 0; z-index: 1040; background: rgba(15, 23, 42, .25); }
}

@media (max-width: 760px) {
    .inbox-page[b-2ygerbjqio] { height: calc(100vh - var(--ps-size-topbar-height, 56px) - 16px); }
    .inbox-grid[b-2ygerbjqio] { grid-template-columns: minmax(0, 1fr); }
    .inbox-page--chat-open .inbox-list[b-2ygerbjqio] { display: none; }
    .inbox-page:not(.inbox-page--chat-open) .inbox-chat[b-2ygerbjqio] { display: none; }
    .inbox-chat__back[b-2ygerbjqio] { display: inline-flex; }
    .inbox-hide-mobile[b-2ygerbjqio] { display: none; }
    .inbox-bubble[b-2ygerbjqio] { max-width: 88%; }
    .inbox-template[b-2ygerbjqio] { grid-template-columns: minmax(0, 1fr); }
    .inbox-tenant[b-2ygerbjqio] { width: 160px; }
}

.inbox-group-title[b-2ygerbjqio] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ps-muted);
    margin: 8px 0 2px;
}
/* /Pages/Index.razor.rz.scp.css */
/* Getting-Started */
.card-bg-image[b-fs7v7vcj8s] {
    position: absolute;
    width: 630px;
    height: auto;
    bottom: 0;
    right: 0;
    z-index: 1;
}
/* Getting-Started End */

/* Write here your styles for the Index page */
/* /Pages/KycLiveness.razor.rz.scp.css */
.kyc-liveness-root[b-fx7by1m7jn] {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: var(--ps-surface);
    color: #13313f;
}

.kyc-liveness-shell[b-fx7by1m7jn] {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    width: min(100%, 960px);
}

.kyc-liveness-modal-backdrop[b-fx7by1m7jn] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
}

.kyc-liveness-modal[b-fx7by1m7jn] {
    width: min(100%, 34rem);
    display: grid;
    gap: 0.95rem;
    padding: 1.35rem;
    border-radius: var(--ps-radius-xl);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: var(--ps-shadow-lg);
}

.kyc-liveness-modal.info[b-fx7by1m7jn] {
    border-color: rgba(var(--ps-primary-rgb), 0.18);
}

.kyc-liveness-modal.success[b-fx7by1m7jn] {
    border-color: rgba(var(--ps-primary-rgb), 0.28);
}

.kyc-liveness-modal.danger[b-fx7by1m7jn] {
    border-color: rgba(185, 28, 28, 0.24);
}

.kyc-liveness-modal-kicker[b-fx7by1m7jn] {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 600;
}

.kyc-liveness-modal.info .kyc-liveness-modal-kicker[b-fx7by1m7jn] {
    color: var(--ps-primary-strong);
}

.kyc-liveness-modal.success .kyc-liveness-modal-kicker[b-fx7by1m7jn] {
    color: var(--ps-primary);
}

.kyc-liveness-modal.danger .kyc-liveness-modal-kicker[b-fx7by1m7jn] {
    color: var(--ps-danger-text);
}

.kyc-liveness-modal h2[b-fx7by1m7jn] {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.2;
}

.kyc-liveness-modal p[b-fx7by1m7jn] {
    margin: 0;
    color: rgba(15, 23, 42, 0.84);
    line-height: 1.55;
}

.kyc-liveness-modal-actions[b-fx7by1m7jn] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.kyc-liveness-modal-actions > button[b-fx7by1m7jn] {
    min-width: 10.5rem;
}

.kyc-liveness-stepper[b-fx7by1m7jn],
.kyc-liveness-header[b-fx7by1m7jn],
.kyc-liveness-panel[b-fx7by1m7jn] {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--ps-radius-xl);
    box-shadow: var(--ps-shadow-xs);
}

.kyc-liveness-header[b-fx7by1m7jn] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
}

.kyc-liveness-header > :first-child[b-fx7by1m7jn] {
    min-width: 0;
}

.kyc-liveness-header h1[b-fx7by1m7jn] {
    margin: 0.35rem 0;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.kyc-liveness-kicker[b-fx7by1m7jn] {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ps-primary);
}

.kyc-liveness-status[b-fx7by1m7jn] {
    align-self: start;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #13313f;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    max-width: 100%;
}

.kyc-liveness-grid[b-fx7by1m7jn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.kyc-liveness-stepper[b-fx7by1m7jn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 0.85rem;
}

.kyc-liveness-step[b-fx7by1m7jn] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    border-radius: var(--ps-radius-lg);
    padding: 0.9rem 1rem;
    text-align: left;
    color: #13313f;
    min-width: 0;
}

.kyc-liveness-step:disabled[b-fx7by1m7jn] {
    opacity: 0.75;
}

.kyc-liveness-step.active[b-fx7by1m7jn] {
    border-color: rgba(var(--ps-primary-rgb), 0.32);
    box-shadow: inset 0 0 0 1px rgba(var(--ps-primary-rgb), 0.12);
    background: var(--ps-surface-2);
}

.kyc-liveness-step.done[b-fx7by1m7jn] {
    border-color: rgba(var(--ps-primary-rgb), 0.18);
}

.kyc-liveness-step-index[b-fx7by1m7jn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-weight: 600;
}

.kyc-liveness-step.active .kyc-liveness-step-index[b-fx7by1m7jn],
.kyc-liveness-step.done .kyc-liveness-step-index[b-fx7by1m7jn] {
    background: #13313f;
    color: #fff;
}

.kyc-liveness-step-copy[b-fx7by1m7jn] {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.kyc-liveness-step-copy small[b-fx7by1m7jn] {
    color: rgba(15, 23, 42, 0.68);
}

.kyc-liveness-panel[b-fx7by1m7jn] {
    padding: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

.kyc-liveness-panel-head[b-fx7by1m7jn] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.kyc-liveness-panel h2[b-fx7by1m7jn] {
    margin: 0;
    font-size: 1.05rem;
}

.kyc-liveness-panel p[b-fx7by1m7jn] {
    margin: 0.4rem 0 0;
}

.kyc-liveness-row[b-fx7by1m7jn] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.kyc-liveness-card[b-fx7by1m7jn] {
    display: grid;
    gap: 0.28rem;
    padding: 1rem;
    border-radius: var(--ps-radius-lg);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.kyc-liveness-card strong[b-fx7by1m7jn] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.kyc-liveness-card-label[b-fx7by1m7jn] {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.58);
    font-weight: 600;
}

.kyc-liveness-list[b-fx7by1m7jn] {
    margin: 0;
    padding-left: 1.25rem;
}

.kyc-liveness-steps li[b-fx7by1m7jn] {
    margin-bottom: 0.55rem;
    transition: color 0.18s ease, transform 0.18s ease;
}

.kyc-liveness-steps li.active[b-fx7by1m7jn] {
    color: var(--ps-primary);
    font-weight: 600;
    transform: translateX(0.15rem);
}

.kyc-liveness-steps li.done[b-fx7by1m7jn] {
    color: var(--ps-primary-strong);
}

.kyc-liveness-chip[b-fx7by1m7jn] {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.kyc-liveness-chip.ready[b-fx7by1m7jn] {
    background: rgba(var(--ps-primary-rgb), 0.12);
    color: var(--ps-primary);
}

.kyc-liveness-chip.info[b-fx7by1m7jn] {
    background: rgba(var(--ps-primary-rgb), 0.12);
    color: var(--ps-primary-strong);
}

.kyc-liveness-chip.pending[b-fx7by1m7jn] {
    background: rgba(180, 83, 9, 0.12);
    color: #9a3412;
}

.kyc-liveness-alert[b-fx7by1m7jn] {
    padding: 0.9rem 1rem;
    border-radius: var(--ps-radius-lg);
    font-weight: 500;
}

.kyc-liveness-alert.success[b-fx7by1m7jn] {
    background: rgba(var(--ps-primary-rgb), 0.12);
    color: var(--ps-primary);
}

.kyc-liveness-alert.danger[b-fx7by1m7jn] {
    background: rgba(185, 28, 28, 0.12);
    color: #991b1b;
}

.kyc-liveness-alert.compact[b-fx7by1m7jn] {
    margin-top: 0.25rem;
}

.kyc-liveness-inline-alert[b-fx7by1m7jn] {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.kyc-liveness-progress[b-fx7by1m7jn] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--ps-radius-lg);
    border: 1px solid rgba(var(--ps-primary-rgb), 0.16);
    background: rgba(var(--ps-primary-rgb), 0.08);
    color: var(--ps-primary);
    font-weight: 600;
}

.kyc-liveness-actions[b-fx7by1m7jn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.kyc-liveness-actions > button[b-fx7by1m7jn] {
    min-height: 3.15rem;
}

.kyc-liveness-actions.end[b-fx7by1m7jn] {
    justify-content: flex-end;
}

.kyc-liveness-actions.between[b-fx7by1m7jn] {
    justify-content: space-between;
}

.kyc-liveness-actions.sticky[b-fx7by1m7jn] {
    position: sticky;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    z-index: 6;
    padding: 0.8rem;
    border-radius: var(--ps-radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--ps-shadow-xs);
    backdrop-filter: blur(12px);
}

.kyc-liveness-actions.sticky > button[b-fx7by1m7jn] {
    flex: 1 1 12rem;
}

.kyc-liveness-primary[b-fx7by1m7jn] {
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    background: var(--ps-primary);
    color: #fff;
    font-weight: 600;
    touch-action: manipulation;
}

.kyc-liveness-primary:disabled[b-fx7by1m7jn] {
    opacity: 0.55;
}

.kyc-liveness-secondary[b-fx7by1m7jn] {
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    background: rgba(15, 23, 42, 0.04);
    color: #13313f;
    font-weight: 600;
    touch-action: manipulation;
}

.kyc-liveness-secondary:disabled[b-fx7by1m7jn] {
    opacity: 0.55;
}

.kyc-liveness-upload-stack[b-fx7by1m7jn] {
    display: grid;
    gap: 0.85rem;
}

.kyc-liveness-upload-options[b-fx7by1m7jn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.kyc-liveness-upload-option[b-fx7by1m7jn] {
    position: relative;
    display: grid;
    gap: 0.3rem;
    min-height: 6.4rem;
    padding: 1rem;
    border-radius: var(--ps-radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--ps-surface);
    box-shadow: var(--ps-shadow-xs);
    cursor: pointer;
    overflow: hidden;
}

.kyc-liveness-upload-option.take[b-fx7by1m7jn] {
    border-color: rgba(var(--ps-primary-rgb), 0.18);
    background: var(--ps-surface-2);
}

.kyc-liveness-upload-option.browse[b-fx7by1m7jn] {
    border-color: rgba(var(--ps-primary-rgb), 0.16);
}

.kyc-liveness-upload-option.disabled[b-fx7by1m7jn] {
    opacity: 0.58;
    pointer-events: none;
}

.kyc-liveness-upload-option-title[b-fx7by1m7jn] {
    font-size: 1rem;
    font-weight: 600;
    color: #13313f;
}

.kyc-liveness-upload-option small[b-fx7by1m7jn] {
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.4;
}

.kyc-liveness-upload-option[b-fx7by1m7jn]  .kyc-liveness-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.kyc-liveness-upload-drop[b-fx7by1m7jn] {
    padding: 1rem;
    border-radius: var(--ps-radius-lg);
    border: 1px dashed rgba(15, 23, 42, 0.22);
    background: rgba(15, 23, 42, 0.03);
}

.kyc-liveness-upload-drop-title[b-fx7by1m7jn] {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.58);
}

.kyc-liveness-upload-drop-copy[b-fx7by1m7jn] {
    margin-top: 0.3rem;
    color: rgba(15, 23, 42, 0.74);
    line-height: 1.45;
}

.kyc-liveness-mobile-start[b-fx7by1m7jn] {
    display: grid;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--ps-radius-lg);
    border: 1px solid rgba(var(--ps-primary-rgb), 0.16);
    background: var(--ps-surface-2);
}

.kyc-liveness-camera-shell[b-fx7by1m7jn] {
    position: relative;
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #0b1720;
    min-height: 18rem;
    width: 100%;
}

.kyc-liveness-camera-shell.provider[b-fx7by1m7jn] {
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    background: #ffffff;
    min-height: clamp(28rem, 78svh, 46rem);
}

.kyc-liveness-camera[b-fx7by1m7jn] {
    display: block;
    width: 100%;
    min-height: 18rem;
    object-fit: cover;
    background: #0b1720;
}

.kyc-liveness-provider-frame[b-fx7by1m7jn] {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    background: #ffffff;
}

.kyc-liveness-provider-overlay[b-fx7by1m7jn] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 0.9rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.88);
    color: #13313f;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

.kyc-liveness-camera-hud[b-fx7by1m7jn] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.kyc-liveness-camera-badge[b-fx7by1m7jn] {
    align-self: start;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(11, 23, 32, 0.72);
    color: #fff;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.kyc-liveness-face-guide[b-fx7by1m7jn] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.kyc-liveness-face-guide-ring[b-fx7by1m7jn] {
    position: relative;
    width: min(72vw, 18rem);
    aspect-ratio: 0.78;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 999px rgba(4, 16, 24, 0.32),
        0 0 0 12px rgba(var(--ps-primary-rgb), 0.14),
        0 18px 36px rgba(0, 0, 0, 0.28);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.kyc-liveness-face-guide-ring[b-fx7by1m7jn]::before,
.kyc-liveness-face-guide-ring[b-fx7by1m7jn]::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 52%;
    border-top: 2px dashed rgba(255, 255, 255, 0.42);
}

.kyc-liveness-face-guide-ring[b-fx7by1m7jn]::before {
    top: 18%;
}

.kyc-liveness-face-guide-ring[b-fx7by1m7jn]::after {
    bottom: 18%;
}

.kyc-liveness-face-guide-core[b-fx7by1m7jn] {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.kyc-liveness-face-guide-core[b-fx7by1m7jn]::before,
.kyc-liveness-face-guide-core[b-fx7by1m7jn]::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 16%;
    border-top: 2px solid rgba(255, 255, 255, 0.34);
}

.kyc-liveness-face-guide-core[b-fx7by1m7jn]::before {
    left: -10%;
}

.kyc-liveness-face-guide-core[b-fx7by1m7jn]::after {
    right: -10%;
}

.kyc-liveness-camera-overlay[b-fx7by1m7jn] {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    max-width: min(88%, 21rem);
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: var(--ps-primary);
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.25;
    box-shadow: var(--ps-shadow-xs);
    z-index: 3;
}

.kyc-liveness-camera-copy[b-fx7by1m7jn] {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem 1rem;
    border-radius: var(--ps-radius-lg);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.kyc-liveness-camera-title[b-fx7by1m7jn] {
    font-size: 1rem;
    font-weight: 600;
    color: #13313f;
}

.kyc-liveness-camera-tips[b-fx7by1m7jn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kyc-liveness-tip[b-fx7by1m7jn] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.82);
    font-size: 0.82rem;
    font-weight: 600;
}

.kyc-liveness-note[b-fx7by1m7jn] {
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.92rem;
    line-height: 1.45;
}

.kyc-liveness-note.compact[b-fx7by1m7jn] {
    font-size: 0.86rem;
}

.kyc-liveness-spinner[b-fx7by1m7jn] {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 3px solid rgba(var(--ps-primary-rgb), 0.16);
    border-top-color: var(--ps-primary);
    animation: kyc-liveness-spin-b-fx7by1m7jn 0.8s linear infinite;
}

.kyc-liveness-spinner.compact[b-fx7by1m7jn] {
    width: 0.95rem;
    height: 0.95rem;
    border-width: 2px;
}

@keyframes kyc-liveness-spin-b-fx7by1m7jn {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .kyc-liveness-root[b-fx7by1m7jn] {
        padding: 0.85rem 0.75rem 1.25rem;
    }

    .kyc-liveness-shell[b-fx7by1m7jn] {
        gap: 0.75rem;
    }

    .kyc-liveness-modal-backdrop[b-fx7by1m7jn] {
        padding: 0.9rem;
    }

    .kyc-liveness-modal[b-fx7by1m7jn] {
        width: 100%;
        padding: 1.1rem;
        border-radius: var(--ps-radius-xl);
    }

    .kyc-liveness-modal-actions[b-fx7by1m7jn] {
        flex-direction: column;
    }

    .kyc-liveness-modal-actions > button[b-fx7by1m7jn] {
        width: 100%;
        min-width: 0;
    }

    .kyc-liveness-header[b-fx7by1m7jn] {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }

    .kyc-liveness-header h1[b-fx7by1m7jn] {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .kyc-liveness-status[b-fx7by1m7jn] {
        align-self: stretch;
        text-align: center;
    }

    .kyc-liveness-stepper[b-fx7by1m7jn] {
        grid-template-columns: 1fr;
        padding: 0.65rem;
        gap: 0.55rem;
    }

    .kyc-liveness-step[b-fx7by1m7jn] {
        padding: 0.75rem 0.85rem;
    }

    .kyc-liveness-step-copy strong[b-fx7by1m7jn],
    .kyc-liveness-step-copy small[b-fx7by1m7jn] {
        overflow-wrap: anywhere;
    }

    .kyc-liveness-panel-head[b-fx7by1m7jn] {
        flex-direction: column;
        gap: 0.6rem;
    }

    .kyc-liveness-panel[b-fx7by1m7jn] {
        padding: 1rem;
        gap: 0.75rem;
    }

    .kyc-liveness-grid[b-fx7by1m7jn] {
        grid-template-columns: 1fr;
    }

    .kyc-liveness-upload-options[b-fx7by1m7jn] {
        grid-template-columns: 1fr;
    }

    .kyc-liveness-camera-shell[b-fx7by1m7jn],
    .kyc-liveness-camera[b-fx7by1m7jn],
    .kyc-liveness-provider-frame[b-fx7by1m7jn] {
        min-height: 16rem;
    }

    .kyc-liveness-camera-shell[b-fx7by1m7jn] {
        aspect-ratio: 3 / 4;
    }

    .kyc-liveness-camera-shell.provider[b-fx7by1m7jn] {
        aspect-ratio: auto;
        min-height: min(78svh, 42rem);
    }

    .kyc-liveness-camera[b-fx7by1m7jn] {
        min-height: unset;
        height: 100%;
    }

    .kyc-liveness-face-guide-ring[b-fx7by1m7jn] {
        width: min(78vw, 16rem);
    }

    .kyc-liveness-camera-hud[b-fx7by1m7jn] {
        padding: 0.75rem;
    }

    .kyc-liveness-camera-badge[b-fx7by1m7jn] {
        max-width: calc(100% - 1rem);
        font-size: 0.84rem;
    }

    .kyc-liveness-camera-overlay[b-fx7by1m7jn] {
        bottom: 0.75rem;
        max-width: calc(100% - 1.25rem);
        padding: 0.68rem 0.85rem;
        border-radius: var(--ps-radius-xl);
        font-size: 0.92rem;
    }

    .kyc-liveness-camera-copy[b-fx7by1m7jn] {
        padding: 0.85rem;
    }

    .kyc-liveness-camera-tips[b-fx7by1m7jn] {
        gap: 0.45rem;
    }

    .kyc-liveness-tip[b-fx7by1m7jn] {
        flex: 1 1 calc(50% - 0.45rem);
        justify-content: center;
        min-width: 8rem;
    }

    .kyc-liveness-mobile-start[b-fx7by1m7jn] {
        padding: 0.8rem 0.85rem;
    }

    .kyc-liveness-actions[b-fx7by1m7jn] {
        flex-direction: column;
    }

    .kyc-liveness-actions > button[b-fx7by1m7jn] {
        width: 100%;
    }

    .kyc-liveness-actions.sticky[b-fx7by1m7jn] {
        position: static;
        top: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .kyc-liveness-actions.sticky > button[b-fx7by1m7jn] {
        width: 100%;
        min-height: 2.85rem;
        padding: 0.72rem 0.85rem;
        font-size: 0.95rem;
        line-height: 1.15;
    }

    .kyc-liveness-actions.between[b-fx7by1m7jn] {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .kyc-liveness-root[b-fx7by1m7jn] {
        padding-inline: 0.5rem;
    }

    .kyc-liveness-header[b-fx7by1m7jn],
    .kyc-liveness-panel[b-fx7by1m7jn] {
        border-radius: var(--ps-radius-lg);
    }

    .kyc-liveness-stepper[b-fx7by1m7jn] {
        border-radius: var(--ps-radius-lg);
    }

    .kyc-liveness-step-index[b-fx7by1m7jn] {
        width: 1.8rem;
        height: 1.8rem;
        flex: 0 0 1.8rem;
    }

    .kyc-liveness-step-copy small[b-fx7by1m7jn] {
        font-size: 0.74rem;
    }

    .kyc-liveness-camera-shell[b-fx7by1m7jn] {
        aspect-ratio: 4 / 5;
        min-height: 14rem;
    }

    .kyc-liveness-camera-shell.provider[b-fx7by1m7jn] {
        aspect-ratio: auto;
        min-height: min(74svh, 38rem);
    }

    .kyc-liveness-face-guide-ring[b-fx7by1m7jn] {
        width: min(82vw, 15rem);
    }

    .kyc-liveness-camera-overlay[b-fx7by1m7jn] {
        font-size: 0.88rem;
        line-height: 1.2;
    }

    .kyc-liveness-tip[b-fx7by1m7jn] {
        min-width: 100%;
    }

}
/* /Pages/MobileKycLiveness.razor.rz.scp.css */
.mobile-liveness-root[b-9ojk3ouzhn] {
    min-height: 100vh;
    padding: 1rem;
    background: var(--ps-surface);
    color: #13313f;
}

.mobile-liveness-shell[b-9ojk3ouzhn] {
    width: min(100%, 720px);
    min-height: calc(100vh - 2rem);
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.mobile-liveness-header[b-9ojk3ouzhn],
.mobile-liveness-panel[b-9ojk3ouzhn] {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-xs);
}

.mobile-liveness-header[b-9ojk3ouzhn] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
}

.mobile-liveness-header h1[b-9ojk3ouzhn] {
    margin: 0.3rem 0;
    font-size: clamp(1.4rem, 5vw, 2rem);
}

.mobile-liveness-header p[b-9ojk3ouzhn],
.mobile-liveness-panel p[b-9ojk3ouzhn] {
    margin: 0;
    line-height: 1.45;
    color: rgba(15, 23, 42, 0.72);
}

.mobile-liveness-kicker[b-9ojk3ouzhn] {
    color: var(--ps-primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mobile-liveness-status[b-9ojk3ouzhn] {
    align-self: start;
    max-width: 100%;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: #13313f;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

.mobile-liveness-panel[b-9ojk3ouzhn] {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.mobile-liveness-panel.loading[b-9ojk3ouzhn] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-liveness-panel-head[b-9ojk3ouzhn] {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: start;
}

.mobile-liveness-panel h2[b-9ojk3ouzhn] {
    margin: 0;
    font-size: 1.08rem;
}

.mobile-liveness-alert[b-9ojk3ouzhn] {
    padding: 0.85rem 1rem;
    border-radius: var(--ps-radius-lg);
    font-weight: 600;
}

.mobile-liveness-alert.success[b-9ojk3ouzhn] {
    background: rgba(var(--ps-primary-rgb), 0.12);
    color: var(--ps-primary);
}

.mobile-liveness-alert.danger[b-9ojk3ouzhn] {
    background: rgba(185, 28, 28, 0.12);
    color: #991b1b;
}

.mobile-liveness-chip[b-9ojk3ouzhn] {
    width: fit-content;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.mobile-liveness-chip.ready[b-9ojk3ouzhn] {
    background: rgba(var(--ps-primary-rgb), 0.12);
    color: var(--ps-primary);
}

.mobile-liveness-chip.info[b-9ojk3ouzhn] {
    background: rgba(var(--ps-primary-rgb), 0.12);
    color: var(--ps-primary-strong);
}

.mobile-liveness-chip.pending[b-9ojk3ouzhn] {
    background: rgba(180, 83, 9, 0.12);
    color: #9a3412;
}

.mobile-liveness-chip.danger[b-9ojk3ouzhn] {
    background: rgba(185, 28, 28, 0.12);
    color: #991b1b;
}

.mobile-liveness-progress[b-9ojk3ouzhn],
.mobile-liveness-assist[b-9ojk3ouzhn] {
    border: 1px solid rgba(var(--ps-primary-rgb), 0.16);
    border-radius: var(--ps-radius-lg);
    background: rgba(var(--ps-primary-rgb), 0.08);
}

.mobile-liveness-progress[b-9ojk3ouzhn] {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    color: var(--ps-primary);
    font-weight: 600;
}

.mobile-liveness-assist[b-9ojk3ouzhn] {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
}

.mobile-liveness-actions[b-9ojk3ouzhn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.mobile-liveness-primary[b-9ojk3ouzhn],
.mobile-liveness-secondary[b-9ojk3ouzhn] {
    min-height: 3rem;
    border-radius: 999px;
    padding: 0.78rem 1rem;
    font-weight: 600;
}

.mobile-liveness-primary[b-9ojk3ouzhn] {
    border: 0;
    color: #fff;
    background: var(--ps-primary);
}

.mobile-liveness-secondary[b-9ojk3ouzhn] {
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #13313f;
    background: rgba(15, 23, 42, 0.04);
}

.mobile-liveness-primary:disabled[b-9ojk3ouzhn],
.mobile-liveness-secondary:disabled[b-9ojk3ouzhn] {
    opacity: 0.55;
}

.mobile-liveness-frame-shell[b-9ojk3ouzhn] {
    position: relative;
    min-height: min(78svh, 42rem);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--ps-radius-lg);
    background: #fff;
}

.mobile-liveness-frame[b-9ojk3ouzhn] {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    background: #fff;
}

.mobile-liveness-overlay[b-9ojk3ouzhn] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.88);
    color: #13313f;
    font-weight: 600;
    text-align: center;
}

.mobile-liveness-spinner[b-9ojk3ouzhn] {
    width: 1rem;
    height: 1rem;
    border: 3px solid rgba(var(--ps-primary-rgb), 0.16);
    border-top-color: var(--ps-primary);
    border-radius: 999px;
    animation: mobile-liveness-spin-b-9ojk3ouzhn 0.8s linear infinite;
}

.mobile-liveness-spinner.compact[b-9ojk3ouzhn] {
    width: 0.92rem;
    height: 0.92rem;
    border-width: 2px;
}

@keyframes mobile-liveness-spin-b-9ojk3ouzhn {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .mobile-liveness-root[b-9ojk3ouzhn] {
        padding: 0.75rem;
    }

    .mobile-liveness-shell[b-9ojk3ouzhn] {
        min-height: calc(100vh - 1.5rem);
    }

    .mobile-liveness-header[b-9ojk3ouzhn],
    .mobile-liveness-panel[b-9ojk3ouzhn] {
        padding: 0.9rem;
    }

    .mobile-liveness-header[b-9ojk3ouzhn],
    .mobile-liveness-panel-head[b-9ojk3ouzhn] {
        flex-direction: column;
    }

    .mobile-liveness-status[b-9ojk3ouzhn] {
        align-self: stretch;
        text-align: center;
    }

    .mobile-liveness-actions[b-9ojk3ouzhn] {
        flex-direction: column;
    }

    .mobile-liveness-actions > button[b-9ojk3ouzhn] {
        width: 100%;
    }
}
/* /Pages/PushNotifications.razor.rz.scp.css */
/* Compose card on the left, sticky device preview on the right. */
.push-page[b-okazw68v6b] {
    display: grid;
    gap: var(--ps-space-4);
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    margin-bottom: var(--ps-space-4);
}

.push-page[b-okazw68v6b]  .push-compose,
.push-page[b-okazw68v6b]  .push-compose > .app-card {
    margin: 0;
    height: 100%;
}

@media (max-width: 991.98px) {
    .push-page[b-okazw68v6b] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Fields */
[b-okazw68v6b] .push-field {
    display: flex;
    flex-direction: column;
    gap: var(--ps-space-1);
    margin-bottom: var(--ps-space-4);
    min-width: 0;
}

[b-okazw68v6b] .push-field .form-label {
    margin-bottom: 0;
    font-weight: 500;
}

[b-okazw68v6b] .push-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-space-2);
}

[b-okazw68v6b] .push-field__count {
    color: var(--ps-muted);
    font-size: var(--ps-font-size-caption);
    font-variant-numeric: tabular-nums;
}

[b-okazw68v6b] .push-field__hint {
    color: var(--ps-muted);
    font-size: var(--ps-font-size-caption);
    line-height: 1.4;
}

[b-okazw68v6b] .push-field textarea {
    resize: vertical;
    min-height: 104px;
}

[b-okazw68v6b] .push-mono {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-sm);
}

[b-okazw68v6b] .push-divider {
    display: flex;
    align-items: center;
    gap: var(--ps-space-3);
    margin: var(--ps-space-2) 0 var(--ps-space-4);
    color: var(--ps-muted);
    font-size: var(--ps-font-size-caption);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

[b-okazw68v6b] .push-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ps-border);
}

[b-okazw68v6b] .push-optional {
    display: grid;
    gap: 0 var(--ps-space-4);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 575.98px) {
    [b-okazw68v6b] .push-optional {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Inline status messages */
[b-okazw68v6b] .push-notice,
[b-okazw68v6b] .push-result {
    display: flex;
    align-items: flex-start;
    gap: var(--ps-space-2);
    padding: var(--ps-space-3);
    border-radius: var(--ps-radius-lg);
    font-size: var(--ps-font-size-sm);
}

[b-okazw68v6b] .push-notice {
    margin-bottom: var(--ps-space-4);
    background: var(--ps-warning-soft);
    color: var(--ps-warning-text);
}

[b-okazw68v6b] .push-result {
    background: var(--ps-success-soft);
    color: var(--ps-success-text);
}

[b-okazw68v6b] .push-notice i,
[b-okazw68v6b] .push-result i {
    margin-top: 2px;
}

[b-okazw68v6b] .push-result__title {
    font-weight: 500;
}

[b-okazw68v6b] .push-result__meta {
    font-size: var(--ps-font-size-caption);
    opacity: 0.85;
}

[b-okazw68v6b] .push-result__meta code {
    color: inherit;
}

[b-okazw68v6b] .push-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-space-3);
    flex-wrap: wrap;
}

[b-okazw68v6b] .push-footer__audience {
    display: inline-flex;
    align-items: center;
    gap: var(--ps-space-2);
    color: var(--ps-muted);
    font-size: var(--ps-font-size-sm);
}

/* Device preview */
.push-preview[b-okazw68v6b] {
    position: sticky;
    top: calc(var(--ps-size-topbar-height) + var(--ps-space-4));
    padding: var(--ps-space-4);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
}

.push-preview__label[b-okazw68v6b] {
    margin-bottom: var(--ps-space-3);
    color: var(--ps-muted);
    font-size: var(--ps-font-size-caption);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.push-preview__screen[b-okazw68v6b] {
    min-height: 300px;
    padding: var(--ps-space-6) var(--ps-space-3) var(--ps-space-4);
    background: var(--ps-gray-800);
    border-radius: var(--ps-radius-xl);
}

.push-preview__clock[b-okazw68v6b] {
    margin-bottom: var(--ps-space-6);
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 300;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.push-preview__card[b-okazw68v6b] {
    padding: var(--ps-space-3);
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--ps-radius-xl);
    box-shadow: var(--ps-shadow-sm);
}

.push-preview__app[b-okazw68v6b] {
    display: flex;
    align-items: center;
    gap: var(--ps-space-2);
    margin-bottom: var(--ps-space-1);
    color: var(--ps-muted);
    font-size: var(--ps-font-size-caption);
}

.push-preview__icon[b-okazw68v6b] {
    width: 18px;
    height: 18px;
    border-radius: var(--ps-radius-sm);
}

.push-preview__time[b-okazw68v6b] {
    margin-left: auto;
}

.push-preview__title[b-okazw68v6b] {
    color: var(--ps-ink);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.push-preview__body[b-okazw68v6b] {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ps-ink-soft);
    font-size: var(--ps-font-size-sm);
    line-height: 1.4;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.push-preview__image[b-okazw68v6b] {
    display: block;
    width: 100%;
    max-height: 160px;
    margin-top: var(--ps-space-2);
    object-fit: cover;
    border-radius: var(--ps-radius-lg);
}

.push-preview__note[b-okazw68v6b] {
    margin: var(--ps-space-3) 0 0;
    color: var(--ps-muted);
    font-size: var(--ps-font-size-caption);
}

/* Configuration */
[b-okazw68v6b] .push-config__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ps-space-4);
    padding-bottom: var(--ps-space-4);
    margin-bottom: var(--ps-space-4);
    border-bottom: 1px solid var(--ps-border);
}

[b-okazw68v6b] .push-config__title {
    color: var(--ps-ink);
    font-weight: 500;
}

[b-okazw68v6b] .push-config__fields {
    display: grid;
    gap: 0 var(--ps-space-4);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
    [b-okazw68v6b] .push-config__fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

[b-okazw68v6b] .push-config__clear {
    margin: var(--ps-space-1) 0 0;
}

[b-okazw68v6b] .push-config__clear .form-check-label {
    color: var(--ps-muted);
    font-size: var(--ps-font-size-sm);
}

[b-okazw68v6b] .push-config__actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--ps-space-2);
}
/* /Pages/Support/KnowledgeBase/KbArticleEditor.razor.rz.scp.css */
/* Knowledge base article editor: one focused form, max 860px wide. */

.kb-editor[b-85pxegq5n2] {
    max-width: 860px;
}

.kb-form[b-85pxegq5n2] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kb-title-input[b-85pxegq5n2] {
    min-height: 44px !important;
    font-size: 18px !important;
    font-weight: 600;
}

.kb-alert-body[b-85pxegq5n2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.kb-alert-actions[b-85pxegq5n2] {
    display: inline-flex;
    gap: 8px;
}

/* Slug with a leading "/" */
.kb-slug[b-85pxegq5n2] {
    display: flex;
    align-items: stretch;
}

.kb-slug__prefix[b-85pxegq5n2] {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--ps-border-strong);
    border-right: 0;
    border-radius: var(--ps-radius-lg) 0 0 var(--ps-radius-lg);
    background: var(--ps-surface-2);
    color: var(--ps-muted);
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-sm);
}

.kb-slug .form-control[b-85pxegq5n2] {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    font-family: var(--ps-font-mono);
}

/* Audience choice cards */
.kb-audience[b-85pxegq5n2] {
    margin: 0;
    padding: 0;
    border: 0;
}

.kb-audience legend[b-85pxegq5n2] {
    float: none;
    width: auto;
    margin-bottom: 6px;
}

.kb-audience__options[b-85pxegq5n2] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.kb-audience__option[b-85pxegq5n2] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-xl);
    background: var(--ps-surface);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.kb-audience__option:hover[b-85pxegq5n2] {
    border-color: var(--ps-primary-soft-2);
    background: var(--ps-gray-50);
}

.kb-audience__option:focus-within[b-85pxegq5n2] {
    box-shadow: var(--ps-focus-ring);
}

.kb-audience__option.is-selected[b-85pxegq5n2] {
    border-color: var(--ps-primary);
    background: var(--ps-primary-soft);
}

.kb-audience__icon[b-85pxegq5n2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: var(--ps-radius-lg);
    background: var(--ps-gray-100);
    color: var(--ps-ink-soft);
    font-size: 13px;
}

.kb-audience__option.is-selected .kb-audience__icon[b-85pxegq5n2] {
    background: var(--ps-surface);
    color: var(--ps-primary);
}

.kb-audience__text[b-85pxegq5n2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.kb-audience__label[b-85pxegq5n2] {
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    color: var(--ps-ink);
}

.kb-audience__desc[b-85pxegq5n2] {
    font-size: var(--ps-font-size-caption);
    color: var(--ps-muted);
    line-height: 1.4;
}

.kb-counter[b-85pxegq5n2] {
    text-align: right;
}

/* Body editor */
.kb-body__head[b-85pxegq5n2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.kb-seg[b-85pxegq5n2] {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    background: var(--ps-surface-2);
}

.kb-seg__btn[b-85pxegq5n2] {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--ps-radius-md);
    background: transparent;
    color: var(--ps-muted);
    font-size: var(--ps-font-size-sm);
    font-weight: 500;
    cursor: pointer;
}

.kb-seg__btn:hover[b-85pxegq5n2] {
    color: var(--ps-ink);
}

.kb-seg__btn:focus-visible[b-85pxegq5n2] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.kb-seg__btn.is-active[b-85pxegq5n2] {
    background: var(--ps-surface);
    color: var(--ps-primary-strong);
    font-weight: 600;
    box-shadow: var(--ps-shadow-xs);
}

.kb-body__input[b-85pxegq5n2] {
    min-height: 420px !important;
    font-family: var(--ps-font-mono);
    font-size: 13px !important;
    line-height: 1.6;
    resize: vertical;
}

.kb-preview[b-85pxegq5n2] {
    min-height: 420px;
    padding: 16px 20px;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    background: var(--ps-surface-2);
    overflow: auto;
}

.kb-body__hint[b-85pxegq5n2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Facts footer */
.kb-facts[b-85pxegq5n2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--ps-border);
}

.kb-facts dt[b-85pxegq5n2] {
    margin: 0 0 2px;
    font-size: var(--ps-font-size-caption);
    font-weight: 600;
    color: var(--ps-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.kb-facts dd[b-85pxegq5n2] {
    margin: 0;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-ink);
}

.kb-up[b-85pxegq5n2] {
    color: var(--ps-success);
}

/* Read-only article */
.kb-reader__meta[b-85pxegq5n2] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: var(--ps-font-size-sm);
}

.kb-reader__lead[b-85pxegq5n2] {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--ps-ink-soft);
}

/* Rendered Markdown (preview and reader). The HTML comes from KbMarkdown, so ::deep reaches it. */
.kb-md[b-85pxegq5n2] {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ps-ink);
    overflow-wrap: anywhere;
}

.kb-md[b-85pxegq5n2]  h2 { margin: 24px 0 8px; font-size: 18px; font-weight: 700; }
.kb-md[b-85pxegq5n2]  h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 600; }
.kb-md[b-85pxegq5n2]  h4 { margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
.kb-md[b-85pxegq5n2]  h2:first-child,
.kb-md[b-85pxegq5n2]  h3:first-child,
.kb-md[b-85pxegq5n2]  h4:first-child,
.kb-md[b-85pxegq5n2]  p:first-child { margin-top: 0; }
.kb-md[b-85pxegq5n2]  p { margin: 0 0 12px; }
.kb-md[b-85pxegq5n2]  ul,
.kb-md[b-85pxegq5n2]  ol { margin: 0 0 12px; padding-left: 24px; }
.kb-md[b-85pxegq5n2]  li { margin: 4px 0; }
.kb-md[b-85pxegq5n2]  a { color: var(--ps-primary-strong); text-decoration: underline; }
.kb-md[b-85pxegq5n2]  hr { margin: 20px 0; border: 0; border-top: 1px solid var(--ps-border); opacity: 1; }

.kb-md[b-85pxegq5n2]  blockquote {
    margin: 0 0 12px;
    padding: 8px 16px;
    border-left: 3px solid var(--ps-primary-soft-2);
    background: var(--ps-primary-soft);
    border-radius: 0 var(--ps-radius-lg) var(--ps-radius-lg) 0;
    color: var(--ps-ink-soft);
}

.kb-md[b-85pxegq5n2]  blockquote p { margin: 0; }

.kb-md[b-85pxegq5n2]  code {
    padding: 1px 6px;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-gray-100);
    color: var(--ps-ink);
    font-family: var(--ps-font-mono);
    font-size: 12.5px;
}

.kb-md[b-85pxegq5n2]  pre {
    margin: 0 0 12px;
    padding: 12px 16px;
    border-radius: var(--ps-radius-lg);
    background: var(--ps-gray-900);
    overflow: auto;
}

.kb-md[b-85pxegq5n2]  pre code {
    padding: 0;
    background: transparent;
    color: var(--ps-gray-100);
}

@media (max-width: 768px) {
    .kb-audience__options[b-85pxegq5n2] { grid-template-columns: 1fr; }
    .kb-facts[b-85pxegq5n2] { grid-template-columns: 1fr; }
    .kb-body__input[b-85pxegq5n2],
    .kb-preview[b-85pxegq5n2] { min-height: 300px !important; }
}
/* /Pages/Support/KnowledgeBase/KbArticles.razor.rz.scp.css */
/* Knowledge base article list. Layout and table come from the shared sx- kit in css/support.css. */

.kb-tenant-select[b-ea8fo9mw8i] {
    min-width: 220px;
    max-width: 280px;
}

.kb-clear[b-ea8fo9mw8i] {
    padding: 0 8px;
    font-size: var(--ps-font-size-sm);
    text-decoration: none;
}

.kb-alert-body[b-ea8fo9mw8i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.kb-col-title[b-ea8fo9mw8i] {
    min-width: 260px;
    max-width: 480px;
}

.kb-summary[b-ea8fo9mw8i] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 460px;
}

.kb-col-updated[b-ea8fo9mw8i] {
    white-space: nowrap;
}

.kb-vote[b-ea8fo9mw8i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ps-success-text);
    font-variant-numeric: tabular-nums;
}

.kb-vote i[b-ea8fo9mw8i] {
    font-size: 11px;
    opacity: .8;
}

.kb-vote--down[b-ea8fo9mw8i] {
    margin-left: 12px;
    color: var(--ps-muted);
}

.kb-is-refreshing[b-ea8fo9mw8i] {
    opacity: .6;
    transition: opacity .15s ease;
}

.sx-table tbody tr.is-clickable:focus-visible td[b-ea8fo9mw8i] {
    background: var(--ps-primary-soft);
    outline: none;
}

@media (max-width: 640px) {
    .kb-tenant-select[b-ea8fo9mw8i] {
        max-width: none;
        flex: 1 1 100%;
    }

    .kb-col-title[b-ea8fo9mw8i] {
        min-width: 0;
        max-width: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .kb-col-title[b-ea8fo9mw8i]::before {
        display: none;
    }

    .kb-summary[b-ea8fo9mw8i] {
        max-width: none;
    }
}
/* /Pages/Support/KnowledgeBase/KbCategories.razor.rz.scp.css */
/* Knowledge base categories list. Table, drawer and form come from the shared sx- kit in css/support.css. */

.kb-tenant-select[b-zljmkmio2d] {
    min-width: 220px;
    max-width: 280px;
}

.kb-alert-body[b-zljmkmio2d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.kb-col-name[b-zljmkmio2d] {
    min-width: 240px;
}

.kb-folder[b-zljmkmio2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: var(--ps-radius-lg);
    background: var(--ps-primary-soft);
    color: var(--ps-primary);
    font-size: 13px;
}

.kb-code[b-zljmkmio2d],
.kb-mono[b-zljmkmio2d] {
    font-family: var(--ps-font-mono);
}

.sx-table tbody tr.is-clickable:focus-visible td[b-zljmkmio2d] {
    background: var(--ps-primary-soft);
    outline: none;
}

@media (max-width: 640px) {
    .kb-tenant-select[b-zljmkmio2d] {
        max-width: none;
        flex: 1 1 100%;
    }

    .kb-col-name[b-zljmkmio2d] {
        min-width: 0;
    }

    .kb-col-name[b-zljmkmio2d]::before {
        display: none;
    }
}
/* /Pages/Support/Reports.razor.rz.scp.css */
/* Support reports. Shared sx-* classes come from the support stylesheet; only report specifics live here. */

.rp-page[b-ar5ycadb2a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: var(--ps-font-sans);
    color: var(--ps-ink);
}

/* ---------- View tabs ---------- */
.rp-tabs[b-ar5ycadb2a] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--ps-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.rp-tabs[b-ar5ycadb2a]::-webkit-scrollbar { display: none; }

.rp-tab[b-ar5ycadb2a] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    color: var(--ps-muted);
    font-weight: 600;
    font-size: var(--ps-font-size-body);
    text-decoration: none;
    white-space: nowrap;
}

.rp-tab:hover[b-ar5ycadb2a] { color: var(--ps-ink); }
.rp-tab:focus-visible[b-ar5ycadb2a] { outline: none; box-shadow: var(--ps-focus-ring); border-radius: 8px 8px 0 0; }
.rp-tab--active[b-ar5ycadb2a] { color: var(--ps-primary); border-bottom-color: var(--ps-primary); }

/* ---------- Toolbar bits ---------- */
.rp-select[b-ar5ycadb2a] { width: auto; min-width: 180px; flex: 0 1 240px; }
.rp-note[b-ar5ycadb2a] { display: inline-flex; align-items: center; gap: 8px; font-size: var(--ps-font-size-sm); }
.rp-live-dot[b-ar5ycadb2a] { font-size: 8px; color: var(--ps-success); }

.rp-search[b-ar5ycadb2a] { position: relative; flex: 1 1 220px; max-width: 320px; min-width: 0; }
.rp-search i[b-ar5ycadb2a] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-muted);
    font-size: 13px;
    pointer-events: none;
}
.rp-search input[b-ar5ycadb2a] { padding-left: 34px; }

/* ---------- Metric tiles ---------- */
.rp-stats[b-ar5ycadb2a] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.rp-stats .sx-stat[b-ar5ycadb2a] { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rp-stat__label[b-ar5ycadb2a] { font-size: var(--ps-font-size-sm); color: var(--ps-muted); font-weight: 500; }
.rp-stat__value[b-ar5ycadb2a] { font-size: 1.75rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--ps-ink); }
.rp-stat__value--success[b-ar5ycadb2a] { color: var(--ps-success-text); }
.rp-stat__value--warning[b-ar5ycadb2a] { color: var(--ps-warning-strong); }
.rp-stat__value--danger[b-ar5ycadb2a] { color: var(--ps-danger); }
.rp-stat__hint[b-ar5ycadb2a] { font-size: var(--ps-font-size-caption); color: var(--ps-muted); }

/* ---------- Tables ---------- */
.rp-section-title[b-ar5ycadb2a] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 0;
    font-size: var(--ps-font-size-h3);
    font-weight: 600;
}

.rp-caption-inline[b-ar5ycadb2a] { font-size: var(--ps-font-size-sm); font-weight: 400; }
.rp-caption[b-ar5ycadb2a] { margin: 0; font-size: var(--ps-font-size-sm); }

.rp-table-card[b-ar5ycadb2a] { padding: 0; overflow-x: auto; }
.rp-channel-icon[b-ar5ycadb2a] { width: 20px; margin-right: 8px; color: var(--ps-muted); text-align: center; }

.rp-agent[b-ar5ycadb2a] { display: flex; align-items: center; gap: 12px; min-width: 0; }

.rp-avatar[b-ar5ycadb2a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--ps-primary-soft);
    color: var(--ps-primary-strong);
    font-size: 12px;
    font-weight: 700;
}

.rp-agent__text[b-ar5ycadb2a] { display: flex; flex-direction: column; min-width: 0; }
.rp-agent__name[b-ar5ycadb2a] { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-agent__meta[b-ar5ycadb2a] { display: inline-flex; align-items: center; gap: 8px; font-size: var(--ps-font-size-caption); }

@media (max-width: 767.98px) {
    .rp-col-optional[b-ar5ycadb2a] { display: none; }
    .rp-select[b-ar5ycadb2a] { flex: 1 1 160px; }
    .rp-search[b-ar5ycadb2a] { max-width: none; flex-basis: 100%; }
    .rp-stats[b-ar5ycadb2a] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .rp-stat__value[b-ar5ycadb2a] { font-size: 1.375rem; }
}
/* /Pages/Support/Setup/Agents.razor.rz.scp.css */
/* Agents tab. Shared table, toolbar, drawer and form styles come from css/support.css (sx-*). */

.ws-filter[b-a4rl544uxt] { width: auto; min-width: 150px; }

.ws-alert-body[b-a4rl544uxt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.ws-warn[b-a4rl544uxt] { color: var(--ps-warning-text); font-weight: 600; }

/* ---------- Table cells ---------- */
.ws-identity-text[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 260px;
}

.ws-role[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.ws-chips[b-a4rl544uxt] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 280px;
}

.ws-chip[b-a4rl544uxt] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid var(--ps-border);
    border-radius: 999px;
    background: var(--ps-surface-2);
    font-size: var(--ps-font-size-caption);
    font-weight: 500;
    color: var(--ps-ink-soft);
    white-space: nowrap;
}

.ws-chip--more[b-a4rl544uxt] { color: var(--ps-muted); }

/* ---------- Drawer: user picker ---------- */
.ws-pick[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ws-user-search[b-a4rl544uxt],
.ws-inline-search[b-a4rl544uxt] { width: 100%; }

.ws-user-list[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    overflow: hidden;
}

.ws-user-list li + li[b-a4rl544uxt] { border-top: 1px solid var(--ps-border); }

.ws-user[b-a4rl544uxt] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    background: var(--ps-surface);
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background-color .12s ease;
}

.ws-user:hover[b-a4rl544uxt] { background: var(--ps-gray-50); }
.ws-user:focus-visible[b-a4rl544uxt] { outline: none; box-shadow: inset var(--ps-focus-ring); }

.ws-user__text[b-a4rl544uxt],
.ws-check-text[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.ws-user__name[b-a4rl544uxt] {
    font-weight: 600;
    color: var(--ps-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-user__meta[b-a4rl544uxt] {
    font-size: var(--ps-font-size-caption);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-user__go[b-a4rl544uxt] { color: var(--ps-gray-400); font-size: 12px; }

.ws-chosen[b-a4rl544uxt] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--ps-primary-soft-2);
    border-radius: var(--ps-radius-xl);
    background: var(--ps-primary-soft);
}

/* ---------- Drawer: form ---------- */
.ws-agent-form[b-a4rl544uxt] { max-width: none; }

.ws-fieldset[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ws-segment[b-a4rl544uxt] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ws-segment__option[b-a4rl544uxt] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-xl);
    background: var(--ps-surface);
    cursor: pointer;
    transition: border-color .12s ease, background-color .12s ease;
}

.ws-segment__option:hover[b-a4rl544uxt] { border-color: var(--ps-primary); }

.ws-segment__option input[b-a4rl544uxt] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ws-segment__option:focus-within[b-a4rl544uxt] { box-shadow: var(--ps-focus-ring); }

.ws-segment__option > i[b-a4rl544uxt] {
    margin-top: 2px;
    color: var(--ps-muted);
}

.ws-segment__option span[b-a4rl544uxt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ws-segment__option strong[b-a4rl544uxt] { font-size: var(--ps-font-size-sm); color: var(--ps-ink); }
.ws-segment__option small[b-a4rl544uxt] { font-size: var(--ps-font-size-caption); color: var(--ps-muted); }

.ws-segment__option.is-selected[b-a4rl544uxt] {
    border-color: var(--ps-primary);
    background: var(--ps-primary-soft);
}

.ws-segment__option.is-selected > i[b-a4rl544uxt] { color: var(--ps-primary-strong); }

.ws-group-title[b-a4rl544uxt] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 6px 12px;
    background: var(--ps-surface-2);
    border-bottom: 1px solid var(--ps-border);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ps-muted);
}

.ws-empty-line[b-a4rl544uxt] { margin: 0; font-size: var(--ps-font-size-sm); }

@media (max-width: 576px) {
    .ws-filter[b-a4rl544uxt] { flex: 1 1 100%; }
    .ws-segment[b-a4rl544uxt] { grid-template-columns: 1fr; }
    .ws-identity-text[b-a4rl544uxt] { max-width: 200px; }
}
/* /Pages/Support/Setup/Allocation.razor.rz.scp.css */
/* Allocation & closing: one settings form, grouped by small section headings (no side-by-side boxes). */

.alloc-card[b-beer72flx5] {
    padding: var(--ps-space-6);
}

.alloc-form[b-beer72flx5] {
    max-width: 720px;
}

.alloc-section[b-beer72flx5] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-space-4);
    padding: var(--ps-space-6) 0;
    border-top: 1px solid var(--ps-border);
}

.alloc-section:first-child[b-beer72flx5] {
    padding-top: 0;
    border-top: 0;
}

.alloc-section__head[b-beer72flx5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alloc-section__title[b-beer72flx5] {
    margin: 0;
    font-size: var(--ps-font-size-h3);
    font-weight: 600;
    color: var(--ps-ink);
}

.alloc-section__head .sx-help[b-beer72flx5] {
    margin: 0;
}

/* Strategy picker: three selectable rows. */
.alloc-strategy[b-beer72flx5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ps-space-2);
}

.alloc-strategy__option[b-beer72flx5] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ps-space-2);
    padding: var(--ps-space-4);
    text-align: left;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    color: var(--ps-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.alloc-strategy__option:hover[b-beer72flx5] {
    border-color: var(--ps-border-strong);
}

.alloc-strategy__option:focus-visible[b-beer72flx5] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.alloc-strategy__option.is-selected[b-beer72flx5] {
    border-color: var(--ps-primary);
    background: var(--ps-primary-soft);
}

.alloc-strategy__icon[b-beer72flx5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ps-radius-lg);
    background: var(--ps-gray-100);
    color: var(--ps-ink-soft);
}

.alloc-strategy__option.is-selected .alloc-strategy__icon[b-beer72flx5] {
    background: var(--ps-surface);
    color: var(--ps-primary);
}

.alloc-strategy__text[b-beer72flx5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alloc-strategy__label[b-beer72flx5] {
    font-weight: 600;
}

.alloc-strategy__desc[b-beer72flx5] {
    font-size: var(--ps-font-size-sm);
    color: var(--ps-muted);
    line-height: 1.4;
}

.alloc-strategy__check[b-beer72flx5] {
    position: absolute;
    top: 12px;
    right: 12px;
    display: none;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ps-primary);
    color: var(--ps-surface);
    font-size: 10px;
}

.alloc-strategy__option.is-selected .alloc-strategy__check[b-beer72flx5] {
    display: inline-flex;
}

.alloc-num-input[b-beer72flx5] {
    max-width: 220px;
}

.alloc-facts[b-beer72flx5] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.alloc-facts li[b-beer72flx5] {
    display: flex;
    gap: var(--ps-space-3);
    align-items: flex-start;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-ink-soft);
    line-height: 1.5;
}

.alloc-facts i[b-beer72flx5] {
    flex: 0 0 16px;
    margin-top: 3px;
    color: var(--ps-muted);
}

.alloc-queue[b-beer72flx5] {
    display: flex;
    align-items: center;
    gap: var(--ps-space-3);
    padding: var(--ps-space-3) var(--ps-space-4);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    background: var(--ps-surface-2);
    flex-wrap: wrap;
}

.alloc-queue__icon[b-beer72flx5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--ps-radius-lg);
    background: var(--ps-primary-soft);
    color: var(--ps-primary);
}

.alloc-queue__icon--warn[b-beer72flx5] {
    background: var(--ps-warning-soft);
    color: var(--ps-warning-strong);
}

.alloc-queue__text[b-beer72flx5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.alloc-footer[b-beer72flx5] {
    padding-top: var(--ps-space-6);
    border-top: 1px solid var(--ps-border);
}

.alloc-dirty[b-beer72flx5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-warning-text);
}

.alloc-dirty i[b-beer72flx5] {
    font-size: 7px;
    color: var(--ps-warning);
}

@media (max-width: 768px) {
    .alloc-strategy[b-beer72flx5] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .alloc-card[b-beer72flx5] {
        padding: var(--ps-space-4);
    }

    .alloc-num-input[b-beer72flx5] {
        max-width: none;
    }

    .alloc-queue .btn[b-beer72flx5] {
        margin-left: 0 !important;
        width: 100%;
    }
}
/* /Pages/Support/Setup/Automation.razor.rz.scp.css */
/* Automation rules: honest notice, toolbar, one table, drawer editor. */

.auto-filter[b-km2h89g4dk] {
    flex: 0 0 auto;
    width: 180px;
}

.auto-col-order[b-km2h89g4dk] {
    width: 72px;
    color: var(--ps-muted);
}

.auto-name[b-km2h89g4dk] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ps-ink);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.auto-name:hover[b-km2h89g4dk],
.auto-name:focus-visible[b-km2h89g4dk] {
    color: var(--ps-primary-strong);
    text-decoration: underline;
    outline: none;
}

.auto-code[b-km2h89g4dk] {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-caption);
}

.auto-trigger[b-km2h89g4dk] {
    margin-right: var(--ps-space-2);
    white-space: nowrap;
}

.auto-summary[b-km2h89g4dk] {
    display: inline-block;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    color: var(--ps-ink-soft);
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-caption);
}

.auto-row-actions[b-km2h89g4dk] {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.auto-form-row[b-km2h89g4dk] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ps-space-4);
}

.auto-drawer-heading[b-km2h89g4dk] {
    margin: var(--ps-space-2) 0 0;
    padding-top: var(--ps-space-4);
    border-top: 1px solid var(--ps-border);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ps-muted);
}

.auto-warn[b-km2h89g4dk] {
    color: var(--ps-warning-text);
}

.auto-json[b-km2h89g4dk] {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-sm);
}

@media (max-width: 860px) {
    .auto-col-md[b-km2h89g4dk] {
        display: none;
    }
}

@media (max-width: 576px) {
    .auto-filter[b-km2h89g4dk] {
        max-width: none;
        width: 100%;
    }

    .auto-form-row[b-km2h89g4dk] {
        grid-template-columns: minmax(0, 1fr);
    }

    .auto-col-order[b-km2h89g4dk] {
        display: none;
    }
}
/* /Pages/Support/Setup/AutomationKeywordInput.razor.rz.scp.css */
.kw-input[b-2au22gt6bz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: var(--ps-size-input-height, 36px);
    padding: 4px 8px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-strong);
    border-radius: var(--ps-radius-lg);
    cursor: text;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kw-input:focus-within[b-2au22gt6bz] {
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.kw-input--disabled[b-2au22gt6bz] {
    background: var(--ps-surface-2);
    cursor: not-allowed;
}

.kw-chip[b-2au22gt6bz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 4px 2px 10px;
    border-radius: 999px;
    background: var(--ps-primary-soft);
    color: var(--ps-primary-strong);
    font-size: var(--ps-font-size-sm);
    font-weight: 500;
    line-height: 20px;
}

.kw-chip__text[b-2au22gt6bz] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-chip__remove[b-2au22gt6bz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 11px;
    cursor: pointer;
}

.kw-chip__remove:hover[b-2au22gt6bz],
.kw-chip__remove:focus-visible[b-2au22gt6bz] {
    background: var(--ps-primary-soft-2);
    outline: none;
}

.kw-input__field[b-2au22gt6bz] {
    flex: 1 1 120px;
    min-width: 120px;
    height: 26px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--ps-ink);
    font-size: var(--ps-font-size-body);
    outline: none;
}

.kw-input__field[b-2au22gt6bz]::placeholder {
    color: var(--ps-gray-400);
}
/* /Pages/Support/Setup/BusinessHours.razor.rz.scp.css */
/* Business hours setup page. Shared sx-* classes come from the support stylesheet; only page specifics live here. */

.bh-alert[b-rcrmh8tnzb] { gap: 12px; margin-bottom: 16px; }

.bh-search[b-rcrmh8tnzb] {
    position: relative;
    flex: 1 1 260px;
    max-width: 360px;
    min-width: 0;
}

.bh-search i[b-rcrmh8tnzb] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-muted);
    font-size: 13px;
    pointer-events: none;
}

.bh-search input[b-rcrmh8tnzb] { padding-left: 34px; }

.bh-filter[b-rcrmh8tnzb] { width: auto; min-width: 150px; flex: 0 1 180px; }

.bh-table-card[b-rcrmh8tnzb] { padding: 0; overflow-x: auto; }

.bh-link[b-rcrmh8tnzb] {
    border: 0;
    background: transparent;
    padding: 0;
    font-weight: 600;
    color: var(--ps-ink);
    text-align: left;
}

.bh-link:hover[b-rcrmh8tnzb],
.bh-link:focus-visible[b-rcrmh8tnzb] { color: var(--ps-primary); text-decoration: underline; }

.bh-usage[b-rcrmh8tnzb] { font-size: var(--ps-font-size-caption); margin-top: 2px; }
.bh-tz[b-rcrmh8tnzb] { font-family: var(--ps-font-mono); font-size: var(--ps-font-size-sm); color: var(--ps-ink-soft); }
.bh-summary[b-rcrmh8tnzb] { font-variant-numeric: tabular-nums; }
.bh-danger:hover[b-rcrmh8tnzb] { color: var(--ps-danger); background: var(--ps-danger-soft); }

/* ---------- Drawer form ---------- */
.bh-form[b-rcrmh8tnzb] { display: flex; flex-direction: column; gap: 24px; max-width: none; }

.bh-legend[b-rcrmh8tnzb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    float: none;
    margin-bottom: 8px;
    font-size: var(--ps-font-size-body);
    font-weight: 600;
}

.bh-presets[b-rcrmh8tnzb] { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ps-muted); }

.bh-week[b-rcrmh8tnzb] {
    border: 1px solid var(--ps-border);
    border-radius: 12px;
    overflow: hidden;
}

.bh-day[b-rcrmh8tnzb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--ps-border);
    background: var(--ps-surface);
}

.bh-day:last-child[b-rcrmh8tnzb] { border-bottom: 0; }
.bh-day--closed[b-rcrmh8tnzb] { background: var(--ps-surface-2); }
.bh-day__toggle[b-rcrmh8tnzb] { min-width: 136px; }
.bh-day__times[b-rcrmh8tnzb] { display: flex; align-items: center; gap: 8px; }
.bh-day__times input[b-rcrmh8tnzb] { width: 116px; font-variant-numeric: tabular-nums; }
.bh-day__closed[b-rcrmh8tnzb] { font-size: var(--ps-font-size-sm); }

.bh-holidays[b-rcrmh8tnzb] { display: flex; flex-direction: column; gap: 8px; }

.bh-holiday[b-rcrmh8tnzb] {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr) auto 32px;
    align-items: center;
    gap: 8px;
}

.bh-holiday__repeat[b-rcrmh8tnzb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-ink-soft);
    white-space: nowrap;
}

.bh-holiday__repeat input[b-rcrmh8tnzb] { margin: 0; }

@media (max-width: 767.98px) {
    .bh-col-tz[b-rcrmh8tnzb],
    .bh-col-holidays[b-rcrmh8tnzb] { display: none; }

    .bh-search[b-rcrmh8tnzb] { max-width: none; flex-basis: 100%; }
    .bh-filter[b-rcrmh8tnzb] { flex: 1 1 auto; }
}

@media (max-width: 479.98px) {
    .bh-day[b-rcrmh8tnzb] { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
    .bh-day__times[b-rcrmh8tnzb] { width: 100%; }
    .bh-day__times input[b-rcrmh8tnzb] { flex: 1; width: auto; min-width: 0; }

    .bh-holiday[b-rcrmh8tnzb] { grid-template-columns: minmax(0, 1fr) 32px; }
    .bh-holiday__date[b-rcrmh8tnzb] { grid-column: 1; }
    .bh-holiday__name[b-rcrmh8tnzb] { grid-column: 1; }
    .bh-holiday__repeat[b-rcrmh8tnzb] { grid-column: 1; }
    .bh-holiday > :last-child[b-rcrmh8tnzb] { grid-column: 2; grid-row: 1; }
}
/* /Pages/Support/Setup/CannedResponses.razor.rz.scp.css */
/* Support setup → Canned responses. Shared sx-* classes come from the support stylesheet. */

.cr-search[b-11dfqezykv] {
    position: relative;
    flex: 1 1 260px;
    max-width: 380px;
}

.cr-search__icon[b-11dfqezykv] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-gray-400);
    font-size: 13px;
    pointer-events: none;
}

.cr-search .form-control[b-11dfqezykv] { padding-left: 34px; }

.cr-filter[b-11dfqezykv] { width: auto; min-width: 160px; flex: 0 1 220px; }

.cr-table-card[b-11dfqezykv] { padding: 0; overflow: hidden; }

.cr-row[b-11dfqezykv] { cursor: default; }

.cr-title[b-11dfqezykv] {
    font-weight: 600;
    color: var(--ps-ink);
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-shortcut[b-11dfqezykv] {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 8px;
    border-radius: 6px;
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border);
    color: var(--ps-ink-soft);
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-caption);
}

.cr-col-preview[b-11dfqezykv] { width: 44%; }

.cr-preview[b-11dfqezykv] {
    color: var(--ps-ink-soft);
    font-size: var(--ps-font-size-sm);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 520px;
}

.cr-scope[b-11dfqezykv] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: var(--ps-ink-soft);
}

.cr-scope i[b-11dfqezykv] { color: var(--ps-muted); width: 14px; text-align: center; }

.cr-small[b-11dfqezykv] { font-size: var(--ps-font-size-caption); }

.cr-mono[b-11dfqezykv] { font-family: var(--ps-font-mono); }

.cr-label-row[b-11dfqezykv] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.cr-body[b-11dfqezykv] { resize: vertical; min-height: 160px; line-height: 1.5; }

@media (max-width: 768px) {
    .cr-col-preview[b-11dfqezykv] { display: none; }
}

@media (max-width: 640px) {
    .cr-search[b-11dfqezykv] { max-width: none; flex-basis: 100%; }
    .cr-filter[b-11dfqezykv] { flex: 1 1 calc(50% - 4px); min-width: 0; }
    .cr-title[b-11dfqezykv] { max-width: 180px; }
}
/* /Pages/Support/Setup/Channels.razor.rz.scp.css */
/* Support setup → Channels. Shared sx-* classes come from the support stylesheet; these are page-specific. */

/* ---------- Segmented control (Accounts | Contacts) ---------- */
.ch-segmented[b-7apx5q154u] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--ps-border);
    border-radius: 10px;
    background: var(--ps-surface-2);
}

.ch-segmented__item[b-7apx5q154u] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ps-muted);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.ch-segmented__item:hover[b-7apx5q154u] { color: var(--ps-ink); }

.ch-segmented__item.is-active[b-7apx5q154u] {
    background: var(--ps-surface);
    color: var(--ps-primary-strong);
    box-shadow: var(--ps-shadow-xs);
}

.ch-segmented__item:focus-visible[b-7apx5q154u] { outline: none; box-shadow: var(--ps-focus-ring); }

/* ---------- Toolbar fields ---------- */
.ch-search[b-7apx5q154u] {
    position: relative;
    flex: 1 1 240px;
    max-width: 360px;
}

.ch-search__icon[b-7apx5q154u] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-gray-400);
    font-size: 13px;
    pointer-events: none;
}

.ch-search .form-control[b-7apx5q154u] { padding-left: 34px; }

.ch-filter[b-7apx5q154u] { width: auto; min-width: 160px; flex: 0 1 200px; }

/* ---------- Table cells ---------- */
.ch-table-card[b-7apx5q154u] { padding: 0; overflow: hidden; }

.ch-entity[b-7apx5q154u] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ch-entity__text[b-7apx5q154u] { min-width: 0; }

.ch-entity__title[b-7apx5q154u] {
    font-weight: 600;
    color: var(--ps-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 280px;
}

.ch-badge[b-7apx5q154u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 17px;
}

/* Channel hues map to status tokens; backgrounds stay soft. */
.ch-badge--whatsapp[b-7apx5q154u] { background: var(--ps-success-soft); color: var(--ps-success-text); }
.ch-badge--app[b-7apx5q154u] { background: var(--ps-primary-soft); color: var(--ps-primary-strong); }
.ch-badge--messenger[b-7apx5q154u] { background: var(--ps-info-soft); color: var(--ps-info-text); }
.ch-badge--instagram[b-7apx5q154u] { background: var(--ps-danger-soft); color: var(--ps-danger-text, var(--ps-danger)); }
.ch-badge--other[b-7apx5q154u] { background: var(--ps-neutral-soft); color: var(--ps-neutral-text); }

.ch-channel[b-7apx5q154u] { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ch-channel__icon[b-7apx5q154u] { width: 16px; text-align: center; color: var(--ps-muted); }
.ch-channel__icon--whatsapp[b-7apx5q154u] { color: var(--ps-success); }
.ch-channel__icon--app[b-7apx5q154u] { color: var(--ps-primary); }
.ch-channel__icon--messenger[b-7apx5q154u] { color: var(--ps-info); }
.ch-channel__icon--instagram[b-7apx5q154u] { color: var(--ps-danger); }

.ch-avatar[b-7apx5q154u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ps-primary-soft);
    color: var(--ps-primary-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.ch-avatar--sm[b-7apx5q154u] { flex-basis: 32px; width: 32px; height: 32px; font-size: 11px; }

.ch-mono[b-7apx5q154u] {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-sm);
    word-break: break-all;
}

.ch-mono-soft[b-7apx5q154u] { font-variant-numeric: tabular-nums; }

.ch-small[b-7apx5q154u] { font-size: var(--ps-font-size-caption); }

.ch-pills[b-7apx5q154u] { display: flex; flex-wrap: wrap; gap: 6px; }

.ch-cred[b-7apx5q154u] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-muted);
    white-space: nowrap;
}

.ch-cred--ok[b-7apx5q154u] { color: var(--ps-success-text); }
.ch-cred--missing[b-7apx5q154u] { color: var(--ps-warning-text); }

/* ---------- Drawer form ---------- */
.ch-section-title[b-7apx5q154u] {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--ps-border);
    font-size: var(--ps-font-size-caption);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ps-muted);
}

.ch-section-help[b-7apx5q154u] { margin: -8px 0 0; }

.ch-inline-check[b-7apx5q154u] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    padding-left: 0;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-ink-soft);
}

.ch-inline-check .form-check-input[b-7apx5q154u] { float: none; margin: 0; }

.ch-current-link[b-7apx5q154u] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border: 1px solid var(--ps-border);
    border-radius: 12px;
    background: var(--ps-surface-2);
}

.ch-search-row[b-7apx5q154u] { display: flex; gap: 8px; }
.ch-search-row .form-control[b-7apx5q154u] { flex: 1 1 auto; }

.ch-results[b-7apx5q154u] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ps-border);
    border-radius: 12px;
    overflow: hidden;
}

.ch-result[b-7apx5q154u] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid var(--ps-border);
    background: var(--ps-surface);
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease;
}

.ch-result:last-child[b-7apx5q154u] { border-bottom: 0; }
.ch-result:hover[b-7apx5q154u] { background: var(--ps-surface-2); }
.ch-result:focus-visible[b-7apx5q154u] { outline: none; box-shadow: inset var(--ps-focus-ring); }
.ch-result.is-selected[b-7apx5q154u] { background: var(--ps-primary-soft); }

.ch-result__text[b-7apx5q154u] { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ch-result__check[b-7apx5q154u] { color: var(--ps-primary); font-size: 16px; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
    .ch-segmented[b-7apx5q154u] { width: 100%; }
    .ch-segmented__item[b-7apx5q154u] { flex: 1 1 50%; justify-content: center; }
    .ch-search[b-7apx5q154u] { max-width: none; flex-basis: 100%; }
    .ch-filter[b-7apx5q154u] { flex: 1 1 calc(50% - 4px); min-width: 0; }
    .ch-entity__title[b-7apx5q154u] { max-width: 180px; }
}
/* /Pages/Support/Setup/Chatbot.razor.rz.scp.css */
/* Chatbot setup: a segmented switch between the settings form and the workflow list. */

.bot-segment[b-ygql2auie8] {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: var(--ps-space-4);
    background: var(--ps-gray-100);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    max-width: 100%;
}

.bot-segment__btn[b-ygql2auie8] {
    display: inline-flex;
    align-items: center;
    gap: var(--ps-space-2);
    height: 32px;
    padding: 0 var(--ps-space-4);
    border: 0;
    border-radius: var(--ps-radius-lg);
    background: transparent;
    color: var(--ps-ink-soft);
    font-size: var(--ps-font-size-body);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.bot-segment__btn:hover:not(:disabled)[b-ygql2auie8] {
    color: var(--ps-ink);
}

.bot-segment__btn:focus-visible[b-ygql2auie8] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.bot-segment__btn.is-active[b-ygql2auie8] {
    background: var(--ps-surface);
    color: var(--ps-ink);
    box-shadow: var(--ps-shadow-xs);
}

.bot-segment__btn:disabled[b-ygql2auie8] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bot-segment__count[b-ygql2auie8] {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--ps-gray-200);
    color: var(--ps-ink-soft);
    font-size: var(--ps-font-size-caption);
    line-height: 18px;
    text-align: center;
}

.bot-segment__btn.is-active .bot-segment__count[b-ygql2auie8] {
    background: var(--ps-primary-soft);
    color: var(--ps-primary-strong);
}

/* ---------- Settings form ---------- */
.bot-card[b-ygql2auie8] {
    padding: var(--ps-space-6);
}

.bot-form[b-ygql2auie8] {
    max-width: 720px;
}

.bot-section[b-ygql2auie8] {
    display: flex;
    flex-direction: column;
    gap: var(--ps-space-4);
    padding: var(--ps-space-6) 0;
    border-top: 1px solid var(--ps-border);
}

.bot-section:first-child[b-ygql2auie8] {
    padding-top: 0;
    border-top: 0;
}

.bot-section__head[b-ygql2auie8] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bot-section__head .sx-help[b-ygql2auie8] {
    margin: 0;
}

.bot-section__title[b-ygql2auie8] {
    margin: 0;
    font-size: var(--ps-font-size-h3);
    font-weight: 600;
}

.bot-form-row[b-ygql2auie8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ps-space-4);
}

.bot-narrow[b-ygql2auie8] {
    max-width: 260px;
}

.bot-footer[b-ygql2auie8] {
    padding-top: var(--ps-space-6);
    border-top: 1px solid var(--ps-border);
}

.bot-dirty[b-ygql2auie8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ps-font-size-sm);
    color: var(--ps-warning-text);
}

.bot-dirty i[b-ygql2auie8] {
    font-size: 7px;
    color: var(--ps-warning);
}

/* ---------- Workflows list ---------- */

.bot-filter[b-ygql2auie8] {
    flex: 0 0 auto;
    width: 170px;
}

.bot-name[b-ygql2auie8] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ps-ink);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.bot-name:hover[b-ygql2auie8],
.bot-name:focus-visible[b-ygql2auie8] {
    color: var(--ps-primary-strong);
    text-decoration: underline;
    outline: none;
}

.bot-code[b-ygql2auie8] {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-caption);
}

.bot-keywords[b-ygql2auie8] {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    color: var(--ps-ink-soft);
}

.bot-row-actions[b-ygql2auie8] {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

/* ---------- Drawer ---------- */
.bot-drawer-heading[b-ygql2auie8] {
    margin: var(--ps-space-2) 0 0;
    padding-top: var(--ps-space-4);
    border-top: 1px solid var(--ps-border);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ps-muted);
}

.bot-chips[b-ygql2auie8] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ps-space-2);
}

.bot-chip[b-ygql2auie8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 var(--ps-space-3);
    border: 1px solid var(--ps-border-strong);
    border-radius: 999px;
    background: var(--ps-surface);
    color: var(--ps-ink-soft);
    font-size: var(--ps-font-size-sm);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bot-chip i[b-ygql2auie8] {
    font-size: 10px;
}

.bot-chip:focus-visible[b-ygql2auie8] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

.bot-chip.is-on[b-ygql2auie8] {
    border-color: var(--ps-primary);
    background: var(--ps-primary-soft);
    color: var(--ps-primary-strong);
}

@media (max-width: 1100px) {
    .bot-col-lg[b-ygql2auie8] {
        display: none;
    }
}

@media (max-width: 860px) {
    .bot-col-md[b-ygql2auie8] {
        display: none;
    }
}

@media (max-width: 576px) {
    .bot-card[b-ygql2auie8] {
        padding: var(--ps-space-4);
    }

    .bot-form-row[b-ygql2auie8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .bot-narrow[b-ygql2auie8],
    .bot-filter[b-ygql2auie8] {
        max-width: none;
        width: 100%;
    }

    .bot-segment[b-ygql2auie8] {
        display: flex;
    }

    .bot-segment__btn[b-ygql2auie8] {
        flex: 1 1 0;
        justify-content: center;
    }
}
/* /Pages/Support/Setup/Departments.razor.rz.scp.css */
/* Departments tab. Shared table, toolbar and form styles come from css/support.css (sx-*). */

.ws-filter[b-db7m9779vz] { width: auto; min-width: 160px; }

.ws-alert-body[b-db7m9779vz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.ws-clamp[b-db7m9779vz] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 360px;
}

.ws-link[b-db7m9779vz] {
    display: inline-flex;
    min-width: 32px;
    justify-content: flex-end;
    font-weight: 600;
    color: var(--ps-primary-strong);
    text-decoration: none;
}

.ws-link:hover[b-db7m9779vz],
.ws-link:focus-visible[b-db7m9779vz] { text-decoration: underline; }

.ws-fieldset[b-db7m9779vz] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

@media (max-width: 576px) {
    .ws-filter[b-db7m9779vz] { flex: 1 1 100%; }
    .ws-clamp[b-db7m9779vz] { max-width: none; }
}
/* /Pages/Support/Setup/Diagnostics.razor.rz.scp.css */
/* Support setup → Diagnostics. Shared sx-* classes come from the support stylesheet. */

.dg-segmented[b-silqiiguby] {
    display: inline-flex;
    flex-wrap: wrap;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--ps-border);
    border-radius: 10px;
    background: var(--ps-surface-2);
}

.dg-segmented__item[b-silqiiguby] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ps-muted);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.dg-segmented__item:hover[b-silqiiguby] { color: var(--ps-ink); }

.dg-segmented__item.is-active[b-silqiiguby] {
    background: var(--ps-surface);
    color: var(--ps-primary-strong);
    box-shadow: var(--ps-shadow-xs);
}

.dg-segmented__item:focus-visible[b-silqiiguby] { outline: none; box-shadow: var(--ps-focus-ring); }

.dg-count[b-silqiiguby] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dg-count--warn[b-silqiiguby] { background: var(--ps-warning-soft); color: var(--ps-warning-text); }
.dg-count--danger[b-silqiiguby] { background: var(--ps-danger-soft); color: var(--ps-danger-text); }

.dg-filter[b-silqiiguby] { width: auto; min-width: 160px; flex: 0 1 210px; }

.dg-table-card[b-silqiiguby] { padding: 0; overflow: hidden; }

.dg-channel[b-silqiiguby] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--ps-ink);
    white-space: nowrap;
}

.dg-channel i[b-silqiiguby] { width: 16px; text-align: center; color: var(--ps-muted); }

.dg-small[b-silqiiguby] { font-size: var(--ps-font-size-caption); }
.dg-warn[b-silqiiguby] { color: var(--ps-warning-text); margin-top: 2px; }
.dg-bad[b-silqiiguby] { color: var(--ps-danger-text); font-weight: 600; }

.dg-col-error[b-silqiiguby] { width: 36%; }

.dg-error[b-silqiiguby] {
    max-width: 440px;
    color: var(--ps-danger-text);
    font-size: var(--ps-font-size-sm);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.dg-link[b-silqiiguby] {
    font-weight: 600;
    color: var(--ps-ink);
    text-decoration: none;
}

.dg-link:hover[b-silqiiguby] { color: var(--ps-primary); text-decoration: underline; }

@media (max-width: 768px) {
    .dg-col-error[b-silqiiguby] { display: none; }
}

@media (max-width: 640px) {
    .dg-segmented[b-silqiiguby] { width: 100%; }
    .dg-segmented__item[b-silqiiguby] { flex: 1 1 auto; justify-content: center; padding: 0 10px; }
    .dg-filter[b-silqiiguby] { flex: 1 1 calc(50% - 4px); min-width: 0; }
}
/* /Pages/Support/Setup/Queues.razor.rz.scp.css */
/* Queues tab. Shared table, toolbar and form styles come from css/support.css (sx-*). */

.ws-filter[b-jakuy19hzi] { width: auto; min-width: 160px; }

.ws-alert-body[b-jakuy19hzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.ws-queue-name[b-jakuy19hzi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ws-warn[b-jakuy19hzi] { color: var(--ps-warning-text); font-weight: 600; }

.ws-fieldset[b-jakuy19hzi] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ws-section-head[b-jakuy19hzi] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.ws-member-search[b-jakuy19hzi] { width: 100%; }

.ws-empty-line[b-jakuy19hzi] { margin: 0; font-size: var(--ps-font-size-sm); }

.ws-avatar-sm[b-jakuy19hzi] {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.ws-member[b-jakuy19hzi] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.ws-member__name[b-jakuy19hzi] {
    font-weight: 600;
    color: var(--ps-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-member__meta[b-jakuy19hzi] {
    font-size: var(--ps-font-size-caption);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .ws-filter[b-jakuy19hzi] { flex: 1 1 100%; }
}
/* /Pages/Support/Setup/SlaPolicies.razor.rz.scp.css */
/* SLA policies setup page. Shared sx-* classes come from the support stylesheet; only page specifics live here. */

.sla-alert[b-ofmb69czmo] { gap: 12px; margin-bottom: 16px; }

.sla-search[b-ofmb69czmo] {
    position: relative;
    flex: 1 1 260px;
    max-width: 360px;
    min-width: 0;
}

.sla-search i[b-ofmb69czmo] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-muted);
    font-size: 13px;
    pointer-events: none;
}

.sla-search input[b-ofmb69czmo] { padding-left: 34px; }

.sla-filter[b-ofmb69czmo] { width: auto; min-width: 150px; flex: 0 1 200px; }

.sla-table-card[b-ofmb69czmo] { padding: 0; overflow-x: auto; }

.sla-link[b-ofmb69czmo] {
    border: 0;
    background: transparent;
    padding: 0;
    font-weight: 600;
    color: var(--ps-ink);
    text-align: left;
}

.sla-link:hover[b-ofmb69czmo],
.sla-link:focus-visible[b-ofmb69czmo] { color: var(--ps-primary); text-decoration: underline; }

.sla-code[b-ofmb69czmo] {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-caption);
    margin-top: 2px;
}

.sla-scope[b-ofmb69czmo] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--ps-font-size-sm); }
.sla-danger:hover[b-ofmb69czmo] { color: var(--ps-danger); background: var(--ps-danger-soft); }

/* ---------- Drawer form ---------- */
.sla-form[b-ofmb69czmo] { display: flex; flex-direction: column; gap: 24px; max-width: none; }

.sla-form__row[b-ofmb69czmo] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sla-form__hint[b-ofmb69czmo] { margin-top: -16px; }

.sla-duration[b-ofmb69czmo] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 8px;
}

.sla-duration input[b-ofmb69czmo] { font-variant-numeric: tabular-nums; }

@media (max-width: 767.98px) {
    .sla-col-hours[b-ofmb69czmo] { display: none; }
    .sla-search[b-ofmb69czmo] { max-width: none; flex-basis: 100%; }
    .sla-filter[b-ofmb69czmo] { flex: 1 1 140px; }
}

@media (max-width: 479.98px) {
    .sla-form__row[b-ofmb69czmo] { grid-template-columns: minmax(0, 1fr); }
    .sla-duration[b-ofmb69czmo] { grid-template-columns: minmax(0, 1fr) 120px; }
}
/* /Pages/Support/Supervisor.razor.rz.scp.css */
/* Supervisor team board. Shared look (table, pills, stats, drawer) comes from css/support.css;
   this file only adds the live indicator, the workload meter and the drawer option lists. */

.sv-page[b-39dkjtcidi] { gap: 0; }

/* ---------- Header live indicator ---------- */
.sv-live[b-39dkjtcidi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--ps-size-button-height);
    padding: 0 12px;
    border: 1px solid var(--ps-border);
    border-radius: 999px;
    background: var(--ps-surface);
    font-size: var(--ps-font-size-caption);
    font-weight: 600;
    color: var(--ps-muted);
}

.sv-live__dot[b-39dkjtcidi] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--ps-gray-400);
}

.sv-live__dot.is-on[b-39dkjtcidi] {
    background: var(--ps-success);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .45);
    animation: sv-pulse-b-39dkjtcidi 2s ease-out infinite;
}

@keyframes sv-pulse-b-39dkjtcidi {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
    70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .sv-live__dot.is-on[b-39dkjtcidi] { animation: none; }
}

/* ---------- Toolbar ---------- */
.sv-tenant[b-39dkjtcidi] { width: 240px; max-width: 100%; height: var(--ps-size-input-height); font-size: var(--ps-font-size-sm); border-radius: var(--ps-radius-lg); }
.sv-status[b-39dkjtcidi] { width: 220px; max-width: 100%; height: var(--ps-size-input-height); font-size: var(--ps-font-size-sm); border-radius: var(--ps-radius-lg); }

.sv-alert[b-39dkjtcidi] { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sv-skeleton[b-39dkjtcidi] { padding: 24px; }

/* ---------- Table cells ---------- */
.sv-who[b-39dkjtcidi] { display: flex; flex-direction: column; min-width: 0; max-width: 260px; }
.sv-stack[b-39dkjtcidi] { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sv-warn[b-39dkjtcidi] { color: var(--ps-warning-strong); display: inline-flex; align-items: center; gap: 4px; }
.sv-depts[b-39dkjtcidi] { display: flex; flex-wrap: wrap; gap: 4px; max-width: 280px; }

.sv-load[b-39dkjtcidi] { display: flex; flex-direction: column; gap: 6px; min-width: 96px; max-width: 140px; }
.sv-load__count[b-39dkjtcidi] { font-weight: 600; color: var(--ps-ink); }
.sv-load__bar[b-39dkjtcidi] {
    position: relative;
    display: block;
    height: 6px;
    border-radius: 999px;
    background: var(--ps-gray-100);
    overflow: hidden;
}

.sv-load__fill[b-39dkjtcidi] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 999px;
    transition: width .3s ease;
}

.sv-load__fill--success[b-39dkjtcidi] { background: var(--ps-success); }
.sv-load__fill--warning[b-39dkjtcidi] { background: var(--ps-warning); }
.sv-load__fill--danger[b-39dkjtcidi] { background: var(--ps-danger); }

/* ---------- Drawer forms ---------- */
.sv-options[b-39dkjtcidi] { display: flex; flex-direction: column; gap: 8px; }

.sv-option[b-39dkjtcidi] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    background: var(--ps-surface);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.sv-option:hover[b-39dkjtcidi] { border-color: var(--ps-border-strong); }
.sv-option:focus-within[b-39dkjtcidi] { box-shadow: var(--ps-focus-ring); }
.sv-option.is-selected[b-39dkjtcidi] { border-color: var(--ps-primary); background: var(--ps-primary-soft); }
.sv-option input[b-39dkjtcidi] { margin-top: 3px; accent-color: var(--ps-primary); }
.sv-option__text[b-39dkjtcidi] { display: flex; flex-direction: column; gap: 2px; }
.sv-option__title[b-39dkjtcidi] { font-weight: 600; color: var(--ps-ink); font-size: var(--ps-font-size-sm); }

.sv-segment[b-39dkjtcidi] {
    display: inline-flex;
    padding: 4px;
    gap: 4px;
    border-radius: var(--ps-radius-lg);
    background: var(--ps-gray-100);
    align-self: flex-start;
}

.sv-segment__btn[b-39dkjtcidi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--ps-size-button-height-sm);
    padding: 0 16px;
    border: 0;
    border-radius: var(--ps-radius-md);
    background: transparent;
    color: var(--ps-ink-soft);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    cursor: pointer;
}

.sv-segment__btn:hover[b-39dkjtcidi] { color: var(--ps-ink); }
.sv-segment__btn:focus-visible[b-39dkjtcidi] { outline: none; box-shadow: var(--ps-focus-ring); }
.sv-segment__btn.is-active[b-39dkjtcidi] { background: var(--ps-surface); color: var(--ps-primary-strong); box-shadow: var(--ps-shadow-xs); }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
    .sv-hide-sm[b-39dkjtcidi] { display: none; }
    .sv-tenant[b-39dkjtcidi],
    .sv-status[b-39dkjtcidi] { width: 100%; }
    .sv-who[b-39dkjtcidi],
    .sv-depts[b-39dkjtcidi] { max-width: none; }
    .sv-load[b-39dkjtcidi] { max-width: none; align-items: flex-end; }
    .sv-stack[b-39dkjtcidi] { align-items: flex-end; }
    .sv-depts[b-39dkjtcidi] { justify-content: flex-end; }
}
/* /Pages/Support/TicketDetails.razor.rz.scp.css */
.support-ticket-workspace[b-yzzvpccnm1] {
    --support-ink: var(--ps-ink);
    --support-muted: var(--ps-muted);
    --support-border: rgba(15, 23, 42, 0.12);
    --support-surface: var(--ps-surface);
    --support-surface-soft: var(--ps-surface-2);
    --support-accent: var(--ps-primary);
    --support-accent-soft: rgba(var(--ps-primary-rgb), 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-ticket-workspace__hero[b-yzzvpccnm1],
.support-ticket-panel[b-yzzvpccnm1],
.support-ticket-comment[b-yzzvpccnm1] {
    background: var(--support-surface);
    border: 1px solid var(--support-border);
    border-radius: var(--ps-radius-xl);
    box-shadow: var(--ps-shadow-xs);
}

.support-ticket-workspace__hero[b-yzzvpccnm1] {
    background: var(--ps-surface);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
    padding: 1.4rem;
}

.support-ticket-workspace__eyebrow[b-yzzvpccnm1],
.support-ticket-panel__eyebrow[b-yzzvpccnm1],
.support-ticket-workspace__stat-label[b-yzzvpccnm1] {
    color: var(--support-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-ticket-workspace__title[b-yzzvpccnm1] {
    color: var(--support-ink);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
    margin: 0.35rem 0;
}

.support-ticket-workspace__subtitle[b-yzzvpccnm1] {
    color: var(--support-muted);
    margin: 0;
}

.support-ticket-workspace__badges[b-yzzvpccnm1],
.support-ticket-panel__actions[b-yzzvpccnm1],
.support-ticket-tag-list[b-yzzvpccnm1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.support-ticket-workspace__stats[b-yzzvpccnm1] {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-ticket-workspace__stat[b-yzzvpccnm1] {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--ps-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
}

.support-ticket-workspace__scope-picker[b-yzzvpccnm1] {
    max-width: 22rem;
}

.support-ticket-workspace__grid[b-yzzvpccnm1] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-ticket-panel[b-yzzvpccnm1] {
    padding: 1.2rem;
}

.support-ticket-panel--editor[b-yzzvpccnm1],
.support-ticket-panel--wide[b-yzzvpccnm1] {
    grid-column: 1 / -1;
}

.support-ticket-panel__header[b-yzzvpccnm1] {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.support-ticket-panel__header h3[b-yzzvpccnm1] {
    color: var(--support-ink);
    margin: 0;
}

.support-ticket-detail-badge[b-yzzvpccnm1] {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    color: var(--support-ink);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
}

.support-ticket-detail-badge--new[b-yzzvpccnm1] {
    background: var(--ps-info-soft);
    color: var(--ps-info);
}

.support-ticket-detail-badge--open[b-yzzvpccnm1] {
    background: rgba(var(--ps-primary-rgb), 0.14);
    color: var(--ps-primary);
}

.support-ticket-detail-badge--pending[b-yzzvpccnm1] {
    background: var(--ps-warning-soft);
    color: var(--ps-warning-strong);
}

.support-ticket-detail-badge--escalated[b-yzzvpccnm1] {
    background: rgba(139, 92, 246, 0.14);
    color: var(--ps-primary-strong);
}

.support-ticket-detail-badge--resolved[b-yzzvpccnm1] {
    background: rgba(34, 197, 94, 0.14);
    color: var(--ps-success-text);
}

.support-ticket-detail-badge--closed[b-yzzvpccnm1] {
    background: var(--ps-gray-100);
    color: var(--ps-gray-600);
}

.support-ticket-detail-badge--critical[b-yzzvpccnm1],
.support-ticket-detail-badge--breached[b-yzzvpccnm1] {
    background: var(--ps-danger-soft);
    color: var(--ps-danger-text);
}

.support-ticket-detail-badge--warning[b-yzzvpccnm1] {
    background: var(--ps-warning-soft);
    color: var(--ps-warning-strong);
}

.support-ticket-tag[b-yzzvpccnm1] {
    background: var(--support-accent-soft);
    border-radius: 999px;
    color: var(--support-accent);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
}

.support-ticket-facts[b-yzzvpccnm1] {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.support-ticket-facts div[b-yzzvpccnm1] {
    background: var(--support-surface-soft);
    border-radius: var(--ps-radius-lg);
    padding: 0.8rem 0.9rem;
}

.support-ticket-facts dt[b-yzzvpccnm1] {
    color: var(--support-muted);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.support-ticket-facts dd[b-yzzvpccnm1] {
    color: var(--support-ink);
    font-weight: 600;
    margin: 0;
}

.support-ticket-comment[b-yzzvpccnm1] {
    margin-top: 0.85rem;
    padding: 1rem;
}

.support-ticket-comment--public[b-yzzvpccnm1] {
    background: rgba(230, 242, 255, 0.72);
}

.support-ticket-comment--internal[b-yzzvpccnm1] {
    background: rgba(255, 245, 207, 0.9);
}

.support-ticket-comment--system[b-yzzvpccnm1] {
    background: rgba(247, 244, 238, 0.98);
}

.support-ticket-comment__meta[b-yzzvpccnm1] {
    color: var(--support-muted);
    display: flex;
    font-size: 0.82rem;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.support-ticket-comment__author[b-yzzvpccnm1] {
    color: var(--support-ink);
    font-weight: 600;
}

.support-ticket-comment__body[b-yzzvpccnm1] {
    color: var(--support-ink);
    margin-top: 0.45rem;
    white-space: pre-wrap;
}

.support-ticket-list[b-yzzvpccnm1] {
    display: grid;
    gap: 0.8rem;
}

.support-ticket-list__item[b-yzzvpccnm1] {
    background: var(--support-surface-soft);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--ps-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
}

.support-ticket-list__item span[b-yzzvpccnm1] {
    color: var(--support-muted);
    font-size: 0.9rem;
}

@media (max-width: 1199px) {
    .support-ticket-workspace__hero[b-yzzvpccnm1],
    .support-ticket-workspace__grid[b-yzzvpccnm1] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .support-ticket-workspace__stats[b-yzzvpccnm1],
    .support-ticket-facts[b-yzzvpccnm1] {
        grid-template-columns: 1fr;
    }

    .support-ticket-panel__header[b-yzzvpccnm1],
    .support-ticket-comment__meta[b-yzzvpccnm1] {
        flex-direction: column;
    }
}
/* /Pages/Support/Tickets.razor.rz.scp.css */
.support-tickets-shell[b-p0ptztip9r] {
    --support-ink: var(--ps-ink);
    --support-muted: var(--ps-muted);
    --support-border: rgba(15, 23, 42, 0.12);
    --support-surface: #ffffff;
    --support-surface-soft: var(--ps-surface-2);
    --support-accent: var(--ps-primary);
    --support-accent-soft: rgba(var(--ps-primary-rgb), 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-tickets-hero[b-p0ptztip9r],
.support-ticket-panel[b-p0ptztip9r],
.support-ticket-card[b-p0ptztip9r],
.support-ticket-empty[b-p0ptztip9r] {
    background: var(--support-surface);
    border: 1px solid var(--support-border);
    border-radius: var(--ps-radius-xl);
    box-shadow: var(--ps-shadow-xs);
}

.support-tickets-hero[b-p0ptztip9r] {
    background: var(--ps-surface);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
    padding: 1.4rem;
}

.support-tickets-hero__eyebrow[b-p0ptztip9r],
.support-ticket-panel__eyebrow[b-p0ptztip9r],
.support-ticket-metric__label[b-p0ptztip9r],
.support-ticket-card__label[b-p0ptztip9r] {
    color: var(--support-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-tickets-hero__title[b-p0ptztip9r] {
    color: var(--support-ink);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
    margin: 0.35rem 0;
}

.support-tickets-hero__subtitle[b-p0ptztip9r] {
    color: var(--support-muted);
    margin: 0;
}

.support-ticket-metrics[b-p0ptztip9r] {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.support-ticket-metric[b-p0ptztip9r] {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--ps-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
    min-height: 6rem;
    padding: 0.9rem 1rem;
}

.support-tickets-layout[b-p0ptztip9r] {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.6fr);
}

.support-tickets-sidebar[b-p0ptztip9r],
.support-tickets-main[b-p0ptztip9r],
.support-ticket-cards[b-p0ptztip9r] {
    display: grid;
    gap: 1rem;
}

.support-ticket-panel[b-p0ptztip9r],
.support-ticket-card[b-p0ptztip9r],
.support-ticket-empty[b-p0ptztip9r] {
    padding: 1.2rem;
}

.support-ticket-panel__header[b-p0ptztip9r],
.support-ticket-card__header[b-p0ptztip9r] {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.support-ticket-panel__header h3[b-p0ptztip9r],
.support-ticket-card__title[b-p0ptztip9r] {
    color: var(--support-ink);
    margin: 0;
}

.support-ticket-board__meta[b-p0ptztip9r] {
    color: var(--support-muted);
    font-size: 0.92rem;
}

.support-ticket-filter-grid[b-p0ptztip9r] {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-ticket-actions[b-p0ptztip9r],
.support-ticket-pill-list[b-p0ptztip9r],
.support-ticket-card__badges[b-p0ptztip9r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.support-ticket-actions[b-p0ptztip9r] {
    margin-top: 1rem;
}

.support-ticket-pill[b-p0ptztip9r] {
    background: var(--support-accent-soft);
    border-radius: 999px;
    color: var(--support-accent);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
}

.support-ticket-card[b-p0ptztip9r] {
    cursor: pointer;
    display: grid;
    gap: 1rem;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.support-ticket-card:hover[b-p0ptztip9r] {
    border-color: rgba(var(--ps-primary-rgb), 0.28);
    box-shadow: var(--ps-shadow-xs);
    transform: translateY(-1px);
}

.support-ticket-card--breached[b-p0ptztip9r] {
    border-color: rgba(220, 38, 38, 0.22);
}

.support-ticket-card--priority[b-p0ptztip9r] {
    background: var(--ps-warning-soft);
}

.support-ticket-card__title[b-p0ptztip9r] {
    font-size: 1.05rem;
    margin-top: 0.45rem;
}

.support-ticket-card__subtitle[b-p0ptztip9r],
.support-ticket-card__meta[b-p0ptztip9r] {
    color: var(--support-muted);
    margin: 0.25rem 0 0;
}

.support-ticket-badge[b-p0ptztip9r] {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    color: var(--support-ink);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
}

.support-ticket-badge--new[b-p0ptztip9r] {
    background: var(--ps-info-soft);
    color: var(--ps-info);
}

.support-ticket-badge--open[b-p0ptztip9r] {
    background: rgba(var(--ps-primary-rgb), 0.14);
    color: var(--ps-primary);
}

.support-ticket-badge--pending[b-p0ptztip9r] {
    background: var(--ps-warning-soft);
    color: var(--ps-warning-strong);
}

.support-ticket-badge--escalated[b-p0ptztip9r] {
    background: rgba(139, 92, 246, 0.14);
    color: #6d28d9;
}

.support-ticket-badge--resolved[b-p0ptztip9r] {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.support-ticket-badge--closed[b-p0ptztip9r] {
    background: var(--ps-gray-100);
    color: var(--ps-gray-600);
}

.support-ticket-badge--critical[b-p0ptztip9r] {
    background: var(--ps-danger-soft);
    color: var(--ps-danger-text);
}

.support-ticket-badge--warning[b-p0ptztip9r],
.support-ticket-badge--breached[b-p0ptztip9r] {
    background: var(--ps-warning-soft);
    color: var(--ps-warning-strong);
}

.support-ticket-badge--breached[b-p0ptztip9r] {
    background: var(--ps-danger-soft);
    color: var(--ps-danger-text);
}

.support-ticket-card__grid[b-p0ptztip9r] {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-ticket-card__grid > div[b-p0ptztip9r] {
    background: var(--support-surface-soft);
    border-radius: var(--ps-radius-lg);
    padding: 0.9rem 1rem;
}

.support-ticket-empty[b-p0ptztip9r] {
    display: grid;
    min-height: 16rem;
    place-items: center;
    text-align: center;
}

@media (max-width: 1279px) {
    .support-tickets-layout[b-p0ptztip9r],
    .support-tickets-hero[b-p0ptztip9r] {
        grid-template-columns: 1fr;
    }

    .support-ticket-metrics[b-p0ptztip9r] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .support-ticket-filter-grid[b-p0ptztip9r],
    .support-ticket-card__grid[b-p0ptztip9r],
    .support-ticket-metrics[b-p0ptztip9r] {
        grid-template-columns: 1fr;
    }

    .support-ticket-panel__header[b-p0ptztip9r],
    .support-ticket-card__header[b-p0ptztip9r] {
        flex-direction: column;
    }
}
/* /Pages/Support/WhatsAppTemplatesPanel.razor.rz.scp.css */
/* WhatsApp templates panel (Support setup → WhatsApp templates). Shared sx-* classes come from the support stylesheet. */

.wt-account[b-gyvsv3wjs6] { width: auto; min-width: 200px; flex: 0 1 260px; }

.wt-search[b-gyvsv3wjs6] {
    position: relative;
    flex: 1 1 220px;
    max-width: 340px;
}

.wt-search__icon[b-gyvsv3wjs6] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-gray-400);
    font-size: 13px;
    pointer-events: none;
}

.wt-search .form-control[b-gyvsv3wjs6] { padding-left: 34px; }

.wt-filter[b-gyvsv3wjs6] { width: auto; min-width: 150px; flex: 0 1 190px; }

.wt-table-card[b-gyvsv3wjs6] { padding: 0; overflow: hidden; }

.wt-name[b-gyvsv3wjs6] {
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-sm);
    font-weight: 600;
    color: var(--ps-ink);
}

.wt-preview[b-gyvsv3wjs6] {
    max-width: 460px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--ps-font-size-sm);
}

.wt-lang[b-gyvsv3wjs6] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border);
    font-family: var(--ps-font-mono);
    font-size: var(--ps-font-size-caption);
    color: var(--ps-ink-soft);
}

.wt-mono[b-gyvsv3wjs6] { font-family: var(--ps-font-mono); }
.wt-small[b-gyvsv3wjs6] { font-size: var(--ps-font-size-caption); }

.wt-two[b-gyvsv3wjs6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wt-label-row[b-gyvsv3wjs6] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.wt-note[b-gyvsv3wjs6] { font-size: var(--ps-font-size-sm); }

/* Preview: the message as the customer sees it in WhatsApp. The wallpaper and bubble colours are
   WhatsApp's own, so the preview is recognisable. */
.wt-phone[b-gyvsv3wjs6] {
    padding: 24px 16px;
    border-radius: 12px;
    background: #efeae2;
}

.wt-bubble[b-gyvsv3wjs6] {
    max-width: 340px;
    padding: 8px 12px 10px;
    border-radius: 0 10px 10px 10px;
    background: #ffffff;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.12);
    color: #111b21;
    font-size: 14px;
    line-height: 1.45;
}

.wt-bubble__header[b-gyvsv3wjs6] { font-weight: 700; margin-bottom: 4px; }
.wt-bubble__body[b-gyvsv3wjs6] { white-space: pre-wrap; word-break: break-word; }
.wt-bubble__footer[b-gyvsv3wjs6] { margin-top: 6px; font-size: 12px; color: #667781; }

@media (max-width: 640px) {
    .wt-account[b-gyvsv3wjs6],
    .wt-search[b-gyvsv3wjs6] { max-width: none; flex-basis: 100%; }
    .wt-filter[b-gyvsv3wjs6] { flex: 1 1 auto; }
    .wt-two[b-gyvsv3wjs6] { grid-template-columns: 1fr; }
}
