:root{color-scheme:light}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;min-width:38px;padding:8px;margin:0;border:1px solid #cddbd7;border-radius:8px;background:#fff;color:#315d53;font:500 12px "Segoe UI",Arial,sans-serif;cursor:pointer;white-space:nowrap;flex-shrink:0}.theme-toggle:hover{background:#edf6f2}.theme-toggle:focus-visible{outline:3px solid #55baa5;outline-offset:3px}.theme-auth-toolbar{position:absolute;top:18px;right:24px;z-index:5}.auth-main{padding-top:76px}html[data-theme=dark]{color-scheme:dark;--bg:#10191f;--ink:#e4eeef;--muted:#a2b7be;--line:#33454e;--green:#69c7b0;--light:#203f36;--amber:#e6bf70}
html[data-theme=dark] body{background:#10191f;color:#e4eeef}
html[data-theme=dark] :is(header,.sidebar,.panel,.stats article,.auth-page,.account-dropdown,.account-menu summary,.job-actions-menu>div){background:#19262e;color:#e4eeef;border-color:#33454e}
html[data-theme=dark] :is(dialog,#backup-dialog,#folder-dialog,#restore-dialog){background:#19262e;color:#e4eeef;border-color:#40555f}
html[data-theme=dark] :is(dialog,#restore-dialog)::backdrop{background:#03090ec2}
html[data-theme=dark] :is(input,select,textarea,.panel select,.auth-card input){background:#111e26;color:#e4eeef;border-color:#40555f}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#91a7b0;opacity:1}
html[data-theme=dark] :is(p,small,label,th,td,.muted,.form-help,.local-only-note,.auth-footer,.readonly-info,.stat-label,.stat-foot,.execution-note,.job-help,.nav-label,.breadcrumb,.jobs-table th,.jobs-table td,.job-summary-grid span,.tree-help,.tree-hint){color:#a8bdc4}
html[data-theme=dark] :is(h1,h2,h3,h4,strong,.brand,.readonly-info strong,.breadcrumb strong,.job-detail-heading h2){color:#e4eeef}
html[data-theme=dark] :is(a,.account-dropdown a,.account-controls .account-dropdown button,.nav,.job-title-link,.text-button,.tree-name,.tree-file,.tree-toggle,.tree-remove,.folder-name,.job-menu-link,.job-tabs a,.account-link){color:#85d6be}
html[data-theme=dark] :is(.secondary,.theme-toggle){background:#21323c;color:#d5e9e4;border-color:#49616a}
html[data-theme=dark] :is(.secondary,.theme-toggle):hover{background:#2c434c}
html[data-theme=dark] .theme-toggle[aria-pressed=true]{border-color:#6ac8b0;background:#23443b;color:#a2efd8}
html[data-theme=dark] :is(.path-box,.tree-browser,.job-summary-grid>div,.operation-progress,.step-number,.empty-symbol,.device-icon,.folder-icon,.count,.nav b,th){background:#1f3039;border-color:#3a505b}
html[data-theme=dark] :is(.health-banner,.tree-selection-panel,.success,.form-message.success,.status-succeeded,.healthy,.nav.active){background:#203d33;color:#9ce1bd;border-color:#3c6654}
html[data-theme=dark] :is(.health-icon,.workspace-icon,.avatar,.account-avatar){background:#294b42;color:#a4e2cc}
html[data-theme=dark] :is(.warning,.warning-badge){background:#433921;color:#efd08b;border-color:#6b5934}
html[data-theme=dark] :is(.form-message,.status-failed,.status-interrupted){background:#492b2d;color:#ffb7ac;border-color:#76494c}
html[data-theme=dark] :is(.draft,.job-status,.status-running,.status-queued){background:#293d56;color:#b4d2fb}
html[data-theme=dark] .status-succeeded{background:#203d33;color:#9ce1bd}html[data-theme=dark] :is(.status-failed,.status-interrupted){background:#492b2d;color:#ffb7ac}
html[data-theme=dark] :is(.tree-row:hover,.nav:hover,.account-dropdown a:hover,.account-dropdown a[aria-current=page],.account-controls .account-dropdown button:hover,.wizard-progress button:not(:disabled):hover){background:#29443e;color:#b0e9d7}
html[data-theme=dark] :is(.wizard-progress li,.job-tabs,.readonly-info,.auth-footer,.user-row,.job-menu-link,.folder-entry,.restore-selection,td){border-color:#384e58}
html[data-theme=dark] .wizard-progress li.active{color:#85d6be;border-color:#69c7b0}html[data-theme=dark] .job-tabs a[aria-current]{color:#9fe6d1;border-color:#69c7b0}
html[data-theme=dark] .meter{background:#374e58}html[data-theme=dark] .operation-progress progress::-webkit-progress-bar{background:#374e58}html[data-theme=dark] .progress-warning{color:#ffb7ac}
html[data-theme=dark] .primary{background:#246f5e;border-color:#3c9a81;color:#fff}html[data-theme=dark] .primary:hover{background:#2c806b}html[data-theme=dark] .danger{background:#a83227;color:#fff}html[data-theme=dark] .job-edit-action{background:#315edd;color:#fff}
html[data-theme=dark] .auth-story{background:#122e29}html[data-theme=dark] #jobs-message{color:#dfc994}html[data-theme=dark] .tree-branch-error{color:#ffb7ac}
html[data-theme=dark] :is(.contents,.note){background:#203d33;color:#d0e8de;border-color:#60b99c}html[data-theme=dark] :is(main>section,.cards article){background:#19262e;border-color:#33454e}html[data-theme=dark] :is(dt,.cards h3){color:#e4eeef}html[data-theme=dark] dd{color:#a8bdc4}
@media(max-width:600px){.theme-toggle span{display:none}.theme-toggle{padding:8px;min-width:38px}.account-controls{gap:8px}.theme-auth-toolbar{top:14px;right:18px}}@media print{.theme-toggle,.theme-auth-toolbar{display:none!important}}

html[data-theme=dark] a.button{background:#246f5e;color:#fff}
html[data-theme=dark] #users-section{background:transparent}
