:root,[data-theme=light]{color-scheme:light;--ink: #17212b;--muted: #657383;--line: #d9e0e7;--panel: #ffffff;--paper: #f5f7fa;--bg-page: #f6f8fa;--bg-card: #ffffff;--bg-input: #ffffff;--bg-subtle: #f8fafc;--brand: #0f766e;--brand-strong: #0b5f59;--accent: #b45309;--danger: #b91c1c;--ok: #166534;--sidebar-bg: #ffffff;--sidebar-border: #e5e7eb;--sidebar-link: #374151;--sidebar-link-hover:#111827;--sidebar-hover: rgba(0,0,0,.05);--sidebar-active: rgba(14,165,233,.1);--sidebar-active-c: #0284c7;--sidebar-group: #9ca3af;--sidebar-footer-border: #e5e7eb;--sidebar-footer-txt:#9ca3af;--sidebar-icon-op: .5}[data-theme=dark]{color-scheme:dark;--ink: #e6edf3;--muted: #8b949e;--line: #30363d;--panel: #161b22;--paper: #0d1117;--bg-page: #0d1117;--bg-card: #161b22;--bg-input: #0d1117;--bg-subtle: #1c2128;--brand: #0ea5e9;--brand-strong: #0284c7;--accent: #f59e0b;--danger: #ef4444;--ok: #22c55e;--sidebar-bg: #0f1c24;--sidebar-border: rgba(255,255,255,.07);--sidebar-link: #b8ccd8;--sidebar-link-hover:#ffffff;--sidebar-hover: rgba(255,255,255,.08);--sidebar-active: rgba(255,255,255,.12);--sidebar-active-c: #ffffff;--sidebar-group: #4d6e82;--sidebar-footer-border: rgba(255,255,255,.07);--sidebar-footer-txt:#4d6e82;--sidebar-icon-op: .7}.page-header{background:var(--bg-card);border:1px solid var(--line);border-radius:10px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}@media(max-width:600px){.page-header{flex-direction:column;align-items:flex-start}.page-header .actions{width:100%;flex-wrap:wrap}.page-header h1{font-size:22px}}.page-header h1{margin:0;font-size:26px;color:var(--ink)}.page-header .breadcrumb,.page-header p{margin:0 0 3px;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.page-header .actions{display:flex;align-items:center;gap:8px;flex-shrink:0}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg-page);color:var(--ink)}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);background:var(--bg-card);color:var(--ink);min-height:44px;border-radius:6px;padding:0 14px;cursor:pointer;transition:background .15s,border-color .15s}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover{background:var(--brand-strong);border-color:var(--brand-strong)}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:6px;padding:10px 12px;background:var(--bg-input);color:var(--ink);min-height:44px}input::placeholder,textarea::placeholder{color:var(--muted)}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em;background:var(--bg-subtle)}.badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#edf2f7;color:#314154;font-size:12px;white-space:nowrap}.badge.ok{background:#dcfce7;color:#166534}.badge.warn{background:#fef3c7;color:#92400e}.badge.danger{background:#fee2e2;color:#b91c1c}[data-theme=dark] .badge{background:#1f2937;color:#d1d5db}[data-theme=dark] .badge.ok{background:#14532d;color:#86efac}[data-theme=dark] .badge.warn{background:#451a03;color:#fcd34d}[data-theme=dark] .badge.danger{background:#450a0a;color:#fca5a5}[data-theme=dark] .card,[data-theme=dark] .modal-box,[data-theme=dark] .modal-backdrop>div,[data-theme=dark] .panel,[data-theme=dark] .recon-panel,[data-theme=dark] .drawer,[data-theme=dark] .detail-drawer,[data-theme=dark] .kpi-card,[data-theme=dark] .summary-card,[data-theme=dark] .report-card,[data-theme=dark] .client-card,[data-theme=dark] .approvals-card,[data-theme=dark] .approvers-config,[data-theme=dark] .settings-card,[data-theme=dark] .unmatched-card{background:var(--bg-card)!important;border-color:var(--line)!important}[data-theme=dark] section[style*=background],[data-theme=dark] form,[data-theme=dark] fieldset,[data-theme=dark] .create-payment,[data-theme=dark] .notes-row textarea,[data-theme=dark] .submit-row{background:var(--bg-card)!important;border-color:var(--line)!important}[data-theme=dark] .panel-header,[data-theme=dark] .panel-totals,[data-theme=dark] .report-header,[data-theme=dark] .tab-bar,[data-theme=dark] .view-toggle{background:var(--bg-subtle)!important;border-color:var(--line)!important}[data-theme=dark] .recon-row:hover,[data-theme=dark] .recon-row.selected{background:#1c2840!important}[data-theme=dark] .recon-row.matched{background:#0f2d1e!important}[data-theme=dark] .recon-row.highlight{background:#2c1f00!important}[data-theme=dark] .stat-card,[data-theme=dark] .job-card,[data-theme=dark] .warranty-card,[data-theme=dark] .expense-card,[data-theme=dark] .record-card,[data-theme=dark] .vehicle-card,[data-theme=dark] .team-card,[data-theme=dark] .quick-action{background:var(--bg-card)!important;border-color:var(--line)!important}[data-theme=dark] tr:hover td{background:var(--bg-subtle)!important}[data-theme=dark] tbody tr{border-color:var(--line)!important}[data-theme=dark] .inline-form input,[data-theme=dark] .create-payment input,[data-theme=dark] .create-payment select,[data-theme=dark] .filters input,[data-theme=dark] .filters select,[data-theme=dark] .modal-box input,[data-theme=dark] .modal-box select,[data-theme=dark] .modal-box textarea{background:var(--bg-input)!important;border-color:var(--line)!important;color:var(--ink)!important}[data-theme=dark] .approver-row{background:var(--bg-subtle)!important;border-color:var(--line)!important}[data-theme=dark] .approver-row.approved{background:#0f2d1e!important;border-color:#166534!important}[data-theme=dark] .info-banner{background:#0c1a2e!important;border-color:#1e40af!important;color:#93c5fd!important}[data-theme=dark] .success-banner{background:#0f2d1e!important;border-color:#166534!important;color:#86efac!important}[data-theme=dark] .match-hint{background:#0c1a2e!important;border-color:#1e3a5f!important}[data-theme=dark] .pill-open{background:#1e3a5f!important;color:#93c5fd!important}[data-theme=dark] .pill-submitted{background:#2c1f00!important;color:#fcd34d!important}[data-theme=dark] .pill-approved{background:#0f2d1e!important;color:#86efac!important}[data-theme=dark] .pill-closed{background:#1f2937!important;color:#9ca3af!important}[data-theme=dark] .tenant-switcher{background:var(--bg-subtle)!important;border-color:var(--line)!important}[data-theme=dark] .tenant-switcher select{color:var(--ink)!important}[data-theme=dark] .user-dropdown{background:var(--bg-card)!important;border-color:var(--line)!important}[data-theme=dark] .dropdown-item{color:var(--ink)!important}[data-theme=dark] .dropdown-item:hover{background:var(--bg-subtle)!important}[data-theme=dark] .dropdown-item.danger{color:#ef4444!important}[data-theme=dark] .dropdown-item.danger:hover{background:#1a0000!important}[data-theme=dark] .day-cell,[data-theme=dark] .day-header,[data-theme=dark] .week-grid{background:var(--bg-card)!important;border-color:var(--line)!important}[data-theme=dark] .day-cell.today{background:#0c1a2e!important}[data-theme=dark] .progress-bar{background:#1f2937!important}[data-theme=dark] .acct-row input,[data-theme=dark] .approver-edit-row input{background:var(--bg-input)!important}[data-theme=dark] .tabs{border-color:var(--line)!important}[data-theme=dark] .tabs button{color:var(--muted)!important}[data-theme=dark] .tabs button.active{color:var(--brand)!important;border-bottom-color:var(--brand)!important}@media(max-width:760px){table{min-width:720px}.table-wrap{overflow-x:auto}}@media print{.sidebar,.topbar,app-root>.shell>aside,app-root>.shell>main>.topbar{display:none!important}.shell{display:block!important}main{min-height:unset!important;background:#fff!important}.page>*:not(#print-area):not(.kpi-row){display:none!important}#print-area,.kpi-row{display:block!important;box-shadow:none!important;border:none!important}body{background:#fff!important;color:#000!important}}
