:root{color-scheme:light;--pg-surface:#fff;--pg-surface-soft:#f5f7fc;--pg-surface-muted:#edf1f8;--pg-text:#172033;--pg-text-muted:#66728a;--pg-border:#dce3ef;--pg-shadow:0 18px 45px rgba(17,30,62,.1)}
html[data-theme=dark]{color-scheme:dark;--pg-surface:#151a2c;--pg-surface-soft:#0f1424;--pg-surface-muted:#20273d;--pg-text:#eef2ff;--pg-text-muted:#a9b2c8;--pg-border:#303a56;--pg-shadow:0 18px 48px rgba(0,0,0,.34)}
.pegazee-theme-toggle{width:40px;height:40px;flex:0 0 40px;display:inline-grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.09);color:#fff;cursor:pointer;transition:.2s ease}.pegazee-theme-toggle:hover{transform:translateY(-1px);background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.32)}.pegazee-theme-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pegazee-theme-icon-moon{display:none}html[data-theme=dark] .pegazee-theme-icon-sun{display:none}html[data-theme=dark] .pegazee-theme-icon-moon{display:block}
.pegazee-theme-switch{height:40px;display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(12,17,38,.2);box-shadow:inset 0 1px rgba(255,255,255,.06)}.pegazee-theme-choice{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.62);cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.pegazee-theme-choice:hover{color:#fff;background:rgba(255,255,255,.1);transform:translateY(-1px)}.pegazee-theme-choice.is-active{color:#fff;background:rgba(255,255,255,.18);box-shadow:0 3px 10px rgba(4,8,25,.22)}.pegazee-theme-choice svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}html[data-theme=light] .pegazee-auth-actions .pegazee-theme-switch{border-color:rgba(30,40,64,.18);background:rgba(255,255,255,.7)}html[data-theme=light] .pegazee-auth-actions .pegazee-theme-choice{color:#68738a}html[data-theme=light] .pegazee-auth-actions .pegazee-theme-choice:hover{color:#27314b;background:#eef1f8}html[data-theme=light] .pegazee-auth-actions .pegazee-theme-choice.is-active{color:#4338ca;background:#fff;box-shadow:0 3px 12px rgba(25,35,62,.15)}
.pegazee-register-link{width:auto!important;min-width:96px;padding:0 16px;white-space:nowrap}.pegazee-register-link a{white-space:nowrap}
.pegazee-language{position:relative;margin:0}.pegazee-language-summary{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid rgba(255,255,255,.14);border-radius:12px;color:#fff;font-size:14px;font-weight:650;cursor:pointer;list-style:none;transition:.2s ease}.pegazee-language-summary::-webkit-details-marker{display:none}.pegazee-language-summary:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.26)}.pegazee-language-summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.pegazee-language-chevron{width:14px!important;transition:transform .2s ease}.pegazee-language[open] .pegazee-language-chevron{transform:rotate(180deg)}
.pegazee-language-menu{position:absolute;top:calc(100% + 10px);right:0;width:min(420px,calc(100vw - 28px));max-height:min(520px,calc(100vh - 100px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;overflow-y:auto;padding:10px;border:1px solid var(--pg-border);border-radius:18px;background:var(--pg-surface);box-shadow:var(--pg-shadow)}.pegazee-language-menu li{min-width:0}.pegazee-language-menu a{min-height:42px;display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px!important;border-radius:10px;color:var(--pg-text)!important;font-size:13px;line-height:1.25;cursor:pointer;white-space:normal}.pegazee-language-menu a:hover{background:var(--pg-surface-muted)!important}.pegazee-language-menu a.is-current{background:rgba(83,92,236,.12)!important;color:#5962e9!important;font-weight:700}.pegazee-language-menu a svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme=dark] body.pegazee-modern-ui,html[data-theme=dark] body.pegazee-modern-ui main,html[data-theme=dark] body.pegazee-modern-ui #scrollable-container,html[data-theme=dark] body.pegazee-modern-ui .content-wrapper,html[data-theme=dark] body.pegazee-modern-ui .content,html[data-theme=dark] body.pegazee-modern-ui .tw-bg-gray-100{background-color:var(--pg-surface-soft)!important;color:var(--pg-text)}
html[data-theme=dark] body.pegazee-modern-ui .tw-bg-white,html[data-theme=dark] body.pegazee-modern-ui .box,html[data-theme=dark] body.pegazee-modern-ui .card,html[data-theme=dark] body.pegazee-modern-ui .modal-content,html[data-theme=dark] body.pegazee-modern-ui .dropdown-menu,html[data-theme=dark] body.pegazee-modern-ui .tw-dw-dropdown-content,html[data-theme=dark] body.pegazee-modern-ui .pegazee-plan-card,html[data-theme=dark] body.pegazee-modern-ui .pegazee-bank-card,html[data-theme=dark] body.pegazee-modern-ui .pegazee-history-card,html[data-theme=dark] body.pegazee-modern-ui .pegazee-subscription-card,html[data-theme=dark] body.pegazee-modern-ui .courier-card,html[data-theme=dark] body.pegazee-modern-ui .provider-card{background-color:var(--pg-surface)!important;border-color:var(--pg-border)!important;color:var(--pg-text)!important}
html[data-theme=dark] body.pegazee-modern-ui .side-bar,html[data-theme=dark] body.pegazee-modern-ui .main-sidebar,html[data-theme=dark] body.pegazee-modern-ui aside{background:#111628!important;border-color:var(--pg-border)!important}html[data-theme=dark] body.pegazee-modern-ui .side-bar a,html[data-theme=dark] body.pegazee-modern-ui .main-sidebar a,html[data-theme=dark] body.pegazee-modern-ui .sidebar a{color:#cbd3e7!important}html[data-theme=dark] body.pegazee-modern-ui .side-bar a:hover,html[data-theme=dark] body.pegazee-modern-ui .side-bar .active,html[data-theme=dark] body.pegazee-modern-ui .sidebar-menu .active>a{background:#242d49!important;color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar{border-color:var(--pg-border)!important;background:#111628!important}html[data-theme=dark] body.pegazee-modern-ui #side-bar .tw-bg-gray-200{background:#242d49!important;color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui #side-bar .tw-bg-gray-200 .chiled{background:transparent!important}html[data-theme=dark] body.pegazee-modern-ui #side-bar .tw-bg-gray-200 svg{color:#aeb8d4!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding{border-color:var(--pg-border)!important;background:#151a2c!important;box-shadow:0 -12px 30px rgba(0,0,0,.2)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__copy strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__support strong{color:#eef2ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__copy span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__support small,html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__legal{color:#9aa6c0!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__support,html[data-theme=dark] body.pegazee-modern-ui .pegazee-sidebar-branding__link{border-color:var(--pg-border)!important;background:#20273d!important;color:#dce4f7!important}
html[data-theme=dark] body.pegazee-modern-ui h1,html[data-theme=dark] body.pegazee-modern-ui h2,html[data-theme=dark] body.pegazee-modern-ui h3,html[data-theme=dark] body.pegazee-modern-ui h4,html[data-theme=dark] body.pegazee-modern-ui h5,html[data-theme=dark] body.pegazee-modern-ui h6,html[data-theme=dark] body.pegazee-modern-ui .tw-text-gray-900,html[data-theme=dark] body.pegazee-modern-ui .tw-text-gray-800,html[data-theme=dark] body.pegazee-modern-ui .tw-text-gray-700{color:var(--pg-text)!important}html[data-theme=dark] body.pegazee-modern-ui .tw-text-gray-600,html[data-theme=dark] body.pegazee-modern-ui .tw-text-gray-500,html[data-theme=dark] body.pegazee-modern-ui .text-muted{color:var(--pg-text-muted)!important}
html[data-theme=dark] body.pegazee-modern-ui table,html[data-theme=dark] body.pegazee-modern-ui .table{color:var(--pg-text);background:transparent}html[data-theme=dark] body.pegazee-modern-ui table th,html[data-theme=dark] body.pegazee-modern-ui table td,html[data-theme=dark] body.pegazee-modern-ui .table>thead>tr>th,html[data-theme=dark] body.pegazee-modern-ui .table>tbody>tr>td{border-color:var(--pg-border)!important}html[data-theme=dark] body.pegazee-modern-ui .table-striped>tbody>tr:nth-of-type(odd){background:rgba(255,255,255,.025)}
html[data-theme=dark] body.pegazee-modern-ui input,html[data-theme=dark] body.pegazee-modern-ui textarea,html[data-theme=dark] body.pegazee-modern-ui select,html[data-theme=dark] body.pegazee-modern-ui .form-control,html[data-theme=dark] body.pegazee-modern-ui .select2-selection{background:#0e1425!important;border-color:var(--pg-border)!important;color:var(--pg-text)!important}html[data-theme=dark] body.pegazee-modern-ui input::placeholder,html[data-theme=dark] body.pegazee-modern-ui textarea::placeholder{color:#77839e}html[data-theme=dark] body.pegazee-modern-ui .modal-header,html[data-theme=dark] body.pegazee-modern-ui .modal-footer,html[data-theme=dark] body.pegazee-modern-ui .box-header,html[data-theme=dark] body.pegazee-modern-ui .box-footer{border-color:var(--pg-border)!important;background:transparent!important}
html[data-theme=dark] .pegazee-lock-page{background:radial-gradient(circle at 50% 8%,#1d2540 0,#111729 45%,#0c1120 100%)!important}html[data-theme=dark] .pegazee-lock-card{background:var(--pg-surface)!important;border-color:var(--pg-border)!important;box-shadow:0 28px 70px rgba(0,0,0,.38)}html[data-theme=dark] .pegazee-lock-card h1{color:var(--pg-text)!important}html[data-theme=dark] .pegazee-lock-card p,html[data-theme=dark] .pegazee-lock-card small{color:var(--pg-text-muted)!important}html[data-theme=dark] .pegazee-main-footer{background:#111628!important;border-color:var(--pg-border)!important}html[data-theme=dark] .pegazee-main-footer p{color:var(--pg-text-muted)!important}

/* Complete dark interface audit — shared legacy and Pegazee surfaces */
html[data-theme=dark]{--pg-canvas:#0c1120;--pg-surface:#151b2e;--pg-surface-2:#1b2339;--pg-surface-3:#232d48;--pg-line:#323d5c;--pg-ink:#f5f7ff;--pg-muted:#b4bfd7;--pg-primary-soft:#242d55;--pgz-ink:#f5f7ff;--pgz-muted:#b7c1d8;--pgz-border:#323d5c;--pgz-soft:#242d55}
html[data-theme=dark] body.pegazee-modern-ui{color:#e8edfa!important;background:#0c1120!important}
html[data-theme=dark] body.pegazee-modern-ui p,html[data-theme=dark] body.pegazee-modern-ui span,html[data-theme=dark] body.pegazee-modern-ui small,html[data-theme=dark] body.pegazee-modern-ui label,html[data-theme=dark] body.pegazee-modern-ui .control-label{border-color:inherit}
html[data-theme=dark] body.pegazee-modern-ui p,html[data-theme=dark] body.pegazee-modern-ui label,html[data-theme=dark] body.pegazee-modern-ui .control-label{color:#c4cde0}
html[data-theme=dark] body.pegazee-modern-ui a:not(.btn):not(.pegazee-btn):not(.pegazee-renewal-banner__action){color:#aebcff}
html[data-theme=dark] body.pegazee-modern-ui hr{border-color:#323d5c}

html[data-theme=dark] body.pegazee-modern-ui .content-header,html[data-theme=dark] body.pegazee-modern-ui .content-header-custom,html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard{background:#0c1120!important}
html[data-theme=dark] body.pegazee-modern-ui .breadcrumb,html[data-theme=dark] body.pegazee-modern-ui .well,html[data-theme=dark] body.pegazee-modern-ui .nav-tabs-custom,html[data-theme=dark] body.pegazee-modern-ui .panel,html[data-theme=dark] body.pegazee-modern-ui .list-group-item{background:#151b2e!important;border-color:#323d5c!important;color:#e8edfa!important}
html[data-theme=dark] body.pegazee-modern-ui .box-header,html[data-theme=dark] body.pegazee-modern-ui .card-header,html[data-theme=dark] body.pegazee-modern-ui .modal-header,html[data-theme=dark] body.pegazee-modern-ui .box-footer,html[data-theme=dark] body.pegazee-modern-ui .card-footer,html[data-theme=dark] body.pegazee-modern-ui .modal-footer{background:#171e32!important;border-color:#323d5c!important}
html[data-theme=dark] body.pegazee-modern-ui .btn-default{background:#202941!important;border-color:#3b486a!important;color:#eef2ff!important}
html[data-theme=dark] body.pegazee-modern-ui .close{color:#fff!important;text-shadow:none;opacity:.8}

html[data-theme=dark] body.pegazee-modern-ui table.table>thead>tr>th,html[data-theme=dark] body.pegazee-modern-ui table.dataTable>thead>tr>th{background:#202941!important;border-color:#3a4666!important;color:#d6deef!important}
html[data-theme=dark] body.pegazee-modern-ui table.table>tbody>tr>td,html[data-theme=dark] body.pegazee-modern-ui table.dataTable>tbody>tr>td{background:#151b2e!important;border-color:#303b59!important;color:#e7ecf8!important}
html[data-theme=dark] body.pegazee-modern-ui table.table>tbody>tr:hover>td,html[data-theme=dark] body.pegazee-modern-ui .table-hover>tbody>tr:hover>td{background:#1d263d!important}
html[data-theme=dark] body.pegazee-modern-ui .table-striped>tbody>tr:nth-of-type(odd)>td{background:#182034!important}
html[data-theme=dark] body.pegazee-modern-ui table small{color:#aeb9d0!important}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper label,html[data-theme=dark] body.pegazee-modern-ui .dataTables_info{color:#b7c1d8!important}
html[data-theme=dark] body.pegazee-modern-ui .pagination>li>a,html[data-theme=dark] body.pegazee-modern-ui .pagination>li>span{background:#1b2339!important;border-color:#323d5c!important;color:#cbd4e7!important}

html[data-theme=dark] body.pegazee-modern-ui input:not([type=checkbox]):not([type=radio]):not([type=range]),html[data-theme=dark] body.pegazee-modern-ui textarea,html[data-theme=dark] body.pegazee-modern-ui select,html[data-theme=dark] body.pegazee-modern-ui .select2-selection,html[data-theme=dark] body.pegazee-modern-ui .select2-dropdown,html[data-theme=dark] body.pegazee-modern-ui .select2-search__field,html[data-theme=dark] body.pegazee-modern-ui .input-group-addon{background:#101729!important;border-color:#3a4666!important;color:#f0f3fb!important}
html[data-theme=dark] body.pegazee-modern-ui .select2-results,html[data-theme=dark] body.pegazee-modern-ui .select2-results__option{background:#151b2e;color:#dce3f2}
html[data-theme=dark] body.pegazee-modern-ui .select2-results__option[aria-selected=true]{background:#273251!important}
html[data-theme=dark] body.pegazee-modern-ui .form-control[disabled],html[data-theme=dark] body.pegazee-modern-ui .form-control[readonly],html[data-theme=dark] body.pegazee-modern-ui fieldset[disabled] .form-control{background:#202941!important;color:#aeb9d0!important}
html[data-theme=dark] body.pegazee-modern-ui input::placeholder,html[data-theme=dark] body.pegazee-modern-ui textarea::placeholder{color:#8995af!important;opacity:1}

html[data-theme=dark] body.pegazee-modern-ui .pegazee-billing-page,html[data-theme=dark] body.pegazee-modern-ui .courier-page,html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-page{background:#0c1120!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-billing-hero{border:1px solid #39446e;background:linear-gradient(125deg,#2e3475,#242957)!important;box-shadow:0 18px 42px rgba(0,0,0,.22)}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-billing-hero h1,html[data-theme=dark] body.pegazee-modern-ui .pegazee-billing-hero p,html[data-theme=dark] body.pegazee-modern-ui .pegazee-billing-hero span{color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-stats>div,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-kpis>article,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-panel,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-activity,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions-card{background:#151b2e!important;border:1px solid #323d5c!important;color:#f2f5ff!important;box-shadow:0 12px 32px rgba(0,0,0,.2)!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-stats span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-kpis span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-kpis small{color:#b5c0d7!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-stats strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-kpis strong{color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions-grid>a,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-money-grid>div,html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription,html[data-theme=dark] body.pegazee-modern-ui .pegazee-billing-tabs{background:#151b2e!important;border-color:#323d5c!important;color:#f0f3fb!important;box-shadow:0 10px 28px rgba(0,0,0,.18)!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions-grid strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions-grid>a{color:#f5f7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions-grid small,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-money-grid span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-money-grid small{color:#b7c1d8!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-alert{background:#302719!important;border-color:#6e572c!important;color:#ffd88a!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-alert strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-alert span{color:#ffe2a8!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-plan-settings,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-review,html[data-theme=dark] body.pegazee-modern-ui .pegazee-bank-tracker,html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-intro,html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-import,html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-key-note{background:#151b2e!important;border-color:#323d5c!important;color:#e8edfa!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-plan-dates,html[data-theme=dark] body.pegazee-modern-ui .pegazee-bank-details,html[data-theme=dark] body.pegazee-modern-ui .pegazee-saved-card,html[data-theme=dark] body.pegazee-modern-ui .pegazee-empty-payment,html[data-theme=dark] body.pegazee-modern-ui .pegazee-bank-latest,html[data-theme=dark] body.pegazee-modern-ui .pegazee-review-row{background:#1b2339!important;border-color:#35415f!important;color:#edf1fb!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-plan-dates strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-bank-details dd,html[data-theme=dark] body.pegazee-modern-ui .pegazee-review-main strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-renewal-list strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-empty-state strong{color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-section-heading p,html[data-theme=dark] body.pegazee-modern-ui .pegazee-secure-note,html[data-theme=dark] body.pegazee-modern-ui .pegazee-submission div span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-review-main span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-renewal-list small,html[data-theme=dark] body.pegazee-modern-ui .pegazee-empty-state{color:#b7c1d8!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-file-input,html[data-theme=dark] body.pegazee-modern-ui .pegazee-duration-summary{background:#202941!important;border-color:#3a4666!important;color:#dce3f2!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-history-card h2,html[data-theme=dark] body.pegazee-modern-ui .pegazee-plan-card h2,html[data-theme=dark] body.pegazee-modern-ui .pegazee-bank-card h2,html[data-theme=dark] body.pegazee-modern-ui .pegazee-section-title h2{color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-card-menu__panel,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions details form,html[data-theme=dark] body.pegazee-modern-ui .pegazee-reject form{background:#1b2339!important;border-color:#3a4666!important;color:#eef2ff!important;box-shadow:0 20px 55px rgba(0,0,0,.45)!important}

html[data-theme=dark] body.pegazee-modern-ui .pegazee-action-modal__dialog,html[data-theme=dark] body.pegazee-modern-ui .pegazee-action-modal__body{background:#151b2e!important;color:#e9eef9!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-action-modal__header{background:#202941!important;border-color:#3b486a!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-action-modal__header h2,html[data-theme=dark] body.pegazee-modern-ui .pegazee-action-modal__header p,html[data-theme=dark] body.pegazee-modern-ui .pegazee-action-modal__eyebrow{color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-icon-btn{background:#242d49!important;border-color:#394563!important;color:#c5ceff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-duration-presets button{background:#202941!important;border-color:#3a4666!important;color:#d8e0f1!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-duration-presets button:hover,html[data-theme=dark] body.pegazee-modern-ui .pegazee-duration-presets button.is-active{background:#5146e5!important;border-color:#7169ef!important;color:#fff!important}

html[data-theme=dark] body.pegazee-modern-ui .courier-card,html[data-theme=dark] body.pegazee-modern-ui .provider-card,html[data-theme=dark] body.pegazee-modern-ui .courier-preferences,html[data-theme=dark] body.pegazee-modern-ui .sticky-save,html[data-theme=dark] body.pegazee-modern-ui .courier-metric{background:#151b2e!important;border-color:#323d5c!important;color:#e9eef9!important}
html[data-theme=dark] body.pegazee-modern-ui .courier-card h2,html[data-theme=dark] body.pegazee-modern-ui .provider-card h2,html[data-theme=dark] body.pegazee-modern-ui .courier-metric strong{color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui .courier-card p,html[data-theme=dark] body.pegazee-modern-ui .provider-card p,html[data-theme=dark] body.pegazee-modern-ui .courier-metric span,html[data-theme=dark] body.pegazee-modern-ui .courier-table td small,html[data-theme=dark] body.pegazee-modern-ui .courier-empty{color:#b7c1d8!important}
html[data-theme=dark] body.pegazee-modern-ui .courier-table th{background:#202941!important;border-color:#3a4666!important;color:#d6deef!important}html[data-theme=dark] body.pegazee-modern-ui .courier-table td{background:#151b2e!important;border-color:#303b59!important;color:#e7ecf8!important}
html[data-theme=dark] body.pegazee-modern-ui .provider-logo,html[data-theme=dark] body.pegazee-modern-ui .courier-metric-icon{background:#242d55!important;color:#b8c2ff!important}
html[data-theme=dark] body.pegazee-modern-ui .provider-card label,html[data-theme=dark] body.pegazee-modern-ui .courier-preferences label,html[data-theme=dark] body.pegazee-modern-ui .editor-grid label,html[data-theme=dark] body.pegazee-modern-ui .provider-top span,html[data-theme=dark] body.pegazee-modern-ui .sticky-save span{color:#bac4da!important}
html[data-theme=dark] body.pegazee-modern-ui .shipment-editor,html[data-theme=dark] body.pegazee-modern-ui .courier-filter{background:#1b2339!important;color:#e9eef9!important}

html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-screen [class*=tw-bg-white],html[data-theme=dark] body.pegazee-modern-ui .pos-header [class*=tw-bg-white],html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions,html[data-theme=dark] body.pegazee-modern-ui .pos_product_div,html[data-theme=dark] body.pegazee-modern-ui #product_list_body,html[data-theme=dark] body.pegazee-modern-ui .product_box{background:#151b2e!important;border-color:#323d5c!important;color:#eef2ff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-screen .tw-text-gray-600,html[data-theme=dark] body.pegazee-modern-ui .pos-header .tw-text-gray-600{color:#cbd4e7!important}
html[data-theme=dark] body.pegazee-modern-ui .highcharts-background{fill:#151b2e!important}html[data-theme=dark] body.pegazee-modern-ui .highcharts-title,html[data-theme=dark] body.pegazee-modern-ui .highcharts-subtitle,html[data-theme=dark] body.pegazee-modern-ui .highcharts-axis-labels text,html[data-theme=dark] body.pegazee-modern-ui .highcharts-legend-item text{fill:#cbd4e7!important;color:#cbd4e7!important}html[data-theme=dark] body.pegazee-modern-ui .highcharts-grid-line{stroke:#303b59!important}
html[data-theme=dark] body.pegazee-modern-ui .popover,html[data-theme=dark] body.pegazee-modern-ui .tooltip-inner{background:#202941!important;border-color:#3a4666!important;color:#f1f4fb!important}html[data-theme=dark] body.pegazee-modern-ui .popover-title{background:#151b2e!important;border-color:#3a4666!important;color:#fff!important}

html[data-theme=dark] body.pegazee-auth-ui .login-box-body,html[data-theme=dark] body.pegazee-auth-ui .register-box-body,html[data-theme=dark] body.pegazee-auth-ui .login-card,html[data-theme=dark] body.pegazee-auth-ui .right-col form{background:#151b2e!important;border-color:#323d5c!important;color:#eef2ff!important}html[data-theme=dark] body.pegazee-auth-ui h1,html[data-theme=dark] body.pegazee-auth-ui h2,html[data-theme=dark] body.pegazee-auth-ui h3,html[data-theme=dark] body.pegazee-auth-ui label{color:#f5f7ff!important}html[data-theme=dark] body.pegazee-auth-ui input,html[data-theme=dark] body.pegazee-auth-ui select,html[data-theme=dark] body.pegazee-auth-ui textarea{background:#0f1628!important;border-color:#3a4666!important;color:#f2f5ff!important}
@media(max-width:640px){.pegazee-language-menu{grid-template-columns:1fr;width:min(290px,calc(100vw - 24px))}.pegazee-auth-actions{right:12px!important;gap:7px!important}.pegazee-theme-switch{height:38px}.pegazee-theme-choice{width:29px;height:30px}.pegazee-language-summary{padding-inline:9px}.pegazee-language-summary>svg:first-child{display:none}}

/* v6.15 navigation, settings and POS consistency audit */
body.pegazee-modern-ui #side-bar{padding-left:12px!important;padding-right:12px!important}
body.pegazee-modern-ui #side-bar>.tw-bg-gray-200{background:transparent!important;border:0!important;box-shadow:none!important;padding-bottom:0!important}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-link{width:100%;margin:0;box-sizing:border-box;transform:none!important;outline:0}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-link:hover,body.pegazee-modern-ui #side-bar .pegazee-sidebar-link:focus{transform:none!important;text-decoration:none}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-toggle.tw-bg-gray-200{background:#eef0ff!important;border-color:#cfd4ff!important;box-shadow:inset 3px 0 0 #5146e5!important;color:#4037bb!important}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-children{margin:6px 0 8px!important;padding:2px 0 2px 0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-rail{left:18px!important;background:#dfe3ef!important}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-list{padding-left:30px;padding-right:0}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link{width:100%;min-height:36px!important;padding:8px 12px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#667085!important;box-shadow:none!important}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link:hover,body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link:focus{background:#f4f5fb!important;border-color:#e5e7f2!important;color:#3730a3!important;text-decoration:none}
body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link.is-active{background:#e9eaff!important;border-color:#d8dbff!important;color:#4338ca!important;font-weight:700!important}

.courier-hero h1,.courier-hero h2,.courier-hero p,.courier-hero .courier-kicker{color:#fff!important}
.courier-card-head{gap:18px}.courier-filter input{min-width:190px}.courier-table{table-layout:auto}

.pegazee-settings-header{padding:24px 24px 10px!important}.pegazee-settings-page{padding:12px 24px 32px!important}
.pegazee-settings-page .pos-tab-container{overflow:hidden;border:1px solid #e1e5ee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
.pegazee-settings-page .pos-tab-container>.box-body{display:flex;align-items:stretch;gap:14px;padding:20px!important;background:#fff!important}
.pegazee-settings-page .pegazee-settings-shell{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start;gap:18px;width:100%;min-width:0;padding:8px}
.pegazee-settings-page .pos-tab-menu{flex:0 0 230px;width:230px;padding:0!important}
.pegazee-settings-page .pegazee-settings-shell>.pos-tab-menu,.pegazee-settings-page .pegazee-settings-shell>.pos-tab{float:none!important}.pegazee-settings-page .pegazee-settings-shell>.pos-tab-menu{width:230px!important}.pegazee-settings-page .pegazee-settings-shell>.pos-tab{width:100%!important;max-width:100%}.pegazee-settings-page .pos-tab{flex:1 1 auto;width:auto;min-width:0;padding:0!important}
.pegazee-settings-page .pos-tab-content{min-height:420px;padding:22px!important;border:1px solid #e6e9f0;border-radius:14px;background:#fbfcff!important}
.pegazee-settings-page .pos-tab>.pos-tab-content{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.pegazee-settings-page .pos-tab-content>.row{max-width:calc(100% + 30px)}.pegazee-settings-page .pos-tab-content .table{max-width:100%}
.pegazee-settings-page .list-group{margin:0;border:1px solid #e1e5ee;border-radius:14px;overflow:hidden;background:#fff}
.pegazee-settings-page .list-group-item{margin:0!important;padding:12px 14px!important;border:0!important;border-bottom:1px solid #e8ebf2!important;background:#fff!important;color:#475467!important;text-align:left!important}
.pegazee-settings-page .list-group-item:last-child{border-bottom:0!important}
.pegazee-settings-page .list-group-item:hover{background:#f5f6ff!important;color:#4338ca!important}
.pegazee-settings-page .list-group-item.active{background:linear-gradient(135deg,#5146e5,#4338ca)!important;color:#fff!important}
.pegazee-settings-page .form-group{margin-bottom:18px}.pegazee-settings-page label{line-height:1.35}.pegazee-settings-page .input-group{width:100%}

body.pegazee-modern-ui .pos-form-actions .tw-text-black,body.pegazee-modern-ui .pos-form-actions .pos-total,body.pegazee-modern-ui .pos-form-actions .pos-total>div{color:#172033!important}
body.pegazee-modern-ui .pos-form-actions #total_payable{color:#087a4b!important}
body.pegazee-modern-ui .pos-form-actions{border:1px solid #dde2ec!important}

html[data-theme=dark] body.pegazee-modern-ui #side-bar>.tw-bg-gray-200{background:transparent!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-link{color:#aeb9d2!important;background:transparent!important;border-color:transparent!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-link:hover,html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-link:focus{background:#1c2439!important;border-color:#303c5c!important;color:#f7f8ff!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-toggle.tw-bg-gray-200{background:#242d49!important;border-color:#6672a5!important;box-shadow:inset 3px 0 0 #756cf4!important;color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-children,html[data-theme=dark] body.pegazee-modern-ui #side-bar .tw-bg-gray-200 .pegazee-sidebar-children{background:transparent!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-rail{background:#35415f!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link{background:transparent!important;border-color:transparent!important;color:#8f9ab4!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link:hover,html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link:focus{background:#1c2439!important;border-color:#303c5c!important;color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar .pegazee-sidebar-child-link.is-active{background:#293252!important;border-color:#58658f!important;color:#fff!important;box-shadow:inset 3px 0 0 #756cf4!important}

html[data-theme=dark] body.pegazee-modern-ui .courier-hero{border:1px solid #45508d;background:linear-gradient(135deg,#202b67,#4338ca)!important}
html[data-theme=dark] body.pegazee-modern-ui .courier-metric{box-shadow:none!important}
html[data-theme=dark] body.pegazee-modern-ui .courier-filter input,html[data-theme=dark] body.pegazee-modern-ui .courier-filter select{background:#101729!important;border-color:#3a4666!important;color:#f1f4fb!important}

html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .pos-tab-container,html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .pos-tab-container>.box-body,html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .pos-tab,html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .pos-tab-content{background:#151b2e!important;border-color:#323d5c!important;color:#edf1fb!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .list-group{background:#111729!important;border-color:#323d5c!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .list-group-item{background:#151b2e!important;border-color:#323d5c!important;color:#c7d0e3!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .list-group-item:hover{background:#202941!important;color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .list-group-item.active{background:linear-gradient(135deg,#5146e5,#4338ca)!important;color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page legend,html[data-theme=dark] body.pegazee-modern-ui .pegazee-settings-page .help-block{color:#b9c3d9!important;border-color:#323d5c!important}

html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions{background:#151b2e!important;border-color:#323d5c!important;box-shadow:0 -14px 35px rgba(0,0,0,.3)!important}
html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions .tw-text-black,html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions .tw-text-gray-700,html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions .pos-total,html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions .pos-total>div{color:#f5f7ff!important}
html[data-theme=dark] body.pegazee-modern-ui .pos-form-actions #total_payable{color:#48e0a1!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-screen #pos_table thead th,html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-screen #product_list_body>.tw-bg-white{background:#202941!important;color:#dce3f2!important}

@media(max-width:991px){.pegazee-settings-page .pos-tab-container>.box-body{display:block}.pegazee-settings-page .pegazee-settings-shell{grid-template-columns:minmax(0,1fr);gap:14px;padding:4px}.pegazee-settings-page .pegazee-settings-shell>.pos-tab-menu,.pegazee-settings-page .pegazee-settings-shell>.pos-tab,.pegazee-settings-page .pos-tab-menu,.pegazee-settings-page .pos-tab{width:100%!important;max-width:none}.pegazee-settings-page .pos-tab-menu{margin-bottom:0}.pegazee-settings-page .list-group{display:flex;overflow-x:auto}.pegazee-settings-page .list-group-item{flex:0 0 auto;border-right:1px solid #e8ebf2!important;border-bottom:0!important}.courier-card-head{align-items:stretch}.courier-filter{width:100%}.courier-filter input{flex:1;min-width:0}}
@media(max-width:575px){.pegazee-settings-header{padding:18px 14px 8px!important}.pegazee-settings-page{padding:8px 14px 24px!important}.pegazee-settings-page .pos-tab-container>div{padding:7px!important}.pegazee-settings-page .pos-tab-content{padding:16px!important}.pegazee-settings-page .pos-tab-content>.row{max-width:none;margin-right:-8px;margin-left:-8px}.pegazee-settings-page .pos-tab-content [class*="col-"]{padding-right:8px;padding-left:8px}}

/* v6.16 super-admin activity and business intelligence */
.pegazee-presence{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.pegazee-presence i{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px currentColor;opacity:.82}.pegazee-presence.is-online{color:#087443;background:#dcfae6}.pegazee-presence.is-offline{color:#667085;background:#edf0f4}.pegazee-icon-btn.is-insights{color:#3730a3!important;background:#e9eaff!important;border-color:#d8dbff!important}
.pegazee-action-modal.is-wide .pegazee-action-modal__dialog{width:min(1120px,calc(100vw - 34px));max-width:1120px}.pegazee-action-modal.is-wide .pegazee-action-modal__body{padding:0;overflow:auto}
.pegazee-insights{padding:22px;background:#f5f7fb}.pegazee-insights__summary{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px;margin-bottom:16px}.pegazee-insights__summary>div{padding:15px 17px;border:1px solid #e1e6ef;border-radius:13px;background:#fff}.pegazee-insights__summary span,.pegazee-insights__summary small{display:block;color:#667085}.pegazee-insights__summary span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.pegazee-insights__summary strong{display:block;margin:4px 0;color:#172033;font-size:16px}.pegazee-insights__summary small{font-size:11px}
.pegazee-insights__tabs{display:flex;gap:7px;padding:6px;margin-bottom:16px;border:1px solid #e1e6ef;border-radius:13px;background:#fff;overflow-x:auto}.pegazee-insights__tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:8px 14px;border:0;border-radius:9px;background:transparent;color:#596579;font-weight:700;white-space:nowrap}.pegazee-insights__tabs button:hover{background:#f1f3fa;color:#3730a3}.pegazee-insights__tabs button.is-active{background:#4f46e5;color:#fff;box-shadow:0 7px 16px rgba(79,70,229,.2)}
.pegazee-insights__panel{display:none}.pegazee-insights__panel.is-active{display:block}.pegazee-insights__kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.pegazee-insights__kpis article{min-height:112px;padding:17px;border:1px solid #e1e6ef;border-radius:14px;background:#fff}.pegazee-insights__kpis article>i{color:#4f46e5;font-size:18px}.pegazee-insights__kpis span,.pegazee-insights__kpis small{display:block;color:#667085}.pegazee-insights__kpis span{margin-top:9px;font-size:11px;font-weight:700}.pegazee-insights__kpis strong{display:block;margin-top:3px;color:#172033;font-size:20px}.pegazee-insights__kpis small{margin-top:3px;font-size:10px}.pegazee-insights__section{padding:18px;border:1px solid #e1e6ef;border-radius:15px;background:#fff}.pegazee-insights__section h3{margin:0 0 14px;font-size:17px}.pegazee-insights__section h3 i{margin-right:7px;color:#4f46e5}.pegazee-insights__heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pegazee-insights__heading span{color:#667085;font-size:11px}.pegazee-insights__scroll{max-height:450px;overflow:auto}.pegazee-insights-loading,.pegazee-insights-error{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#4f46e5}.pegazee-insights-loading i,.pegazee-insights-error>i{font-size:30px}.pegazee-insights-error{color:#b42318}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-presence.is-online{color:#61e6a8;background:#16392e}html[data-theme=dark] body.pegazee-modern-ui .pegazee-presence.is-offline{color:#aeb9d0;background:#252d41}html[data-theme=dark] body.pegazee-modern-ui .pegazee-icon-btn.is-insights{color:#c9ceff!important;background:#293252!important;border-color:#4a5880!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights{background:#0f1525}html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__summary>div,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__tabs,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__kpis article,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__section{background:#151b2e;border-color:#323d5c;color:#edf1fb}html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__summary strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__kpis strong,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__section h3{color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__summary span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__summary small,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__kpis span,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__kpis small,html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__heading span{color:#b5c0d7!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__tabs button{color:#c3cce0}html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__tabs button:hover{background:#202941;color:#fff}html[data-theme=dark] body.pegazee-modern-ui .pegazee-insights__tabs button.is-active{background:#5146e5;color:#fff}
@media(max-width:760px){.pegazee-action-modal.is-wide .pegazee-action-modal__dialog{width:calc(100vw - 16px)}.pegazee-insights{padding:12px}.pegazee-insights__summary,.pegazee-insights__kpis{grid-template-columns:1fr}.pegazee-insights__summary{gap:8px}.pegazee-insights__heading{align-items:flex-start;flex-direction:column}}

/* v6.18 high-contrast dark audit and colorful action icon system */
html[data-theme=dark] body.pegazee-modern-ui{--pg-text:#f8faff;--pg-text-muted:#c5cee2;--pg-border:#3c496c}
html[data-theme=dark] body.pegazee-modern-ui :is(.btn,.pegazee-btn,button:not(.close),[role=button]){opacity:1!important}
html[data-theme=dark] body.pegazee-modern-ui :is(.btn-default,.pegazee-btn--secondary){background:#2b3656!important;border-color:#56678f!important;color:#f8faff!important;box-shadow:0 5px 15px rgba(0,0,0,.24)!important}
html[data-theme=dark] body.pegazee-modern-ui :is(.btn-default,.pegazee-btn--secondary):hover{background:#39476e!important;border-color:#8496c2!important;color:#fff!important}
html[data-theme=dark] body.pegazee-modern-ui button:disabled,html[data-theme=dark] body.pegazee-modern-ui .btn.disabled{opacity:.62!important;color:#d3daf0!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-card-icon{color:#91a5ff!important;background:#293664!important;box-shadow:inset 0 0 0 1px #475a9b!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-icon-btn{background:#273251!important;border:1px solid #415174!important;color:#dce5ff!important;box-shadow:0 5px 14px rgba(0,0,0,.2)!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-icon-btn:hover{background:#364467!important;border-color:#7184b0!important;color:#fff!important;transform:translateY(-1px)}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+1) :is(.pegazee-icon-btn,i){color:#66d9ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+2) :is(.pegazee-icon-btn,i){color:#c5a7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+3) :is(.pegazee-icon-btn,i){color:#77e4ad!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+4) :is(.pegazee-icon-btn,i){color:#ffd26d!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+5) :is(.pegazee-icon-btn,i){color:#ff9dc4!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+6) :is(.pegazee-icon-btn,i){color:#a7f3d0!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+7) :is(.pegazee-icon-btn,i){color:#ffa88e!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-actions>:nth-child(8n+8) :is(.pegazee-icon-btn,i){color:#80c5ff!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-cycle-option{background:#1c2540!important;border-color:#3a496d!important;color:#f5f7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-cycle-option.is-featured{background:linear-gradient(145deg,#222c50,#292d68)!important;border-color:#7884ee!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-cycle-option :is(h3,strong,dd){color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-cycle-option :is(small,dt){color:#c6cfe4!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-cycle-option dl>div{border-color:#3a496d!important}
html[data-theme=dark] body.pegazee-modern-ui :is(.highcharts-axis-labels text,.highcharts-legend-item text,.highcharts-axis-title,.highcharts-data-label text){fill:#dce6ff!important;color:#dce6ff!important;text-shadow:none!important}html[data-theme=dark] body.pegazee-modern-ui .highcharts-grid-line{stroke:#3c496c!important}html[data-theme=dark] body.pegazee-modern-ui .highcharts-tooltip text{fill:#172033!important;color:#172033!important}html[data-theme=dark] body.pegazee-modern-ui .highcharts-contextbutton :is(path,rect){fill:#f8faff!important;stroke:#f8faff!important}
html[data-theme=dark] body.pegazee-modern-ui #side-bar :is(svg,i){opacity:1!important;color:#9fb2e4!important}html[data-theme=dark] body.pegazee-modern-ui #side-bar a:hover :is(svg,i),html[data-theme=dark] body.pegazee-modern-ui #side-bar .active>a :is(svg,i){color:#fff!important;filter:drop-shadow(0 0 5px rgba(135,157,255,.5))}
html[data-theme=dark] body.pegazee-modern-ui :is(.pegazee-history-card,.pegazee-bank-card,.pegazee-plan-card) :is(h1,h2,h3,strong){color:#f8faff!important}html[data-theme=dark] body.pegazee-modern-ui :is(.pegazee-history-card,.pegazee-bank-card,.pegazee-plan-card) :is(p,small,span,dt){color:#c5cee2}
body.pegazee-modern-ui .content :is(.fa-shopping-cart,.fa-chart-line,.fa-chart-bar,.fa-search,.fa-receipt){color:#1aa7ec}body.pegazee-modern-ui .content :is(.fa-money-bill,.fa-money-bill-wave,.fa-coins,.fa-check-circle,.fa-cash-register){color:#18a66a}body.pegazee-modern-ui .content :is(.fa-box,.fa-box-open,.fa-cube,.fa-archive,.fa-exclamation-triangle){color:#ed8a18}body.pegazee-modern-ui .content :is(.fa-credit-card,.fa-tags,.fa-cog,.fa-cogs,.fa-shield-alt){color:#7167ee}body.pegazee-modern-ui .content :is(.fa-bell,.fa-gift,.fa-heart){color:#e95791}body.pegazee-modern-ui .content :is(.fa-truck,.fa-shipping-fast,.fa-route,.fa-map-marker-alt){color:#1bbbc9}body.pegazee-modern-ui .content :is(.fa-trash,.fa-trash-alt,.fa-times-circle,.fa-ban){color:#e04b43}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-shopping-cart,.fa-chart-line,.fa-chart-bar,.fa-search,.fa-receipt){color:#62cbff}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-money-bill,.fa-money-bill-wave,.fa-coins,.fa-check-circle,.fa-cash-register){color:#61e6a8}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-box,.fa-box-open,.fa-cube,.fa-archive,.fa-exclamation-triangle){color:#ffc46b}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-credit-card,.fa-tags,.fa-cog,.fa-cogs,.fa-shield-alt){color:#aaa4ff}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-bell,.fa-gift,.fa-heart){color:#ff91bf}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-truck,.fa-shipping-fast,.fa-route,.fa-map-marker-alt){color:#65e1ec}html[data-theme=dark] body.pegazee-modern-ui .content :is(.fa-trash,.fa-trash-alt,.fa-times-circle,.fa-ban){color:#ff8d84}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-intro article{background:#1b2339!important;border-color:#3c496c!important;box-shadow:0 10px 26px rgba(0,0,0,.22)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-intro article strong{color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-intro article span{color:#c8d2e8!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-intro article>i{color:#b8b4ff!important;background:#2b3565!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-create{background:linear-gradient(135deg,#192138,#202a49)!important;border-color:#3c496c!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-create :is(h2,label){color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-create p{color:#c5cee2!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-key-note{background:#302719!important;border-color:#735d2e!important;color:#ffe0a0!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-key-note strong{color:#ffe8b5!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-key-note span{color:#e7cea0!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-key-note code{color:#ffc86b;background:#171d2f!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-import{background:#171f35!important;border-color:#465477!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-import strong{color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-import small{color:#c5cee2!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-auto-backup-status{background:linear-gradient(135deg,#15362d,#172f2b)!important;border-color:#2f7058!important;box-shadow:0 10px 28px rgba(0,0,0,.23)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-auto-backup-status strong{color:#e4fff3!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-auto-backup-status :is(small,span){color:#aee5cb!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-auto-backup-status__metric{border-color:#34634f!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status{border:1px solid #52607d!important;color:#f4f7ff!important;background:#2a344f!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-active,html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-approved{border-color:#34785e!important;color:#9df0c7!important;background:#153d30!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-complimentary{border-color:#6552a2!important;color:#d8c8ff!important;background:#302654!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-grace,html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-submitted,html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-under_review{border-color:#806329!important;color:#ffdb83!important;background:#493713!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-suspended,html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-rejected,html[data-theme=dark] body.pegazee-modern-ui .pegazee-mini-status.is-admin_disabled{border-color:#86423c!important;color:#ffaaa3!important;background:#4e2422!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-table td,html[data-theme=dark] body.pegazee-modern-ui .pegazee-admin-table td>small{color:#dbe3f5!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-backup-status{border:1px solid #34785e!important;color:#a5f2cc!important;background:#153d30!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-card-brands{background:#1b243b!important;border-color:#3b4868!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-card-brands .fa-cc-visa{color:#72a7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-card-brands .fa-cc-mastercard{color:#ff6877!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-card-brands .fa-credit-card{color:#9b94ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-panel{background:#182137!important;border-color:#394767!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-panel :is(h3,p){color:#f5f7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-panel p{color:#b9c4dc!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-choice{background:#202b46!important;border-color:#425170!important;color:#f8faff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-choice:hover{border-color:#8590ff!important;background:#263252!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-choice>strong{color:#aeb7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-add-card-choice>small{color:#bec8dd!important}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard{--dash-surface:#151d31;--dash-surface-soft:#1b253c;--dash-stroke:#34415f;--dash-text:#f5f7ff;--dash-muted:#b7c2d9;--pegazee-dashboard-bg:#0c1120;background:#0c1120!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-command-grid{background:#0c1120!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div{border-color:#3a4765!important;background:linear-gradient(145deg,#182137,#141b2e)!important;box-shadow:0 18px 42px rgba(0,0,0,.3)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid p[class*="tw-text-gray-500"]{color:#aebbd3!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid p[class*="tw-font-mono"]{color:#fff!important}html[data-theme=dark] body.pegazee-modern-ui :is(.pegazee-pulse-panel,.pegazee-quick-panel){border-color:#34415f!important;background:#151d31!important;box-shadow:0 18px 44px rgba(0,0,0,.25)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-orbit-card{border-color:#364461!important;background:linear-gradient(145deg,#1b253c,#151d31)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-orbit{background:conic-gradient(var(--orbit) calc(var(--value)*1%),#2c3853 0)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-quick-grid>a{border-color:#34415f!important;background:#1b253c!important;color:#f5f7ff!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-analytics-grid>div[class*="tw-bg-white"]{border-color:#34415f!important;background:#151d31!important;box-shadow:0 18px 44px rgba(0,0,0,.23)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-analytics-grid div[class*="tw-border-dashed"]{border-color:#34415f!important;background:linear-gradient(180deg,#141c30,#11182a)!important}html[data-theme=dark] body.pegazee-modern-ui .pegazee-live-chip{border-color:#29684f!important;color:#9aebc5!important;background:#153528!important}

/* v6.23 legacy dark-mode completion: utility menu, reports and DataTables */
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel{
    background:#151b2e!important;
    border:1px solid #435174!important;
    color:#eef3ff!important;
    box-shadow:0 18px 42px rgba(0,0,0,.42)!important;
}

/* v6.28 dashboard subscription contrast repair */
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__body,
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__metrics {
    background:#151b2e!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__metric {
    border-color:#35415f!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__metric span {
    color:#aebbd5!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__metric strong {
    color:#f8faff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.22);
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__metric>i {
    color:#9faaff!important;
    background:#27315a!important;
    box-shadow:inset 0 0 0 1px rgba(159,170,255,.18);
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__action {
    color:#d9fff0!important;
    border-color:#305747!important;
    background:#173b31!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__action:hover,
html[data-theme=dark] body.pegazee-modern-ui .pegazee-dashboard-subscription__action:focus {
    color:#fff!important;
    background:#16865a!important;
}

/* v6.30 dark dashboard KPI refinement */
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div{
    border-color:#35415f!important;
    background:linear-gradient(145deg,#182137,#131a2c)!important;
    box-shadow:0 14px 34px rgba(0,0,0,.24)!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div:after{
    opacity:.12!important;
    filter:saturate(.72);
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div:nth-child(1){--kpi-color:#55c8ff;--kpi-soft:#15374c}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div:nth-child(2){--kpi-color:#55e2aa;--kpi-soft:#173b33}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div:nth-child(3){--kpi-color:#ffc463;--kpi-soft:#41341d}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid>div:nth-child(4){--kpi-color:#ff8585;--kpi-soft:#44262d}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid div[class*="tw-rounded-full"]{
    color:var(--kpi-color)!important;
    background:var(--kpi-soft)!important;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--kpi-color) 20%,transparent)!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid p[class*="tw-text-gray-500"]{
    color:#b9c4da!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-kpi-grid p[class*="tw-font-mono"]{
    color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.22);
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel a{
    background:transparent!important;
    color:#dbe4f8!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel a svg{
    color:#9eb5ff!important;
    stroke:currentColor!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel a:hover,
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel a:focus{
    background:#273352!important;
    color:#fff!important;
    outline:none!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel a:hover svg,
html[data-theme=dark] body.pegazee-modern-ui .pegazee-utility-menu__panel a:focus svg{
    color:#c5d0ff!important;
}

html[data-theme=dark] body.pegazee-modern-ui :is(.help-block,.help-text,.text-muted,small.text-muted){
    color:#aeb9d2!important;
}
html[data-theme=dark] body.pegazee-modern-ui :is(h1,h2,h3,h4,h5,h6).text-muted,
html[data-theme=dark] body.pegazee-modern-ui .text-muted :is(strong,.display_currency){
    color:#dce4f5!important;
}
html[data-theme=dark] body.pegazee-modern-ui .tab-content,
html[data-theme=dark] body.pegazee-modern-ui .collapse.in,
html[data-theme=dark] body.pegazee-modern-ui .panel-collapse{
    color:#e8edfa!important;
}

html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper{
    color:#dce4f5!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper :is(.dataTables_length,.dataTables_filter,.dataTables_info,.dataTables_processing){
    color:#cbd5ea!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dataTables_processing{
    background:#202941!important;
    border:1px solid #455373!important;
    box-shadow:0 12px 32px rgba(0,0,0,.35)!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dt-buttons :is(.dt-button,button,a),
html[data-theme=dark] body.pegazee-modern-ui .dt-button{
    background:#273252!important;
    border:1px solid #7184b0!important;
    border-radius:10px!important;
    color:#f5f8ff!important;
    box-shadow:none!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dt-buttons :is(.dt-button,button,a):hover,
html[data-theme=dark] body.pegazee-modern-ui .dt-button:hover{
    background:#37466d!important;
    border-color:#9babe0!important;
    color:#fff!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dt-buttons :is(.disabled,[disabled]),
html[data-theme=dark] body.pegazee-modern-ui .dt-button.disabled{
    background:#20283d!important;
    border-color:#39445f!important;
    color:#7f8aa4!important;
    opacity:1!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dt-button-collection{
    background:#182036!important;
    border:1px solid #435174!important;
    box-shadow:0 18px 42px rgba(0,0,0,.42)!important;
}
html[data-theme=dark] body.pegazee-modern-ui table.dataTable{
    border-color:#435174!important;
}
html[data-theme=dark] body.pegazee-modern-ui table.dataTable>thead>tr>th{
    background:#222c47!important;
    color:#f0f4ff!important;
}
html[data-theme=dark] body.pegazee-modern-ui table.dataTable>tbody>tr>td,
html[data-theme=dark] body.pegazee-modern-ui table.dataTable>tbody>tr>.dataTables_empty{
    background:#161e32!important;
    color:#e7edf9!important;
}
html[data-theme=dark] body.pegazee-modern-ui table.dataTable>tfoot>tr>th,
html[data-theme=dark] body.pegazee-modern-ui table.dataTable>tfoot>tr>td,
html[data-theme=dark] body.pegazee-modern-ui table.table>tfoot>tr>th,
html[data-theme=dark] body.pegazee-modern-ui table.table>tfoot>tr>td,
html[data-theme=dark] body.pegazee-modern-ui table :is(tfoot,.footer-total,.bg-gray)>tr>td,
html[data-theme=dark] body.pegazee-modern-ui table tr.footer-total>td{
    background:#222c47!important;
    border-color:#4a5878!important;
    color:#f5f8ff!important;
}
html[data-theme=dark] body.pegazee-modern-ui table tfoot :is(strong,b,.display_currency,span){
    color:#fff!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollHead,
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollBody,
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollFoot,
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollHeadInner,
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollFootInner{
    background:#161e32!important;
    border-color:#435174!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollBody::-webkit-scrollbar{height:11px;width:11px}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollBody::-webkit-scrollbar-track{background:#101729}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_scrollBody::-webkit-scrollbar-thumb{background:#566688;border:2px solid #101729;border-radius:999px}
html[data-theme=dark] body.pegazee-modern-ui table.dataTable thead :is(.sorting,.sorting_asc,.sorting_desc)::after,
html[data-theme=dark] body.pegazee-modern-ui table.dataTable thead :is(.sorting,.sorting_asc,.sorting_desc)::before{
    color:#aab8d7!important;
    opacity:.9!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-theme=dark] body.pegazee-modern-ui .pagination>li>a,
html[data-theme=dark] body.pegazee-modern-ui .pagination>li>span{
    background:#1c253d!important;
    border:1px solid #394765!important;
    color:#d9e2f6!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
html[data-theme=dark] body.pegazee-modern-ui .pagination>li>a:hover{
    background:#35446a!important;
    border-color:#778ab8!important;
    color:#fff!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-theme=dark] body.pegazee-modern-ui .pagination>.active>a,
html[data-theme=dark] body.pegazee-modern-ui .pagination>.active>span{
    background:#5c55e7!important;
    border-color:#817cf2!important;
    color:#fff!important;
}
html[data-theme=dark] body.pegazee-modern-ui .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-theme=dark] body.pegazee-modern-ui .pagination>.disabled>a,
html[data-theme=dark] body.pegazee-modern-ui .pagination>.disabled>span{
    background:#151c2f!important;
    border-color:#2d3852!important;
    color:#75809a!important;
}
html[data-theme=dark] body.pegazee-modern-ui :is(.box,.panel,.card)>.box-header,
html[data-theme=dark] body.pegazee-modern-ui :is(.box,.panel,.card)>.panel-heading{
    color:#f5f8ff!important;
}
html[data-theme=dark] body.pegazee-modern-ui :is(.box-title,.panel-title,.card-title),
html[data-theme=dark] body.pegazee-modern-ui :is(.box-title,.panel-title,.card-title)>*{
    color:#fff!important;
}

/* v6.24 client identity in the sidebar header */
.pegazee-sidebar-business{
    min-height:60px;
    padding:8px 14px;
    text-decoration:none!important;
    overflow:visible;
}
.pegazee-sidebar-business__identity{
    width:100%;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
}
.pegazee-sidebar-business__logo,
.pegazee-sidebar-business__fallback{
    width:36px;
    height:36px;
    flex:0 0 36px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:10px;
    background:rgba(255,255,255,.96);
    box-shadow:0 5px 14px rgba(13,18,48,.22);
}
.pegazee-sidebar-business__logo{
    display:block;
    object-fit:contain;
    padding:3px;
}
.pegazee-sidebar-business__fallback{
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,rgba(255,255,255,.26),rgba(255,255,255,.12));
    color:#fff;
    font-size:16px;
    font-weight:800;
    line-height:1;
}
.pegazee-sidebar-business__fallback[hidden]{display:none!important}
.pegazee-sidebar-business__name{
    min-width:0;
    overflow:hidden;
    color:#fff;
    font-size:14px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.01em;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.pegazee-sidebar-business__online{
    width:9px;
    height:9px;
    flex:0 0 9px;
    border:2px solid rgba(255,255,255,.32);
    border-radius:50%;
    background:#40d790;
    box-shadow:0 0 0 3px rgba(64,215,144,.14),0 0 10px rgba(64,215,144,.65);
}
.pegazee-sidebar-business:hover .pegazee-sidebar-business__logo,
.pegazee-sidebar-business:hover .pegazee-sidebar-business__fallback{
    transform:translateY(-1px);
    box-shadow:0 7px 18px rgba(13,18,48,.28);
}
@media(max-width:1279px){
    .pegazee-sidebar-business{padding-inline:10px}
    .pegazee-sidebar-business__logo,.pegazee-sidebar-business__fallback{width:32px;height:32px;flex-basis:32px;border-radius:9px}
    .pegazee-sidebar-business__name{font-size:13px}
}

/* v6.25 POS command and checkout gradient bars */
body.pegazee-modern-ui .pegazee-pos-screen{
    --pos-bar-purple:#6d28d9;
    --pos-bar-indigo:#4f46e5;
    --pos-bar-blue:#2563eb;
}
body.pegazee-modern-ui .pegazee-pos-command-bar,
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions{
    background:linear-gradient(112deg,var(--pos-bar-purple) 0%,var(--pos-bar-indigo) 48%,var(--pos-bar-blue) 100%)!important;
    border:1px solid rgba(255,255,255,.24)!important;
    box-shadow:0 14px 34px rgba(60,44,180,.28),inset 0 1px 0 rgba(255,255,255,.2)!important;
    color:#fff!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar :is(p,strong,span),
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions :is(.tw-text-gray-700,.tw-text-black){
    color:#fff!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar .curr_datetime{
    color:#fff!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar>div:first-child>div>div:has(.curr_datetime){
    background:rgba(255,255,255,.16)!important;
    border:1px solid rgba(255,255,255,.22)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.14)!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar #pos_header_more_options>a,
body.pegazee-modern-ui .pegazee-pos-command-bar #pos_header_more_options>button:not(#add_expense){
    background:rgba(255,255,255,.94)!important;
    border-color:rgba(255,255,255,.42)!important;
    box-shadow:0 6px 16px rgba(24,22,92,.2)!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar #pos_header_more_options>a:hover,
body.pegazee-modern-ui .pegazee-pos-command-bar #pos_header_more_options>button:not(#add_expense):hover{
    background:#fff!important;
    border-color:#fff!important;
    transform:translateY(-1px);
}
body.pegazee-modern-ui .pegazee-pos-command-bar #add_expense{
    background:rgba(20,25,65,.24)!important;
    border-color:rgba(255,255,255,.34)!important;
    color:#fff!important;
    box-shadow:0 6px 16px rgba(24,22,92,.2)!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar #add_expense:hover{
    background:rgba(20,25,65,.4)!important;
    border-color:rgba(255,255,255,.65)!important;
}
body.pegazee-modern-ui .pegazee-pos-command-bar #add_expense :is(strong,i){color:#fff!important}
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions{
    border-bottom:0!important;
    border-radius:18px 18px 0 0!important;
}
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions .pos-total :is(div,span){
    color:#fff!important;
    text-shadow:0 1px 3px rgba(20,18,72,.34);
}
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions #total_payable{
    color:#9ff3c8!important;
}
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions #recent-transactions{
    background:rgba(255,255,255,.18)!important;
    border:1px solid rgba(255,255,255,.3)!important;
    box-shadow:0 6px 16px rgba(24,22,92,.2)!important;
}
body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions #recent-transactions:hover{
    background:rgba(255,255,255,.28)!important;
    border-color:rgba(255,255,255,.56)!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-command-bar,
html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions{
    background:linear-gradient(112deg,#5520b7 0%,#4338ca 48%,#1d4ed8 100%)!important;
    border-color:rgba(166,180,255,.34)!important;
    box-shadow:0 16px 38px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
@media(max-width:767px){
    body.pegazee-modern-ui .pegazee-pos-command-bar{border-radius:14px!important}
    body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions{border-radius:14px 14px 0 0!important}
}

/* v6.26 POS bar specificity, safe-area spacing and payment icon clarity */
html body.pegazee-modern-ui .pos-header .pegazee-pos-command-bar{
    background-color:#4f46e5!important;
    background-image:linear-gradient(112deg,#6d28d9 0%,#4f46e5 48%,#2563eb 100%)!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pos-header .pegazee-pos-command-bar{
    background-color:#4338ca!important;
    background-image:linear-gradient(112deg,#5520b7 0%,#4338ca 48%,#1d4ed8 100%)!important;
}
html body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions.pegazee-pos-checkout-bar{
    left:16px!important;
    right:16px!important;
    bottom:8px!important;
    width:auto!important;
    max-width:none!important;
    box-sizing:border-box!important;
    background-color:#4f46e5!important;
    background-image:linear-gradient(112deg,#6d28d9 0%,#4f46e5 48%,#2563eb 100%)!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
    overflow:hidden!important;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions.pegazee-pos-checkout-bar{
    background-color:#4338ca!important;
    background-image:linear-gradient(112deg,#5520b7 0%,#4338ca 48%,#1d4ed8 100%)!important;
}
body.pegazee-modern-ui .pegazee-pos-checkout-bar .pos-express-finalize[data-pay_method="credit_sale"] i,
body.pegazee-modern-ui .pegazee-pos-checkout-bar .pos-express-finalize[data-pay_method="card"] i{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.38);
    border-radius:9px;
    color:#fff!important;
    font-size:13px!important;
    box-shadow:0 5px 12px rgba(21,20,75,.28),inset 0 1px rgba(255,255,255,.2);
}
body.pegazee-modern-ui .pegazee-pos-checkout-bar .pos-express-finalize[data-pay_method="credit_sale"] i{
    background:linear-gradient(145deg,#8b5cf6,#6d28d9)!important;
}
body.pegazee-modern-ui .pegazee-pos-checkout-bar .pos-express-finalize[data-pay_method="card"] i{
    background:linear-gradient(145deg,#f43f8c,#be185d)!important;
}
body.pegazee-modern-ui .pegazee-pos-checkout-bar .pos-express-finalize[data-pay_method="credit_sale"],
body.pegazee-modern-ui .pegazee-pos-checkout-bar .pos-express-finalize[data-pay_method="card"]{
    min-width:72px;
    color:#fff!important;
    text-shadow:0 1px 2px rgba(22,20,74,.35);
}
@media(max-width:767px){
    html body.pegazee-modern-ui .pegazee-pos-screen .pos-form-actions.pegazee-pos-checkout-bar{
        left:8px!important;
        right:8px!important;
        bottom:6px!important;
    }
}

/* v6.27 continuous onboarding canvas and boxed public header */
body.pegazee-auth-ui{
    height:auto!important;
    min-height:100vh;
    min-height:100dvh;
    margin:0;
    background:
        radial-gradient(circle at 12% 9%,rgba(112,101,238,.2),transparent 31%),
        radial-gradient(circle at 90% 82%,rgba(50,112,255,.15),transparent 34%),
        linear-gradient(135deg,#0d1327 0%,#17203b 48%,#292a69 100%)!important;
    background-attachment:fixed!important;
}
body.pegazee-auth-ui>.container-fluid,
body.pegazee-auth-ui .eq-height-row,
body.pegazee-auth-ui .right-col{
    min-height:100vh;
    height:auto!important;
}
body.pegazee-auth-ui>.container-fluid,
body.pegazee-auth-ui .eq-height-row{
    width:100%;
    margin:0!important;
    padding:0!important;
}
body.pegazee-auth-ui .right-col{
    width:100%;
    position:relative;
    display:flow-root;
    padding-top:104px!important;
    background:transparent!important;
}
.pegazee-public-header{
    position:absolute;
    z-index:60;
    top:20px;
    left:50%;
    right:auto;
    width:min(1520px,calc(100% - 96px));
    min-height:72px;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    /* The language menu is positioned below this header; do not clip it. */
    overflow:visible;
    isolation:isolate;
    padding:12px 20px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:26px;
    background:linear-gradient(135deg,rgba(18,25,55,.72),rgba(9,14,34,.52));
    box-shadow:0 22px 58px rgba(2,6,23,.28),inset 0 1px rgba(255,255,255,.16),inset 0 -1px rgba(255,255,255,.04);
    backdrop-filter:blur(28px) saturate(165%);
    -webkit-backdrop-filter:blur(28px) saturate(165%);
}
.pegazee-public-header:before{
    position:absolute;
    z-index:-1;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(115deg,rgba(255,255,255,.16),transparent 25%,transparent 70%,rgba(103,93,255,.12));
    pointer-events:none;
    content:"";
}
.pegazee-public-header .pegazee-auth-brand,
.pegazee-public-header .pegazee-auth-actions{
    position:static!important;
    min-width:0;
}
.pegazee-public-header .pegazee-auth-brand>a:first-child{
    display:flex;
    align-items:center;
    gap:11px;
    color:#fff;
    text-decoration:none;
}
.pegazee-public-header .pegazee-auth-brand>a:first-child>div{
    width:46px!important;
    height:46px!important;
    margin:0!important;
    padding:2px!important;
    border-radius:13px;
    background:rgba(255,255,255,.08);
}
.pegazee-public-header .pegazee-auth-brand img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.pegazee-public-brand-name{
    color:inherit;
    font-size:14px;
    font-weight:800;
    letter-spacing:-.01em;
    white-space:nowrap;
}
.pegazee-public-header .pegazee-auth-actions{
    justify-content:flex-end;
    flex-wrap:wrap;
}
.pegazee-public-header .pegazee-language{z-index:80}
.pegazee-public-header .pegazee-language-menu{z-index:1000}
.pegazee-header-action{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 17px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:12px;
    color:#eef2ff!important;
    font-size:14px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    text-decoration:none!important;
    background:rgba(255,255,255,.07);
    transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.pegazee-header-action:hover,.pegazee-header-action:focus{color:#fff!important;border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.14);outline:0;transform:translateY(-1px)}
.pegazee-header-action--register{border-color:transparent;background:linear-gradient(105deg,#7c3aed,#4f46e5 52%,#2563eb);box-shadow:0 8px 20px rgba(65,57,213,.3)}
.pegazee-header-action--register:hover,.pegazee-header-action--register:focus{border-color:transparent;background:linear-gradient(105deg,#8b5cf6,#5b52ed 52%,#3478f6)}
.pegazee-header-action--pricing{color:#c9d1ff!important}
.pegazee-register-page{
    width:min(1180px,calc(100% - 32px));
    margin:34px auto 36px;
    display:block;
    clear:both;
}
.pegazee-register-card{
    width:100%;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.64)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 30px 80px rgba(3,7,18,.34)!important;
}
.pegazee-register-card>div{
    width:100%;
    max-width:none!important;
}
.pegazee-register-card form,
.pegazee-register-card .wizard,
.pegazee-register-card .wizard>.content{
    width:100%;
    max-width:none!important;
    box-sizing:border-box;
}
.pegazee-register-card .wizard>.content{
    min-height:560px;
    overflow:visible;
    border-radius:16px!important;
}
html[data-theme=light] body.pegazee-auth-ui{
    background:
        radial-gradient(circle at 76% 15%,rgba(97,82,255,.14),transparent 30%),
        radial-gradient(circle at 8% 88%,rgba(54,141,255,.1),transparent 32%),
        linear-gradient(135deg,#edf1ff 0%,#f8f9ff 52%,#e9efff 100%)!important;
}
html[data-theme=light] .pegazee-public-header{
    border-color:rgba(255,255,255,.8);
    background:linear-gradient(135deg,rgba(255,255,255,.7),rgba(242,246,255,.5));
    box-shadow:0 20px 55px rgba(55,66,111,.16),inset 0 1px rgba(255,255,255,.98),inset 0 -1px rgba(105,117,170,.08);
}
html[data-theme=light] .pegazee-public-brand-link{
    color:#151d35!important;
}
html[data-theme=light] .pegazee-public-header .pegazee-auth-actions>a,
html[data-theme=light] .pegazee-public-header .pegazee-language-summary{
    color:#1e2840!important;
}
html[data-theme=light] .pegazee-header-action{border-color:rgba(30,40,64,.2)!important;color:#26314d!important;background:rgba(255,255,255,.72)}
html[data-theme=light] .pegazee-header-action--register{border-color:transparent!important;color:#fff!important;background:linear-gradient(105deg,#7c3aed,#4f46e5 52%,#2563eb)}
html[data-theme=light] .pegazee-public-header .pegazee-auth-actions .pegazee-header-action--register,
html[data-theme=light] .pegazee-public-header .pegazee-auth-actions .pegazee-header-action--register:hover,
html[data-theme=light] .pegazee-public-header .pegazee-auth-actions .pegazee-header-action--register:focus{color:#fff!important}
html[data-theme=light] .pegazee-public-header .pegazee-language-summary{
    border-color:rgba(30,40,64,.2)!important;
    background:rgba(255,255,255,.62)!important;
}
@media(max-width:760px){
    body.pegazee-auth-ui .right-col{padding-top:calc(124px + env(safe-area-inset-top))!important;padding-inline:10px!important}
    .pegazee-public-header{top:max(10px,env(safe-area-inset-top));left:10px;right:auto;width:calc(100% - 20px);min-height:88px;transform:none;align-items:center;gap:10px;padding:10px 12px;border-radius:16px}
    .pegazee-public-header .pegazee-auth-brand>a:first-child>div{width:42px!important;height:42px!important}
    .pegazee-public-header .pegazee-auth-actions{gap:7px!important}
    .pegazee-header-action{min-height:38px;padding:0 13px;border-radius:10px;font-size:13px}
    .pegazee-register-page{width:100%;margin:18px auto 24px}
    .pegazee-register-card{border-radius:18px!important}
}
@media(max-width:520px){
    body.pegazee-auth-ui .right-col{padding-top:calc(148px + env(safe-area-inset-top))!important}
    .pegazee-public-header{min-height:118px;flex-direction:column;align-items:stretch;padding:10px 12px 12px}
    .pegazee-public-header .pegazee-auth-brand{justify-content:center}
    .pegazee-public-header .pegazee-auth-actions{width:100%;justify-content:center;gap:6px!important}
    .pegazee-public-header .pegazee-auth-brand>a:first-child{gap:8px}
    .pegazee-public-header .pegazee-auth-brand>a:first-child>div{width:38px!important;height:38px!important;border-radius:11px}
    .pegazee-public-brand-name{font-size:13px}
}

/* v6.39 centred, theme-safe sign-in screen */
body.pegazee-auth-ui .right-col:has(.pegazee-login-stage){
    min-height:100vh;
    min-height:100dvh;
    display:grid;
    place-items:center;
    padding:124px 24px 36px!important;
}
.pegazee-login-stage{
    width:min(100%,1180px);
    margin:auto;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    place-items:center;
}
.pegazee-login-stage:has(.pegazee-login-demo){
    grid-template-columns:minmax(0,1fr) minmax(420px,520px);
    align-items:center;
    gap:32px;
}
.pegazee-login-demo{width:100%;min-width:0}
.pegazee-login-card{
    width:min(100%,520px);
    margin:0;
    padding:28px;
    box-sizing:border-box;
    border:1px solid rgba(255,255,255,.72);
    border-radius:24px;
    color:#172033;
    background:rgba(255,255,255,.98);
    box-shadow:0 30px 80px rgba(3,7,18,.34);
}
.pegazee-login-card__inner{width:100%;max-width:none!important;padding:0!important}
.pegazee-login-card__inner,.pegazee-login-card__inner *{box-sizing:border-box}
body.pegazee-auth-ui .pegazee-login-form{
    width:100%;
    margin:0;
    padding:0;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.pegazee-login-title{margin:0 0 5px;color:#172033!important;text-align:center}
.pegazee-login-subtitle{margin:0;color:#667085!important;text-align:center}
.pegazee-login-card .form-group{margin-bottom:15px}
.pegazee-login-card .tw-dw-label{min-height:28px;padding:0 2px 7px}
.pegazee-login-label{color:#172033!important}
.pegazee-login-link{color:#4944ae!important;text-decoration:none}
.pegazee-login-link:hover{color:#2563eb!important}
.pegazee-login-input{
    display:block;
    width:100%;
    min-width:0;
    border-color:#cfd5e1!important;
    color:#172033!important;
    background:#fff!important;
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.pegazee-login-input--password{padding-right:48px!important}
.pegazee-login-input::placeholder{color:#778197!important;opacity:1}
.pegazee-login-input:focus{border-color:#6d63ed!important;box-shadow:0 0 0 4px rgba(81,70,229,.13)!important}
.pegazee-login-card label.tw-dw-form-control{position:relative;width:100%;margin:0}
.pegazee-password-toggle{
    position:absolute;
    z-index:2;
    right:11px;
    bottom:10px;
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:8px;
    color:#4b5568;
    background:transparent;
}
.pegazee-password-toggle:hover,.pegazee-password-toggle:focus{color:#4f46e5;background:#eef2ff;outline:0}
.pegazee-login-submit{
    border:0!important;
    color:#fff!important;
    background:linear-gradient(105deg,#6d28d9 0%,#4f46e5 50%,#2563eb 100%)!important;
    box-shadow:0 12px 28px rgba(79,70,229,.25);
    transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.pegazee-login-submit:hover,.pegazee-login-submit:focus{filter:brightness(1.07);box-shadow:0 15px 34px rgba(79,70,229,.34);outline:0}
.pegazee-login-submit:active{transform:translateY(1px)}
.pegazee-login-register{color:#667085!important;text-align:center;text-decoration:none}
.pegazee-login-card .tw-dw-checkbox{border-color:#aeb7c7;background:#fff}
.pegazee-login-card .tw-dw-checkbox:checked{border-color:#5146e5;background-color:#5146e5}
html[data-theme=dark] .pegazee-login-card{
    border-color:#384463!important;
    color:#f5f7ff!important;
    background:rgba(20,27,46,.98)!important;
    box-shadow:0 30px 82px rgba(0,0,0,.42)!important;
}
html[data-theme=dark] .pegazee-login-title{color:#fff!important}
html[data-theme=dark] .pegazee-login-subtitle{color:#b7c1d7!important}
html[data-theme=dark] .pegazee-login-label{color:#eef2ff!important}
html[data-theme=dark] .pegazee-login-link{color:#aab7ff!important}
html[data-theme=dark] .pegazee-login-link:hover{color:#7dd3fc!important}
html[data-theme=dark] .pegazee-login-input{
    border-color:#3b4869!important;
    color:#f5f7ff!important;
    background:#0f1628!important;
}
html[data-theme=dark] .pegazee-login-input::placeholder{color:#8e9ab4!important}
html[data-theme=dark] .pegazee-login-input:focus{border-color:#8d85ff!important;box-shadow:0 0 0 4px rgba(124,115,255,.18)!important}
html[data-theme=dark] .pegazee-password-toggle{color:#c8d2e8!important}
html[data-theme=dark] .pegazee-password-toggle:hover,html[data-theme=dark] .pegazee-password-toggle:focus{color:#fff!important;background:#283250!important}
html[data-theme=dark] .pegazee-login-register{color:#aeb9d0!important}
html[data-theme=dark] .pegazee-login-card .tw-dw-checkbox{border-color:#53617f;background:#0f1628}
html[data-theme=dark] .pegazee-login-card .tw-dw-checkbox:checked{border-color:#756cf4;background-color:#756cf4}

/* Authentication preference switch */
.pegazee-remember-row{margin-top:2px}
.pegazee-remember-control{
    display:inline-flex;
    align-items:center;
    gap:11px;
    min-height:34px;
    padding:2px;
    cursor:pointer;
    user-select:none;
}
.pegazee-remember-toggle{
    position:relative;
    flex:0 0 auto;
    width:42px;
    height:24px;
    margin:0;
    appearance:none;
    -webkit-appearance:none;
    border:1px solid #aeb7c7;
    border-radius:999px;
    background:#e8ebf2;
    box-shadow:inset 0 1px 2px rgba(15,23,42,.08);
    cursor:pointer;
    outline:0;
    transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.pegazee-remember-toggle::after{
    content:"";
    position:absolute;
    top:3px;
    left:3px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 5px rgba(15,23,42,.24);
    transition:transform .2s cubic-bezier(.2,.8,.2,1);
}
.pegazee-remember-toggle:checked{
    border-color:#5146e5;
    background:linear-gradient(105deg,#6d28d9,#2563eb);
}
.pegazee-remember-toggle:checked::after{transform:translateX(18px)}
.pegazee-remember-toggle:focus-visible{box-shadow:0 0 0 4px rgba(81,70,229,.2)}
html[data-theme=dark] .pegazee-remember-toggle{
    border-color:#52617f;
    background:#222c45;
    box-shadow:inset 0 1px 3px rgba(0,0,0,.35);
}
html[data-theme=dark] .pegazee-remember-toggle::after{background:#dce5f7}
html[data-theme=dark] .pegazee-remember-toggle:checked{
    border-color:#8178ff;
    background:linear-gradient(105deg,#7c3aed,#2563eb);
}
html[data-theme=dark] .pegazee-remember-toggle:focus-visible{box-shadow:0 0 0 4px rgba(124,115,255,.25)}

/* Header account menu: explicit theme colors prevent light hover utilities leaking into dark mode. */
.pegazee-account-menu{
    width:210px!important;
    padding:8px!important;
    border:1px solid #e1e6ef!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 20px 50px rgba(23,32,51,.18)!important;
    overflow:hidden;
}
.pegazee-account-menu__identity{
    margin:0 0 5px;
    padding:9px 11px 10px!important;
    border-bottom:1px solid #edf0f5;
    color:#68738a;
}
.pegazee-account-menu__identity p:last-child{color:#172033!important}
.pegazee-account-menu__link{
    min-height:40px;
    color:#536078!important;
    background:transparent!important;
    text-decoration:none!important;
}
.pegazee-account-menu__link:hover,
.pegazee-account-menu__link:focus{
    color:#3730a3!important;
    background:#eef2ff!important;
    outline:0;
}
.pegazee-account-menu__link--signout{margin-top:3px}
.pegazee-account-menu__link--signout:hover,
.pegazee-account-menu__link--signout:focus{color:#b42318!important;background:#fff1f0!important}
html[data-theme=dark] .pegazee-account-menu{
    border-color:#36415f!important;
    background:#151c30!important;
    box-shadow:0 22px 58px rgba(0,0,0,.46)!important;
}
html[data-theme=dark] .pegazee-account-menu__identity{
    border-color:#2f3a57;
    color:#9ba8c3!important;
}
html[data-theme=dark] .pegazee-account-menu__identity p:last-child{color:#f4f7ff!important}
html[data-theme=dark] .pegazee-account-menu__link{color:#d3dbec!important;background:transparent!important}
html[data-theme=dark] .pegazee-account-menu__link:hover,
html[data-theme=dark] .pegazee-account-menu__link:focus{
    color:#fff!important;
    background:#273354!important;
}
html[data-theme=dark] .pegazee-account-menu__link--signout:hover,
html[data-theme=dark] .pegazee-account-menu__link--signout:focus{
    color:#fecaca!important;
    background:#442337!important;
}
@media(max-width:900px){
    .pegazee-login-stage:has(.pegazee-login-demo){grid-template-columns:1fr}
}
@media(max-width:760px){
    body.pegazee-auth-ui .right-col:has(.pegazee-login-stage){padding:calc(122px + env(safe-area-inset-top)) 14px 24px!important}
    .pegazee-login-card{width:min(100%,520px);padding:24px;border-radius:20px}
}
@media(max-width:520px){
    body.pegazee-auth-ui .right-col:has(.pegazee-login-stage){padding:calc(148px + env(safe-area-inset-top)) 10px 20px!important}
    .pegazee-login-card{padding:20px 16px;border-radius:18px}
    .pegazee-login-card .tw-dw-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 8px}
    .pegazee-login-card .pegazee-login-link{white-space:normal;text-align:right}
}
@media(max-height:720px) and (min-width:521px){
    body.pegazee-auth-ui .right-col:has(.pegazee-login-stage){place-items:start center;padding-top:116px!important}
}

/* v6.32 registration wizard light/dark completion */
body.pegazee-auth-ui .pegazee-auth-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
}
body.pegazee-auth-ui .pegazee-register-card{
    color:#172033!important;
    background:#fff!important;
}
body.pegazee-auth-ui .pegazee-register-card form,
body.pegazee-auth-ui .pegazee-register-card .wizard,
body.pegazee-auth-ui .pegazee-register-card .wizard>.content,
body.pegazee-auth-ui .pegazee-register-card .wizard>.content>.body{
    color:#172033!important;
    background:#fff!important;
}
body.pegazee-auth-ui .pegazee-register-card h1,
body.pegazee-auth-ui .pegazee-register-card h2,
body.pegazee-auth-ui .pegazee-register-card h3,
body.pegazee-auth-ui .pegazee-register-card legend,
body.pegazee-auth-ui .pegazee-register-card label{
    color:#172033!important;
}
body.pegazee-auth-ui .pegazee-register-card h2{
    color:#667085!important;
}
body.pegazee-auth-ui .pegazee-register-card fieldset{
    min-width:0;
    border:0;
}
body.pegazee-auth-ui .pegazee-register-card legend{
    margin-bottom:18px;
    font-size:21px;
    font-weight:700;
}
body.pegazee-auth-ui .pegazee-register-card .help-block{
    color:#667085!important;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.steps{
    padding:0 8px;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.steps>ul{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:0;
    padding:0;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.steps>ul>li{
    float:none!important;
    width:auto!important;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.steps a{
    min-height:58px;
    display:flex;
    align-items:center;
    margin:0!important;
    padding:13px 15px!important;
    border:1px solid #e0e5ef;
    border-radius:12px!important;
    background:#f1f3f7;
    color:#7b8498;
    font-weight:700;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.steps .current a{
    border-color:#5146e5;
    color:#fff;
    background:linear-gradient(135deg,#5146e5,#337df4);
    box-shadow:0 8px 18px rgba(81,70,229,.2);
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.steps .done a{
    border-color:#cbd1ff;
    color:#4338ca;
    background:#eef0ff;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.content{
    margin:12px 8px 8px;
    border:1px solid #e5e9f1;
    border-radius:18px!important;
}
body.pegazee-auth-ui .pegazee-register-card .input-group-addon{
    min-width:42px;
    color:#59647a;
    background:#f7f8fb!important;
    border-color:#d9deea!important;
}
body.pegazee-auth-ui .pegazee-register-card :is(input,select,textarea,.form-control,.select2-selection){
    border-color:#d9deea!important;
    color:#172033!important;
    background:#fff!important;
}
body.pegazee-auth-ui .pegazee-register-card input[type=file]{
    width:100%;
    min-height:46px;
    padding:5px;
    border:1px dashed #c9d0df!important;
    border-radius:10px;
    color:#667085!important;
    background:#f8f9fc!important;
}
body.pegazee-auth-ui .pegazee-register-card input[type=file]::file-selector-button{
    height:34px;
    margin-right:10px;
    padding:0 13px;
    border:0;
    border-radius:7px;
    color:#fff;
    background:#5146e5;
    font-weight:700;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.actions a{
    display:inline-flex;
    align-items:center;
    min-height:42px;
    padding:9px 18px;
    border-radius:10px;
    color:#fff!important;
    background:#5146e5;
    font-weight:700;
    text-decoration:none;
}
body.pegazee-auth-ui .pegazee-register-card .wizard>.actions .disabled a{
    color:#98a2b3!important;
    background:#eef0f4!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card form,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard>.content,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard>.content>.body{
    color:#eef2ff!important;
    background:#151b2e!important;
    border-color:#36415f!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card{
    box-shadow:0 30px 80px rgba(0,0,0,.42)!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card h1,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card h3,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card legend,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card label{
    color:#f7f9ff!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card h2,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .help-block{
    color:#aeb9d2!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard>.steps a{
    border-color:#36415f;
    color:#aeb9d2;
    background:#202941;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard>.steps .current a{
    border-color:#766df2;
    color:#fff;
    background:linear-gradient(135deg,#5146e5,#3d78ef);
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard>.steps .done a{
    border-color:#4e5790;
    color:#d7dbff;
    background:#29315a;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .input-group-addon{
    color:#bdc7dc!important;
    background:#202941!important;
    border-color:#3a4666!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card :is(input,select,textarea,.form-control,.select2-selection){
    border-color:#3a4666!important;
    color:#f2f5ff!important;
    background:#0f1628!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card :is(input,textarea,.form-control)::placeholder{
    color:#9da9c2!important;
    opacity:1!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card select:invalid,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card select option,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .select2-selection__rendered,
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .select2-selection__placeholder{
    color:#c5cee1!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card select option{
    background:#0f1628!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card input[type=file]{
    border-color:#465372!important;
    color:#c8d1e4!important;
    background:#101729!important;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card input[type=file]::file-selector-button{
    color:#fff;
    background:#6258ed;
}
html[data-theme=dark] body.pegazee-auth-ui .pegazee-register-card .wizard>.actions .disabled a{
    color:#7f8ba5!important;
    background:#202941!important;
}
@media(max-width:700px){
    body.pegazee-auth-ui .pegazee-register-card .wizard>.steps>ul{grid-template-columns:1fr;gap:7px}
    body.pegazee-auth-ui .pegazee-register-card .wizard>.steps a{min-height:44px;padding:9px 12px!important}
}

/* v6.36 installable app and navigation transition */
.pegazee-page-loader{
    position:fixed;
    inset:0;
    z-index:2147483600;
    display:grid;
    place-items:center;
    padding:22px;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    background:rgba(8,12,28,.58);
    backdrop-filter:blur(9px);
    -webkit-backdrop-filter:blur(9px);
    transition:opacity .18s ease,visibility .18s ease;
}
.pegazee-page-loader.is-visible{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
}
.pegazee-page-loader__card{
    width:min(280px,calc(100vw - 44px));
    display:grid;
    justify-items:center;
    padding:25px 24px 23px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:22px;
    color:#fff;
    background:linear-gradient(145deg,rgba(28,35,67,.97),rgba(14,20,42,.98));
    box-shadow:0 28px 70px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08);
    transform:translateY(7px) scale(.985);
    transition:transform .2s ease;
}
.pegazee-page-loader.is-visible .pegazee-page-loader__card{transform:none}
.pegazee-page-loader__card img{
    width:58px;
    height:58px;
    margin-bottom:15px;
    border-radius:15px;
    object-fit:cover;
    box-shadow:0 10px 24px rgba(84,70,229,.3);
}
.pegazee-page-loader__spinner{
    width:34px;
    height:34px;
    margin-bottom:14px;
    border:3px solid rgba(255,255,255,.18);
    border-top-color:#6ee7ff;
    border-right-color:#8b7cff;
    border-radius:50%;
    animation:pegazeeLoaderSpin .72s linear infinite;
}
.pegazee-page-loader__card strong{font-size:15px;font-weight:800;letter-spacing:-.01em}
.pegazee-page-loader__card small{margin-top:4px;color:#b9c4df;font-size:11px}
@keyframes pegazeeLoaderSpin{to{transform:rotate(360deg)}}
html[data-theme=light] .pegazee-page-loader{background:rgba(236,240,255,.62)}
html[data-theme=light] .pegazee-page-loader__card{
    border-color:rgba(56,68,111,.15);
    color:#172033;
    background:rgba(255,255,255,.97);
    box-shadow:0 28px 70px rgba(45,57,105,.2),inset 0 1px #fff;
}
html[data-theme=light] .pegazee-page-loader__card small{color:#68738c}
html[data-theme=light] .pegazee-page-loader__spinner{border-color:#e0e5f1;border-top-color:#5146e5;border-right-color:#2f80ed}
@media(prefers-reduced-motion:reduce){
    .pegazee-page-loader,.pegazee-page-loader__card{transition:none}
    .pegazee-page-loader__spinner{animation-duration:1.4s}
}
@media print{.pegazee-page-loader{display:none!important}}

/* v6.49 dashboard analytics dark-surface repair */
body.pegazee-modern-ui .pegazee-analytics-section{
    background:var(--pegazee-dashboard-bg,#f4f6fb);
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-analytics-section{
    background:#0c1120!important;
}

/* v6.50 cover the analytics section's inherited top padding in dark mode */
html[data-theme=dark] body.pegazee-modern-ui .pegazee-analytics-grid{
    position:relative;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-analytics-grid::before{
    content:"";
    position:absolute;
    z-index:0;
    top:-1.5rem;
    right:-1.25rem;
    left:-1.25rem;
    height:1.5rem;
    background:#0c1120;
    pointer-events:none;
}
html[data-theme=dark] body.pegazee-modern-ui .pegazee-analytics-grid>*{
    position:relative;
    z-index:1;
}

/* v6.57 site-wide form and dropdown contrast repair */
:root{
    --pegazee-control-fg:#17213a;
    --pegazee-control-muted:#68738c;
    --pegazee-control-bg:#fff;
    --pegazee-control-border:#d5dbea;
    --pegazee-option-active:#5546e8;
    --pegazee-option-active-fg:#fff;
}

/* Select2 v3 and v4 are both used by legacy and newer Pegazee screens. */
body .select2-container .select2-selection__rendered,
body .select2-container .select2-selection__placeholder,
body .select2-choice,
body .select2-chosen,
body .select2-results__option,
body .select2-results li{
    color:var(--pegazee-control-fg)!important;
}
body .select2-dropdown,
body .select2-results,
body .select2-results__option,
body .select2-results li{
    background-color:var(--pegazee-control-bg);
}
body .select2-results .select2-highlighted,
body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
body .select2-container--default .select2-results__option--selected,
body .select2-container--default .select2-results__option[aria-selected=true]{
    color:var(--pegazee-option-active-fg)!important;
    background:var(--pegazee-option-active)!important;
}
body .select2-results .select2-highlighted *,
body .select2-results__option--highlighted *,
body .select2-results__option--selected *{
    color:inherit!important;
}

/* Native controls plus other selectors used by optional modules. */
body select,
body select.form-control,
body select option{
    color:var(--pegazee-control-fg);
    background-color:var(--pegazee-control-bg);
}
body select option:checked{
    color:var(--pegazee-option-active-fg)!important;
    background:var(--pegazee-option-active) linear-gradient(0deg,var(--pegazee-option-active),var(--pegazee-option-active))!important;
}
body .bootstrap-select .dropdown-menu>li>a,
body .choices__list--dropdown .choices__item,
body .ts-dropdown .option{
    color:var(--pegazee-control-fg)!important;
    background:var(--pegazee-control-bg);
}
body .bootstrap-select .dropdown-menu>li.active>a,
body .bootstrap-select .dropdown-menu>li.selected>a,
body .bootstrap-select .dropdown-menu>li>a:hover,
body .bootstrap-select .dropdown-menu>li>a:focus,
body .choices__list--dropdown .choices__item.is-highlighted,
body .ts-dropdown .option.active,
body .ts-dropdown .option.selected{
    color:var(--pegazee-option-active-fg)!important;
    background:var(--pegazee-option-active)!important;
}

html[data-theme=dark]{
    --pegazee-control-fg:#eef2ff;
    --pegazee-control-muted:#aeb9d2;
    --pegazee-control-bg:#101729;
    --pegazee-control-border:#3a4666;
    --pegazee-option-active:#6957f0;
}
html[data-theme=dark] body .select2-dropdown,
html[data-theme=dark] body .select2-results,
html[data-theme=dark] body .select2-results__option,
html[data-theme=dark] body .select2-results li,
html[data-theme=dark] body .bootstrap-select .dropdown-menu,
html[data-theme=dark] body .choices__list--dropdown,
html[data-theme=dark] body .ts-dropdown{
    border-color:var(--pegazee-control-border)!important;
    color:var(--pegazee-control-fg)!important;
    background:var(--pegazee-control-bg)!important;
}
html[data-theme=dark] body .select2-search__field,
html[data-theme=dark] body .choices__input{
    border-color:var(--pegazee-control-border)!important;
    color:var(--pegazee-control-fg)!important;
    background:#0c1324!important;
}
html[data-theme=dark] body select:disabled,
html[data-theme=dark] body .select2-container--disabled .select2-selection,
html[data-theme=dark] body .form-control[disabled],
html[data-theme=dark] body .form-control[readonly]{
    color:#aeb9d2!important;
    background:#202941!important;
    opacity:1;
}
