:root{color-scheme:light;--surface-soft:#fafbf8;--field-bg:#fff;--theme-faint:#f0f3eb}html[data-theme="dark"]{color-scheme:dark;--bg:#121a16;--paper:#1b2520;--ink:#e4ece6;--muted:#a5b4a8;--line:#334338;--green:#9fcba4;--lime:#263e2c;--red:#f0a192;--amber:#e6bd76;--surface-soft:#202d25;--field-bg:#142019;--theme-faint:#28382c;background:var(--bg);color:var(--ink)}#theme-toggle{padding:8px 11px;font-size:10px;white-space:nowrap;background:var(--paper);color:var(--ink);border-color:var(--line)}html[data-theme="dark"] body{background:var(--bg)}html[data-theme="dark"] :is(aside,header,.panel,.metric,.employee,.access-box,dialog){background:var(--paper);border-color:var(--line);color:var(--ink)}html[data-theme="dark"] :is(.closing-person,th,.close-stat,.unit){background:var(--surface-soft)}html[data-theme="dark"] :is(.field input,.field select,.field textarea,.search,.filter,.user-picker select){background:var(--field-bg);color:var(--ink);border-color:var(--line)}html[data-theme="dark"] :is(.secondary,.row-action,.closing-history button){background:var(--surface-soft);color:var(--ink);border-color:var(--line)}html[data-theme="dark"] .primary{background:#345d41;color:#f2f7ee;border-color:#527a58}html[data-theme="dark"] .primary:hover{background:#426e4e}html[data-theme="dark"] :is(.metric.hero,.cash-result){background:#254b35;color:#f0f8ed;border-color:#446c4e}html[data-theme="dark"] :is(.metric.hero .metric-label,.metric.hero small,.cash-result span,.cash-result small){color:#bfd6c3}html[data-theme="dark"] nav a{color:#b0c0b4}html[data-theme="dark"] :is(nav a.active,nav a:hover,.closing-history button.selected,.demo-note){background:#283d2d;color:#c0dcb3}html[data-theme="dark"] :is(.nav-count,.avatar){background:#344c37;color:#cfe5c5}html[data-theme="dark"] :is(.badge,.badge.gray){background:#2c3c30;color:#c1cfc4}html[data-theme="dark"] .badge.green{background:#294d35;color:#badcb2}html[data-theme="dark"] :is(.badge.amber,.alert-icon.amber,.demo-badge){background:#493d26;color:#edcf93}html[data-theme="dark"] :is(.badge.red,.alert-icon,.form-error){color:#f0a192}html[data-theme="dark"] .badge.red,html[data-theme="dark"] .alert-icon{background:#4a302c}html[data-theme="dark"] :is(td,.alert-row){border-color:#2b3a30}html[data-theme="dark"] #breadcrumb{color:var(--muted)}html[data-theme="dark"] .mark{background:#a6c993;color:#1c3525}html[data-theme="dark"] .bar-chart{background:repeating-linear-gradient(to top,transparent 0,transparent 47px,#304033 48px)}html[data-theme="dark"] .bar{background:#99bf91}html[data-theme="dark"] .bar.expense,html[data-theme="dark"] .dot.expense{background:#466949}html[data-theme="dark"] #closing-form fieldset:disabled :is(input,select,textarea){color:#b2bfb3;background:#202c24}html[data-theme="dark"] #closing-error:not(:empty){background:#412e26}html[data-theme="dark"] #toast{background:#b4d9a2;color:#162d1c}.deferred-payment{display:flex;flex-direction:column;justify-content:center;border:1px dashed var(--line);border-radius:7px;padding:11px;margin:15px 0;font-size:11px;line-height:1.6;color:var(--green)}.deferred-payment small{color:var(--muted);font-size:10px}.payout-note{font-size:11px;line-height:1.7;color:var(--muted);padding:0 22px 18px}.payout-table td{font-size:11px}.payout-table .row-action:disabled{cursor:default;opacity:.65}.closing-actions button:disabled{opacity:.6;cursor:default}@media(max-width:700px){header{height:auto;min-height:65px;padding:10px 16px;gap:8px}.header-right{flex-wrap:wrap;justify-content:flex-end;gap:8px}.user-picker{width:100%;justify-content:flex-end}.demo-badge{display:none}#theme-toggle{font-size:10px}.user-picker select{max-width:190px}}
