.auth-theme-toggle{margin:0 0 26px auto;display:flex;font-size:13px}
[data-theme-toggle]{white-space:nowrap;gap:8px}
html[data-admin-theme=dark]{color-scheme:dark;--ink:#eceae8;--muted:#b2afac;--line:#43403d;--cream:#272522;--brown:#b99573;--green:#bfb3a5}
html[data-admin-theme=dark] body{background:#1a1917}
html[data-admin-theme=dark] :is(.sidebar,.topbar,.auth-main){background:#23211e}
html[data-admin-theme=dark] :is(.panel,.stat,.table-wrap,.cms-field,.empty,.upload-label){background:#2b2824}
html[data-admin-theme=dark] :is(input,select,textarea,.toolbar input){background:#201d1a;color:var(--ink);border-color:var(--line)}
html[data-admin-theme=dark] :is(input,textarea)::placeholder{color:#a4a19d;opacity:1}
html[data-admin-theme=dark] :is(input,select,textarea,button,a):focus-visible{outline:2px solid #d1c8be;outline-offset:3px}
html[data-admin-theme=dark] input[type=checkbox]{accent-color:#c3b8ac}
html[data-admin-theme=dark] :is(.primary,.auth-card .primary){background:#b99573;color:#1c1b19;border-color:#b99573}
html[data-admin-theme=dark] .primary:hover{background:#ceab88}
html[data-admin-theme=dark] :is(.secondary,.quiet){background:#302d29;color:var(--ink);border-color:var(--line)}
html[data-admin-theme=dark] :is(.secondary,.quiet):hover{background:#403c38}
html[data-admin-theme=dark] .danger{background:#412b29;color:#ffc1b4;border-color:#75504a}
html[data-admin-theme=dark] .sidebar nav a{color:#c9c6c2}
html[data-admin-theme=dark] .sidebar nav a:hover{background:#35322f}
html[data-admin-theme=dark] .sidebar nav a.active{background:#403b35;color:#ddd3c7}
html[data-admin-theme=dark] :is(.sidebar-bottom p,.sidebar-bottom span){color:var(--muted)}
html[data-admin-theme=dark] .logo img{mix-blend-mode:normal;background:#f7f5f2;border-radius:10px;padding:4px}
html[data-admin-theme=dark] :is(.welcome,.notice,.permissions,.cms-mode){background:#34312d;color:#cdc8c2}
html[data-admin-theme=dark] :is(.welcome p,.cms-mode p,.cms-field label>span,.cms-field label>small,.cms-save>span,.admin-calendar-week){color:#c3bcb5}
html[data-admin-theme=dark] .stat strong{color:#cabfb3}
html[data-admin-theme=dark] th{background:#23201d;color:var(--muted)}
html[data-admin-theme=dark] td{border-bottom-color:var(--line)}
html[data-admin-theme=dark] .badge{background:#3f3d3b;color:#d8d5d2}
html[data-admin-theme=dark] .badge.green{background:#423c35;color:#ded4c8}
html[data-admin-theme=dark] .badge.orange{background:#4b3d2a;color:#f2d6a5}
html[data-admin-theme=dark] :is(dialog,.dialog-heading){background:#292622;color:var(--ink)}
html[data-admin-theme=dark] dialog::backdrop{background:#090806b3}
html[data-admin-theme=dark] .cms-save{background:#2d2a27f5;border-color:#605952;box-shadow:0 6px 30px #0004}
html[data-admin-theme=dark] .cms-image-preview{background:#3d3a37}
html[data-admin-theme=dark] .admin-day{background:#3c3731;border-color:#5b5349;color:#dad1c7}
html[data-admin-theme=dark] .admin-day.occupied{background:#422e2c;border-color:#78534b;color:#f4c0b1}
html[data-admin-theme=dark] :is(.form-error,.global-status){color:#ffb4a5}
html[data-admin-theme=dark] .global-status.success{color:#d0c4b7}
@media(max-width:700px){.topbar>div{flex-wrap:wrap}[data-theme-toggle]{font-size:12px;padding:7px 10px}.auth-theme-toggle{font-size:13px}}
