/* kaBoxx unified interface system
   Loaded after the legacy theme so every browser surface shares one modern,
   accessible visual language without changing application behaviour. */

body.kaboxx-ui {
    --kbx-brand: var(--primary-color, #172554);
    --kbx-brand-strong: color-mix(in srgb, var(--primary-color, #172554) 82%, black);
    --kbx-accent: var(--secondary-color, #0F766E);
    --kbx-ink: var(--ot-primary-text, #172033);
    --kbx-muted: var(--ot-secondary-text, #667085);
    --kbx-subtle: var(--ot-tertiary-text, #8a94a6);
    --kbx-canvas: var(--ot-bg-primary, #f5f7fb);
    --kbx-surface: var(--ot-bg-secondary, #ffffff);
    --kbx-surface-soft: color-mix(in srgb, var(--ot-bg-secondary, #ffffff) 90%, var(--ot-bg-primary, #f5f7fb));
    --kbx-line: var(--ot-primary-border, #e3e8ef);
    --kbx-line-strong: var(--ot-secondary-border, #cbd5e1);
    --kbx-success: #087f5b;
    --kbx-success-soft: #e8f7f1;
    --kbx-warning: #9a6700;
    --kbx-warning-soft: #fff7d6;
    --kbx-danger: #b42318;
    --kbx-danger-soft: #fff0ee;
    --kbx-info: #175cd3;
    --kbx-info-soft: #eef4ff;
    --kbx-radius-sm: 9px;
    --kbx-radius: 14px;
    --kbx-radius-lg: 20px;
    --kbx-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 5px rgba(16, 24, 40, .04);
    --kbx-shadow: 0 12px 34px rgba(20, 33, 61, .07);
    --kbx-shadow-lg: 0 24px 70px rgba(20, 33, 61, .12);
    --kbx-text-xs: 12px;
    --kbx-text-sm: 13px;
    --kbx-text-control: 14px;
    --kbx-text-body: 15px;
    --kbx-text-heading: 20px;
    min-height: 100%;
    color: var(--kbx-ink);
    background: var(--kbx-canvas);
    font-family: var(--heading-fonts, "Open Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: var(--kbx-text-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.kaboxx-ui *,
body.kaboxx-ui *::before,
body.kaboxx-ui *::after { box-sizing: border-box; }
body.kaboxx-ui i.las,
body.kaboxx-ui span.las { font-family: "Line Awesome Free" !important; font-weight: 900 !important; }
body.kaboxx-ui i.lar,
body.kaboxx-ui span.lar { font-family: "Line Awesome Free" !important; font-weight: 400 !important; }
body.kaboxx-ui i.lab,
body.kaboxx-ui span.lab { font-family: "Line Awesome Brands" !important; font-weight: 400 !important; }
body.kaboxx-ui img { max-width: 100%; }
body.kaboxx-ui a { text-underline-offset: 3px; }
body.kaboxx-ui :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--kbx-brand) 34%, transparent);
    outline-offset: 2px;
}
body.kaboxx-ui h1,
body.kaboxx-ui h2,
body.kaboxx-ui h3,
body.kaboxx-ui h4,
body.kaboxx-ui h5,
body.kaboxx-ui h6 { color: var(--kbx-ink); letter-spacing: -.018em; }
body.kaboxx-ui h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
body.kaboxx-ui h2 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; }
body.kaboxx-ui h3 { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.25; }
body.kaboxx-ui :where(small, .small) { font-size: var(--kbx-text-xs); line-height: 1.45; }
body.kaboxx-ui :where(.text-10, .text-11) { font-size: var(--kbx-text-xs) !important; }
body.kaboxx-ui .text-12 { font-size: var(--kbx-text-sm) !important; }
body.kaboxx-ui :where(.text-muted, .text-secondary-soft) { color: var(--kbx-muted) !important; }

/* Application shell */
body.kaboxx-ui .page-content { padding: 26px 28px 38px; }
body.kaboxx-ui .main-content { background: var(--kbx-canvas); min-height: 100vh; }
body.kaboxx-ui .header {
    min-height: 72px;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    background: color-mix(in srgb, var(--kbx-surface) 94%, transparent);
    box-shadow: 0 5px 20px rgba(20, 33, 61, .035);
    backdrop-filter: blur(14px);
}
body.kaboxx-ui .header-controls { align-items:center; gap: clamp(8px, 1vw, 12px); }
body.kaboxx-ui .header-content-left,
body.kaboxx-ui .header-controls { min-width: 0; }
body.kaboxx-ui .header-control-item,
body.kaboxx-ui .header .dropdown-toggle {
    border-radius: 11px;
}
body.kaboxx-ui .header-controls > *{flex:0 0 auto;min-width:44px}
body.kaboxx-ui .header-notification-control,body.kaboxx-ui .header-notification-control>.item-content,body.kaboxx-ui .header-notification-control__button{align-items:center;display:flex;height:44px;justify-content:center;min-height:44px;min-width:44px;width:44px}
body.kaboxx-ui .header-notification-control__button{border-radius:12px;overflow:visible}
body.kaboxx-ui .header-notification-control .notification-badge{inset:0 0 auto auto;max-width:34px;min-width:20px;height:20px;padding-inline:5px;transform:none}
body.kaboxx-ui .sidebar {
    border-inline-end: 1px solid rgba(226, 232, 240, .9);
    background: var(--kbx-surface);
    box-shadow: 8px 0 30px rgba(20, 33, 61, .035);
}
body.kaboxx-ui .sidebar-header { border-bottom: 1px solid var(--kbx-line); }
body.kaboxx-ui .sidebar-menu { padding: 12px 10px 24px; }
body.kaboxx-ui .menu-divider {
    margin: 20px 10px 8px !important;
    color: #98a2b3 !important;
    font-size: var(--kbx-text-xs);
    font-weight: 800 !important;
    letter-spacing: .1em;
}
body.kaboxx-ui .sidebar-menu a,
body.kaboxx-ui .sidebar-menu button {
    min-height: 42px;
    border-radius: 10px;
    color: var(--kbx-muted);
    font-weight: 600;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}
body.kaboxx-ui .sidebar-menu a:hover,
body.kaboxx-ui .sidebar-menu a.active,
body.kaboxx-ui .sidebar-menu li.mm-active > a {
    color: var(--kbx-brand);
    background: color-mix(in srgb, var(--kbx-brand) 9%, white);
}
body.kaboxx-ui .sidebar-dropdown-menu .sidebar-dropdown-menu { margin: 3px 0 8px 12px; padding-inline-start: 8px; border-inline-start: 1px solid var(--kbx-line); }
body.kaboxx-ui .sidebar .sidebar-menu :where(.parent-menu-list, .child-menu-list) {
    margin: 0;
    padding-inline-start: 0;
    list-style: none;
}
body.kaboxx-ui .sidebar .sidebar-menu .sidebar-menu-item > a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    min-height: 44px;
    padding-block: 8px;
    padding-inline: 14px 12px;
    margin-bottom: 3px;
}
body.kaboxx-ui .sidebar .sidebar-menu .sidebar-menu-item > a.has-arrow { padding-inline-end: 38px; }
body.kaboxx-ui .sidebar .sidebar-menu .sidebar-menu-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
}
body.kaboxx-ui .sidebar .sidebar-menu .sidebar-menu-icon svg { display: block; max-width: 20px; max-height: 20px; }
body.kaboxx-ui .sidebar .sidebar-menu .sidebar-menu-label {
    min-width: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
body.kaboxx-ui .sidebar .sidebar-menu .sidebar-menu-badge { justify-self: end; }
body.kaboxx-ui .sidebar .sidebar-menu .parent-menu-list > .sidebar-menu-item > .child-menu-list > .sidebar-menu-item > a {
    padding-inline-start: 30px !important;
}
body.kaboxx-ui .sidebar .sidebar-menu .parent-menu-list > .sidebar-menu-item > .child-menu-list > .sidebar-menu-item > .child-menu-list > .sidebar-menu-item > a {
    padding-inline-start: 46px !important;
}
body.kaboxx-ui .sidebar .sidebar-menu .child-menu-list::before { inset-inline-start: 20px !important; }
body.kaboxx-ui .sidebar .sidebar-menu .child-menu-list .child-menu-list::before { inset-inline-start: 36px !important; }
body.kaboxx-ui .sidebar .sidebar-menu a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--kbx-brand) 28%, transparent);
    outline-offset: 1px;
}
html[dir="rtl"] body.kaboxx-ui .sidebar .sidebar-menu .has-arrow::after { right: auto; left: 20px; }

/* Page hierarchy and surfaces */
body.kaboxx-ui .panel-title,
body.kaboxx-ui .card-title {
    color: var(--kbx-ink);
    font-weight: 750;
    letter-spacing: -.02em;
}
body.kaboxx-ui .panel-title { margin-bottom: 18px; font-size: clamp(20px, 2vw, 26px); }
body.kaboxx-ui .card-title { font-size: 18px; }
body.kaboxx-ui :where(.ot-card, .data-table-card, .white-bg, .card, .modal-content, .dropdown-menu) {
    border: 1px solid var(--kbx-line);
    border-radius: var(--kbx-radius);
    background: var(--kbx-surface);
    box-shadow: var(--kbx-shadow-sm);
}
body.kaboxx-ui .ot-card { padding: clamp(18px, 2.2vw, 28px); }
body.kaboxx-ui .data-table-card { overflow: hidden; }
body.kaboxx-ui .dropdown-menu { padding: 7px; box-shadow: var(--kbx-shadow); }
body.kaboxx-ui .dropdown-item { border-radius: 8px; padding: 9px 11px; color: var(--kbx-muted); }
body.kaboxx-ui .dropdown-item:hover,
body.kaboxx-ui .dropdown-item:focus { color: var(--kbx-brand); background: var(--kbx-info-soft); }
body.kaboxx-ui .modal-content { overflow: hidden; box-shadow: var(--kbx-shadow-lg); }
body.kaboxx-ui .modal-header,
body.kaboxx-ui .modal-footer { padding: 17px 20px; border-color: var(--kbx-line); }
body.kaboxx-ui .modal-body { padding: 20px; }
body.kaboxx-ui .breadcrumb { gap: 4px; margin-bottom: 14px; color: var(--kbx-muted); font-size: 12px; }

/* Buttons and actions */
body.kaboxx-ui :where(.btn, .btn-primary-fill, .btn-primary-outline, .btn-danger-outline, .btn-secondary) {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    padding: 9px 15px;
    font-weight: 700;
    font-size: var(--kbx-text-control);
    line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
body.kaboxx-ui :where(.btn, .btn-primary-fill, .btn-primary-outline, .btn-danger-outline):hover { transform: translateY(-1px); }
body.kaboxx-ui .btn-primary-fill,
body.kaboxx-ui .btn-primary { border-color: var(--ot-primary-btn, var(--kbx-brand)); background: var(--ot-primary-btn, var(--kbx-brand)); color: var(--ot-btn-text, #fff); box-shadow: 0 7px 16px color-mix(in srgb, var(--kbx-brand) 20%, transparent); }
body.kaboxx-ui .btn-primary-fill:hover,
body.kaboxx-ui .btn-primary:hover { border-color: color-mix(in srgb, var(--ot-primary-btn, var(--kbx-brand)) 82%, black); background: color-mix(in srgb, var(--ot-primary-btn, var(--kbx-brand)) 82%, black); color: var(--ot-btn-text, #fff); }
body.kaboxx-ui :where(.btn-outline-primary, .btn-primary-outline) { border: 1px solid color-mix(in srgb, var(--kbx-brand) 40%, white); background: var(--kbx-surface); color: var(--kbx-brand); }
body.kaboxx-ui :where(.btn-outline-secondary, .btn-secondary) { border: 1px solid var(--kbx-line-strong); background: var(--kbx-surface); color: var(--kbx-muted); }
body.kaboxx-ui .btn-danger-outline { border: 1px solid #f6c7c3; background: var(--kbx-surface); color: var(--kbx-danger); }
body.kaboxx-ui .action-icon,
body.kaboxx-ui .asset-action,
body.kaboxx-ui .dropdown-action {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--kbx-line);
    border-radius: 10px !important;
    background: var(--kbx-surface);
    color: var(--kbx-muted);
    box-shadow: none;
}
body.kaboxx-ui .action-icon:hover,
body.kaboxx-ui .asset-action:hover { color: var(--kbx-brand); border-color: color-mix(in srgb, var(--kbx-brand) 32%, white); background: var(--kbx-info-soft); }

/* Forms */
body.kaboxx-ui .form-label,
body.kaboxx-ui label { margin-bottom: 7px; color: var(--kbx-ink); font-size: var(--kbx-text-sm); font-weight: 700; }
body.kaboxx-ui :where(.form-control, .form-select, .ot-form-control, .ot-input, .select2-selection) {
    min-height: 44px;
    border: 1px solid var(--kbx-line-strong) !important;
    border-radius: 10px !important;
    background-color: var(--kbx-surface);
    color: var(--kbx-ink);
    font-size: var(--kbx-text-control);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .025);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body.kaboxx-ui :where(.form-control, .form-select, .ot-form-control, .ot-input):hover { border-color: #98a2b3 !important; }
body.kaboxx-ui :where(.form-control, .form-select, .ot-form-control, .ot-input):focus {
    border-color: var(--kbx-brand) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kbx-brand) 13%, transparent) !important;
}
body.kaboxx-ui textarea.form-control { min-height: 112px; resize: vertical; }
body.kaboxx-ui .form-check-input { width: 18px; height: 18px; border-color: var(--kbx-line-strong); }
body.kaboxx-ui .form-check-input:checked { border-color: var(--kbx-brand); background-color: var(--kbx-brand); }
body.kaboxx-ui :where(.error, .invalid-feedback, .text-danger) { line-height: 1.35; }
body.kaboxx-ui .error,
body.kaboxx-ui .invalid-feedback { display: block; width: 100%; margin-top: 6px; color: var(--kbx-danger) !important; font-size: 12px; font-weight: 600; text-align: start; }
body.kaboxx-ui .is-invalid,
body.kaboxx-ui [aria-invalid="true"] { border-color: #e17168 !important; }
body.kaboxx-ui fieldset,
body.kaboxx-ui .form-section { padding: 20px; border: 1px solid var(--kbx-line); border-radius: var(--kbx-radius); background: var(--kbx-surface-soft); }
body.kaboxx-ui legend { width: auto; padding: 0 7px; color: var(--kbx-ink); font-size: 15px; font-weight: 750; }

/* Tables, filters, pagination */
body.kaboxx-ui .table-responsive { border-radius: inherit; }
body.kaboxx-ui table.table { margin: 0; color: var(--kbx-ink); border-color: var(--kbx-line); }
body.kaboxx-ui table.table tbody { font-size: var(--kbx-text-sm); }
body.kaboxx-ui table.table > :not(caption) > * > * { padding: 14px 16px; border-bottom-color: var(--kbx-line); vertical-align: middle; }
body.kaboxx-ui table.table thead th,
body.kaboxx-ui .thead th {
    color: var(--kbx-muted);
    background: var(--kbx-surface-soft);
    font-size: var(--kbx-text-xs);
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}
body.kaboxx-ui table.table tbody tr { transition: background .14s ease; }
body.kaboxx-ui table.table tbody tr:hover { background: #fbfcfe; }
body.kaboxx-ui .table-toolbar,
body.kaboxx-ui .table-filter-container,
body.kaboxx-ui .search-filter-container { gap: 10px; padding: 16px; border: 1px solid var(--kbx-line); border-radius: var(--kbx-radius); background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui .pagination { gap: 5px; margin-top: 18px; }
body.kaboxx-ui .page-link { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--kbx-line); border-radius: 9px !important; color: var(--kbx-muted); background: var(--kbx-surface); }
body.kaboxx-ui .page-item.active .page-link { border-color: var(--ot-primary-btn, var(--kbx-brand)); background: var(--ot-primary-btn, var(--kbx-brand)); color: var(--ot-btn-text, #fff); }

/* Status, alerts, tabs and empty states */
body.kaboxx-ui :where(.badge, [class*="badge-"]) { border-radius: 999px; padding: 6px 10px; font-size: var(--kbx-text-xs); font-weight: 750; letter-spacing: .015em; }
body.kaboxx-ui :where(.badge-success, .badge.bg-success) { color: var(--kbx-success) !important; background: var(--kbx-success-soft) !important; }
body.kaboxx-ui :where(.badge-warning, .badge.bg-warning) { color: var(--kbx-warning) !important; background: var(--kbx-warning-soft) !important; }
body.kaboxx-ui :where(.badge-danger, .badge.bg-danger) { color: var(--kbx-danger) !important; background: var(--kbx-danger-soft) !important; }
body.kaboxx-ui .alert { border: 1px solid transparent; border-radius: 12px; padding: 13px 15px; }
body.kaboxx-ui .alert-danger { border-color: #ffd4cf; color: var(--kbx-danger); background: var(--kbx-danger-soft); }
body.kaboxx-ui .alert-success { border-color: #b9e7d5; color: var(--kbx-success); background: var(--kbx-success-soft); }
body.kaboxx-ui .alert-warning { border-color: #f5dc8c; color: var(--kbx-warning); background: var(--kbx-warning-soft); }
body.kaboxx-ui .nav-tabs { gap: 5px; padding: 5px; border: 1px solid var(--kbx-line); border-radius: 12px; background: var(--kbx-surface-soft); }
body.kaboxx-ui .nav-tabs .nav-link { border: 0; border-radius: 9px; padding: 9px 13px; color: var(--kbx-muted); font-weight: 700; }
body.kaboxx-ui .nav-tabs .nav-link.active { color: var(--kbx-brand); background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui :where(.empty-table, .empty-state, .no-data-found, .kaboxx-listing-empty) { padding: 54px 20px; border: 1px dashed var(--kbx-line-strong); border-radius: var(--kbx-radius); background: #fbfcfe; color: var(--kbx-muted); text-align: center; }

/* Dashboards and detail views */
body.kaboxx-ui :where(.dashboard-card, .single-dashboard-card, .analytics-card, .summary-card, .asset-kpi) {
    border: 1px solid var(--kbx-line);
    border-radius: var(--kbx-radius);
    background: var(--kbx-surface);
    box-shadow: var(--kbx-shadow-sm);
}
body.kaboxx-ui :where(.dashboard-card, .single-dashboard-card, .analytics-card, .summary-card):hover { box-shadow: var(--kbx-shadow); }
body.kaboxx-ui .asset-hero,
body.kaboxx-ui .registration-review-hero,
body.kaboxx-ui .profile-header { border-radius: var(--kbx-radius-lg); box-shadow: var(--kbx-shadow); }
body.kaboxx-ui .asset-tabs { position: sticky; top: 76px; z-index: 8; padding: 7px; border: 1px solid var(--kbx-line); border-radius: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }

/* Public site and client surfaces */
body.kaboxx-ui main { min-width: 0; }
body.kaboxx-ui :where(.header-area, .navbar-area, .client-header) { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--kbx-line); box-shadow: 0 6px 24px rgba(20,33,61,.04); backdrop-filter: blur(14px); }
body.kaboxx-ui :where(.single-product, .kaboxx-asset-card, .property-card, .profile-account-area .ot-card) { border-color: var(--kbx-line); border-radius: var(--kbx-radius); box-shadow: var(--kbx-shadow-sm); overflow: hidden; }
body.kaboxx-ui :where(.single-product, .kaboxx-asset-card, .property-card):hover { transform: translateY(-2px); box-shadow: var(--kbx-shadow); }
body.kaboxx-ui :where(.single-product, .kaboxx-asset-card, .property-card) { transition: transform .18s ease, box-shadow .18s ease; }
body.kaboxx-ui .section-bg-two { background: var(--kbx-canvas); }
body.kaboxx-ui footer { border-top: 1px solid var(--kbx-line); }

/* Authentication and status */
body.kaboxx-ui .auth-wrapper,
body.kaboxx-ui .login-wrapper { min-height: 100vh; }
body.kaboxx-ui .auth-container { box-shadow: var(--kbx-shadow-lg); }
body.kaboxx-ui .form-container { padding: clamp(24px, 5vw, 56px); }
body.kaboxx-ui .auth-right-content {
    isolation: isolate;
    position: relative;
    align-self: stretch;
    min-height: 100vh;
    overflow: hidden;
    border-inline-start: 1px solid #dbe5f0;
    background: linear-gradient(145deg, #ffffff 0%, #f5f8fc 48%, #edf4fb 100%) !important;
    color: var(--kbx-ink);
}
body.kaboxx-ui .auth-right-content::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -155px;
    inset-inline-end: -130px;
    bottom: auto;
    inset-inline-start: auto;
    width: 430px;
    min-height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 115, 255, .15) 0%, rgba(17, 115, 255, .05) 48%, transparent 70%);
    pointer-events: none;
}
body.kaboxx-ui .auth-right-content::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset-inline-start: -95px;
    bottom: -115px;
    width: 310px;
    height: 310px;
    border: 58px solid rgba(249, 148, 23, .07);
    border-radius: 50%;
    pointer-events: none;
}
body.kaboxx-ui .auth-right-content > * { position: relative; z-index: 1; }
body.kaboxx-ui .auth-right-content .title {
    margin-bottom: 5px;
    color: #172033 !important;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.12;
}
body.kaboxx-ui .auth-right-content .para {
    margin-bottom: 22px;
    color: #475467 !important;
    font-size: 18px;
}
body.kaboxx-ui .auth-right-content > p:not(.para) { color: #5b687b !important; }
body.kaboxx-ui .auth-right-content .feature {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    margin-bottom: 13px;
    border: 1px solid #cfe0f7;
    border-radius: 999px;
    background: #eaf3ff;
    color: #175cad;
    font-size: var(--kbx-text-xs);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
body.kaboxx-ui .auth-right-content .feature-list {
    gap: 9px;
    width: 100%;
    margin: 4px 0 0;
}
body.kaboxx-ui .auth-right-content .feature-list .list-items {
    color: #344054 !important;
    font-weight: 650;
}
body.kaboxx-ui .auth-right-content .feature-list .icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #e7f1ff;
    color: #1764bb;
}
body.kaboxx-ui .auth-feature-slider {
    border: 6px solid #fff;
    border-radius: 18px;
    background: #e8eef5;
    box-shadow: 0 20px 48px rgba(40, 61, 89, .16);
}
body.kaboxx-ui .auth-feature-slider-dot {
    width: 9px;
    height: 9px;
    border-color: rgba(255, 255, 255, .95);
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 1px 5px rgba(16, 24, 40, .25);
}
body.kaboxx-ui .auth-feature-slider-dot.is-active { background: var(--kbx-brand); }
body.kaboxx-ui .auth-popup-dialog { border: 1px solid var(--kbx-line); border-radius: var(--kbx-radius-lg); box-shadow: var(--kbx-shadow-lg); }
body.kaboxx-ui.pending-dashboard-body { background: var(--kbx-canvas); }
body.kaboxx-ui .pending-dashboard-navbar { border-bottom: 1px solid var(--kbx-line); background: rgba(255,255,255,.95); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui .pending-dashboard-brand-favicon { display: none; }

/* Error screens */
body.kaboxx-ui .error-page,
body.kaboxx-ui .error-wrapper { min-height: 100vh; display: grid; place-items: center; text-align: center; }

/* Shared print workspace and operational documents */
body.kaboxx-ui #printableArea { max-width: 980px; margin: 0 auto; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--kbx-line); border-radius: var(--kbx-radius); background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui #printableArea .top { border-bottom-color: var(--kbx-brand) !important; }
body.kaboxx-ui #printableArea .invoice-title { color: var(--kbx-ink); }
body.kaboxx-ui #printableArea .summary { padding: 15px 18px; border-radius: 10px; background: var(--kbx-surface-soft); }

/* Responsive register cards - labels are supplied by kaboxx-ui.js. */
@media (max-width: 767.98px) {
    body.kaboxx-ui .page-content { padding: 18px 14px 28px; }
    body.kaboxx-ui .ot-card { padding: 17px; }
    body.kaboxx-ui .header { min-height: 64px; }
    body.kaboxx-ui .table-toolbar,
    body.kaboxx-ui .table-filter-container,
    body.kaboxx-ui .search-filter-container { align-items: stretch !important; flex-direction: column !important; }
    body.kaboxx-ui .table-toolbar :where(.btn, .form-control, .form-select),
    body.kaboxx-ui .table-filter-container :where(.btn, .form-control, .form-select) { width: 100%; }
    body.kaboxx-ui .data-table-card__responsive { overflow: visible; }
    body.kaboxx-ui table.kaboxx-responsive-table,
    body.kaboxx-ui table.kaboxx-responsive-table tbody,
    body.kaboxx-ui table.kaboxx-responsive-table tr,
    body.kaboxx-ui table.kaboxx-responsive-table td { display: block; width: 100%; }
    body.kaboxx-ui table.kaboxx-responsive-table { border: 0; background: transparent; }
    body.kaboxx-ui table.kaboxx-responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body.kaboxx-ui table.kaboxx-responsive-table tbody { display: grid; gap: 12px; }
    body.kaboxx-ui table.kaboxx-responsive-table tbody tr { padding: 8px 14px; border: 1px solid var(--kbx-line); border-radius: 13px; background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); }
    body.kaboxx-ui table.kaboxx-responsive-table tbody td { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 !important; border-bottom: 1px solid #edf1f5; text-align: end !important; }
    body.kaboxx-ui table.kaboxx-responsive-table tbody td:last-child { border-bottom: 0; }
    body.kaboxx-ui table.kaboxx-responsive-table tbody td::before { content: attr(data-kaboxx-label); flex: 0 0 42%; color: var(--kbx-muted); font-size: var(--kbx-text-xs); font-weight: 800; letter-spacing: .045em; text-align: start; text-transform: uppercase; }
    body.kaboxx-ui table.kaboxx-responsive-table tbody td[colspan] { display: block; text-align: center !important; }
    body.kaboxx-ui table.kaboxx-responsive-table tbody td[colspan]::before { content: none; }
    body.kaboxx-ui #printableArea { padding: 18px; overflow-x: auto; }
}

@media (max-width: 575.98px) {
    body.kaboxx-ui :where(.btn, .btn-primary-fill, .btn-primary-outline, .btn-danger-outline) { min-height: 42px; }
    body.kaboxx-ui .modal-dialog { margin: 10px; }
    body.kaboxx-ui .nav-tabs { overflow-x: auto; flex-wrap: nowrap; }
    body.kaboxx-ui .nav-tabs .nav-link { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    body.kaboxx-ui *,
    body.kaboxx-ui *::before,
    body.kaboxx-ui *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    body.kaboxx-ui { background: #fff !important; }
    body.kaboxx-ui #printableArea { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
}

/* Accessible account workspace switcher. Kept independent of Bootstrap dropdown rules. */
body.kaboxx-ui .kaboxx-role-switcher { position: relative; display: inline-flex; flex: 0 0 auto; overflow: visible; }
body.kaboxx-ui .kaboxx-role-switcher__button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; max-width: 230px;
    padding: 8px 12px; border: 1px solid #cddbea; border-radius: 11px; background: var(--kbx-surface); color: #233348;
    box-shadow: 0 3px 10px rgba(31, 52, 77, .05); font-size: 14px; font-weight: 750; line-height: 1.2; cursor: pointer;
}
body.kaboxx-ui .kaboxx-role-switcher__button:hover { border-color: #4c83b5; color: var(--kbx-brand); }
body.kaboxx-ui .kaboxx-role-switcher__button:focus-visible,
body.kaboxx-ui .kaboxx-role-switcher__option:focus-visible,
body.kaboxx-ui .kaboxx-role-switcher__manage:focus-visible { outline: 3px solid rgba(8, 84, 153, .2); outline-offset: 2px; }
body.kaboxx-ui .kaboxx-role-switcher__button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.kaboxx-ui .kaboxx-role-switcher svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
body.kaboxx-ui .kaboxx-role-switcher__swap { width: 20px; height: 20px; }
body.kaboxx-ui .kaboxx-role-switcher__chevron { width: 16px; height: 16px; transition: transform .18s ease; }
body.kaboxx-ui .kaboxx-role-switcher.is-open .kaboxx-role-switcher__chevron { transform: rotate(180deg); }
body.kaboxx-ui .kaboxx-role-switcher__menu {
    position: absolute; inset: calc(100% + 8px) 0 auto auto; z-index: 1085; width: max-content; min-width: 250px; max-width: min(310px, calc(100vw - 24px));
    max-height: min(430px, calc(100dvh - 90px)); padding: 8px; overflow: auto; opacity: 1; visibility: visible;
    border: 1px solid #dce6f0; border-radius: 13px; background: var(--kbx-surface); box-shadow: 0 18px 44px rgba(31, 52, 77, .2);
}
body.kaboxx-ui .kaboxx-role-switcher__menu[hidden] { display: none !important; }
body.kaboxx-ui .kaboxx-role-switcher__heading { padding: 7px 10px; color: #64748b; font-size: 12px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
body.kaboxx-ui .kaboxx-role-switcher__menu form { margin: 0; }
body.kaboxx-ui .kaboxx-role-switcher__option,
body.kaboxx-ui .kaboxx-role-switcher__manage {
    display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 11px;
    border: 0; border-radius: 9px; background: transparent; color: #233348; font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.3; text-align: start; text-decoration: none; cursor: pointer;
}
body.kaboxx-ui .kaboxx-role-switcher__option:hover,
body.kaboxx-ui .kaboxx-role-switcher__manage:hover { background: color-mix(in srgb, var(--kbx-brand) 7%, var(--kbx-surface)); color: var(--kbx-brand); }
body.kaboxx-ui .kaboxx-role-switcher__option.is-active { background: color-mix(in srgb, var(--kbx-brand) 10%, var(--kbx-surface)); color: var(--kbx-brand); font-weight: 800; cursor: default; opacity: 1; }
body.kaboxx-ui .kaboxx-role-switcher__current { display: inline-flex; align-items: center; color: #087957; }
body.kaboxx-ui .kaboxx-role-switcher__current svg { width: 18px; height: 18px; stroke-width: 2.3; }
body.kaboxx-ui .kaboxx-role-switcher__manage { justify-content: flex-start; margin-top: 6px; border-top: 1px solid #e4ebf2; border-radius: 0 0 8px 8px; }
body.kaboxx-ui .kaboxx-role-switcher__manage svg { width: 19px; height: 19px; }
body.kaboxx-ui .kaboxx-role-switcher__status { min-height: 0; color: var(--kbx-brand); font-size: 13px; font-weight: 750; text-align: center; }
body.kaboxx-ui .kaboxx-role-switcher__status:not(:empty) { min-height: 36px; padding: 9px 10px 5px; }
body.kaboxx-ui .kaboxx-role-switcher.is-switching .kaboxx-role-switcher__menu { pointer-events: none; }
body.kaboxx-ui .kaboxx-role-switcher.is-switching .kaboxx-role-switcher__button { opacity: .72; cursor: wait; }

/* Responsive header controls and overflow disclosure */
body.kaboxx-ui .kaboxx-header-more { position: relative; display: none; flex: 0 0 auto; }
body.kaboxx-ui .kaboxx-header-icon-button {
    display: inline-grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid #d9e1ec;
    border-radius: 12px; background: var(--kbx-surface); color: #24324a; box-shadow: 0 3px 10px rgba(31,52,77,.05); cursor: pointer;
}
body.kaboxx-ui .kaboxx-header-icon-button:hover { border-color: var(--kbx-brand); color: var(--kbx-brand); background: var(--kbx-info-soft); }
body.kaboxx-ui .kaboxx-header-icon-button svg { width: 22px; height: 22px; fill: currentColor; }
body.kaboxx-ui .kaboxx-header-more__menu {
    position: absolute; z-index: 1090; inset: calc(100% + 9px) 0 auto auto; width: min(310px, calc(100vw - 20px));
    max-height: min(520px, calc(100dvh - 84px)); padding: 8px; overflow-y: auto; border: 1px solid var(--kbx-line);
    border-radius: 14px; background: var(--kbx-surface); box-shadow: var(--kbx-shadow-lg);
}
body.kaboxx-ui .kaboxx-header-more__menu[hidden] { display: none !important; }
body.kaboxx-ui .kaboxx-header-more__heading { padding: 7px 10px; color: var(--kbx-muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.kaboxx-ui .kaboxx-header-more__section { padding: 7px 10px 4px; color: var(--kbx-subtle); font-size: var(--kbx-text-xs); font-weight: 800; text-transform: uppercase; }
body.kaboxx-ui .kaboxx-header-more__menu form { margin: 0; }
body.kaboxx-ui .kaboxx-header-more__item {
    display: flex; width: 100%; min-height: 44px; align-items: center; gap: 10px; padding: 10px 11px; border: 0;
    border-radius: 9px; background: transparent; color: var(--kbx-ink); font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: start; text-decoration: none; cursor: pointer;
}
body.kaboxx-ui .kaboxx-header-more__item:hover,
body.kaboxx-ui .kaboxx-header-more__item:focus { color: var(--kbx-brand); background: var(--kbx-info-soft); }
body.kaboxx-ui .kaboxx-header-more__item i { width: 20px; flex: 0 0 20px; font-size: 19px; text-align: center; }
body.kaboxx-ui .kaboxx-header-more__item.is-current { color: var(--kbx-brand); background: var(--kbx-info-soft); }
body.kaboxx-ui .kaboxx-header-more__divider { height: 1px; margin: 6px 4px; background: var(--kbx-line); }
body.kaboxx-ui .kaboxx-header-more__tablet-hide { display: none; }
body.kaboxx-ui .kaboxx-sidebar-backdrop { display: none; }

/* One account and workspace menu for the authenticated shell */
body.kaboxx-ui .kaboxx-account-menu { position: relative; flex: 0 0 auto; }
body.kaboxx-ui .kaboxx-account-menu__toggle {
    display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 4px 9px 4px 5px; border: 1px solid #d9e1ec;
    border-radius: 14px; background: var(--kbx-surface); color: var(--kbx-ink); box-shadow: 0 3px 10px rgba(31,52,77,.05); cursor: pointer;
}
body.kaboxx-ui .kaboxx-account-menu__toggle:hover,
body.kaboxx-ui .kaboxx-account-menu__toggle:focus-visible { border-color: var(--kbx-brand); color: var(--kbx-brand); background: var(--kbx-info-soft); }
body.kaboxx-ui .kaboxx-account-menu__toggle:focus-visible,
body.kaboxx-ui .kaboxx-account-menu__item:focus-visible,
body.kaboxx-ui .kaboxx-account-menu__logout:focus-visible,
body.kaboxx-ui .kaboxx-account-menu__close:focus-visible { outline: 3px solid color-mix(in srgb, var(--kbx-brand) 25%, transparent); outline-offset: 2px; }
body.kaboxx-ui .kaboxx-account-menu__toggle-copy { display: grid; min-width: 0; text-align: start; line-height: 1.15; }
body.kaboxx-ui .kaboxx-account-menu__toggle-copy strong { max-width: 150px; overflow: hidden; color: inherit; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.kaboxx-ui .kaboxx-account-menu__toggle-copy small { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .kaboxx-account-menu__toggle > i { font-size: 19px; }
body.kaboxx-ui .kaboxx-account-menu__avatar { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; overflow: hidden; border: 1px solid #dce5ed; border-radius: 11px; background: var(--kbx-surface-soft); }
body.kaboxx-ui .kaboxx-account-menu__avatar img { width: 100%; height: 100%; object-fit: cover; }
body.kaboxx-ui .kaboxx-account-menu__avatar--large { flex-basis: 50px; width: 50px; height: 50px; border-radius: 14px; }
body.kaboxx-ui .kaboxx-account-menu__panel {
    position: absolute; z-index: 1090; inset: calc(100% + 9px) 0 auto auto; display: flex; width: min(370px, calc(100vw - 20px));
    max-height: min(680px, calc(100dvh - 84px)); overflow: hidden; flex-direction: column; border: 1px solid var(--kbx-line);
    border-radius: 18px; background: var(--kbx-surface); box-shadow: 0 24px 65px rgba(15,23,42,.22);
}
body.kaboxx-ui .kaboxx-account-menu__panel[hidden],
body.kaboxx-ui .kaboxx-account-menu__backdrop[hidden] { display: none !important; }
body.kaboxx-ui .kaboxx-account-menu__identity { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--kbx-line); background: linear-gradient(135deg,#fff 0%,#f4f8ff 100%); }
body.kaboxx-ui .kaboxx-account-menu__identity > div { display: grid; min-width: 0; gap: 2px; }
body.kaboxx-ui .kaboxx-account-menu__identity strong,
body.kaboxx-ui .kaboxx-account-menu__identity span,
body.kaboxx-ui .kaboxx-account-menu__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.kaboxx-ui .kaboxx-account-menu__identity strong { color: var(--kbx-ink); font-size: 16px; }
body.kaboxx-ui .kaboxx-account-menu__identity span { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .kaboxx-account-menu__identity small { color: var(--kbx-brand); font-size: 12px; font-weight: 750; }
body.kaboxx-ui .kaboxx-account-menu__close { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 0; border-radius: 10px; background: #edf2f7; color: #45566c; font-size: 19px; cursor: pointer; }
body.kaboxx-ui .kaboxx-account-menu__content { display: grid; gap: 7px; min-height: 0; padding: 9px; overflow-y: auto; overscroll-behavior: contain; }
body.kaboxx-ui .kaboxx-account-menu__section { display: grid; gap: 2px; padding-bottom: 7px; border-bottom: 1px solid var(--kbx-line); }
body.kaboxx-ui .kaboxx-account-menu__section:last-child { padding-bottom: 0; border-bottom: 0; }
body.kaboxx-ui .kaboxx-account-menu__section-title { padding: 7px 10px 4px; color: var(--kbx-subtle); font-size: 12px; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
body.kaboxx-ui .kaboxx-account-menu__section form,
body.kaboxx-ui .kaboxx-account-menu__footer form { margin: 0; }
body.kaboxx-ui .kaboxx-account-menu__item {
    display: grid; width: 100%; min-height: 46px; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 11px;
    border: 0; border-radius: 10px; background: transparent; color: var(--kbx-ink); font: inherit; font-size: 14px; font-weight: 700; text-align: start; text-decoration: none; cursor: pointer;
}
body.kaboxx-ui .kaboxx-account-menu__item:hover,
body.kaboxx-ui .kaboxx-account-menu__item:focus { color: var(--kbx-brand); background: var(--kbx-info-soft); }
body.kaboxx-ui .kaboxx-account-menu__item > i { width: 22px; color: var(--kbx-brand); font-size: 20px; text-align: center; }
body.kaboxx-ui .kaboxx-account-menu__item > small { padding: 3px 7px; border-radius: 99px; color: #087a4b; background: #e8f7f1; font-size: 12px; font-weight: 800; }
body.kaboxx-ui .kaboxx-account-menu__item.is-current { background: var(--kbx-info-soft); color: var(--kbx-brand); cursor: default; opacity: 1; }
body.kaboxx-ui .kaboxx-account-menu__footer { flex: 0 0 auto; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--kbx-line); background: rgba(255,255,255,.98); }
body.kaboxx-ui .kaboxx-account-menu__logout { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid #f0b8b3; border-radius: 11px; background: #fff1f0; color: #b42318; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
body.kaboxx-ui .kaboxx-account-menu__logout:hover { border-color: #df8d86; background: #fee4e2; }
body.kaboxx-ui .kaboxx-account-menu__backdrop { display: none; }
body.kaboxx-ui.kaboxx-account-menu-open { overflow: hidden; }

@media (max-width: 1199.98px) {
    body.kaboxx-ui .kaboxx-header-more { display: inline-flex; }
    body.kaboxx-ui .kaboxx-header-desktop-secondary { display: none !important; }
    body.kaboxx-ui .header { padding-inline: 10px; }
    body.kaboxx-ui .header-controls { margin-inline-start: auto; }
    body.kaboxx-ui .header-content-left .header-search { display: none !important; }
}
body.kaboxx-ui .header .dropdown-menu.show { max-height: min(520px, calc(100dvh - 84px)); overflow-y: auto; opacity: 1; visibility: visible; }

/* Compact profile-completion control shared by every authenticated header. */
body.kaboxx-ui .profile-completion-menu {
    position: relative;
    z-index: 1092;
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 0;
}
body.kaboxx-ui .profile-completion-menu > summary {
    list-style: none;
}
body.kaboxx-ui .profile-completion-menu > summary::-webkit-details-marker {
    display: none;
}
body.kaboxx-ui .profile-completion-menu__trigger {
    display: inline-grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid #cfe0df;
    border-radius: 12px;
    background: linear-gradient(145deg, #f7fffd, #e8f7f3);
    color: #087667;
    box-shadow: 0 3px 10px rgba(31,52,77,.06);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}
body.kaboxx-ui .profile-completion-menu__trigger:hover,
body.kaboxx-ui .profile-completion-menu[open] .profile-completion-menu__trigger {
    border-color: #087667;
    background: #087667;
    color: #fff;
}
body.kaboxx-ui .profile-completion-menu__trigger:focus-visible,
body.kaboxx-ui .profile-completion-menu__panel a:focus-visible {
    outline: 3px solid rgba(8,118,103,.25);
    outline-offset: 2px;
}
body.kaboxx-ui .profile-completion-menu__percentage {
    white-space: nowrap;
}
body.kaboxx-ui .profile-completion-menu__panel {
    position: absolute;
    z-index: 1100;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(360px, calc(100vw - 20px));
    max-height: min(560px, calc(100dvh - 84px));
    padding: 15px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--kbx-line, #e3e8ef);
    border-radius: 16px;
    background: var(--kbx-surface, #fff);
    color: var(--kbx-ink, #172033);
    box-shadow: 0 22px 55px rgba(15,23,42,.22);
}
body.kaboxx-ui .profile-completion-menu__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}
body.kaboxx-ui .profile-completion-menu__heading > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}
body.kaboxx-ui .profile-completion-menu__heading span {
    color: var(--kbx-ink, #172033);
    font-size: 16px;
    font-weight: 850;
}
body.kaboxx-ui .profile-completion-menu__heading strong {
    color: var(--kbx-muted, #667085);
    font-size: 12px;
    font-weight: 650;
}
body.kaboxx-ui .profile-completion-menu__heading b {
    flex: 0 0 auto;
    color: #087667;
    font-size: 20px;
}
body.kaboxx-ui .profile-completion-menu__panel progress {
    display: block;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #e9f0f2;
    color: #087667;
    accent-color: #087667;
}
body.kaboxx-ui .profile-completion-menu__panel progress::-webkit-progress-bar {
    border-radius: 999px;
    background: #e9f0f2;
}
body.kaboxx-ui .profile-completion-menu__panel progress::-webkit-progress-value {
    border-radius: 999px;
    background: #087667;
}
body.kaboxx-ui .profile-completion-menu__panel progress::-moz-progress-bar {
    border-radius: 999px;
    background: #087667;
}
body.kaboxx-ui .profile-completion-menu__checklist {
    display: grid;
    gap: 3px;
    margin: 13px 0;
    padding: 0;
    list-style: none;
}
body.kaboxx-ui .profile-completion-menu__checklist li {
    display: grid;
    min-width: 0;
    min-height: 42px;
    grid-template-columns: 28px minmax(0,1fr);
    align-items: center;
    gap: 8px;
    padding: 6px 7px;
    border-radius: 10px;
    color: #435466;
    font-size: 13px;
    line-height: 1.35;
}
body.kaboxx-ui .profile-completion-menu__checklist li.is-pending {
    background: #f8fafb;
}
body.kaboxx-ui .profile-completion-menu__checklist li > :not(.profile-completion-menu__status) {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.kaboxx-ui .profile-completion-menu__status {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: #e9f7f3;
    color: #087667;
    font-size: 15px;
}
body.kaboxx-ui .profile-completion-menu__checklist .is-pending .profile-completion-menu__status {
    background: #eef3f6;
    color: #687b88;
}
body.kaboxx-ui .profile-completion-menu__checklist a {
    display: flex;
    min-height: 30px;
    align-items: center;
    color: #0c6d62;
    font-weight: 750;
    text-decoration: none;
}
body.kaboxx-ui .profile-completion-menu__checklist a:hover {
    text-decoration: underline;
}
body.kaboxx-ui .profile-completion-menu__referrals {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border-top: 1px solid var(--kbx-line, #e3e8ef);
    color: var(--kbx-brand, #172554);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
body.kaboxx-ui .profile-completion-menu__referrals i {
    flex: 0 0 auto;
    font-size: 19px;
}
@media (max-width: 991.98px) {
    body.kaboxx-ui .header { width: 100%; height: 68px; min-height: 68px; padding: 8px 10px; }
    body.kaboxx-ui .header-controls { gap: 8px; }
    body.kaboxx-ui .header-content-left { flex: 0 0 auto; }
    body.kaboxx-ui .page-content { padding-top: 20px; }
    body.kaboxx-ui.kaboxx-sidebar-open { overflow: hidden; }
    body.kaboxx-ui .kaboxx-sidebar-backdrop { position: fixed; z-index: 90; inset: 68px 0 0; display: block; border: 0; background: rgba(15,23,42,.48); backdrop-filter: blur(2px); }
    body.kaboxx-ui .kaboxx-sidebar-backdrop[hidden] { display: none !important; }
    body.kaboxx-ui #layout-wrapper.sidebar-expand .sidebar { z-index: 100; box-shadow: 18px 0 50px rgba(15,23,42,.2); }
    body.kaboxx-ui.kaboxx-account-menu-open .header {
        z-index: 1200;
        overflow: visible !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    body.kaboxx-ui .kaboxx-account-menu__toggle { width: 44px; height: 44px; min-height: 44px; justify-content: center; padding: 3px; border-radius: 12px; }
    body.kaboxx-ui .kaboxx-account-menu__toggle-copy,
    body.kaboxx-ui .kaboxx-account-menu__toggle > i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body.kaboxx-ui .kaboxx-account-menu__panel {
        position: fixed; z-index: 1202; inset: 0 0 auto auto; width: min(390px, calc(100vw - 28px));
        height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100dvh; max-height: 100dvh;
        border: 0; border-radius: 20px 0 0 20px; box-shadow: -20px 0 60px rgba(15,23,42,.24);
    }
    body.kaboxx-ui .kaboxx-account-menu__backdrop {
        position: fixed; z-index: 1201; inset: 0 auto auto 0; display: block; width: 100vw;
        height: 100vh; height: 100dvh; border: 0; background: rgba(15,23,42,.52); backdrop-filter: blur(2px);
    }
    body.kaboxx-ui .kaboxx-account-menu__identity { padding-top: calc(18px + env(safe-area-inset-top)); }
    body.kaboxx-ui .profile-completion-menu__panel {
        position: fixed;
        top: 72px;
        inset-inline-end: 10px;
        width: min(360px, calc(100vw - 20px));
        max-height: calc(100dvh - 92px - var(--mobile-workspace-nav-height, 0px) - env(safe-area-inset-bottom));
    }
}
@media (max-width: 767.98px) {
    body.kaboxx-ui .kaboxx-header-tablet-action { display: none !important; }
    body.kaboxx-ui .kaboxx-header-more__tablet-hide { display: flex; }
    body.kaboxx-ui .header-controls > .badge,
    body.kaboxx-ui .header-controls .header-approval-badge { display: none !important; }
    body.kaboxx-ui .header .profile-photo { width: 40px !important; height: 40px !important; }
    body.kaboxx-ui .role-table { min-width: 0; }
    body.kaboxx-ui .role-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.kaboxx-ui .role-table tbody,
    body.kaboxx-ui .role-table tr,
    body.kaboxx-ui .role-table td { display: block; width: 100%; }
    body.kaboxx-ui .role-table tbody { display: grid; gap: 12px; }
    body.kaboxx-ui .role-table tbody tr { padding: 8px 14px; border: 1px solid var(--kbx-line); border-radius: 13px; background: var(--kbx-surface); }
    body.kaboxx-ui .role-table tbody td { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; overflow-wrap: anywhere; border-bottom: 1px solid var(--kbx-line); text-align: end; }
    body.kaboxx-ui .role-table tbody td:last-child { border-bottom: 0; }
    body.kaboxx-ui .role-table tbody td::before { content: attr(data-label); flex: 0 0 38%; color: var(--kbx-muted); font-size: var(--kbx-text-xs); font-weight: 800; text-align: start; text-transform: uppercase; }
    body.kaboxx-ui .role-table tbody td[colspan]::before { content: none; }
    body.kaboxx-ui .role-activity-item { min-width: 0; }
    body.kaboxx-ui .role-activity-item > strong:last-child { margin-inline-start: 52px; overflow-wrap: anywhere; }
    body.kaboxx-ui .pending-dashboard-account-copy { display: none; }
}
@media (max-width: 575.98px) {
    body.kaboxx-ui .kaboxx-header-icon-button { width: 44px; height: 44px; }
    body.kaboxx-ui .kaboxx-header-more__menu { position: fixed; inset: 66px 8px auto auto; width: min(310px, calc(100vw - 16px)); }
    body.kaboxx-ui .header-controls { gap: 7px; }
    body.kaboxx-ui .role-dashboard__hero .role-dashboard__actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.kaboxx-ui .role-dashboard__hero .role-dashboard__button { width: 100%; min-width: 0; padding-inline: 10px; }
    body.kaboxx-ui .client-profile-control { display: none !important; }
    body.kaboxx-ui .menu_quick_actions { min-width: 0; }
    body.kaboxx-ui .menu_quick_actions > ul { min-width: 0; gap: 4px !important; }
    body.kaboxx-ui .kaboxx-account-menu__panel { width: min(360px, calc(100vw - 16px)); }
    body.kaboxx-ui .pending-dashboard-navbar { gap: 8px; padding-inline: 10px; }
    body.kaboxx-ui .pending-dashboard-brand { min-width: 0; }
    body.kaboxx-ui .pending-dashboard-brand-logo { width: auto; max-width: 96px; max-height: 36px; }
}
@media (max-width: 379.98px) {
    body.kaboxx-ui .header-controls { gap: 6px; }
    body.kaboxx-ui .kaboxx-header-mobile-optional { display: none !important; }
    body.kaboxx-ui .pending-dashboard-brand-logo { display: none; }
    body.kaboxx-ui .pending-dashboard-brand-favicon { display: block; width: 32px; height: 32px; border-radius: 7px; object-fit: contain; }
    body.kaboxx-client-ui .client-workspace-brand { max-width: 86px; }
    body.kaboxx-client-ui .client-workspace-header__actions { gap: 3px; }
}
@media (max-width: 575.98px) {
    body.kaboxx-ui .kaboxx-role-switcher__button { width: 42px; max-width: 42px; padding: 8px; }
    body.kaboxx-ui .kaboxx-role-switcher__button > span,
    body.kaboxx-ui .kaboxx-role-switcher__chevron { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body.kaboxx-ui .kaboxx-role-switcher__menu { position: fixed; inset: 68px 10px auto auto; width: min(300px, calc(100vw - 20px)); max-height: calc(100dvh - 84px); }
}

/* Role-specific dashboard system */
body.kaboxx-ui .role-dashboard {
    --rd-accent: var(--kbx-brand);
    display: grid;
    gap: 18px;
    width: min(1540px, 100%);
    margin-inline: auto;
    color: var(--kbx-ink);
    font-size: 15px;
}
body.kaboxx-ui .role-dashboard--client,
body.kaboxx-ui .role-dashboard--owner { --rd-accent: #0f766e; }
body.kaboxx-ui .role-dashboard--manager,
body.kaboxx-ui .role-dashboard--property-manager { --rd-accent: #4f46e5; }
body.kaboxx-ui .role-dashboard--maintainer { --rd-accent: #7c3aed; }
body.kaboxx-ui .role-dashboard--admin,
body.kaboxx-ui .role-dashboard--super-admin { --rd-accent: #175cd3; }
body.kaboxx-ui .role-dashboard__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 176px;
    padding: clamp(24px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--rd-accent) 20%, white);
    border-radius: 24px;
    background: linear-gradient(125deg, color-mix(in srgb, var(--rd-accent) 12%, white), #fff 64%);
    box-shadow: var(--kbx-shadow);
}
body.kaboxx-ui .role-dashboard__hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--rd-accent) 9%, transparent);
}
body.kaboxx-ui .role-dashboard__hero > * { position: relative; z-index: 1; }
body.kaboxx-ui .role-dashboard__eyebrow,
body.kaboxx-ui .role-panel__kicker {
    display: block;
    color: var(--rd-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
body.kaboxx-ui .role-dashboard__hero h1 { margin: 6px 0 8px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }
body.kaboxx-ui .role-dashboard__hero p { max-width: 720px; margin: 0; color: var(--kbx-muted); font-size: 16px; line-height: 1.65; }
body.kaboxx-ui .role-dashboard__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
body.kaboxx-ui .role-dashboard__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--kbx-line-strong);
    border-radius: 12px;
    color: var(--kbx-ink);
    background: var(--kbx-surface);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: var(--kbx-shadow-sm);
}
body.kaboxx-ui .role-dashboard__button:hover { color: var(--rd-accent); border-color: var(--rd-accent); transform: translateY(-1px); }
body.kaboxx-ui .role-dashboard__button--primary { color: #fff; border-color: var(--rd-accent); background: var(--rd-accent); }
body.kaboxx-ui .role-dashboard__button--primary:hover { color: #fff; filter: brightness(.94); }
body.kaboxx-ui .role-dashboard__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.kaboxx-ui .role-stat-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 2px 12px;
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--kbx-line);
    border-radius: 17px;
    background: var(--kbx-surface);
    box-shadow: var(--kbx-shadow-sm);
    color: var(--kbx-ink);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.kaboxx-ui .role-stat-card:hover,
body.kaboxx-ui .role-stat-card:focus-visible { color: var(--kbx-ink); border-color: color-mix(in srgb, var(--rd-accent) 42%, var(--kbx-line)); box-shadow: var(--kbx-shadow); transform: translateY(-2px); }
body.kaboxx-ui .role-stat-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--rd-accent) 24%, transparent); outline-offset: 2px; }
body.kaboxx-ui .role-stat-card__icon { grid-row: 1 / span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #175cd3; background: #eef4ff; font-size: 24px; }
body.kaboxx-ui .role-stat-card--green .role-stat-card__icon { color: #087a4b; background: #e8f7f1; }
body.kaboxx-ui .role-stat-card--amber .role-stat-card__icon { color: #9a6700; background: #fff7d6; }
body.kaboxx-ui .role-stat-card--violet .role-stat-card__icon { color: #6941c6; background: #f4f0ff; }
body.kaboxx-ui .role-stat-card--red .role-stat-card__icon { color: #b42318; background: #fff0ee; }
body.kaboxx-ui .role-stat-card__label { color: var(--kbx-muted); font-size: 14px; font-weight: 650; }
body.kaboxx-ui .role-stat-card > strong { overflow-wrap: anywhere; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.15; }
body.kaboxx-ui .role-stat-card > small { display: flex; align-items: center; gap: 5px; color: var(--kbx-subtle); font-size: 12px; }

/* Admin people and company management */
body.kaboxx-ui .admin-user-management,
body.kaboxx-ui .admin-company-directory { --aum-blue: #175cd3; --aum-green: #087a4b; --aum-amber: #9a6700; --aum-red: #b42318; display: grid; gap: 18px; }
body.kaboxx-ui .admin-user-management__hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; overflow: hidden; border: 1px solid #dbe5f1; border-radius: 20px; background: radial-gradient(circle at 92% 10%, rgba(23,92,211,.14), transparent 28%), linear-gradient(135deg,#fff 0%,#f7faff 100%); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui .admin-user-management__eyebrow { display: block; margin-bottom: 5px; color: var(--aum-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body.kaboxx-ui .admin-user-management__hero h1 { margin: 0; font-size: clamp(25px,3vw,36px); line-height: 1.15; }
body.kaboxx-ui .admin-user-management__hero p { max-width: 680px; margin: 7px 0 0; color: var(--kbx-muted); }
body.kaboxx-ui .admin-user-management__hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.kaboxx-ui .admin-user-management__metrics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
body.kaboxx-ui .admin-company-directory__metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
body.kaboxx-ui .admin-user-metric { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 17px; border: 1px solid var(--kbx-line); border-radius: 16px; color: var(--kbx-ink); background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
body.kaboxx-ui .admin-user-metric:hover,
body.kaboxx-ui .admin-user-metric:focus-visible { color: var(--kbx-ink); border-color: #b9cdf0; box-shadow: var(--kbx-shadow); transform: translateY(-2px); }
body.kaboxx-ui .admin-user-metric > span { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--aum-blue); background: #eef4ff; font-size: 22px; }
body.kaboxx-ui .admin-user-metric--green > span { color: var(--aum-green); background: #e8f7f1; }
body.kaboxx-ui .admin-user-metric--amber > span { color: var(--aum-amber); background: #fff7d6; }
body.kaboxx-ui .admin-user-metric--red > span { color: var(--aum-red); background: #fff0ee; }
body.kaboxx-ui .admin-user-metric--violet > span { color: #6941c6; background: #f4f0ff; }
body.kaboxx-ui .admin-user-metric small,
body.kaboxx-ui .admin-user-metric strong { display: block; }
body.kaboxx-ui .admin-user-metric small { overflow: hidden; color: var(--kbx-muted); font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
body.kaboxx-ui .admin-user-metric strong { margin-top: 2px; font-size: 24px; line-height: 1; }
body.kaboxx-ui .admin-user-panel { overflow: hidden; border: 1px solid var(--kbx-line); border-radius: 19px; background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui .admin-user-panel__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 22px 17px; }
body.kaboxx-ui .admin-user-panel__heading h2 { margin: 0; font-size: 21px; }
body.kaboxx-ui .admin-user-panel__heading p { margin: 3px 0 0; color: var(--kbx-muted); font-size: 13px; }
body.kaboxx-ui .admin-user-panel__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
body.kaboxx-ui .admin-user-approve-all { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 13px; border: 0; border-radius: 11px; color: #fff; background: var(--aum-green); font-size: 13px; font-weight: 750; }
body.kaboxx-ui .admin-user-approve-all span { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 99px; background: rgba(255,255,255,.2); }
body.kaboxx-ui .admin-user-create { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 0; border-radius: 11px; color: #fff; background: var(--aum-blue); font-size: 13px; font-weight: 750; }
body.kaboxx-ui .admin-user-create:hover,
body.kaboxx-ui .admin-user-create:focus-visible { color: #fff; background: #124eaf; box-shadow: 0 7px 18px rgba(23,92,211,.2); }
body.kaboxx-ui .admin-user-filters { display: grid; grid-template-columns: minmax(220px,1.65fr) repeat(4,minmax(135px,.7fr)) auto auto; gap: 9px; padding: 15px 22px; border-block: 1px solid var(--kbx-line); background: var(--kbx-surface-soft); }
body.kaboxx-ui .admin-company-directory__filters { grid-template-columns: minmax(260px,1fr) 180px 140px auto auto; }
body.kaboxx-ui .admin-user-filters select,
body.kaboxx-ui .admin-user-search { min-width: 0; height: 42px; border: 1px solid #d6e0ec; border-radius: 10px; background: var(--kbx-surface); }
body.kaboxx-ui .admin-user-filters select { padding: 0 32px 0 11px; color: var(--kbx-ink); font-size: 13px; }
body.kaboxx-ui .admin-user-search { position: relative; display: flex; align-items: center; }
body.kaboxx-ui .admin-user-search i { position: absolute; left: 12px; color: #66768a; font-size: 18px; }
body.kaboxx-ui .admin-user-search input { width: 100%; height: 100%; padding: 0 12px 0 38px; border: 0; outline: 0; color: var(--kbx-ink); background: transparent; font-size: 13px; text-transform: none; }
body.kaboxx-ui .admin-user-filter-submit,
body.kaboxx-ui .admin-user-filter-clear { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 750; }
body.kaboxx-ui .admin-user-filter-submit { padding: 0 15px; color: #fff; background: var(--aum-blue); }
body.kaboxx-ui .admin-user-filter-clear { width: 42px; color: #66768a; background: #e9eef5; text-decoration: none; }
body.kaboxx-ui .admin-user-bulkbar { display: none; align-items: center; gap: 7px; padding: 10px 22px; color: #17304f; background: #edf5ff; border-bottom: 1px solid #cfe0f7; }
body.kaboxx-ui .admin-user-bulkbar.is-visible { display: flex; }
body.kaboxx-ui .admin-user-bulkbar strong { margin-right: auto; font-size: 13px; }
body.kaboxx-ui .admin-user-bulkbar button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid #bdd0e8; border-radius: 8px; color: #214467; background: var(--kbx-surface); font-size: 12px; font-weight: 700; }
body.kaboxx-ui .admin-user-table-wrap { width: 100%; overflow-x: auto; }
body.kaboxx-ui .admin-user-table { width: 100%; border-collapse: collapse; }
body.kaboxx-ui .admin-user-table th { padding: 12px 14px; border-bottom: 1px solid var(--kbx-line); color: #66768a; background: var(--kbx-surface); font-size: 12px; font-weight: 800; letter-spacing: .055em; text-align: left; text-transform: uppercase; white-space: nowrap; }
body.kaboxx-ui .admin-user-table td { padding: 14px; border-bottom: 1px solid #edf1f6; color: var(--kbx-ink); font-size: 13px; vertical-align: middle; }
body.kaboxx-ui .admin-user-table tbody tr { transition: background .15s ease; }
body.kaboxx-ui .admin-user-table tbody tr:hover { background: #fafcff; }
body.kaboxx-ui .admin-user-table__check { width: 38px; text-align: center !important; }
body.kaboxx-ui .admin-user-table input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--aum-blue); }
body.kaboxx-ui .admin-user-identity { display: flex; align-items: center; gap: 10px; min-width: 205px; }
body.kaboxx-ui .admin-user-identity img { flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #e2e8f0; border-radius: 12px; object-fit: cover; background: #f1f5f9; }
body.kaboxx-ui .admin-user-identity strong,
body.kaboxx-ui .admin-user-identity a,
body.kaboxx-ui .admin-user-identity small,
body.kaboxx-ui .admin-user-company > strong,
body.kaboxx-ui .admin-user-table td > time,
body.kaboxx-ui .admin-user-table td > small { display: block; }
body.kaboxx-ui .admin-user-identity strong { max-width: 230px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.kaboxx-ui .admin-user-identity a { max-width: 230px; overflow: hidden; color: var(--aum-blue); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
body.kaboxx-ui .admin-user-identity small,
body.kaboxx-ui .admin-user-table td > small { margin-top: 2px; color: #7a899c; font-size: 12px; }
body.kaboxx-ui .admin-user-company { min-width: 170px; }
body.kaboxx-ui .admin-user-company > strong { margin-bottom: 5px; font-size: 12px; }
body.kaboxx-ui .admin-user-company div { display: flex; flex-wrap: wrap; gap: 4px; }
body.kaboxx-ui .admin-user-company span { padding: 3px 6px; border-radius: 6px; color: #43566d; background: #edf1f6; font-size: 12px; font-weight: 700; }
body.kaboxx-ui .admin-user-status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 99px; color: var(--kbx-ink); background: #f2f4f7; font-size: 12px; font-weight: 750; }
body.kaboxx-ui .admin-user-status--active,
body.kaboxx-ui .admin-user-status--approved { color: #067647; background: #ecfdf3; }
body.kaboxx-ui .admin-user-status--pending { color: #9a6700; background: #fffaeb; }
body.kaboxx-ui .admin-user-status--inactive,
body.kaboxx-ui .admin-user-status--rejected { color: #b42318; background: #fef3f2; }
body.kaboxx-ui .admin-user-decision { max-width: 155px; line-height: 1.35; }
body.kaboxx-ui .admin-user-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 82px; }
body.kaboxx-ui .admin-user-quick-approve { margin: 0; }
body.kaboxx-ui .admin-user-quick-approve button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #a9dcc7; border-radius: 9px; color: var(--aum-green); background: #ecfdf3; font-size: 18px; }
body.kaboxx-ui .admin-user-empty { display: grid; justify-items: center; padding: 46px 20px; text-align: center; }
body.kaboxx-ui .admin-user-empty > i { font-size: 37px; color: #8da3bc; }
body.kaboxx-ui .admin-user-empty h3 { margin: 9px 0 3px; font-size: 17px; }
body.kaboxx-ui .admin-user-empty p { margin: 0 0 9px; color: var(--kbx-muted); }
body.kaboxx-ui .admin-user-empty a { color: var(--aum-blue); font-weight: 700; }
body.kaboxx-ui .admin-user-pagination { padding: 14px 20px; }
body.kaboxx-ui .admin-user-confirm { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(16,24,40,.22); }
body.kaboxx-ui .admin-user-confirm .modal-body { padding: 30px; text-align: center; }
body.kaboxx-ui .admin-user-confirm__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 16px; color: var(--aum-green); background: #e8f7f1; font-size: 27px; }
body.kaboxx-ui .admin-user-confirm h2 { margin: 0; font-size: 21px; }
body.kaboxx-ui .admin-user-confirm p { margin: 9px 0 22px; color: var(--kbx-muted); font-size: 13px; }
body.kaboxx-ui .admin-user-confirm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.kaboxx-ui .admin-user-confirm__actions button { min-height: 43px; border: 1px solid var(--kbx-line); border-radius: 10px; background: var(--kbx-surface); font-weight: 750; }
body.kaboxx-ui .admin-user-confirm__actions .admin-user-confirm__approve { border-color: var(--aum-green); color: #fff; background: var(--aum-green); }
body.kaboxx-ui .admin-user-form-modal .modal-content { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(16,24,40,.24); }
body.kaboxx-ui .admin-user-form-modal .modal-header { align-items: flex-start; padding: 22px 24px 18px; border-bottom: 1px solid var(--kbx-line); background: linear-gradient(135deg,#fff 0%,#f5f9ff 100%); }
body.kaboxx-ui .admin-user-form-modal .modal-title { margin: 0; color: var(--kbx-ink); font-size: 22px; }
body.kaboxx-ui .admin-user-form-modal .modal-body { padding: 22px 24px 0; }
body.kaboxx-ui .admin-user-form { min-width: 0; }
body.kaboxx-ui .admin-user-form__footer { position: sticky; z-index: 3; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; margin: 0 -24px; padding: 16px 24px; border-top: 1px solid var(--kbx-line); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
body.kaboxx-ui .admin-user-form__footer > * { min-width: 110px; text-align: center; }
body.kaboxx-ui .admin-company-identity { display: flex; align-items: center; gap: 11px; min-width: 220px; }
body.kaboxx-ui .admin-company-identity > span { display: grid; flex: 0 0 43px; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: var(--aum-blue); background: #eef4ff; font-weight: 850; }
body.kaboxx-ui .admin-company-identity strong,
body.kaboxx-ui .admin-company-identity small,
body.kaboxx-ui .admin-company-identity em,
body.kaboxx-ui .admin-company-contact strong,
body.kaboxx-ui .admin-company-contact a,
body.kaboxx-ui .admin-company-contact small { display: block; }
body.kaboxx-ui .admin-company-identity small,
body.kaboxx-ui .admin-company-contact a { color: var(--aum-blue); font-size: 12px; }
body.kaboxx-ui .admin-company-identity em,
body.kaboxx-ui .admin-company-contact small { color: #7a899c; font-size: 12px; font-style: normal; }
body.kaboxx-ui .admin-company-contact { min-width: 190px; }
body.kaboxx-ui .admin-company-counts { display: flex; gap: 7px; min-width: 230px; }
body.kaboxx-ui .admin-company-counts span { padding: 6px 8px; border-radius: 8px; color: #53657a; background: #f3f6fa; font-size: 12px; }
body.kaboxx-ui .admin-company-counts strong { color: var(--kbx-ink); }
body.kaboxx-ui .admin-company-actions { display: flex; justify-content: flex-end; gap: 6px; }
body.kaboxx-ui .admin-company-actions a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d6e0ec; border-radius: 9px; color: #52657a; background: var(--kbx-surface); font-size: 17px; }
body.kaboxx-ui .admin-company-actions a:hover { color: var(--aum-blue); border-color: #aac5ef; background: #f1f6ff; }

@media (max-width: 1399px) {
    body.kaboxx-ui .admin-user-management__metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
    body.kaboxx-ui .admin-user-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
    body.kaboxx-ui .admin-user-search { grid-column: span 2; }
}
@media (max-width: 991px) {
    body.kaboxx-ui .admin-company-directory__metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.kaboxx-ui .admin-user-management__hero { align-items: flex-start; flex-direction: column; padding: 22px; }
}
@media (max-width: 767px) {
    body.kaboxx-ui .admin-user-management__metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.kaboxx-ui .admin-user-filters,
    body.kaboxx-ui .admin-company-directory__filters { grid-template-columns: 1fr 1fr; padding: 13px; }
    body.kaboxx-ui .admin-user-search { grid-column: 1 / -1; }
    body.kaboxx-ui .admin-user-filter-submit { grid-column: span 1; }
    body.kaboxx-ui .admin-user-table thead { display: none; }
    body.kaboxx-ui .admin-user-table,
    body.kaboxx-ui .admin-user-table tbody,
    body.kaboxx-ui .admin-user-table tr,
    body.kaboxx-ui .admin-user-table td { display: block; width: 100%; }
    body.kaboxx-ui .admin-user-table tr { position: relative; padding: 12px 13px; border-bottom: 1px solid var(--kbx-line); }
    body.kaboxx-ui .admin-user-table td { display: grid; grid-template-columns: 110px minmax(0,1fr); padding: 7px 0; border: 0; }
    body.kaboxx-ui .admin-user-table td::before { content: attr(data-label); color: #718096; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    body.kaboxx-ui .admin-user-table td.admin-user-table__check { position: absolute; z-index: 2; top: 16px; right: 12px; display: block; width: auto; }
    body.kaboxx-ui .admin-user-table td.admin-user-table__check::before { display: none; }
    body.kaboxx-ui .admin-user-actions { justify-content: flex-start; }
    body.kaboxx-ui .admin-company-counts { min-width: 0; flex-wrap: wrap; }
}
@media (max-width: 479px) {
    body.kaboxx-ui .admin-user-management__metrics,
    body.kaboxx-ui .admin-company-directory__metrics { grid-template-columns: 1fr; }
    body.kaboxx-ui .admin-user-filters,
    body.kaboxx-ui .admin-company-directory__filters { grid-template-columns: 1fr; }
    body.kaboxx-ui .admin-user-search,
    body.kaboxx-ui .admin-user-filter-submit { grid-column: auto; }
    body.kaboxx-ui .admin-user-panel__heading { align-items: flex-start; flex-direction: column; }
    body.kaboxx-ui .admin-user-panel__actions { width: 100%; justify-content: stretch; }
    body.kaboxx-ui .admin-user-panel__actions > button { flex: 1 1 auto; justify-content: center; }
    body.kaboxx-ui .admin-user-bulkbar { align-items: stretch; flex-direction: column; }
    body.kaboxx-ui .admin-user-form-modal .modal-dialog { min-height: 100%; margin: 0; }
    body.kaboxx-ui .admin-user-form-modal .modal-content { min-height: 100%; border-radius: 0; }
    body.kaboxx-ui .admin-user-form-modal .modal-header { padding: 18px; }
    body.kaboxx-ui .admin-user-form-modal .modal-body { padding: 18px 18px 0; }
    body.kaboxx-ui .admin-user-form__footer { margin-inline: -18px; padding: 14px 18px; }
}
body.kaboxx-ui .role-dashboard__attention { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.kaboxx-ui .role-dashboard__attention > a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; min-width: 0; min-height: 76px; padding: 16px 18px; border: 1px solid var(--kbx-line); border-radius: 15px; background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); color: var(--kbx-ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
body.kaboxx-ui .role-dashboard__attention > a + a { border-inline-start: 1px solid var(--kbx-line); }
body.kaboxx-ui .role-dashboard__attention > a:hover,
body.kaboxx-ui .role-dashboard__attention > a:focus-visible { border-color: color-mix(in srgb, var(--rd-accent) 38%, var(--kbx-line)); background: var(--kbx-surface); box-shadow: var(--kbx-shadow); transform: translateY(-2px); }
body.kaboxx-ui .role-dashboard__attention > a:focus-visible { outline: 3px solid color-mix(in srgb, var(--rd-accent) 24%, transparent); outline-offset: 2px; }
body.kaboxx-ui .role-dashboard__attention-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--rd-accent); background: color-mix(in srgb, var(--rd-accent) 9%, white); font-size: 21px; }
body.kaboxx-ui .role-dashboard__attention strong,
body.kaboxx-ui .role-dashboard__attention small { display: block; }
body.kaboxx-ui .role-dashboard__attention strong { font-size: 14px; }
body.kaboxx-ui .role-dashboard__attention small { margin-top: 2px; color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-dashboard__grid { display: grid; gap: 18px; }
body.kaboxx-ui .role-dashboard__grid--main { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); }
body.kaboxx-ui .role-dashboard__grid--equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.kaboxx-ui .role-panel { min-width: 0; padding: clamp(19px, 2vw, 26px); border: 1px solid var(--kbx-line); border-radius: 18px; background: var(--kbx-surface); box-shadow: var(--kbx-shadow-sm); }
body.kaboxx-ui .role-panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
body.kaboxx-ui .role-panel__header h2 { margin: 3px 0 0; font-size: clamp(19px, 2vw, 23px); }
body.kaboxx-ui .role-panel__header > a { color: var(--rd-accent); font-size: 14px; font-weight: 750; text-decoration: none; }
body.kaboxx-ui .role-panel__meta { color: var(--kbx-muted); font-size: 14px; }
body.kaboxx-ui .role-chart { min-height: 270px; }
body.kaboxx-ui .role-finance-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
body.kaboxx-ui .role-finance-summary div { padding: 12px; border-radius: 11px; background: var(--kbx-surface-soft); }
body.kaboxx-ui .role-finance-summary span,
body.kaboxx-ui .role-finance-summary strong { display: block; }
body.kaboxx-ui .role-finance-summary span { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-finance-summary strong { margin-top: 3px; overflow-wrap: anywhere; font-size: 16px; }
body.kaboxx-ui .role-progress-list { display: grid; gap: 19px; }
body.kaboxx-ui .role-progress > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 14px; }
body.kaboxx-ui .role-progress__track { display: block; height: 8px; overflow: hidden; border-radius: 99px; background: #edf2f7; }
body.kaboxx-ui .role-progress__fill { display: block; height: 100%; border-radius: inherit; background: #175cd3; }
body.kaboxx-ui .role-progress__fill--green { background: #10b981; }
body.kaboxx-ui .role-progress__fill--amber { background: #0F766E; }
body.kaboxx-ui .role-mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--kbx-line); border-radius: 12px; }
body.kaboxx-ui .role-mini-metrics > div { display: grid; gap: 2px; padding: 12px 8px; text-align: center; }
body.kaboxx-ui .role-mini-metrics > div + div { border-inline-start: 1px solid var(--kbx-line); }
body.kaboxx-ui .role-mini-metrics strong { font-size: 18px; }
body.kaboxx-ui .role-mini-metrics span { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.kaboxx-ui .role-domain-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--kbx-line); border-radius: 14px; background: var(--kbx-surface-soft); }
body.kaboxx-ui .role-domain-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--rd-accent); background: var(--kbx-surface); font-size: 23px; }
body.kaboxx-ui .role-domain-card small,
body.kaboxx-ui .role-domain-card strong,
body.kaboxx-ui .role-domain-card p { display: block; }
body.kaboxx-ui .role-domain-card small { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-domain-card strong { font-size: 22px; }
body.kaboxx-ui .role-domain-card p { margin: 2px 0 0; color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-domain-card > a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--rd-accent); background: var(--kbx-surface); text-decoration: none; }
body.kaboxx-ui .role-activity-list { display: grid; }
body.kaboxx-ui .role-timeline { display: grid; }
body.kaboxx-ui .role-timeline__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 13px 0; border-top: 1px solid var(--kbx-line); color: var(--kbx-ink); text-decoration: none; }
body.kaboxx-ui .role-timeline__item:first-child { padding-top: 0; border-top: 0; }
body.kaboxx-ui .role-timeline__item > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--rd-accent); background: color-mix(in srgb, var(--rd-accent) 9%, white); font-size: 20px; }
body.kaboxx-ui .role-timeline__item > div { display: grid; min-width: 0; gap: 1px; }
body.kaboxx-ui .role-timeline__item small { color: var(--rd-accent); font-size: 12px; font-weight: 750; }
body.kaboxx-ui .role-timeline__item strong { overflow-wrap: anywhere; font-size: 14px; }
body.kaboxx-ui .role-timeline__item time { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-activity-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px 0; border-top: 1px solid var(--kbx-line); color: var(--kbx-ink); text-decoration: none; }
body.kaboxx-ui .role-activity-item:first-child { padding-top: 0; border-top: 0; }
body.kaboxx-ui .role-activity-item__icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--rd-accent); background: color-mix(in srgb, var(--rd-accent) 9%, white); font-size: 20px; }
body.kaboxx-ui .role-activity-item__copy { display: grid; flex: 1; min-width: 0; }
body.kaboxx-ui .role-activity-item__copy strong { overflow-wrap: anywhere; font-size: 14px; }
body.kaboxx-ui .role-activity-item__copy small { color: var(--kbx-muted); font-size: 12px; }
body.kaboxx-ui .role-status { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 99px; color: #175cd3; background: #eef4ff; font-size: 12px; font-weight: 750; text-transform: capitalize; }
body.kaboxx-ui .role-status--completed,
body.kaboxx-ui .role-status--approved,
body.kaboxx-ui .role-status--active,
body.kaboxx-ui .role-status--success { color: #087a4b; background: #e8f7f1; }
body.kaboxx-ui .role-status--pending,
body.kaboxx-ui .role-status--waiting { color: #9a6700; background: #fff7d6; }
body.kaboxx-ui .role-status--rejected,
body.kaboxx-ui .role-status--cancelled,
body.kaboxx-ui .role-status--overdue { color: #b42318; background: #fff0ee; }
body.kaboxx-ui .role-empty { display: grid; place-items: center; gap: 5px; min-height: 180px; padding: 24px; color: var(--kbx-muted); text-align: center; }
body.kaboxx-ui .role-empty i { color: var(--rd-accent); font-size: 32px; }
body.kaboxx-ui .role-empty strong { color: var(--kbx-ink); font-size: 16px; }
body.kaboxx-ui .role-empty p { margin: 0; font-size: 14px; }
body.kaboxx-ui .role-empty--compact { min-height: 70px; }
body.kaboxx-ui .role-table-wrap { overflow-x: auto; }
body.kaboxx-ui .role-table { width: 100%; min-width: 690px; border-collapse: collapse; }
body.kaboxx-ui .role-table th,
body.kaboxx-ui .role-table td { padding: 13px 12px; border-bottom: 1px solid var(--kbx-line); font-size: 14px; text-align: start; vertical-align: middle; }
body.kaboxx-ui .role-table th { color: var(--kbx-muted); background: var(--kbx-surface-soft); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
body.kaboxx-ui .role-table tbody tr:hover { background: #fbfcfe; }

@media (max-width: 1199px) {
    body.kaboxx-ui .role-dashboard__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.kaboxx-ui .role-domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    body.kaboxx-ui .role-dashboard__hero { align-items: flex-start; flex-direction: column; }
    body.kaboxx-ui .role-dashboard__actions { justify-content: flex-start; }
    body.kaboxx-ui .role-dashboard__grid--main,
    body.kaboxx-ui .role-dashboard__grid--equal { grid-template-columns: 1fr; }
    body.kaboxx-ui .role-dashboard__attention { grid-template-columns: 1fr; }
    body.kaboxx-ui .role-dashboard__attention > a + a { border-inline-start: 1px solid var(--kbx-line); border-top: 1px solid var(--kbx-line); }
}
@media (max-width: 599px) {
    body.kaboxx-ui .role-dashboard { gap: 13px; }
    body.kaboxx-ui .role-dashboard__hero { min-height: 0; gap: 17px; padding: 19px 17px; border-radius: 17px; }
    body.kaboxx-ui .role-dashboard__hero h1 { margin-top: 4px; font-size: 26px; line-height: 1.12; }
    body.kaboxx-ui .role-dashboard__hero p { font-size: 14px; line-height: 1.5; }
    body.kaboxx-ui .role-dashboard__hero::after { width: 180px; height: 180px; }
    body.kaboxx-ui .role-dashboard__actions { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    body.kaboxx-ui .role-dashboard__button { width: 100%; min-width: 0; min-height: 58px; justify-content: flex-start; padding: 10px 12px; border-radius: 13px; line-height: 1.2; text-align: start; white-space: normal; }
    body.kaboxx-ui .role-dashboard__button i { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--rd-accent) 10%, white); color: var(--rd-accent); font-size: 18px; }
    body.kaboxx-ui .role-dashboard__button--primary i { background: rgba(255,255,255,.18); color: #fff; }
    body.kaboxx-ui .role-dashboard__stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    body.kaboxx-ui .role-domain-grid { grid-template-columns: 1fr; }
    body.kaboxx-ui .role-stat-card { grid-template-columns: 38px minmax(0,1fr); gap: 2px 9px; min-height: 118px; padding: 13px; border-radius: 14px; }
    body.kaboxx-ui .role-stat-card__icon { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }
    body.kaboxx-ui .role-stat-card__label { font-size: 12px; line-height: 1.25; }
    body.kaboxx-ui .role-stat-card > strong { font-size: 23px; }
    body.kaboxx-ui .role-stat-card > small { grid-column: 1/-1; margin-top: 7px; }
    body.kaboxx-ui .role-panel { padding: 16px 14px; border-radius: 15px; }
    body.kaboxx-ui .role-panel__header { gap: 10px; margin-bottom: 15px; }
    body.kaboxx-ui .role-panel__header h2 { font-size: 19px; }
    body.kaboxx-ui .role-dashboard__attention { gap: 9px; }
    body.kaboxx-ui .role-dashboard__attention > a { min-height: 72px; padding: 13px 14px; border-radius: 14px; }
    body.kaboxx-ui .role-finance-summary { grid-template-columns: 1fr; }
    body.kaboxx-ui .role-finance-summary div { border: 1px solid var(--kbx-line); }
    body.kaboxx-ui .role-panel__header { align-items: flex-start; flex-direction: column; }
    body.kaboxx-ui .role-chart { min-height: 220px; margin-inline: -7px; overflow: hidden; }
    body.kaboxx-ui .role-domain-card { padding: 13px; }
    body.kaboxx-ui .role-domain-card > a { width: 44px; height: 44px; }
    body.kaboxx-ui .role-activity-item { align-items: flex-start; flex-wrap: wrap; }
    body.kaboxx-ui .role-activity-item .role-status { margin-inline-start: 52px; }
    body.kaboxx-ui .role-activity-item > strong:last-child { max-width: 42%; overflow-wrap: anywhere; text-align: end; }
    body.kaboxx-ui .role-mini-metrics { grid-template-columns: 1fr; }
    body.kaboxx-ui .role-mini-metrics > div { grid-template-columns: auto 1fr; align-items: center; text-align: start; }
    body.kaboxx-ui .role-mini-metrics > div + div { border-inline-start: 0; border-top: 1px solid var(--kbx-line); }
}
@media (max-width: 359.98px) {
    body.kaboxx-ui .role-dashboard__actions,
    body.kaboxx-ui .role-dashboard__stats { grid-template-columns: 1fr; }
    body.kaboxx-ui .role-stat-card { min-height: 0; }
    body.kaboxx-ui .role-dashboard__hero { padding: 17px 14px; }
    body.kaboxx-ui .role-dashboard__hero h1 { font-size: 24px; }
    body.kaboxx-ui .kaboxx-account-menu__panel { width: 100vw; border-radius: 0; }
    body.kaboxx-ui .role-activity-item > .role-status,
    body.kaboxx-ui .role-activity-item > strong:last-child { margin-inline-start: 52px; max-width: calc(100% - 52px); text-align: start; }
}
@media (hover: none) {
    body.kaboxx-ui .role-dashboard__button:active,
    body.kaboxx-ui .role-stat-card:active,
    body.kaboxx-ui .role-dashboard__attention > a:active,
    body.kaboxx-ui .role-domain-card > a:active { transform: scale(.985); }
}
/* Universal role-aware QR scanner */
.kaboxx-qr-scanner{display:inline-flex;align-items:center}
.kaboxx-qr-trigger{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--kbx-line,#e3e8ef);border-radius:12px;background:#fff;color:var(--kbx-ink,#172033);box-shadow:var(--kbx-shadow-sm)}
.kaboxx-qr-dialog{width:min(640px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--kbx-line,#e3e8ef);border-radius:var(--kbx-radius-lg,20px);background:var(--kbx-surface,#fff);color:var(--kbx-ink,#172033);box-shadow:var(--kbx-shadow-lg);overflow:auto;overscroll-behavior:contain;font-family:var(--heading-fonts,"Open Sans"),system-ui,sans-serif}
.kaboxx-qr-dialog::backdrop{background:rgba(15,23,42,.65);backdrop-filter:blur(4px)}
.kaboxx-qr-panel{padding:28px;min-width:0}
.kaboxx-qr-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.kaboxx-qr-panel>header>div{min-width:0}
body .kaboxx-qr-panel h2{margin:5px 0 8px;font-size:26px;line-height:1.25;color:var(--kbx-ink,#172033)}
.kaboxx-qr-panel header p{margin:0;color:var(--kbx-muted,#667085);font-size:14px;line-height:1.5}
.kaboxx-qr-eyebrow{color:var(--kbx-brand,#172554);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.kaboxx-qr-close{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--kbx-line,#e3e8ef);border-radius:12px;background:var(--kbx-surface-soft,#f8fafc);cursor:pointer}
.kaboxx-qr-camera{position:relative;overflow:hidden;aspect-ratio:16/10;max-height:360px;border-radius:16px;background:#101828;isolation:isolate}
.kaboxx-qr-camera video{width:100%;height:100%;display:block;object-fit:cover}
.kaboxx-qr-camera-hint{position:absolute;inset:0;display:grid;place-items:center;padding:36px;text-align:center;color:#e2e8f0;font-size:14px;line-height:1.5;background:#101828;z-index:2}
.kaboxx-qr-corners{position:absolute;width:58%;aspect-ratio:1;max-height:80%;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:16px;background:linear-gradient(#fff,#fff) left top/28px 3px no-repeat,linear-gradient(#fff,#fff) left top/3px 28px no-repeat,linear-gradient(#fff,#fff) right top/28px 3px no-repeat,linear-gradient(#fff,#fff) right top/3px 28px no-repeat,linear-gradient(#fff,#fff) left bottom/28px 3px no-repeat,linear-gradient(#fff,#fff) left bottom/3px 28px no-repeat,linear-gradient(#fff,#fff) right bottom/28px 3px no-repeat,linear-gradient(#fff,#fff) right bottom/3px 28px no-repeat;pointer-events:none}
.kaboxx-qr-status{margin:12px 0 16px;padding:10px 12px;border-radius:10px;background:var(--kbx-surface-soft,#f8fafc);color:var(--kbx-muted,#667085);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.kaboxx-qr-status[data-state=error]{color:var(--kbx-danger,#b42318);background:var(--kbx-danger-soft,#fff0ee)}
.kaboxx-qr-status[data-state=success]{color:var(--kbx-success,#087f5b);background:var(--kbx-success-soft,#e8f7f1)}
.kaboxx-qr-tools{display:flex;flex-wrap:wrap;gap:10px}
.kaboxx-qr-tools button,.kaboxx-qr-tools select{min-height:48px;min-width:0;max-width:100%;padding:10px 14px;border:1px solid var(--kbx-line-strong,#cbd5e1);border-radius:12px;background:var(--kbx-surface,#fff);color:var(--kbx-ink,#172033);font-family:inherit;font-size:14px;font-weight:600;line-height:1.4}
.kaboxx-qr-tools button{display:inline-flex;flex:1 1 160px;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.kaboxx-qr-tools select{flex-basis:100%;width:100%;font-size:16px}
.kaboxx-qr-tools button[aria-pressed=true]{color:var(--kbx-brand,#172554);background:var(--kbx-info-soft,#eef4ff);border-color:var(--kbx-brand,#172554)}
.kaboxx-qr-flash-rays{opacity:0}.kaboxx-qr-tools button[aria-pressed=true] .kaboxx-qr-flash-rays{opacity:1}
.kaboxx-qr-dialog [hidden]{display:none!important}
.kaboxx-qr-dialog button:disabled{opacity:.6;cursor:wait}
.kaboxx-qr-dialog button:hover:not(:disabled){filter:brightness(.97)}
.kaboxx-qr-divider{display:flex;align-items:center;gap:12px;margin:24px 0 18px;color:var(--kbx-muted,#667085);font-size:13px}
.kaboxx-qr-divider::before,.kaboxx-qr-divider::after{content:"";height:1px;flex:1;background:var(--kbx-line,#e3e8ef)}
.kaboxx-qr-manual>label{display:block;margin-bottom:8px;color:var(--kbx-ink,#172033);font-size:13px;font-weight:600}
.kaboxx-qr-manual>div{display:flex;gap:10px}
.kaboxx-qr-manual input{min-width:0;width:100%;min-height:48px;flex:1;padding:12px 14px;border:1px solid var(--kbx-line-strong,#cbd5e1);border-radius:12px;background:var(--kbx-surface,#fff);color:var(--kbx-ink,#172033);font-family:inherit;font-size:16px;line-height:1.5}
.kaboxx-qr-manual button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 18px;border:0;border-radius:12px;background:var(--kbx-brand,#172554);color:#fff;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
.kaboxx-qr-privacy{display:flex;align-items:flex-start;gap:8px;margin:20px 0 0;color:var(--kbx-muted,#667085);font-size:12px;line-height:1.6}
.kaboxx-qr-trigger:focus-visible,.kaboxx-qr-dialog :is(button,input,select):focus-visible{outline:3px solid var(--kbx-brand,#172554);outline-offset:3px}
.kaboxx-qr-dialog p,.kaboxx-qr-dialog h2{overflow-wrap:anywhere}
body:has(.kaboxx-qr-dialog[open]){overflow:hidden}
.pending-dashboard-account .kaboxx-qr-scanner{flex:0 0 auto}
@media(max-width:767.98px){.kaboxx-qr-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.kaboxx-qr-panel{padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}body .kaboxx-qr-panel h2{font-size:24px}.kaboxx-qr-camera{aspect-ratio:1;max-height:min(360px,44dvh)}.kaboxx-qr-manual>div{flex-direction:column}.kaboxx-qr-manual button{width:100%}}
@media(max-width:767.98px) and (orientation:landscape){.kaboxx-qr-camera{aspect-ratio:16/9;max-height:220px}}

/* Header overlays, reliable QR SVGs, and white-surface branding */
body.kaboxx-ui .kaboxx-qr-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
body.kaboxx-ui .kaboxx-qr-icon--trigger { width: 23px; height: 23px; flex-basis: 23px; }
body.kaboxx-ui .kaboxx-qr-trigger .kaboxx-qr-icon { opacity: .88; }
body.kaboxx-ui .kaboxx-qr-trigger:hover .kaboxx-qr-icon { opacity: 1; }

body.kaboxx-ui .header,
body.kaboxx-ui .header-area,
body.kaboxx-ui .pending-dashboard-navbar {
    overflow: visible;
}
body.kaboxx-ui .header { z-index: 1040; }
body.kaboxx-ui .header-area,
body.kaboxx-ui .pending-dashboard-navbar { position: relative; z-index: 1040; }
body.kaboxx-ui .header-controls,
body.kaboxx-ui .header-control-item,
body.kaboxx-ui .header-area .main-header,
body.kaboxx-ui .header-area .menu-wrapper,
body.kaboxx-ui .pending-dashboard-account { overflow: visible; }
body.kaboxx-ui .header .dropdown-menu.show,
body.kaboxx-ui .header .topbar-dropdown-menu.show,
body.kaboxx-ui .header-area .onhover-dropdown-show,
body.kaboxx-ui .header-area .notification_wrap,
body.kaboxx-ui .kaboxx-header-more__menu,
body.kaboxx-ui .kaboxx-role-switcher__menu { z-index: 1080 !important; }
body.kaboxx-ui .header .dropdown-menu.show,
body.kaboxx-ui .header .topbar-dropdown-menu.show {
    display: block !important;
    max-width: min(425px, calc(100vw - 16px));
    max-height: min(520px, calc(100dvh - 84px));
    overflow-y: auto;
    opacity: 1 !important;
    visibility: visible !important;
}
body.kaboxx-ui .header-area .light-logo { display: none !important; }
@media (min-width: 992px) {
    body.kaboxx-ui .header-area .logo-large.dark-logo { display: block !important; }
    body.kaboxx-ui .header-area .logo-mobile.dark-logo { display: none !important; }
}
@media (max-width: 991.98px) {
    body.kaboxx-ui .header-area .logo-large.dark-logo { display: none !important; }
    body.kaboxx-ui .header-area .logo-mobile.dark-logo { display: block !important; }
}
@media (max-width: 575.98px) {
    body.kaboxx-ui .header .dropdown-menu.show,
    body.kaboxx-ui .header .topbar-dropdown-menu.show,
    body.kaboxx-ui .header-area .notification_wrap,
    body.kaboxx-ui .header-area .onhover-dropdown-show {
        position: fixed !important;
        inset: 68px 8px auto auto !important;
        width: min(320px, calc(100vw - 16px));
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        transform: none !important;
    }
}

/* Secure scan result */
.scan-result-page{min-height:100vh;padding:32px 16px;background:linear-gradient(145deg,#f6f9ff,#eef5ff 55%,#f8fafc);font-family:"Open Sans",Arial,sans-serif;color:#172033}.scan-result-shell{width:min(780px,100%);margin:0 auto}.scan-result-brand{display:flex;justify-content:center;margin-bottom:20px}.scan-result-brand img{max-width:170px;max-height:48px}.scan-result-card{overflow:hidden;border:1px solid #dfe7f1;border-radius:24px;background:#fff;box-shadow:0 22px 70px rgba(20,39,74,.11)}.scan-result-accent{height:7px;background:linear-gradient(90deg,#1173ff,#5641f3)}.scan-result-body{padding:clamp(22px,5vw,38px)}.scan-result-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#eaf3ff;color:#175cae;font-size:12px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.scan-result-card h1{margin:15px 0 5px;font-size:clamp(27px,6vw,42px);line-height:1.12}.scan-result-reference{margin:0;color:#667085;font-size:14px;font-weight:700}.scan-result-status{display:inline-flex;margin-top:12px;padding:6px 10px;border-radius:999px;background:#e9f8f1;color:#087957;font-size:13px;font-weight:800;text-transform:capitalize}.scan-result-subtitle{margin:14px 0 0;color:#475467;font-size:16px}.scan-result-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.scan-result-fact{padding:14px;border:1px solid #e3e9f1;border-radius:13px;background:#fafcff}.scan-result-fact span{display:block;margin-bottom:5px;color:#667085;font-size:12px;font-weight:750;text-transform:uppercase}.scan-result-fact strong{font-size:16px;overflow-wrap:anywhere}.scan-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.scan-result-action{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;border-radius:11px;background:#1173ff;color:#fff!important;font-size:15px;font-weight:800;text-decoration:none}.scan-result-action.secondary{border:1px solid #d9e1ec;background:#fff;color:#244268!important}.scan-result-message{text-align:center}.scan-result-message i{display:inline-grid;width:68px;height:68px;place-items:center;border-radius:20px;background:#fff0f0;color:#b42318;font-size:34px}.scan-result-message h1{font-size:clamp(24px,5vw,34px)}.scan-result-footer{margin-top:18px;color:#7b8798;font-size:13px;line-height:1.55;text-align:center}@media(max-width:560px){.scan-result-page{padding:14px 9px}.scan-result-body{padding:21px}.scan-result-facts{grid-template-columns:1fr}.scan-result-actions{flex-direction:column}.scan-result-action{width:100%}}

/* Account phone settings */
.account-phone-page{width:100%;max-width:760px;margin:24px auto 40px;min-width:0;color:var(--kbx-ink);font-size:var(--kbx-text-body);line-height:1.55}
.account-phone-card{padding:32px;border:1px solid var(--kbx-line);border-radius:var(--kbx-radius-lg);background:var(--kbx-surface);box-shadow:var(--kbx-shadow-sm)}
.account-phone-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}
.account-phone-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:var(--kbx-radius);background:var(--kbx-info-soft);color:var(--kbx-brand);font-size:26px}
body.kaboxx-ui .account-phone-header h1{margin:0 0 8px;font-size:26px;line-height:1.25}
.account-phone-header p{margin:0;color:var(--kbx-muted)}
body.kaboxx-ui .account-phone-card h2{margin:0 0 20px;font-size:18px;line-height:1.4}
.account-phone-fields{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:24px}
.account-phone-field{min-width:0}
.account-phone-card label{display:block;margin-bottom:8px;color:var(--kbx-ink);font-size:var(--kbx-text-sm);font-weight:600}
.account-phone-card :is(.form-control,.form-select){width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--kbx-line-strong);border-radius:var(--kbx-radius-sm);background-color:var(--kbx-surface);color:var(--kbx-ink);font-family:inherit;font-size:16px;line-height:1.5}
.account-phone-card .form-select{padding-inline-end:36px}
.account-phone-card .phone-field-control input{border:0;border-radius:0;background:transparent;box-shadow:none}
.account-phone-card :is(.form-control,.form-select).is-invalid{border-color:var(--kbx-danger)}
.account-phone-help{margin:8px 0 0;color:var(--kbx-muted);font-size:var(--kbx-text-sm);line-height:1.6;overflow-wrap:anywhere}
.account-phone-error{margin:8px 0 0;color:var(--kbx-danger);font-size:var(--kbx-text-sm);line-height:1.5;overflow-wrap:anywhere}
.account-phone-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border:1px solid var(--kbx-line-strong);border-radius:var(--kbx-radius-sm);background:var(--kbx-surface);color:var(--kbx-ink);font-family:inherit;font-size:var(--kbx-text-control);font-weight:600;line-height:1.5;cursor:pointer;text-align:center}
.account-phone-button--primary{background:var(--kbx-brand);border-color:var(--kbx-brand);color:#fff}
.account-phone-button i{font-size:20px}
.account-phone-button:hover{filter:brightness(.97)}
.account-phone-verification{margin-top:28px;padding-top:28px;border-top:1px solid var(--kbx-line)}
.account-phone-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}
body.kaboxx-ui .account-phone-section-heading h2{margin:0}
.account-phone-status{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;background:var(--kbx-surface-soft);color:var(--kbx-muted);font-size:var(--kbx-text-xs);font-weight:600}
.account-phone-status.is-verified{background:var(--kbx-success-soft);color:var(--kbx-success)}
.account-phone-status i{font-size:18px}
.account-phone-send{margin-top:20px}
.account-phone-confirm{margin-top:24px;padding:20px;border:1px solid var(--kbx-line);border-radius:var(--kbx-radius);background:var(--kbx-surface-soft)}
.account-phone-code-row{display:flex;align-items:stretch;gap:12px;margin-top:12px}
.account-phone-code-row input{flex:1;min-width:0;letter-spacing:.2em;font-variant-numeric:tabular-nums}
.account-phone-card .alert{overflow-wrap:anywhere;font-size:var(--kbx-text-sm)}
.account-phone-card .alert ul{margin:8px 0 0;padding-inline-start:20px}
@media(min-width:768px){.account-phone-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}}
@media(max-width:767.98px){.account-phone-page{margin-block:16px 24px}.account-phone-card{padding:20px 16px}.account-phone-header{gap:12px}.account-phone-icon{flex-basis:40px;height:40px}body.kaboxx-ui .account-phone-header h1{font-size:24px}.account-phone-code-row{flex-direction:column}.account-phone-button{width:100%}.account-phone-confirm{padding:16px}}

@media(max-width:767.98px){body.kaboxx-ui .page-content:has(.account-phone-page),body.kaboxx-client-ui main>.container:has(.account-phone-page){padding-inline:16px}}

/* Responsive agreement detail workspace. */
body.kaboxx-ui .agreement-detail{min-width:0;overflow:hidden}
body.kaboxx-ui .agreement-detail__header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}
body.kaboxx-ui .agreement-detail__title{min-width:0;flex:1 1 280px}
body.kaboxx-ui .agreement-detail__title h1{overflow-wrap:anywhere}
body.kaboxx-ui .agreement-detail__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
body.kaboxx-ui .agreement-detail__actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;white-space:normal;text-align:center}
body.kaboxx-ui .agreement-detail__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
body.kaboxx-ui .agreement-detail__summary>*{width:auto;max-width:none;min-width:0}
body.kaboxx-ui .agreement-detail__summary-card{min-width:0;height:100%;padding:20px!important;border:1px solid var(--kbx-line)!important;border-radius:var(--kbx-radius)!important;background:var(--kbx-surface)!important}
body.kaboxx-ui .agreement-detail__summary-card .content{min-width:0}
body.kaboxx-ui .agreement-detail__summary-card .list-item{grid-template-columns:minmax(105px,160px) 8px minmax(0,1fr);align-items:start;gap:8px}
body.kaboxx-ui .agreement-detail__summary-card :is(h1,h2,h3,h4,h5,h6,p,span,a,div,dd,dt){overflow-wrap:anywhere;word-break:normal}
body.kaboxx-ui .agreement-detail__table{max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.kaboxx-ui .agreement-detail__table table{width:100%;max-width:100%;margin-bottom:0}
body.kaboxx-ui #printableArea{width:100%;max-width:100%;min-width:0;overflow:hidden}
@media(max-width:991.98px){body.kaboxx-ui .agreement-detail__summary{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767.98px){body.kaboxx-ui .agreement-detail{padding-inline:0}body.kaboxx-ui .agreement-detail__header{margin-bottom:18px}body.kaboxx-ui .agreement-detail__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}body.kaboxx-ui .agreement-detail__actions .btn{width:100%;padding-inline:10px}body.kaboxx-ui .agreement-detail__summary-card{padding:16px!important}body.kaboxx-ui .agreement-detail__summary-card .list-item{grid-template-columns:minmax(96px,128px) 6px minmax(0,1fr)}body.kaboxx-ui .agreement-detail__table{overflow:visible}body.kaboxx-ui .agreement-detail__table table{min-width:0}}
@media(max-width:359.98px){body.kaboxx-ui .agreement-detail__actions{grid-template-columns:minmax(0,1fr)}}
@media print{body.kaboxx-ui .agreement-detail{overflow:visible}body.kaboxx-ui .agreement-detail__actions{display:none!important}body.kaboxx-ui .agreement-detail__summary{grid-template-columns:repeat(2,minmax(0,1fr))}body.kaboxx-ui .agreement-detail__table{overflow:visible}}
/* KYC document tracking and review workspace. */
body.kaboxx-ui .kyc-workspace,body.kaboxx-ui .admin-kyc-workspace{display:grid;gap:18px;width:100%;min-width:0}
body.kaboxx-ui .kyc-workspace{max-width:1180px;margin-inline:auto}
body.kaboxx-ui .kyc-workspace__hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:clamp(22px,4vw,36px);overflow:hidden;border:1px solid #dbe6ee;border-radius:21px;background:radial-gradient(circle at 92% 8%,rgba(15,118,110,.13),transparent 27%),linear-gradient(135deg,#effaf7,#fff 66%);box-shadow:var(--kbx-shadow-sm,0 8px 28px rgba(21,45,74,.07))}
body.kaboxx-ui .kyc-workspace__hero>div>span,body.kaboxx-ui .kyc-workspace__section-title+span{color:#0f766e;font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
body.kaboxx-ui .kyc-workspace__hero h1{display:flex;align-items:center;gap:12px;margin:5px 0 6px;color:#172033;font-size:clamp(27px,3.5vw,40px)}
body.kaboxx-ui .kyc-workspace__hero h1>i{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#0f766e;color:#fff;font-size:27px;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.kaboxx-ui .kyc-workspace__hero p{max-width:720px;margin:0;color:#667085;line-height:1.6}
body.kaboxx-ui .kyc-alert{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid;border-radius:12px;font-size:14px}
body.kaboxx-ui .kyc-alert>i{font-size:21px}
body.kaboxx-ui .kyc-alert ul{margin:5px 0 0;padding-inline-start:18px}
body.kaboxx-ui .kyc-alert--success{border-color:#a7dfca;background:#effaf6;color:#087a4b}
body.kaboxx-ui .kyc-alert--danger{border-color:#f1b8b3;background:#fff5f4;color:#b42318}
body.kaboxx-ui .kyc-workspace__tabs{display:flex;gap:7px;padding:6px;border:1px solid #e1e8ef;border-radius:14px;background:#fff;box-shadow:var(--kbx-shadow-sm,0 6px 20px rgba(20,39,74,.05))}
body.kaboxx-ui .kyc-workspace__tabs a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 15px;border-radius:9px;color:#526078;font-size:14px;font-weight:800;text-decoration:none}
body.kaboxx-ui .kyc-workspace__tabs a.is-active{background:#e9f7f4;color:#0f766e}
body.kaboxx-ui .kyc-workspace__tabs i{font-size:19px}
body.kaboxx-ui .kyc-workspace__tabs em{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:99px;background:#eef2f6;font-size:12px;font-style:normal}
body.kaboxx-ui .kyc-workspace__section{min-width:0;overflow:hidden;border:1px solid #e1e8ef;border-radius:18px;background:#fff;box-shadow:var(--kbx-shadow-sm,0 6px 20px rgba(20,39,74,.05))}
body.kaboxx-ui .kyc-workspace__section>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 21px;border-bottom:1px solid #e7edf2;background:#fbfcfd}
body.kaboxx-ui .kyc-workspace__section-title{display:flex;align-items:center;gap:12px;min-width:0}
body.kaboxx-ui .kyc-workspace__section-title>span{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#e9f7f4;color:#0f766e;font-size:22px}
body.kaboxx-ui .kyc-workspace__section h2{margin:0;color:#172033;font-size:21px}
body.kaboxx-ui .kyc-workspace__section header p{margin:3px 0 0;color:#667085;font-size:14px}
body.kaboxx-ui .kyc-requirement-list,body.kaboxx-ui .kyc-history-list{display:grid;gap:13px;padding:18px}
body.kaboxx-ui .kyc-requirement-card,body.kaboxx-ui .kyc-history-card{min-width:0;padding:17px;border:1px solid #e1e8ef;border-radius:14px;background:#fff}
body.kaboxx-ui .kyc-requirement-card__summary{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
body.kaboxx-ui .kyc-requirement-card h3,body.kaboxx-ui .kyc-history-card h3{margin:7px 0 3px;overflow-wrap:anywhere;color:#172033;font-size:18px}
body.kaboxx-ui .kyc-requirement-card__summary p,body.kaboxx-ui .kyc-history-card p{margin:0;color:#667085;font-size:14px;line-height:1.5}
body.kaboxx-ui .kyc-status,body.kaboxx-ui .admin-kyc-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 9px;border-radius:99px;background:#f0f2f5;color:#526078;font-size:12px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}
body.kaboxx-ui :is(.kyc-status,.admin-kyc-status)--approved,body.kaboxx-ui :is(.kyc-status,.admin-kyc-status)--verified{background:#e8f7f1;color:#087a4b}
body.kaboxx-ui :is(.kyc-status,.admin-kyc-status)--pending{background:#fff4d7;color:#8b5a12}
body.kaboxx-ui :is(.kyc-status,.admin-kyc-status)--rejected{background:#fff0ee;color:#b42318}
body.kaboxx-ui :is(.kyc-status,.admin-kyc-status)--expired{background:#f2f4f7;color:#475467}
body.kaboxx-ui .kyc-document-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
body.kaboxx-ui .kyc-document-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 11px;border:1px solid #d5dde7;border-radius:9px;background:#fff;color:#344054;font-size:13px;font-weight:800;text-decoration:none}
body.kaboxx-ui .kyc-requirement-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0}
body.kaboxx-ui .kyc-requirement-card__meta div{min-width:0;padding:9px 11px;border-radius:9px;background:#f8fafc}
body.kaboxx-ui .kyc-requirement-card__meta dt{color:#667085;font-size:12px;font-weight:800;text-transform:uppercase}
body.kaboxx-ui .kyc-requirement-card__meta dd{margin:3px 0 0;overflow-wrap:anywhere;color:#344054;font-size:13px;font-weight:700}
body.kaboxx-ui .kyc-rejection{display:flex;align-items:flex-start;gap:8px;margin-top:12px;padding:11px;border-radius:9px;background:#fff1ef;color:#a82a21;font-size:13px}
body.kaboxx-ui .kyc-rejection i{font-size:19px}
body.kaboxx-ui .kyc-rejection span{display:grid}
body.kaboxx-ui .kyc-upload-form{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(150px,.7fr) minmax(220px,1.4fr) auto;align-items:end;gap:10px;margin-top:15px;padding-top:15px;border-top:1px solid #e8edf2}
body.kaboxx-ui .kyc-upload-form label{display:grid;gap:6px;min-width:0;margin:0;color:#344054;font-size:13px;font-weight:800}
body.kaboxx-ui .kyc-upload-form label>span{display:flex;justify-content:space-between;gap:5px}
body.kaboxx-ui .kyc-upload-form label em,body.kaboxx-ui .kyc-upload-form label strong{color:#7b8798;font-size:12px;font-style:normal;font-weight:650}
body.kaboxx-ui .kyc-upload-form input{width:100%;min-width:0;min-height:45px;padding:9px 11px;border:1px solid #cfd8e5;border-radius:9px;background:#fff;font-size:14px}
body.kaboxx-ui .kyc-upload-form__file input{padding:7px}
body.kaboxx-ui .kyc-upload-form button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:45px;padding:9px 14px;border:0;border-radius:9px;background:#0f766e;color:#fff;font-weight:800;white-space:nowrap}
body.kaboxx-ui .kyc-document-lock{display:flex;align-items:center;gap:8px;margin:14px 0 0;padding:11px;border-radius:9px;background:#fff8e7;color:#7a5700;font-size:13px;font-weight:700}
body.kaboxx-ui .kyc-document-lock--approved{background:#eaf8f2;color:#087a4b}
body.kaboxx-ui .kyc-history-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px}
body.kaboxx-ui .kyc-history-card__file{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#eef4ff;color:#175cd3;font-size:24px}
body.kaboxx-ui .kyc-history-card__main{min-width:0}
body.kaboxx-ui .kyc-history-card__main>div{display:flex;align-items:center;gap:8px}
body.kaboxx-ui .kyc-history-card__main small{color:#667085}
body.kaboxx-ui .kyc-history-card__reason{margin-top:7px!important;padding:8px;border-radius:8px;background:#fff1ef;color:#a82a21!important}
body.kaboxx-ui .kyc-workspace__empty{display:grid;place-items:center;min-height:230px;padding:30px;border:1px dashed #cfd8e5;border-radius:17px;background:#fff;text-align:center}
body.kaboxx-ui .kyc-workspace__empty--compact{min-height:160px;border:0}
body.kaboxx-ui .kyc-workspace__empty>i{color:#0f766e;font-size:34px}
body.kaboxx-ui .kyc-workspace__empty :where(h2,h3){margin:10px 0 3px}
body.kaboxx-ui .kyc-workspace__empty p{margin:0;color:#667085}

body.kaboxx-ui .admin-kyc-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:18px}
body.kaboxx-ui .admin-kyc-filters label{display:grid;gap:5px;flex:1 1 180px;margin:0;color:#475467;font-size:12px;font-weight:800}
body.kaboxx-ui .admin-kyc-filters__search{flex-basis:260px!important}
body.kaboxx-ui .admin-kyc-filters :where(input,select){width:100%;min-height:44px;padding:8px 11px;border:1px solid #d0d9e4;border-radius:9px;background:#fff;font-size:14px}
body.kaboxx-ui .admin-kyc-list{display:grid;gap:12px;padding:18px}
body.kaboxx-ui .admin-kyc-card{display:grid;grid-template-columns:52px minmax(220px,1fr) auto;align-items:center;gap:15px;min-width:0;padding:16px;border:1px solid #e1e8ef;border-radius:14px;background:#fff}
body.kaboxx-ui .admin-kyc-card__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#eef4ff;color:#175cd3;font-size:25px}
body.kaboxx-ui .admin-kyc-card__main{min-width:0}
body.kaboxx-ui .admin-kyc-card__top{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#667085;font-size:12px;font-weight:750}
body.kaboxx-ui .admin-kyc-card h3{margin:5px 0 3px;overflow-wrap:anywhere;font-size:18px}
body.kaboxx-ui .admin-kyc-card p{margin:2px 0;color:#667085;overflow-wrap:anywhere;font-size:13px}
body.kaboxx-ui .admin-kyc-card dl{display:flex;flex-wrap:wrap;gap:8px 18px;margin:9px 0 0}
body.kaboxx-ui .admin-kyc-card dl div{display:flex;gap:5px}
body.kaboxx-ui .admin-kyc-card dt{color:#667085;font-size:12px}
body.kaboxx-ui .admin-kyc-card dd{margin:0;font-size:12px;font-weight:750}
body.kaboxx-ui .admin-kyc-card__actions{display:flex;flex-direction:column;gap:6px;min-width:140px}
body.kaboxx-ui .admin-kyc-card__actions a{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:40px;padding:7px 10px;border:1px solid #d6dfe9;border-radius:9px;color:#344054;font-size:13px;font-weight:750;text-decoration:none}
body.kaboxx-ui .admin-kyc-card__review{grid-column:2/-1;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:end;gap:8px;padding-top:12px;border-top:1px solid #e8edf2}
body.kaboxx-ui .admin-kyc-card__review label{display:grid;gap:4px;margin:0;color:#667085;font-size:12px;font-weight:700}
body.kaboxx-ui .admin-kyc-card__review textarea{width:100%;min-height:44px;padding:8px;border:1px solid #d0d9e4;border-radius:8px;resize:vertical}
body.kaboxx-ui .admin-kyc-card__review button{min-height:42px;padding:8px 12px;border:1px solid;border-radius:8px;font-weight:800}
body.kaboxx-ui .admin-kyc-approve{border-color:#087a4b!important;background:#087a4b;color:#fff}
body.kaboxx-ui .admin-kyc-reject{border-color:#e1a39d!important;background:#fff5f4;color:#b42318}
body.kaboxx-ui .admin-kyc-requirements summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;cursor:pointer}
body.kaboxx-ui .admin-kyc-requirements summary span{display:grid}
body.kaboxx-ui .admin-kyc-requirements summary small{color:#667085}
body.kaboxx-ui .admin-kyc-requirements__body{padding:0 18px 18px}
body.kaboxx-ui .admin-kyc-requirement-form{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:8px}
body.kaboxx-ui .admin-kyc-requirement-form :where(input,select){min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d0d9e4;border-radius:8px}
body.kaboxx-ui .admin-kyc-requirement-list{display:grid;gap:7px;margin-top:15px}
body.kaboxx-ui .admin-kyc-requirement-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #e2e8ef;border-radius:9px}
body.kaboxx-ui .admin-kyc-requirement-list article div{display:grid}
body.kaboxx-ui .admin-kyc-requirement-list small{color:#667085}
body.kaboxx-ui .admin-kyc-requirement-list button{min-height:40px;padding:7px 11px;border:1px solid #d0d9e4;border-radius:8px;background:#fff}

/* Shared authenticated empty states: icon-led, actionable, and mobile safe. */
body.kaboxx-ui .kb-empty-state{align-items:center;background:linear-gradient(145deg,rgba(var(--primary-rgb,47,99,235),.07),rgba(255,255,255,.96));border:1px solid rgba(20,35,60,.1);border-radius:20px;display:flex;flex-direction:column;gap:14px;justify-content:center;min-width:0;padding:clamp(28px,6vw,56px) clamp(18px,5vw,44px);text-align:center}
body.kaboxx-ui .kb-empty-state--compact{min-height:220px}
body.kaboxx-ui .kb-empty-state__icon{align-items:center;background:rgba(var(--primary-rgb,47,99,235),.12);border-radius:18px;color:var(--primary-color,#2f63eb);display:inline-flex;font-size:32px;height:64px;justify-content:center;width:64px}
body.kaboxx-ui .kb-empty-state__copy{max-width:560px;min-width:0}
body.kaboxx-ui .kb-empty-state__copy h3{color:var(--ot-text-title,#14233c);font-size:clamp(18px,3vw,22px);margin:0 0 8px}
body.kaboxx-ui .kb-empty-state__copy p{color:var(--ot-text-subtitle,#617085);line-height:1.6;margin:0;overflow-wrap:anywhere}
body.kaboxx-ui .kb-empty-state__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
body.kaboxx-ui .kb-empty-state__actions a{align-items:center;display:inline-flex;justify-content:center;min-height:44px}
body.kaboxx-ui .support-workspace,body.kaboxx-ui .support-create{display:grid;gap:20px;min-width:0}
body.kaboxx-ui .support-workspace__hero{align-items:center;background:linear-gradient(135deg,#112849,#234e86);border-radius:22px;color:#fff;display:flex;gap:24px;justify-content:space-between;min-width:0;padding:clamp(20px,4vw,36px)}
body.kaboxx-ui .support-workspace__hero h1,body.kaboxx-ui .support-create__header h1{color:inherit;font-size:clamp(24px,4vw,36px);margin:6px 0 8px}
body.kaboxx-ui .support-workspace__hero p,body.kaboxx-ui .support-create__header p{color:rgba(255,255,255,.78);margin:0;max-width:680px}
body.kaboxx-ui .support-workspace__eyebrow{align-items:center;display:inline-flex;font-size:13px;font-weight:700;gap:7px;letter-spacing:.06em;text-transform:uppercase}
body.kaboxx-ui .support-workspace__tabs{background:#fff;border:1px solid #e3e9f1;border-radius:14px;display:flex;gap:6px;padding:6px;width:max-content;max-width:100%}
body.kaboxx-ui .support-workspace__tabs a{align-items:center;border-radius:10px;color:#58677b;display:flex;gap:8px;justify-content:center;min-height:44px;padding:8px 18px}
body.kaboxx-ui .support-workspace__tabs a.active{background:#eaf1ff;color:#194fa9;font-weight:700}
body.kaboxx-ui .support-workspace__filters{align-items:end;background:#fff;border:1px solid #e3e9f1;border-radius:18px;display:grid;gap:12px;grid-template-columns:minmax(220px,1.6fr) repeat(2,minmax(150px,1fr)) auto;padding:16px}
body.kaboxx-ui .support-workspace__filters label,body.kaboxx-ui .support-create__grid label{display:grid;gap:7px;min-width:0}
body.kaboxx-ui .support-workspace__filters label>span,body.kaboxx-ui .support-create__grid label>span{color:#3b495e;font-size:13px;font-weight:700}
body.kaboxx-ui .support-ticket-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
body.kaboxx-ui .support-ticket-grid__empty{grid-column:1/-1}
body.kaboxx-ui .support-ticket-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 28px rgba(29,47,75,.06);display:flex;flex-direction:column;gap:14px;min-width:0;padding:18px;transition:transform .18s ease,box-shadow .18s ease}
body.kaboxx-ui .support-ticket-card:hover{box-shadow:0 12px 34px rgba(29,47,75,.11);transform:translateY(-2px)}
body.kaboxx-ui .support-ticket-card__top{align-items:center;display:flex;gap:10px;justify-content:space-between}
body.kaboxx-ui .support-ticket-card__number{color:#65748a;font-size:12px;font-weight:800;letter-spacing:.06em}
body.kaboxx-ui .support-ticket-card__body h2{font-size:18px;margin:0 0 6px}.support-ticket-card__body h2 a{color:#17283f}
body.kaboxx-ui .support-ticket-card__body p{color:#68778a;line-height:1.55;margin:0;overflow-wrap:anywhere}
body.kaboxx-ui .support-ticket-card__meta{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:auto 0 0}
body.kaboxx-ui .support-ticket-card__meta div{min-width:0}body.kaboxx-ui .support-ticket-card__meta dt{color:#8490a0;font-size:12px;text-transform:uppercase}body.kaboxx-ui .support-ticket-card__meta dd{color:#34435a;font-size:13px;font-weight:600;margin:3px 0 0;overflow-wrap:anywhere}
body.kaboxx-ui .support-ticket-card__open{align-items:center;border-top:1px solid #edf1f5;color:#245dc1;display:flex;font-weight:700;justify-content:space-between;margin-top:2px;min-height:44px;padding-top:12px}
body.kaboxx-ui .support-create{margin:auto;max-width:900px}
body.kaboxx-ui .support-create__header{background:linear-gradient(135deg,#112849,#234e86);border-radius:22px;color:#fff;padding:clamp(22px,5vw,42px)}
body.kaboxx-ui .support-create__back{align-items:center;color:#fff;display:inline-flex;gap:7px;margin-bottom:18px;min-height:44px}
body.kaboxx-ui .support-create__form{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 10px 32px rgba(29,47,75,.07);padding:clamp(18px,4vw,32px)}
body.kaboxx-ui .support-create__grid{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.kaboxx-ui .support-create__wide{grid-column:1/-1}
body.kaboxx-ui .support-create__actions{border-top:1px solid #e8edf3;display:flex;gap:10px;justify-content:flex-end;margin-top:24px;padding-top:18px}
body.kaboxx-ui .support-create__actions>*{align-items:center;display:inline-flex;justify-content:center;min-height:44px}
body.kaboxx-ui .profile-settings{display:grid;gap:20px;min-width:0}
body.kaboxx-ui .profile-settings__hero{align-items:center;background:linear-gradient(135deg,#102845,#205a84);border-radius:22px;color:#fff;display:flex;gap:20px;justify-content:space-between;min-width:0;padding:clamp(20px,4vw,34px)}
body.kaboxx-ui .profile-settings__identity{align-items:center;display:flex;gap:16px;min-width:0}
body.kaboxx-ui .profile-settings__identity img{background:#fff;border:3px solid rgba(255,255,255,.75);border-radius:20px;flex:0 0 72px;height:72px;object-fit:cover;width:72px}
body.kaboxx-ui .profile-settings__identity>div{min-width:0}body.kaboxx-ui .profile-settings__identity h1{color:#fff;font-size:clamp(23px,4vw,34px);margin:2px 0;overflow-wrap:anywhere}body.kaboxx-ui .profile-settings__identity p{color:rgba(255,255,255,.76);margin:0}
body.kaboxx-ui .profile-settings__eyebrow{color:#b9d8ff;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.kaboxx-ui .profile-settings__status span{align-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);border-radius:999px;display:inline-flex;gap:7px;min-height:44px;padding:8px 14px;white-space:nowrap}body.kaboxx-ui .profile-settings__status .is-verified{background:rgba(20,184,120,.18)}
body.kaboxx-ui .profile-settings__quick{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.kaboxx-ui .profile-settings__quick a{align-items:center;background:#fff;border:1px solid #e0e7ef;border-radius:16px;color:#1c2c44;display:grid;gap:12px;grid-template-columns:44px minmax(0,1fr) auto;min-height:76px;padding:13px;transition:.18s ease}
body.kaboxx-ui .profile-settings__quick a:hover{border-color:#9ebcf1;box-shadow:0 8px 24px rgba(25,56,92,.08);transform:translateY(-1px)}body.kaboxx-ui .profile-settings__quick>a>i:first-child{align-items:center;background:#edf4ff;border-radius:12px;color:#255ebd;display:flex;font-size:22px;height:44px;justify-content:center;width:44px}body.kaboxx-ui .profile-settings__quick span{display:grid;min-width:0}body.kaboxx-ui .profile-settings__quick small{color:#718096;overflow-wrap:anywhere}
body.kaboxx-ui .profile-settings__layout{align-items:start;display:grid;gap:20px;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);min-width:0}
body.kaboxx-ui .profile-settings__main{display:grid;gap:20px;min-width:0}
body.kaboxx-ui .kamoney-username-control{display:flex;align-items:stretch;min-height:46px;margin-top:7px;overflow:hidden;border:1px solid #d7e1e5;border-radius:12px;background:var(--bs-body-bg,#fff)}body.kaboxx-ui .kamoney-username-control:focus-within{border-color:#12877a;box-shadow:0 0 0 3px rgba(18,135,122,.14)}body.kaboxx-ui .kamoney-username-control>span{display:grid;place-items:center;min-width:46px;border-right:1px solid #d7e1e5;background:rgba(18,135,122,.09);color:#0b655d;font-size:17px;font-weight:800}body.kaboxx-ui .kamoney-username-control>input{min-width:0;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.kaboxx-ui .profile-settings__form{display:grid;gap:18px;min-width:0}
body.kaboxx-ui .profile-settings__card{background:#fff;border:1px solid #e1e8f0;border-radius:20px;box-shadow:0 7px 25px rgba(29,47,75,.055);min-width:0;padding:clamp(17px,3vw,25px)}
body.kaboxx-ui .profile-settings__section-heading{align-items:flex-start;border-bottom:1px solid #edf1f5;display:flex;gap:12px;margin-bottom:20px;padding-bottom:16px}body.kaboxx-ui .profile-settings__section-heading>span{align-items:center;background:#edf4ff;border-radius:12px;color:#245cb9;display:flex;flex:0 0 42px;font-size:21px;height:42px;justify-content:center}body.kaboxx-ui .profile-settings__section-heading h2{font-size:18px;margin:0 0 3px}body.kaboxx-ui .profile-settings__section-heading p{color:#718096;line-height:1.45;margin:0}
body.kaboxx-ui .profile-settings__grid{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}body.kaboxx-ui .profile-settings__grid>*{min-width:0}body.kaboxx-ui .profile-settings__grid .form-label b{color:#d92d20}
body.kaboxx-ui .searchable-multiselect{display:grid;gap:7px;min-width:0}body.kaboxx-ui .searchable-multiselect__label{align-items:center;display:flex;gap:10px;justify-content:space-between}body.kaboxx-ui .searchable-multiselect__label label{color:#425b6c;font-size:13px;font-weight:750}body.kaboxx-ui .searchable-multiselect__label b{color:#d92d20}body.kaboxx-ui .searchable-multiselect__label>span{color:#667f8d;font-size:12px}body.kaboxx-ui .searchable-multiselect__control{border:1px solid #d5e1e7;border-radius:15px;background:#f8fbfc;min-width:0;padding:10px}body.kaboxx-ui .searchable-multiselect__search{align-items:center;background:#fff;border:1px solid #d5e1e7;border-radius:11px;display:grid;grid-template-columns:auto minmax(0,1fr);min-height:44px;padding:0 11px}body.kaboxx-ui .searchable-multiselect__search i{color:#69808e;font-size:18px}body.kaboxx-ui .searchable-multiselect__search input{border:0!important;box-shadow:none!important;min-height:42px;padding:8px!important;width:100%}body.kaboxx-ui .searchable-multiselect__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:8px 0}body.kaboxx-ui .searchable-multiselect__toolbar button{background:transparent;border:0;color:#086f63;font-size:12px;font-weight:750;min-height:36px;padding:5px 8px}body.kaboxx-ui .searchable-multiselect__options{display:grid;gap:10px;max-height:260px;overflow:auto;overscroll-behavior:contain;padding:2px}body.kaboxx-ui .searchable-multiselect__options section{display:grid;gap:6px}body.kaboxx-ui .searchable-multiselect__options h3{color:#657c89;font-size:12px;font-weight:750;letter-spacing:.04em;margin:0;text-transform:uppercase}body.kaboxx-ui .searchable-multiselect__options section>div{display:flex;flex-wrap:wrap;gap:7px}body.kaboxx-ui [data-multiselect-option]{align-items:center;background:#fff;border:1px solid #d7e3e8;border-radius:999px;color:#405e70;cursor:pointer;display:inline-flex;gap:5px;min-height:40px;padding:7px 10px}body.kaboxx-ui [data-multiselect-option]:has(input:checked){background:#e8f7f2;border-color:#6ab8a9;color:#075f55}body.kaboxx-ui [data-multiselect-option] input{height:1px;opacity:0;position:absolute;width:1px}body.kaboxx-ui [data-multiselect-option] i{display:none}body.kaboxx-ui [data-multiselect-option]:has(input:checked) i{display:inline}body.kaboxx-ui [data-multiselect-option]:focus-within{outline:3px solid rgba(8,118,103,.22);outline-offset:2px}body.kaboxx-ui [data-multiselect-option][hidden],body.kaboxx-ui [data-multiselect-group][hidden]{display:none!important}
body.kaboxx-ui .profile-settings__password form{display:grid;gap:14px}
body.kaboxx-ui .media-ownership-declaration{align-items:flex-start;color:#4c6575;display:flex!important;font-size:12px;font-weight:650;gap:9px;line-height:1.45;text-transform:none!important}body.kaboxx-ui .media-ownership-declaration input{flex:0 0 18px;height:18px;margin-top:1px;width:18px}
body.kaboxx-ui .avatar-crop-control{display:grid;gap:12px;min-width:0}body.kaboxx-ui .avatar-crop-control__preview{aspect-ratio:1;border:1px solid #d8e1ea;border-radius:20px;max-width:220px;overflow:hidden;width:100%}body.kaboxx-ui .avatar-crop-control__preview img{height:100%;object-fit:cover;width:100%}body.kaboxx-ui .avatar-crop-control__sliders{display:grid;gap:10px;max-width:360px}body.kaboxx-ui .avatar-crop-control__sliders label{color:#40566f;display:grid;font-size:13px;font-weight:650;gap:4px}body.kaboxx-ui .avatar-crop-control__sliders input{min-height:32px;width:100%}
body.kaboxx-ui .profile-settings__actions{align-items:center;background:rgba(255,255,255,.96);border:1px solid #e2e8f0;border-radius:16px;bottom:12px;box-shadow:0 9px 30px rgba(29,47,75,.1);display:flex;gap:10px;justify-content:flex-end;padding:12px;position:sticky;z-index:25}body.kaboxx-ui .profile-settings__actions>*{align-items:center;display:inline-flex;justify-content:center;min-height:44px}

@media(max-width:900px){
 body.kaboxx-ui .profile-settings__quick{grid-template-columns:1fr}
 body.kaboxx-ui .profile-settings__layout{grid-template-columns:1fr}
 body.kaboxx-ui .support-workspace__filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.kaboxx-ui .kyc-upload-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.kaboxx-ui .kyc-upload-form button{width:100%}
 body.kaboxx-ui .admin-kyc-card{grid-template-columns:48px minmax(0,1fr)}
 body.kaboxx-ui .admin-kyc-card__actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
 body.kaboxx-ui .admin-kyc-card__review{grid-column:1/-1}
 body.kaboxx-ui .admin-kyc-requirement-form{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:599px){
 body.kaboxx-ui .profile-settings__hero{align-items:flex-start;flex-direction:column}
 body.kaboxx-ui .profile-settings__identity img{border-radius:16px;flex-basis:60px;height:60px;width:60px}
 body.kaboxx-ui .profile-settings__status{width:100%}body.kaboxx-ui .profile-settings__status span{justify-content:center;width:100%}
 body.kaboxx-ui .profile-settings__grid{grid-template-columns:1fr}
 body.kaboxx-ui .profile-settings__actions{bottom:calc(var(--kb-mobile-nav-height,72px) + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;margin-inline:-1px}
 body.kaboxx-ui .support-workspace{gap:14px}
 body.kaboxx-ui .support-workspace__hero{align-items:stretch;flex-direction:column;padding:20px}
 body.kaboxx-ui .support-workspace__hero .btn-primary-fill{justify-content:center;width:100%}
 body.kaboxx-ui .support-workspace__tabs{width:100%}body.kaboxx-ui .support-workspace__tabs a{flex:1;padding-inline:10px}
 body.kaboxx-ui .support-workspace__filters,body.kaboxx-ui .support-ticket-grid,body.kaboxx-ui .support-create__grid{grid-template-columns:1fr}
 body.kaboxx-ui .support-workspace__filters button{width:100%}
 body.kaboxx-ui .support-ticket-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.kaboxx-ui .support-create__actions{background:#fff;bottom:calc(var(--kb-mobile-nav-height,72px) + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;margin-inline:-18px;padding:12px 18px;position:sticky;z-index:20}
 body.kaboxx-ui .kb-empty-state__actions{align-items:stretch;flex-direction:column;width:100%}
 body.kaboxx-ui .kb-empty-state__actions a{width:100%}
 body.kaboxx-ui .kyc-workspace__hero,body.kaboxx-ui .kyc-workspace__section>header{align-items:flex-start;flex-direction:column}
 body.kaboxx-ui .kyc-workspace__tabs{overflow-x:auto}
 body.kaboxx-ui .kyc-workspace__tabs a{flex:1 0 auto;padding-inline:11px}
 body.kaboxx-ui .kyc-requirement-card__summary{flex-direction:column}
 body.kaboxx-ui .kyc-document-actions{width:100%}
 body.kaboxx-ui .kyc-document-actions a{flex:1}
 body.kaboxx-ui .kyc-requirement-card__meta{grid-template-columns:1fr}
 body.kaboxx-ui .kyc-upload-form{grid-template-columns:1fr}
 body.kaboxx-ui .kyc-history-card{grid-template-columns:42px minmax(0,1fr)}
 body.kaboxx-ui .kyc-history-card__file{width:42px;height:42px}
 body.kaboxx-ui .kyc-history-card .kyc-document-actions{grid-column:1/-1}
 body.kaboxx-ui .admin-kyc-card__review{grid-template-columns:1fr}
 body.kaboxx-ui .admin-kyc-card__review button{width:100%}
 body.kaboxx-ui .admin-kyc-requirement-form{grid-template-columns:1fr}
}
