:root{--bg:#0f172a;--panel:#111827;--panel2:#1f2937;--muted:#94a3b8;--text:#f8fafc;--line:#334155;--accent:#f59e0b;--good:#22c55e;--bad:#ef4444;--warn:#f59e0b;--blue:#38bdf8}body{color:var(--text);background:linear-gradient(135deg,#020617,#0f172a 50%,#111827);margin:0;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif}button,.btn{background:var(--accent);color:#111827;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-weight:800;text-decoration:none;display:inline-flex}button.danger{color:#fff;background:#7f1d1d}input,select,textarea{color:#fff;background:#0b1220;border:1px solid #334155;border-radius:12px;width:100%;padding:11px}textarea{min-height:90px}.layout{grid-template-columns:270px 1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#020617eb;height:100vh;padding:18px;position:sticky;top:0;overflow:auto}.brand{align-items:center;gap:12px;margin-bottom:18px;display:flex}.logo{background:var(--accent);color:#111827;border-radius:14px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.nav{gap:6px;display:grid}.nav button{color:#cbd5e1;background:0 0;justify-content:flex-start}.nav button.active{color:#fff;background:#f59e0b29;border:1px solid #f59e0b66}.main{padding:24px 26px 90px}.top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.title h1{margin:0;font-size:30px}.title p{color:var(--muted);margin:5px 0 0}.grid{gap:16px;display:grid}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{border:1px solid var(--line);background:#0f172ad1;border-radius:20px;padding:18px;box-shadow:0 10px 28px #00000040}.stat{font-size:31px;font-weight:900}.muted{color:var(--muted);font-size:13px}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.between{justify-content:space-between;align-items:center;gap:12px;display:flex}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%}.table th,.table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:12px}.badge{background:#1e293b;border:1px solid #475569;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;display:inline-flex}.badge.good{background:#22c55e26;border-color:#22c55e66}.badge.warn{background:#f59e0b24;border-color:#f59e0b59}.badge.bad{background:#ef444424;border-color:#ef444459}.field{gap:7px;display:grid}.field label{color:#cbd5e1;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:800}.modal-backdrop{z-index:50;background:#000000b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#0f172a;border:1px solid #475569;border-radius:22px;width:min(1050px,96vw);max-height:90vh;padding:20px;overflow:auto}.tabs{gap:8px;margin:0 0 16px;display:flex;overflow:auto}.tabs button{color:#cbd5e1;white-space:nowrap;background:#1f2937}.tabs button.on{background:var(--accent);color:#111827}.mobile-nav{display:none}.kanban{grid-template-columns:repeat(4,minmax(250px,1fr));gap:14px;display:grid;overflow:auto}.lane{border:1px solid var(--line);background:#0f172a8c;border-radius:18px;min-height:360px;padding:12px}.job-card{background:#111827;border:1px solid #334155;border-radius:16px;margin:10px 0;padding:13px}.print-invoice{color:#111827;background:#fff;border-radius:10px;padding:30px}.login{place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{width:min(480px,96vw)}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.photo-grid img{object-fit:cover;border:1px solid #334155;border-radius:12px;width:100%;height:110px}.accent-swatch{background:var(--accent);border-radius:99px;width:18px;height:18px;display:inline-block}@media (width<=900px){.layout{display:block}.sidebar{display:none}.main{padding:16px 12px 90px}.cols-2,.cols-3,.cols-4{grid-template-columns:1fr}.top{flex-direction:column;align-items:flex-start}.mobile-nav{z-index:40;background:#020617;border-top:1px solid #334155;gap:6px;padding:8px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow:auto}.mobile-nav button{color:#cbd5e1;background:#111827;min-width:78px;font-size:12px}.mobile-nav button.active{background:var(--accent);color:#111827}.kanban{grid-template-columns:1fr}.table th:nth-child(4),.table td:nth-child(4){display:none}}@media print{body{color:#111;background:#fff}.layout,.sidebar,.mobile-nav,.top,.tabs,button{display:none!important}.modal-backdrop{background:#fff;padding:0;position:static}.modal{background:#fff;border:0;width:100%;max-height:none;padding:0}.print-invoice{display:block}}.table-wrap{width:100%;overflow-x:auto}.table{border-collapse:collapse;table-layout:fixed;width:100%}.table th,.table td{vertical-align:top;border-bottom:1px solid #94a3b838;padding:14px}.table th{text-align:left;white-space:nowrap}.table td:last-child{width:260px;min-width:260px}.table td:last-child .row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;display:flex}.table td:last-child button,.table td:last-child .btn{white-space:nowrap;min-height:44px}.table th:first-child,.table td:first-child{width:35%}.table th:nth-child(2),.table td:nth-child(2){width:22%}.table th:nth-child(3),.table td:nth-child(3){width:16%}.table tr{border-bottom:none}.table .row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.table .danger{margin:0}@media (width<=900px){.table{min-width:760px}.table td:last-child{width:160px;min-width:160px}}.inventory-table th,.inventory-table td{vertical-align:top;padding:14px 10px}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4),.inventory-table th:nth-child(5),.inventory-table td:nth-child(5),.inventory-table th:nth-child(6),.inventory-table td:nth-child(6),.inventory-table th:nth-child(7),.inventory-table td:nth-child(7){width:8%}.inventory-table td:nth-child(8) .row{flex-direction:column;align-items:stretch;gap:8px;display:flex}.inventory-table td:nth-child(8) button{justify-content:center;width:100%;min-height:38px;padding:8px 10px}.inventory-table th,.inventory-table td{overflow-wrap:anywhere;word-break:normal}@media (width>=901px){.inventory-table{min-width:0!important}.inventory-table td:last-child,.inventory-table th:last-child{width:8%!important;min-width:100px!important}}.invoice-preview input,.invoice-preview textarea,.print-invoice input,.print-invoice textarea{box-sizing:border-box;width:100%;height:auto;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.35}.invoice-preview textarea,.print-invoice textarea{resize:vertical;white-space:pre-wrap;min-height:80px}.invoice-preview .field,.print-invoice .field{min-width:0}.invoice-preview .grid,.print-invoice .grid{align-items:start}@media print{.invoice-preview input,.invoice-preview textarea,.print-invoice input,.print-invoice textarea{white-space:normal!important;background:0 0!important;border:none!important;min-height:auto!important;padding:2px 0!important;overflow:visible!important}.invoice-preview textarea,.print-invoice textarea{height:auto!important;min-height:40px!important}.invoice-preview .field,.print-invoice .field{break-inside:avoid;page-break-inside:avoid}}.invoice-lines-table th,.invoice-lines-table td{vertical-align:top;padding:12px 10px}.invoice-lines-table th:first-child,.invoice-lines-table td:first-child{width:15%}.invoice-lines-table th:nth-child(2),.invoice-lines-table td:nth-child(2){width:31%}.invoice-lines-table th:nth-child(3),.invoice-lines-table td:nth-child(3){width:10%}.invoice-lines-table th:nth-child(4),.invoice-lines-table td:nth-child(4),.invoice-lines-table th:nth-child(5),.invoice-lines-table td:nth-child(5),.invoice-lines-table th:nth-child(6),.invoice-lines-table td:nth-child(6){width:12%}.invoice-lines-table th:nth-child(7),.invoice-lines-table td:nth-child(7){width:8%}.invoice-lines-table input,.invoice-lines-table textarea{box-sizing:border-box;width:100%;min-width:0;min-height:50px;padding:12px 14px;font-size:16px;line-height:1.35}.invoice-lines-table .danger{justify-content:center;width:48px;min-width:48px;padding:12px 0}:root{--bg:#f5f7fb;--panel:#fff;--panel-soft:#f8fafc;--border:#d9e1ec;--border-soft:#e7edf5;--text:#1f2937;--muted:#64748b;--muted-2:#94a3b8;--primary:#2563eb;--primary-dark:#1d4ed8;--primary-soft:#eff6ff;--success:#16a34a;--success-soft:#dcfce7;--warning:#f97316;--warning-soft:#ffedd5;--danger:#dc2626;--danger-soft:#fee2e2;--radius:8px;--radius-lg:10px;--shadow-sm:0 1px 2px #0f172a0f;--shadow-md:0 6px 18px #0f172a14}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg)!important;color:var(--text)!important}*{box-sizing:border-box}.app,.main,.content,.page,.layout{background:var(--bg)!important;color:var(--text)!important}h1,h2,h3,h4{letter-spacing:-.02em;color:var(--text)!important}h1{margin-bottom:6px;font-size:30px;font-weight:750}h2{font-size:20px;font-weight:700}h3{font-size:17px;font-weight:700}.muted{color:var(--muted)!important}.card{box-shadow:var(--shadow-sm);background:var(--panel)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;color:var(--text)!important}.header,.page-header{margin-bottom:18px}.header p,.page-header p{color:var(--muted)!important}button,.btn{background:var(--primary);color:#fff;min-height:38px;box-shadow:none;border:1px solid #0000;padding:9px 14px;font-weight:650;transition:all .15s;border-radius:7px!important}button:hover,.btn:hover{background:var(--primary-dark)}button.secondary,.btn.secondary{color:var(--text)!important;border:1px solid var(--border)!important;background:#fff!important}button.secondary:hover,.btn.secondary:hover{background:var(--panel-soft)!important;border-color:#cbd5e1!important}button.danger,.danger{background:var(--danger)!important;color:#fff!important;border-color:var(--danger)!important}button.danger:hover,.danger:hover{background:#b91c1c!important}input,select,textarea{min-height:40px;padding:9px 11px;font-size:14px;color:var(--text)!important;border:1px solid var(--border)!important;background:#fff!important;border-radius:7px!important}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 3px #2563eb1f;border-color:var(--primary)!important}label,.field label{text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700;color:var(--muted)!important}.table-wrap{box-shadow:var(--shadow-sm);overflow:auto;background:var(--panel)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important}.table{border-collapse:collapse;background:var(--panel);width:100%;color:var(--text)}.table th{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;background:#f8fafc;padding:12px 14px;font-size:13px;font-weight:750;color:#334155!important}.table td{border-bottom:1px solid var(--border-soft);vertical-align:middle;padding:12px 14px;font-size:14px;color:var(--text)!important}.table tr:hover td{background:#f8fafc}.table b{font-weight:750;color:var(--text)!important}.table .muted{color:var(--muted)!important}.table td:last-child .row,.table .row{flex-wrap:nowrap;align-items:center;gap:7px;display:flex}.table td:last-child button,.table td:last-child .btn{min-height:34px;padding:7px 10px;font-size:13px;border-radius:6px!important}.badge,.Badge,span[class*=badge]{border:1px solid var(--border);background:var(--primary-soft);color:var(--primary-dark);border-radius:999px!important;padding:4px 10px!important;font-size:12px!important;font-weight:700!important}.tabs{gap:8px;margin:12px 0 16px;display:flex}.tabs button{box-shadow:none;color:var(--text)!important;border:1px solid var(--border)!important;background:#fff!important}.tabs button.on,.tabs button.active{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}.modal,.modal-content{background:#0f172a59!important}.modal .card,.modal-content .card,.modal-body,.dialog{background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--border)!important;border-radius:12px!important}.sidebar{border-right:1px solid var(--border);color:var(--text)!important;background:#fff!important}.sidebar a,.sidebar button,.nav a,.nav button{color:var(--text)!important;box-shadow:none!important;background:0 0!important;border:1px solid #0000!important}.sidebar a.active,.sidebar button.active,.nav a.active,.nav button.active,.sidebar .on,.nav .on{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}.stat{font-weight:800;color:var(--text)!important}.grid .card{min-width:0}.invoice-lines{overflow-x:auto}.invoice-lines-table{table-layout:fixed;width:100%;min-width:980px}.invoice-lines-table input,.invoice-lines-table textarea{width:100%;min-height:44px;padding:10px 12px;font-size:14px}.invoice-lines-table textarea{resize:vertical;min-height:66px}.inventory-table{table-layout:fixed!important;width:100%!important;min-width:0!important}.inventory-table th:first-child,.inventory-table td:first-child{width:17%}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){width:27%}.inventory-table th:nth-child(3),.inventory-table td:nth-child(3){width:16%}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4),.inventory-table th:nth-child(5),.inventory-table td:nth-child(5),.inventory-table th:nth-child(6),.inventory-table td:nth-child(6),.inventory-table th:nth-child(7),.inventory-table td:nth-child(7){width:8%}.inventory-table th:nth-child(8),.inventory-table td:nth-child(8){width:10%!important;min-width:110px!important}.inventory-table td:nth-child(8) .row{flex-direction:column;align-items:stretch}.inventory-table td:nth-child(8) button{width:100%}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#eef2f7}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app-shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid;background:#f5f7fb!important}.app-sidebar{border-right:1px solid #d9e1ec;flex-direction:column;gap:16px;width:250px;min-height:100vh;padding:18px 14px;display:flex;position:sticky;top:0;background:#fff!important}.sidebar-brand{border-bottom:1px solid #edf2f7;align-items:center;gap:12px;padding:4px 4px 12px;display:flex}.sidebar-logo{color:#fff;background:#2563eb;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;display:flex;box-shadow:0 4px 14px #2563eb38}.sidebar-brand-text{min-width:0}.sidebar-brand-text b{color:#111827;font-size:15px;line-height:1.2;display:block}.sidebar-brand-text span{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:170px;margin-top:2px;font-size:12px;display:block;overflow:hidden}.workspace-picker{padding:0 2px}.workspace-picker label{text-transform:uppercase;letter-spacing:.06em;margin-bottom:7px;font-size:11px;font-weight:800;display:block;color:#64748b!important}.workspace-picker select{width:100%;min-height:38px;font-size:13px;background:#f8fafc!important;border-radius:7px!important}.app-nav{flex-direction:column;flex:1;gap:4px;padding-right:2px;display:flex;overflow-y:auto;margin-top:0!important}.app-nav button{text-align:left;justify-content:flex-start;width:100%;min-height:38px;padding:9px 12px;font-size:14px;font-weight:650;color:#334155!important;background:0 0!important;border:1px solid #0000!important;border-radius:7px!important}.app-nav button:hover{color:#111827!important;background:#f1f5f9!important}.app-nav button.active{box-shadow:0 4px 12px #2563eb2e;color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}.sidebar-footer{border-top:1px solid #edf2f7;padding-top:12px}.signout-btn{justify-content:center;gap:8px;width:100%;display:flex}.app-main-wrap{flex-direction:column;min-width:0;display:flex}.topbar{color:#fff;z-index:20;background:#2563eb;border-bottom:1px solid #ffffff2e;justify-content:space-between;align-items:center;height:66px;padding:0 24px;display:flex;position:sticky;top:0}.topbar-title{font-size:20px;font-weight:800;line-height:1.1}.topbar-subtitle{opacity:.82;margin-top:3px;font-size:12px}.topbar-actions{align-items:center;gap:12px;display:flex}.topbar-search{color:#ffffffd6;background:#ffffff29;border:1px solid #fff3;border-radius:8px;align-items:center;min-width:330px;height:38px;padding:0 14px;font-size:13px;display:flex}.topbar-avatar{color:#1d4ed8;background:#fff;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;font-size:13px;font-weight:800;display:flex}.app-main{min-width:0;padding:24px;background:#f5f7fb!important}@media (width<=900px){.app-shell{display:block}.app-sidebar{display:none}.topbar{height:auto;min-height:62px;padding:12px 14px}.topbar-search{display:none}.app-main{padding:16px 14px 82px}}.jobs-toolbar{grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:12px;margin-bottom:16px;padding:14px;display:grid}.jobs-search input{width:100%;min-height:40px}.jobs-filters{align-items:center;gap:10px;display:flex}.jobs-filters select{min-width:150px;min-height:40px}.jobs-count{color:#64748b;white-space:nowrap;font-size:13px;font-weight:700}.jobs-table{table-layout:fixed;min-width:1080px}.jobs-table th:nth-child(3),.jobs-table td:nth-child(3),.jobs-table th:nth-child(4),.jobs-table td:nth-child(4){width:13%}.jobs-table th:nth-child(7),.jobs-table td:nth-child(7){width:20%}.jobs-table td{vertical-align:top}.jobs-actions{flex-wrap:wrap;gap:7px;display:flex}.jobs-actions .icon-action,.jobs-actions button,.jobs-actions .btn{white-space:nowrap;min-height:34px;padding:7px 9px;font-size:12px;border-radius:6px!important}.empty-state{text-align:center;padding:30px 10px}.empty-state p{margin:6px 0 0}@media (width<=900px){.jobs-toolbar{grid-template-columns:1fr}.jobs-filters{flex-direction:column;align-items:stretch}.jobs-filters select{width:100%}}.modal{z-index:9999!important;background:#0f172a73!important;justify-content:center!important;align-items:flex-start!important;padding:60px 24px 32px!important;display:flex!important;position:fixed!important;inset:0!important;overflow-y:auto!important}.modal>.card,.modal-card,.modal-content{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:12px!important;width:min(1180px,100vw - 48px)!important;max-height:none!important;padding:24px!important;overflow:visible!important;box-shadow:0 24px 70px #0f172a47!important}.modal h1,.modal h2,.modal h3,.modal h4{color:#111827!important}.modal .muted,.modal label,.modal .field label{color:#64748b!important}.modal input,.modal select,.modal textarea{color:#1f2937!important;background:#fff!important;border:1px solid #cbd5e1!important}.modal .table-wrap,.modal .card{color:#1f2937!important;background:#fff!important}.modal .table th{color:#334155!important;background:#f8fafc!important}.modal .table td{color:#1f2937!important;background:#fff!important}.modal .row{gap:10px}.modal button.secondary,.modal .btn.secondary{color:#1f2937!important;background:#fff!important;border:1px solid #cbd5e1!important}.modal form.grid,.modal .grid{gap:14px!important}.modal textarea{min-height:86px}.jobs-table th:nth-child(5),.jobs-table td:nth-child(5){width:10%}.jobs-actions{flex-wrap:wrap!important;align-items:center!important;gap:6px!important;display:flex!important}.jobs-actions button,.jobs-actions .btn{white-space:nowrap!important;min-height:32px!important;padding:6px 9px!important;font-size:12px!important}.jobs-actions .danger{min-width:auto!important}@media (width<=1150px){.jobs-table-wrap{overflow-x:auto!important}.jobs-table{min-width:1080px!important}}.modal form.grid.cols-3,.modal .grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.modal .grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.modal .field,.modal label{min-width:0}.invoice-lines{background:#fff!important}.invoice-lines-table{min-width:900px!important}.invoice-lines-table input,.invoice-lines-table textarea{color:#1f2937!important;background:#fff!important}@media (width<=900px){.modal{padding:20px 12px!important}.modal>.card,.modal-card,.modal-content{width:calc(100vw - 24px)!important;padding:16px!important}.modal form.grid.cols-3,.modal .grid.cols-3,.modal .grid.cols-4{grid-template-columns:1fr!important}}.modal-backdrop{z-index:9999!important;background:#0f172a7a!important;justify-content:center!important;align-items:flex-start!important;padding:54px 24px 32px!important;display:flex!important;position:fixed!important;inset:0!important;overflow-y:auto!important}.modal-shell{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:12px!important;width:min(1180px,100vw - 48px)!important;max-height:none!important;overflow:hidden!important;box-shadow:0 24px 70px #0f172a47!important}.modal-header{z-index:2;background:#fff;border-bottom:1px solid #e5eaf2;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:18px 22px;display:flex;position:sticky;top:0}.modal-header h2{margin:0;font-size:22px;font-weight:800;color:#111827!important}.modal-body{background:#fff;padding:22px;overflow:visible}.modal-shell h1,.modal-shell h2,.modal-shell h3,.modal-shell h4{color:#111827!important}.modal-shell .muted,.modal-shell label,.modal-shell .field label{color:#64748b!important}.modal-shell input,.modal-shell select,.modal-shell textarea{color:#1f2937!important;background:#fff!important;border:1px solid #cbd5e1!important}.modal-shell .card,.modal-shell .table-wrap{color:#1f2937!important;background:#fff!important;border-color:#d9e1ec!important}.modal-shell .table th{color:#334155!important;background:#f8fafc!important}.modal-shell .table td{color:#1f2937!important;background:#fff!important}.modal-shell form.grid,.modal-shell .grid{gap:14px!important}.modal-shell textarea{min-height:86px}.modal-shell .grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-shell .grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.modal-shell .field,.modal-shell label{min-width:0}.modal-shell .invoice-lines{background:#fff!important;overflow-x:auto!important}.modal-shell .invoice-lines-table{min-width:900px!important}.modal-shell .invoice-lines-table input,.modal-shell .invoice-lines-table textarea{color:#1f2937!important;background:#fff!important}@media (width<=900px){.modal-backdrop{padding:16px 10px!important}.modal-shell{width:calc(100vw - 20px)!important}.modal-header{padding:14px 16px}.modal-body{padding:16px}.modal-shell .grid.cols-3,.modal-shell .grid.cols-4{grid-template-columns:1fr!important}}.jobs-table{table-layout:fixed!important;width:100%!important;min-width:0!important}.jobs-table th:first-child,.jobs-table td:first-child{width:12%}.jobs-table th:nth-child(2),.jobs-table td:nth-child(2){width:28%}.jobs-table th:nth-child(3),.jobs-table td:nth-child(3){width:13%}.jobs-table th:nth-child(4),.jobs-table td:nth-child(4),.jobs-table th:nth-child(5),.jobs-table td:nth-child(5){width:10%}.jobs-table th:nth-child(6),.jobs-table td:nth-child(6){width:8%}.jobs-table th:nth-child(7),.jobs-table td:nth-child(7){width:21%!important;min-width:250px!important}.jobs-table td:nth-child(7){overflow:visible!important}.jobs-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;align-items:stretch!important;gap:7px!important;display:grid!important}.job-action-btn,.jobs-actions button,.jobs-actions .btn{white-space:nowrap!important;text-align:center!important;border-radius:6px!important;justify-content:center!important;width:100%!important;min-height:34px!important;padding:6px 8px!important;font-size:12px!important}.job-delete-wrap{grid-column:span 2}.job-delete-wrap button,.jobs-actions .danger{border-radius:6px!important;width:100%!important;min-height:34px!important;padding:6px 8px!important;font-size:12px!important}.jobs-table-wrap{overflow-x:visible!important}@media (width<=1250px){.jobs-table-wrap{overflow-x:auto!important}.jobs-table{min-width:1120px!important}}.schedule-board .card,.schedule-card,.technician-card,.dispatch-board .card,.dispatch-column{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important}.schedule-board .job-card,.dispatch-board .job-card,.job-card{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:10px!important;box-shadow:0 1px 2px #0f172a0f!important}.job-card b,.job-card strong,.job-card h3,.job-card h4,.dispatch-column h3,.schedule-card h3,.technician-card h3{color:#111827!important}.job-card,.job-card p,.job-card div,.job-card span:not(.badge){color:#1f2937!important}.dispatch-column{min-height:260px;padding:14px;border-radius:12px!important}.dispatch-column h3{margin-top:0}.job-card select,.job-card input,.job-card textarea,.job-card button,.job-card .btn{color:#1f2937!important;background:#fff!important;border:1px solid #cbd5e1!important}.job-card button:hover,.job-card .btn:hover{background:#f8fafc!important}.job-card button.primary,.job-card .btn.primary{color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}.schedule-board,.dispatch-board{gap:16px!important}.card .job-card{background:#fff!important}.dispatch-board>div,.schedule-board>div{color:#1f2937!important;background:#fff!important}.card[style*=background],div[style*=background] .job-card{color:#1f2937!important}.main .job-card{color:#1f2937!important;background:#fff!important}.main [class*=cols-]>.card,.app-main [class*=cols-]>.card{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important}.main .grid .card,.app-main .grid .card{color:#1f2937!important;background:#fff!important}.main .grid .card h3,.app-main .grid .card h3{color:#111827!important}.main .grid .card .job-card,.app-main .grid .card .job-card{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;box-shadow:0 1px 2px #0f172a0f!important}.job-card,.job-card :not(button):not(select):not(input):not(textarea){color:#1f2937!important}.job-card .muted{color:#64748b!important}.kanban{grid-template-columns:repeat(4,minmax(260px,1fr));align-items:start;gap:16px;display:grid}.lane{min-height:280px;color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:12px!important;padding:16px!important;box-shadow:0 1px 2px #0f172a0f!important}.lane h3{margin-top:0;margin-bottom:14px;color:#111827!important}.lane .job-card{margin-bottom:12px;color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:10px!important;padding:14px!important;box-shadow:0 1px 2px #0f172a0f!important}.lane .job-card b,.lane .job-card p,.lane .job-card span:not(.badge){color:#1f2937!important}.lane .job-card .muted{color:#64748b!important}.lane .job-card select,.lane .job-card input,.lane .job-card textarea{color:#1f2937!important;background:#fff!important;border:1px solid #cbd5e1!important}.lane .job-card .row{flex-wrap:wrap;gap:8px;display:flex}.lane .job-card .btn,.lane .job-card button{min-height:34px;padding:7px 12px;color:#1f2937!important;background:#fff!important;border:1px solid #cbd5e1!important}.lane .job-card .btn:hover,.lane .job-card button:hover{background:#f8fafc!important}@media (width<=1200px){.kanban{grid-template-columns:repeat(4,280px);padding-bottom:8px;overflow-x:auto}}.kanban{width:100%;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;gap:14px!important;display:grid!important;overflow-x:visible!important}.kanban .lane{min-height:calc(100vh - 210px);width:auto!important;min-width:0!important;max-width:none!important;padding:14px!important}.kanban .lane h3{font-size:16px}.kanban .job-card{width:100%;padding:12px!important}.kanban .job-card b{font-size:14px}.kanban .job-card p{font-size:14px;line-height:1.35}.kanban .job-card select{width:100%;min-height:36px}.kanban .job-card .row{gap:6px}.kanban .job-card .btn,.kanban .job-card button{min-height:32px;padding:6px 10px;font-size:13px}@media (width<=1200px){.kanban{padding-bottom:12px!important;display:flex!important;overflow-x:auto!important}.kanban .lane{flex:0 0 285px!important;min-width:285px!important;max-width:285px!important}}.routes-grid{align-items:start}.route-card{color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important}.route-card h3{margin:0;color:#111827!important}.route-card>.between{align-items:flex-start;margin-bottom:12px}.route-card>.between p{margin:4px 0 0}.route-stop-card{margin-top:12px;color:#1f2937!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:10px!important;padding:14px!important;box-shadow:0 1px 2px #0f172a0f!important}.route-stop-card p{margin:10px 0 0;line-height:1.4}.route-stop-card b,.route-stop-card p,.route-stop-card span:not(.badge){color:#1f2937!important}.route-stop-card .muted{color:#64748b!important}.route-stop-card .row{flex-wrap:wrap;gap:8px;display:flex}.route-stop-card .btn,.route-stop-card button{min-height:34px;padding:7px 12px}@media (width<=1100px){.routes-grid{grid-template-columns:1fr!important}}.inventory-table{background:#fff!important}.inventory-table th{background:#f8fafc!important}.inventory-table td:nth-child(8){text-align:right}.inventory-table td:nth-child(8) .row{align-items:stretch!important;gap:8px!important}.inventory-table td:nth-child(8) button{min-height:38px!important}.inventory-tab-card,.inventory-metric-card,.inventory-report-card{background:#fff!important;border:1px solid #d9e1ec!important;border-radius:12px!important;padding:18px!important;box-shadow:0 1px 2px #0f172a0f!important}.inventory-metric-card h3{margin-top:0;margin-bottom:8px}.inventory-metric-card .stat{margin:14px 0 6px;font-size:30px}.inventory-metric-card .metric-row{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;display:grid}.inventory-metric-card .metric-row div{background:#f8fafc;border:1px solid #e5eaf2;border-radius:8px;padding:10px}.inventory-metric-card .metric-row span{text-transform:uppercase;color:#64748b;margin-bottom:4px;font-size:11px;font-weight:800;display:block}.inventory-metric-card .metric-row b{color:#111827}.inventory-report-table{border-collapse:collapse;width:100%}.inventory-report-table th,.inventory-report-table td{text-align:left;border-bottom:1px solid #e5eaf2;padding:12px 10px}.inventory-report-table th{color:#334155;background:#f8fafc;font-size:13px;font-weight:800}.inventory-report-table td{color:#1f2937}.van-stock-card h3{margin-top:0}.van-stock-card .field{margin-bottom:10px}.van-stock-card input{font-weight:700}.invoice-add-grid{grid-template-columns:1fr 1.4fr;gap:14px;margin-top:16px;display:grid}.invoice-add-card h3{margin-top:0;margin-bottom:4px}.invoice-add-card p{margin-top:0}.invoice-inventory-action{align-items:end;display:flex}.invoice-inventory-action button{width:100%;min-height:40px}.inventory-stock-preview{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.inventory-stock-preview span{color:#64748b;background:#f8fafc;border:1px solid #e5eaf2;border-radius:999px;padding:6px 10px;font-size:13px}.inventory-stock-preview b{color:#111827}@media (width<=900px){.invoice-add-grid{grid-template-columns:1fr}}.van-stock-page{flex-direction:column;gap:16px;display:flex}.van-stock-toolbar{justify-content:space-between;align-items:center;gap:18px;display:flex}.van-stock-toolbar h3{margin:0 0 4px}.van-stock-toolbar p{margin:0}.van-stock-toolbar input{width:100%;max-width:420px}.van-stock-card h3{margin:0 0 4px}.van-stock-card p{margin:0}.van-stock-table-wrap{border:1px solid #e5eaf2;border-radius:10px;margin-top:14px;overflow-x:auto}.van-stock-table{border-collapse:collapse;background:#fff;width:100%}.van-stock-table th{color:#334155;text-align:left;background:#f8fafc;border-bottom:1px solid #e5eaf2;padding:11px 12px;font-size:13px;font-weight:800}.van-stock-table td{vertical-align:top;color:#1f2937;border-bottom:1px solid #eef2f7;padding:12px}.van-stock-table td:first-child{width:62%}.van-stock-table td:nth-child(2){width:14%}.van-stock-table td:nth-child(3){width:24%}.van-stock-table input{text-align:center;width:100%;min-height:36px;font-weight:800}.van-low-stock{color:#c2410c;text-transform:uppercase;background:#ffedd5;border-radius:999px;margin-top:6px;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}@media (width<=900px){.van-stock-toolbar{flex-direction:column;align-items:stretch}}.tech-toolbar{margin-bottom:14px;padding:14px 16px!important}.check-row{align-items:center;gap:8px;text-transform:none!important;letter-spacing:normal!important;color:#1f2937!important;font-size:14px!important;display:flex!important}.check-row input{width:18px;height:18px;min-height:18px}.tech-table td:last-child{min-width:220px}
