/* Administrative theme: storefront assets and product artwork stay independent. */
html[data-admin-theme="light"]{color-scheme:light}
html[data-admin-theme="dark"]{color-scheme:dark}
.admin-app .theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 10px;white-space:nowrap;flex:none;font-family:inherit;font-size:11px;font-weight:600;line-height:1.3;background:#f2f7fd;color:#355877;border:1px solid #dce6f2;box-shadow:none}
.admin-app input[type=checkbox],.admin-app input[type=radio]{width:16px;min-width:16px;min-height:16px;height:16px;padding:0;flex:none}
.theme-toggle svg{width:17px;height:17px;flex:none}
[data-theme-sun]{display:none}
html[data-admin-theme="dark"] [data-theme-moon]{display:none}
html[data-admin-theme="dark"] [data-theme-sun]{display:block}
.theme-toggle:focus-visible{outline:3px solid #389bfa;outline-offset:3px}
.theme-status{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.login-theme-toggle{position:fixed;right:20px;top:20px;z-index:30}
.receipt-theme-toggle{max-width:820px;margin:15px auto;display:flex;justify-content:flex-end;padding:0 20px}
.admin-app .top-actions{min-width:0;flex-shrink:0}
.admin-app .breadcrumbs{min-width:0;flex:1}.admin-app .breadcrumbs strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.admin-app .top-actions .global-search{display:none}.admin-app .top-actions .profile>span:last-child{display:none}}
@media(max-width:650px){.admin-app .theme-toggle{width:34px;height:34px;padding:7px}.admin-app .theme-toggle [data-theme-label]{display:none}.admin-app .top-actions{gap:10px}.login-theme-toggle{right:14px;top:14px}.admin-app .breadcrumbs{min-width:0}}
@media screen{
html[data-admin-theme="dark"] .admin-app{--bg:#0b1220;--surface:#0b1220;--ink:#e3ecf8;--muted:#a5b5cb;--line:#2b3c52;--soft:#1b304a;--purple:#87b5ff;--blue:#2684e9;--teal:#07876f;--green:#65d6ad;--amber:#f4c96c;--red:#ff9eb1;--theme-panel:#121e30;--theme-raised:#19283c;--theme-input:#0e192a;--theme-accent:#79bcff;background:var(--surface);color:var(--ink);scrollbar-color:#4d6482 #101b2c}
html[data-admin-theme="dark"] .admin-app :is(h1,h2,h3,h4,td strong,.account-meta strong,.access-card-line strong,.access-card dd,.screen-details dd,.receipt-preview-paper dd,.agenda-day strong,.collection-access>span,.result-product>span,.business-access-list strong,.business-demand-grid strong,.business-disclosure>summary,.reference-platform strong,.purchase-toolbar h3,.transfer-preview-box>strong){color:var(--ink)}
html[data-admin-theme="dark"] .admin-app :is(p,small,dt,label,.form-hint,.reference-page-notes,.identity-line,.access-card-line,.account-meta,.account-title small,.drawer-access small,.chart-legend,.empty-detail,.empty-small,.business-contact-line,.business-timeline p,.stock-recommendation p,.stock-threshold,.screen-pin-control,.business-permissions legend,.visual-kpi span:not(.tint-icon),.page-heading p,.purchase-help,.queue-item,.visual-tabs button,.visual-tabs a,.footer,.client-contact,.client-navigation button,.purchase-fields label,.purchase-line-head strong,.overview-summary,.transfer-preview-box>p,.transfer-preview-box>span,.summary-finance>div){color:var(--muted)}
html[data-admin-theme="dark"] .admin-app :is(.panel,.panel-header,.catalog-card,.metric,.visual-kpi,.quick-action,.product-tabs,.drawer,.access-card,.action-menu-content,.account-accordion,.column-picker>div,.overview-summary>span,.package-product,.composition-row,.collection-queue .panel-header,.chat-header,.chat-footer,.guided-steps,.stock-card,.receipt-preview-paper,.client-card,.mini-stat,.reference-platform,.access-choice-account,.access-choice-account>header,.access-product-options>button,.purchase-product-choices>button,.account-filter-bar button,.filters,.inline-device form,.business-document,.purchase-line,.business-permissions,.receipt-paper){background:var(--theme-panel);border-color:var(--line);box-shadow:none}
html[data-admin-theme="dark"] .admin-app .reference-metric{background:var(--theme-panel)!important;color:var(--ink)!important;border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app :is(.reference-metric span,.reference-metric small){color:var(--muted)}
html[data-admin-theme="dark"] .admin-app .reference-metric strong{color:var(--ink)}
html[data-admin-theme="dark"] .admin-app .topbar{background:#101b2cf5;border-color:var(--line);box-shadow:0 3px 14px #0002}
html[data-admin-theme="dark"] .admin-app .sidebar{background:linear-gradient(165deg,#0a192d,#0a1525);border-right:1px solid #22334b}
html[data-admin-theme="dark"] .admin-app .sidebar :is(.logo,.logo-accent){color:#f4f8ff}
html[data-admin-theme="dark"] .admin-app .sidebar .nav a{color:#b5c8e2}
html[data-admin-theme="dark"] .admin-app .sidebar .nav a:hover{background:#1b304b;color:#fff}
html[data-admin-theme="dark"] .admin-app .sidebar .nav a.active{background:linear-gradient(110deg,#1265bc,#197ee0);color:#fff}
html[data-admin-theme="dark"] .admin-app .sidebar .business-nav-label{color:#9aafc9!important}
html[data-admin-theme="dark"] .admin-app :is(.link-name,.text-link,.business-contact-line a,.breadcrumbs a,.product-tab.active,.visual-tabs .active,.inline-device summary,.sheet-secret,.sheet-profile,.sheet-date){color:var(--theme-accent)}
html[data-admin-theme="dark"] .admin-app :is(.breadcrumbs strong,.top-actions>a,.profile){color:var(--ink)}
html[data-admin-theme="dark"] .admin-app .btn{background:var(--theme-raised);border-color:#354b67;color:#dfebfa;box-shadow:none}
html[data-admin-theme="dark"] .admin-app .btn:hover{background:#243950;border-color:#587ba2}
html[data-admin-theme="dark"] .admin-app .btn.primary{background:#146ac4;border-color:#287fd6;color:#fff}
html[data-admin-theme="dark"] .admin-app .btn.primary:hover{background:#1d7bd8}
html[data-admin-theme="dark"] .admin-app .btn.success{background:#087f68;border-color:#159b80;color:#fff}
html[data-admin-theme="dark"] .admin-app .btn.success:hover{background:#099479}
html[data-admin-theme="dark"] .admin-app .btn.ghost{background:transparent;color:#afc5e1}
html[data-admin-theme="dark"] .admin-app .btn.icon-action{background:#1b304a;border-color:#35506e;color:#8fc5ff}
html[data-admin-theme="dark"] .admin-app .btn.danger,html[data-admin-theme="dark"] .admin-app .btn.icon-action.danger{background:#3a2330;border-color:#6b3546;color:#ffadc0}
html[data-admin-theme="dark"] .admin-app .theme-toggle{background:#213854;border-color:#3b587b;color:#f0d58c}
html[data-admin-theme="dark"] .admin-app input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-admin-theme="dark"] .admin-app select,html[data-admin-theme="dark"] .admin-app textarea{background:var(--theme-input);border-color:#3a4c66;color:var(--ink)}
html[data-admin-theme="dark"] .admin-app input::placeholder,html[data-admin-theme="dark"] .admin-app textarea::placeholder{color:#8296b1;opacity:1}
html[data-admin-theme="dark"] .admin-app input:focus-visible,html[data-admin-theme="dark"] .admin-app textarea:focus-visible,html[data-admin-theme="dark"] .admin-app select:focus-visible{outline:2px solid #419cf2;outline-offset:2px}
html[data-admin-theme="dark"] .admin-app input:disabled,html[data-admin-theme="dark"] .admin-app select:disabled,html[data-admin-theme="dark"] .admin-app textarea:disabled{background:#192333;color:#8da0b7}
html[data-admin-theme="dark"] .admin-app input[type=checkbox],html[data-admin-theme="dark"] .admin-app input[type=radio]{accent-color:#4b9eec}
html[data-admin-theme="dark"] .admin-app :is(.global-search,.access-picker-search,.login-input){background:var(--theme-input);border-color:#3a4c66}
html[data-admin-theme="dark"] .admin-app .global-search input,html[data-admin-theme="dark"] .admin-app .access-picker-search input,html[data-admin-theme="dark"] .admin-app.admin-login .login-input input{background:transparent;border:0}
html[data-admin-theme="dark"] .admin-app :is(.field small,.dialog-body small,.login-input>svg,.login-input button){color:var(--muted)}
html[data-admin-theme="dark"] .admin-app dialog{background:var(--theme-panel);color:var(--ink);border:1px solid #3a4d68;box-shadow:0 24px 80px #0009}
html[data-admin-theme="dark"] .admin-app dialog::backdrop{background:#020712b8;backdrop-filter:blur(3px)}
html[data-admin-theme="dark"] .admin-app .dialog-head{background:#17253a;border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app .dialog-head button{background:#263a54;color:#cfdef0}
html[data-admin-theme="dark"] .admin-app :is(.credentials-output,.detail-list p,.account-notes-box,.purchase-empty,.drawer-note,.business-response,.receipt-frame,.client-reminder-box,.bundle-price-summary,.access-picker,.access-selected-summary,.purchase-line-head,.access-choice-account>header,.business-upload){background:var(--theme-raised);border-color:var(--line);color:var(--muted)}
html[data-admin-theme="dark"] .admin-app :is(.tint-icon,.metric-icon,.business-timeline-icon,.timeline-symbol,.access-all-icon,.screen-number,.guided-steps b){background:#1b3856;color:#81c4ff}
html[data-admin-theme="dark"] .admin-app .tint-icon.teal{background:#123d39;color:#64dec6}
html[data-admin-theme="dark"] .admin-app .tint-icon.amber{background:#43351e;color:#f4c96c}
html[data-admin-theme="dark"] .admin-app .tint-icon.lilac{background:#30274f;color:#c7adff}
html[data-admin-theme="dark"] .admin-app .tint-icon.coral{background:#43283b;color:#ffb2c8}
html[data-admin-theme="dark"] .admin-app .avatar{background:linear-gradient(140deg,#213e62,#24334d);color:#b5d8ff}
html[data-admin-theme="dark"] .admin-app :is(.drawer .avatar.large,.customer-hero>.avatar,.client-card-avatar){background:#342b50;color:#d7bcff}
html[data-admin-theme="dark"] .admin-app .badge{background:#143c34;color:#7be0bc;border-color:#265549}
html[data-admin-theme="dark"] .admin-app .badge.warn{background:#49371b;color:#f5d08a}
html[data-admin-theme="dark"] .admin-app .badge.bad{background:#482738;color:#ffb3c3}
html[data-admin-theme="dark"] .admin-app .badge.neutral{background:#243650;color:#b4ccec}
html[data-admin-theme="dark"] .admin-app :is(.info-strip,.business-offer,.business-demand-grid article,.client-card-summary,.bundle-portfolio-summary){background:#162d47;border-color:#2d4b69;color:#b5d6fa}
html[data-admin-theme="dark"] .admin-app :is(.info-strip svg,.business-offer>svg){color:#89c5ff}
html[data-admin-theme="dark"] .admin-app :is(.flash,.bundle-sale-summary,.business-total,.business-backup-status,.package-savings,.transfer-result,.access-selected-summary.selected){background:#143b32;border-color:#2d6250;color:#89e0bb}
html[data-admin-theme="dark"] .admin-app :is(.transfer-result h2,.transfer-result p,.result-data,.result-data strong){color:#a7e4c8}
html[data-admin-theme="dark"] .admin-app .flash.error,html[data-admin-theme="dark"] .admin-app .promise-overdue{background:#442633;border-color:#784253;color:#ffbdc9}
html[data-admin-theme="dark"] .admin-app .business-backup-status.stale{background:#45361e;color:#f5d18f}
html[data-admin-theme="dark"] .admin-app .note-card{background:#3b321d;border-color:#66532b;color:#f2d590}
html[data-admin-theme="dark"] .admin-app :is(.attention-card,.hero){background:linear-gradient(125deg,#193b5a,#15304d);border-color:#305c7c}
html[data-admin-theme="dark"] .admin-app .attention-card p{color:#b6d5ef}
html[data-admin-theme="dark"] .admin-app .alert-item{background:#372e20;border-color:#58462b}
html[data-admin-theme="dark"] .admin-app .alert-item:nth-child(2){background:#392537;border-color:#60364f}
html[data-admin-theme="dark"] .admin-app :is(.progress-track,.business-progress,.stock-segments,.track){background:#283b52}
html[data-admin-theme="dark"] .admin-app :is(.agenda-day,.filter-chip,.filter-chip strong,.variable-chips button,.package-stepper button,.composition-move,.product-chip,.inline-count){background:var(--theme-raised);border-color:var(--line);color:#b8cce4}
html[data-admin-theme="dark"] .admin-app .agenda-day.active{background:#176fc7;color:#fff}
html[data-admin-theme="dark"] .admin-app .agenda-day.active strong{color:#fff}
html[data-admin-theme="dark"] .admin-app :is(.filter-chip.active,.product-tab.active,.visual-kpi.selected,.queue-item.active,.package-product:has(:checked),.account-filter-bar button.active,.access-product-options>button.active,.purchase-product-choices>button.active,.bundle-composition-item:has(input:checked),.client-navigation button.active){background:#193b5b;border-color:#487fb2;color:#bbdfff}
html[data-admin-theme="dark"] .admin-app :is(.quick-action:hover,.visual-kpi:where(a):hover,.product-tile:hover){background:#1b314b;border-color:#4a78a7}
html[data-admin-theme="dark"] .admin-app .product-tab{color:#b6c9e0}
html[data-admin-theme="dark"] .admin-app .screen-tile{background:var(--theme-panel);color:#cfdef0;border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app .screen-tile.free{background:#112e2c;border-color:#2c6458}
html[data-admin-theme="dark"] .admin-app .screen-tile.blocked,html[data-admin-theme="dark"] .admin-app .slot.blocked{background:#202b3b;color:#adb8c8}
html[data-admin-theme="dark"] .admin-app :is(.screen-tile:hover,.screen-tile.selected,.screen-tile.free.selected){background:#163b5b;border-color:#4bafff;box-shadow:0 0 0 1px #4bafff}
html[data-admin-theme="dark"] .admin-app .slot{background:#1f3050;border-color:#394c76;color:#bbd4ff}
html[data-admin-theme="dark"] .admin-app .slot.free,html[data-admin-theme="dark"] .admin-app .access-screen-options>button{background:#14382e;border-color:#34715a;color:#9cdec0}
html[data-admin-theme="dark"] .admin-app .access-screen-options>button.selected{background:#194267;border-color:#6bb7ff;color:#c9e7ff}
html[data-admin-theme="dark"] .admin-app :is(.transfer-account,.transfer-preview-box){background:var(--theme-raised);border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app :is(.transfer-account.target,.transfer-preview-box.destination){background:#163a39;border-color:#316761}
html[data-admin-theme="dark"] .admin-app .guided-steps .complete,html[data-admin-theme="dark"] .admin-app .guided-steps .complete b{color:#77debd}
html[data-admin-theme="dark"] .admin-app .guided-steps .complete b{background:#174137}
html[data-admin-theme="dark"] .admin-app :is(th,.access-sheet th){background:#1b2c43;color:#b9cce4;border-color:#344a65}
html[data-admin-theme="dark"] .admin-app td{color:#cedbed;border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app tbody tr:hover,html[data-admin-theme="dark"] .admin-app tr:hover td{background:#1c3049}
html[data-admin-theme="dark"] .admin-app .customer-row.selected td{background:#1a3a59}
html[data-admin-theme="dark"] .admin-app .access-sheet :is(td,.sheet-account,.sheet-actions),html[data-admin-theme="dark"] .admin-app .sheet-row td,html[data-admin-theme="dark"] .admin-app .access-sheet .account-alternate td{background:var(--theme-panel);border-color:var(--line);color:#cedbed}
html[data-admin-theme="dark"] .admin-app .access-sheet .account-group-row td{background:#203951!important;color:#c7e1f8;border-color:#3c5c78}
html[data-admin-theme="dark"] .admin-app .access-sheet .sheet-row:hover td,html[data-admin-theme="dark"] .admin-app .access-sheet .sheet-row.selected td{background:#1b3b57}
html[data-admin-theme="dark"] .admin-app .access-sheet :is(.expired td.sheet-days,.expired td.sheet-validity,.expired td.sheet-situation){background:#432434;color:#ffb1c1}
html[data-admin-theme="dark"] .admin-app .access-sheet :is(.warning td.sheet-days,.warning td.sheet-validity,.warning td.sheet-situation){background:#43351c;color:#f7d18c}
html[data-admin-theme="dark"] .admin-app .access-sheet :is(.current td.sheet-days,.current td.sheet-validity,.current td.sheet-situation,.vacant td.sheet-situation){background:#163d32;color:#94e0ba}
html[data-admin-theme="dark"] .admin-app :is(.overview-horizontal-scroll,.selection-bar){background:#1c324b;border-color:#3a536e;color:#c2dcf4}
html[data-admin-theme="dark"] .admin-app .chat-preview{background:#13241f;border-color:#2d4c40}
html[data-admin-theme="dark"] .admin-app .chat-body{background-color:#13231f;background-image:radial-gradient(#284137 1px,transparent 1px)}
html[data-admin-theme="dark"] .admin-app .chat-label{background:#213d32;color:#b0cebf}
html[data-admin-theme="dark"] .admin-app .chat-bubble,html[data-admin-theme="dark"] .admin-app .business-message-preview{background:#1c4939;border-color:#316b50;color:#def6e8}
html[data-admin-theme="dark"] .admin-app .chat-header,html[data-admin-theme="dark"] .admin-app .chat-footer{background:#182d25;color:#abc8b9}
html[data-admin-theme="dark"] .admin-app .chat-header :is(strong,small){color:#d4e8dc}
html[data-admin-theme="dark"] .admin-app .store-offer-preview{background:linear-gradient(135deg,#10263f,#06101d);color:#fff}
html[data-admin-theme="dark"] .admin-app .store-offer-preview :is(h3,strong){color:#fff}
html[data-admin-theme="dark"] .admin-app .store-offer-preview :is(p,small){color:#a7c3db}
html[data-admin-theme="dark"] .admin-app .login-reference-card{background:var(--theme-panel);border:1px solid #314862;color:var(--ink);box-shadow:0 25px 70px #0005}
html[data-admin-theme="dark"] .admin-app .login-shield{background:#1a3d5e;color:#8dceff}
html[data-admin-theme="dark"] .admin-app .login-reference-help{border-color:var(--line);color:var(--muted)}
html[data-admin-theme="dark"] .admin-app.admin-login{background:radial-gradient(ellipse at 85% 8%,#123b67 0,transparent 48%),linear-gradient(140deg,#07101c,#0b1b2d 60%,#080f1c)}
html[data-admin-theme="dark"] .admin-app.receipt-page{background:var(--surface);color:var(--ink)}
html[data-admin-theme="dark"] .admin-app .receipt-paper section{background:var(--theme-raised);border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app .receipt-paper :is(h1,h2,strong){color:var(--ink)}
html[data-admin-theme="dark"] .admin-app .receipt-paper :is(p,dt,footer){color:var(--muted)}
html[data-admin-theme="dark"] .admin-app .receipt-amount{color:#83dfb9}
html[data-admin-theme="dark"] .admin-app .receipt-paid{background:#174436;color:#94e4c4}
html[data-admin-theme="dark"] .admin-app :is(.account-detail-head,.customer-hero,.access-card-head,.panel-header,.dialog-head,.visual-tabs,.purchase-line-head,.account-accordion>summary,.summary-finance>div,.business-access-list>div,.business-disclosure,.queue-item){border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app hr{border-color:var(--line)}
html[data-admin-theme="dark"] .admin-app :is(.chart-legend,.stock-counts small,.sheet-legend,.screen-pin-control){color:#afc1d7}
html[data-admin-theme="dark"] .admin-app .bar-chart text,html[data-admin-theme="dark"] .admin-app .financial-chart text{fill:#a5b5cb}
html[data-admin-theme="dark"] .admin-app .screen-pin-control .btn{background:#223d58;border-color:#456786;color:#b6deff}
}
@media print{html[data-admin-theme]{color-scheme:light!important;background:white!important}.theme-toggle,.theme-status,.login-theme-toggle,.receipt-theme-toggle{display:none!important}}

.admin-app .filters input[type=checkbox],.admin-app .filters input[type=radio]{width:16px;min-width:16px;max-width:16px;flex:0 0 16px}

@media screen{html[data-admin-theme=dark] .admin-app :is(.cleanup-card,.cleanup-notice,.screen-tile.needs-cleanup){background:#392e1a;border-color:#775d2d;color:#f4d491}html[data-admin-theme=dark] .admin-app .cleanup-card.completed{background:var(--theme-panel);border-color:var(--line)}html[data-admin-theme=dark] .admin-app .cleanup-button{background:#4b3818;border-color:#876a30;color:#ffe0a0}}

@media screen{html[data-admin-theme=dark] .admin-app .residence-card{background:var(--theme-panel);border-color:var(--line)}html[data-admin-theme=dark] .admin-app .residence-forecast{background:#172e49;border-color:#355777}html[data-admin-theme=dark] .admin-app .residence-forecast>strong{color:#a9d4fa}html[data-admin-theme=dark] .admin-app .residence-forecast>small{color:#b4c7df}}

html[data-admin-theme="dark"] .admin-app :is(.credential-email,.account-access-values .credential-password){background:#132e49;border-color:#3b6085;color:#ecf6ff}html[data-admin-theme="dark"] .admin-app :is(.credential-email,.credential-password) .credential-label{color:#9ac2e7}html[data-admin-theme="dark"] .admin-app .credential-password>svg{color:#80bdff}html[data-admin-theme="dark"] .admin-app .account-access-values .credential-password:hover{background:#1c3e60;border-color:#6fa6dc}html[data-admin-theme="dark"] .admin-app .screen-pin-control .credential-pin{background:#2c274b;border-color:#67538f;color:#f1eaff}html[data-admin-theme="dark"] .admin-app .credential-pin .credential-label{color:#c3b1ec}html[data-admin-theme="dark"] .admin-app .credential-pin>svg{color:#c7aaff}html[data-admin-theme="dark"] .admin-app .screen-pin-control .credential-pin:hover{background:#39305f;border-color:#9474c9}html[data-admin-theme="dark"] .admin-app .account-title>small:last-of-type{color:#b6d7f4}

html[data-admin-theme="dark"] .admin-app .account-pin-fields{background:#10263b;border-color:#345371}html[data-admin-theme="dark"] .admin-app .account-pin-fields legend{color:#b8d9f7}

html[data-admin-theme="dark"] .admin-app .availability-card{background:linear-gradient(145deg,#142d46,#11253b);border-color:#304d6b;color:#e2efff}html[data-admin-theme="dark"] .admin-app .availability-card:hover,html[data-admin-theme="dark"] .admin-app .availability-card:focus-visible{border-color:#59a9ff}html[data-admin-theme="dark"] .admin-app .availability-card-number>strong{color:#64b2ff}html[data-admin-theme="dark"] .admin-app .availability-card-number>span,html[data-admin-theme="dark"] .admin-app .availability-card>small{color:#abc3dd}html[data-admin-theme="dark"] .admin-app .availability-empty{background:#152536;border-color:#2a3d51}html[data-admin-theme="dark"] .admin-app .availability-empty .availability-card-number>strong{color:#8aa0b7}
