:root{color-scheme:light}
.theme-control{display:flex;align-items:center;gap:8px;margin:0;font-size:11px}
.theme-control select{width:auto;min-width:100px;margin:0;padding:6px 9px;font-size:11px}
.account-tools{display:flex;align-items:center;gap:15px}
.auth-theme{display:flex;justify-content:flex-end;padding:16px 24px}
[data-theme=dark]{color-scheme:dark;--ink:#e4e9e6;--green:#183f34;--lime:#d9ec9a;--paper:#0c0f0e;--muted:#a0ada5;--line:#303b35;--white:#171d19;--red:#ffad9a}
[data-theme=dark] .sidebar{background:#101b16;border-right:1px solid var(--line)}
[data-theme=dark] .topbar,[data-theme=dark] .panel,[data-theme=dark] .stat:not(.dark),[data-theme=dark] .paper,[data-theme=dark] .login-layout{background:var(--white)}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#101612;border-color:#435348;color:var(--ink)}
[data-theme=dark] input:disabled,[data-theme=dark] th,[data-theme=dark] .audit-changes{background:#202a23}
[data-theme=dark] td{border-color:var(--line)}
[data-theme=dark] .secondary{background:#24352b;border-color:#45614e;color:#e4eddf}
[data-theme=dark] .secondary:hover,[data-theme=dark] .project-card:hover{background:#2d4435}
[data-theme=dark] .primary{background:#cce58f;color:#172511}
[data-theme=dark] .primary:hover{background:#e0f2b6;color:#172511}
[data-theme=dark] .avatar,[data-theme=dark] .client-icon,[data-theme=dark] .totals>.total,[data-theme=dark] code{background:#2b3c2e;color:#e2eddb}
[data-theme=dark] .project-card,[data-theme=dark] .side-card,[data-theme=dark] .help-card,[data-theme=dark] .attachment,[data-theme=dark] .document-project{background:#1d2920}
[data-theme=dark] .notice,[data-theme=dark] .setup-banner{background:#263823;border-color:#50653c;color:#e6efdc}
[data-theme=dark] .notice.error{background:#3a2620;border-color:#765042;color:#ffccbc}
[data-theme=dark] .badge{background:#2c332d;border-color:#495049;color:#d4dcd3}
[data-theme=dark] .badge:is(.paid,.accepted,.sent,.uploaded,.approved,.finalized,.verified){background:#273c21;border-color:#516742;color:#cee8aa}
[data-theme=dark] .badge:is(.overdue,.failed,.unknown,.rejected,.blocked){background:#452d25;border-color:#745345;color:#ffd3bb}
[data-theme=dark] .badge:is(.issued,.partial,.local,.submitted,.ready){background:#223741;border-color:#3c5968;color:#b8dce9}
[data-theme=dark] .eyebrow,[data-theme=dark] .mini-stat span{color:#b7cba0}
[data-theme=dark] .audit-changes del{color:#e2aaa0}
[data-theme=dark] .audit-changes ins{color:#bce49c}
[data-theme=dark] a:hover{color:#d9ec9a}
[data-theme=dark] .primary:hover{color:#172511}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.photo-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:0}
.photo-card img{display:block;width:100%;height:190px;object-fit:cover}
.photo-card figcaption{padding:14px;font-size:12px;overflow-wrap:anywhere}
.photo-card figcaption small{display:block;color:var(--muted)}
.site-note{padding:18px 0;border-bottom:1px solid var(--line)}
.site-note p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.issue-card{padding:18px;border:1px solid var(--line);border-radius:8px;display:block;margin-bottom:14px}
.issue-card h3{margin:8px 0}
.issue-card .section-heading{margin-bottom:8px}
.theme-control>span{margin:0!important;color:var(--muted)}
@media(max-width:480px){.theme-control>span{display:none}.account-tools{gap:8px}.theme-control select{min-width:78px;width:78px}.topbar>div:first-child>span{display:none}.photo-grid{grid-template-columns:1fr}}
.chart-scroll{overflow-x:auto}.report-chart{width:100%;min-width:680px;max-height:360px}.report-chart text{fill:var(--muted);font:9px system-ui}.chart-axis{stroke:var(--line);stroke-width:1}.chart-positive{fill:#729747}.chart-negative{fill:#bc6b55}
.mobile-menu-toggle{display:none}
@media(max-width:800px){.sidebar{position:relative}.js .mobile-menu-toggle{display:block;position:absolute;right:20px;top:21px;background:transparent;color:#d9ec9a;border:1px solid #45614e;padding:7px 11px;border-radius:5px;font-size:11px}.js .sidebar:has(.mobile-menu-toggle[aria-expanded=false]) nav{display:none}.sidebar .company-switch{margin-bottom:0}.sidebar nav{margin-top:12px}}
