:root{color-scheme:light}
.appearance-toggle{position:fixed;top:17px;right:24px;z-index:60;min-height:38px;min-width:88px;padding:8px 13px;border:1px solid #a9bba0;border-radius:20px;background:#fdfefb;color:#273423;font:600 12px 'DM Sans',system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 8px #1721140a}
.appearance-toggle:hover{border-color:#567b51;background:#edf5e8}.appearance-toggle:focus-visible{outline:3px solid #567b51;outline-offset:3px}
.topbar .top-right{padding-right:108px}
html[data-theme=dark]{color-scheme:dark;--bg:#171b17;--panel:#232923;--ink:#edf1e9;--muted:#adb7a8;--line:#3d4939;--accent:#a9d899}
html[data-theme=dark] body{background:var(--bg);color:var(--ink)}
html[data-theme=dark] .appearance-toggle{background:#2b3428;color:#e9f5e2;border-color:#53654a}
html[data-theme=dark] .appearance-toggle:hover{background:#374331}
html[data-theme=dark] .appearance-toggle:focus-visible{outline-color:#a9f39d}
html[data-theme=dark] .topbar{background:#1b211a;color:#d6dfd0;border-color:var(--line)}
html[data-theme=dark] :is(.head-stat,.service,.form-panel,.info-panel,.admin-card,.job-row,.detail,.detail-item,.stat-card,.usage-notes,.retry-dialog,.balance-pack){background:var(--panel);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.upload-area,.cost-strip,.file-chip,.user-row){background:#1b2219;color:var(--ink);border-color:#485b3f}
html[data-theme=dark] .upload-area:hover,html[data-theme=dark] .upload-area.dragging{background:#293624;border-color:#9bc08b}
html[data-theme=dark] .upload-icon{background:#35452e;color:#b4e0a4}
html[data-theme=dark] :is(input,textarea,select){background:#171e15;color:#edf1e9;border-color:#53604c}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#929f89}
html[data-theme=dark] :is(.muted,.tiny,.mini,.breadcrumb,.page-head p,.upload-area p,.upload-area small,.steps p,.cost-strip small,.head-stat small,.principle-panel p,.principle-panel .mini,.auth-form p){color:#b1bcaa}
html[data-theme=dark] :is(.page-head h1 em,.text-btn,.upload-area p span){color:#a9d899}
html[data-theme=dark] .principle-panel{background:transparent;border-color:var(--line);color:#edf1e9}
html[data-theme=dark] .btn.outline{background:#2b3527;color:#edf1e9;border-color:#56664e}
html[data-theme=dark] .btn.primary{background:#a9f39d;color:#172116}
html[data-theme=dark] .btn.primary:disabled{background:#46513f;color:#b9c2b2}
html[data-theme=dark] .service.active{background:#33412d;border-color:#6b8a5b}
html[data-theme=dark] :is(.small-pill,.clock-pill){background:#2c3b26;color:#c5dfb7;border-color:#4b6040}
html[data-theme=dark] :is(th,td){border-color:var(--line)}
html[data-theme=dark] .detail-item img{background:#2d3529}
html[data-theme=dark] .auth-form{color:var(--ink)}
@media(max-width:700px){.appearance-toggle{right:14px;top:17px;min-width:80px}.topbar .top-right{padding-right:90px}.topbar .clock-pill{display:none}}
