:root{--surface:#fff;--surface-muted:#f1f5fb;--text:#243954;--border:#e1e7ef}
.shuju-admin-theme{background:transparent;color:inherit;border:1px solid #ccd6e3;border-radius:8px;padding:7px 10px;cursor:pointer}html[data-theme=dark]{color-scheme:dark}html[data-theme=dark] body{background:#101827;color:#d6e0f1}html[data-theme=dark] :is(header,#portalNav,.panel,.panel-body,.login-card,dialog,.dialog-head,.page-head,.admin-toolbar,.tabs,.account-menu,.account-menu[open],.login-story){background:#182235!important;color:#d6e0f1!important;border-color:#30405a!important}html[data-theme=dark] :is(input,select,textarea,button,.button){background:#1e2b40;color:#d6e0f1;border-color:#3d4e68}html[data-theme=dark] :is(h1,h2,h3,h4,strong,label,td,th,p,small,.muted,.page-head p){color:inherit}html[data-theme=dark] th{background:#233149}html[data-theme=dark] :is(td,th){border-color:#30405a}html[data-theme=dark] a{color:#8caeff}html[data-theme=dark] .primary{background:#416fda;color:#fff}
html[data-theme=dark]{--surface:#182235;--surface-muted:#233149;--text:#d6e0f1;--border:#30405a;--primary:#8caeff;--muted:#a4b2c9;--line:#30405a;color:#d6e0f1;background:#101827}
html[data-theme=dark] :is(.admin-summary,.workspace-links,.annotation,.metric,.system-metrics>div,.dc-upload,.dc-sheet,.admin-confirm-list,pre,.report-history-item){background:#1e2b40;color:#d6e0f1;border-color:#3d4e68}
html[data-theme=dark] :is(#portalNav a,.account-menu summary,.workspace-links a,details summary,.system-metrics span,.system-detail dt,.system-empty,.admin-tabs button,.dc-tabs button,.system-tabs button){color:#a4b2c9}
html[data-theme=dark] :is(#portalNav a[aria-current=page],.admin-tabs button[aria-pressed=true],.dc-tabs button.active,.system-tabs button[aria-selected=true]){background:#283d60;color:#adc6ff;border-color:#8caeff}
html[data-theme=dark] :is(.workspace-links a:hover,.account-menu a,.account-menu button,.admin-table-scroll tr:hover td){background:#233149;color:#d6e0f1}
html[data-theme=dark] :is(.dc-root .dc-table th,.report-history-item:hover){background:#233149}
html[data-theme=dark] :is(.report-history-item strong,.report-history-item span,.system-admin small,.dc-file small,.dc-release small,.dc-table small){color:#a4b2c9}
html[data-theme=dark] :is(.badge.blue,.dc-processing,.dc-queued){background:#203c67;color:#a9c7ff}
html[data-theme=dark] :is(.badge.green,.dc-published){background:#183e35;color:#8fdbbd}
html[data-theme=dark] :is(.badge.gray,.dc-tag){background:#2a3547;color:#bfcbdf}
html[data-theme=dark] :is(.badge.orange,.dc-blocked,.dc-review){background:#453620;color:#f0ce8e}
html[data-theme=dark] :is(.badge.red,.dc-failed){background:#4b2930;color:#ffb5b0}

/* Shared brand: retain the original Haier wordmark and a quiet product label. */
.haier-wordmark{color:#2164ed;font-family:Arial,Helvetica,sans-serif;font-size:30px;font-weight:800;letter-spacing:-1.8px;line-height:1}
.haier-brand-divider{width:1px;height:21px;background:var(--border);flex:none}
#portalHeader .brand,.haier-brand-lockup{display:flex;align-items:center;gap:13px;text-decoration:none;white-space:nowrap}
#portalHeader .brand strong,.haier-brand-lockup strong{font-size:16px;letter-spacing:.5px;color:var(--text);font-weight:650}
.haier-brand-lockup{margin-bottom:32px}.haier-brand-lockup .haier-wordmark{font-size:38px}
html[data-theme=dark] .haier-wordmark{color:#8caeff}
@media(max-width:600px){#portalHeader .brand strong,#portalHeader .brand .haier-brand-divider{display:none}.haier-brand-lockup{margin-bottom:20px}}
