:root{color:#20242b;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.file-button{color:#1f2933;cursor:pointer;background:#fff;border:1px solid #cfd6df;border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:8px 12px;display:inline-flex}button:hover,.file-button:hover{background:#f7f9fb}button:disabled{cursor:not-allowed;opacity:.55}button.primary{color:#fff;background:#1e4f6b;border-color:#1e4f6b}button.danger{color:#9f2c2c;border-color:#d57b7b}input,select,textarea{color:#1f2933;background:#fff;border:1px solid #cfd6df;border-radius:6px;width:100%;min-height:38px;margin-top:6px;padding:8px 10px;display:block}textarea{resize:vertical;min-height:82px}label{color:#4d5967;font-size:13px;font-weight:650;display:block}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e3e7ec;padding:10px}th{color:#526071;text-transform:uppercase;background:#f1f4f7;font-size:12px}.loading{padding:32px}.app{min-height:100vh;display:flex}.sidebar{color:#eef5fa;background:#18222d;flex:0 0 250px;padding:22px 16px}.brand{align-items:center;gap:12px;margin-bottom:24px;display:flex}.brand-mark{color:#18222d;background:#f7f9fb;border-radius:6px;justify-content:center;align-items:center;width:44px;height:44px;font-family:Georgia,serif;font-size:19px;font-weight:800;display:flex;overflow:hidden}.brand-mark img{object-fit:contain;width:38px;height:38px;display:block}.brand span{color:#b7c5d3;margin-top:3px;font-size:12px;display:block}.sidebar nav{gap:6px;display:grid}.quick-clock{background:#22303f;border:1px solid #324559;border-radius:8px;gap:9px;margin-bottom:16px;padding:12px;display:grid}.quick-clock label{color:#dce8f2;font-size:12px}.quick-clock select{color:#f4f8fb;background:#17212c;border-color:#40566c;min-height:34px;padding:6px 8px}.quick-clock button{justify-content:center;min-height:34px;padding:7px 10px}.quick-clock .primary{color:#17212c;background:#f4f8fb;border-color:#f4f8fb}.quick-status{color:#b7c5d3;font-size:12px;line-height:1.35}.sidebar button{color:#d9e4ee;background:0 0;border-color:#0000;justify-content:flex-start;width:100%}.sidebar button.active,.sidebar button:hover{background:#263545;border-color:#35485a}.main{flex:1;min-width:0;padding:26px}.topbar{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px;display:flex}.topbar h1{margin:0 0 4px;font-size:28px}.topbar p,.muted{color:#657386;margin:0}.toast{color:#25633f;background:#eef7f2;border:1px solid #b9dfc8;border-radius:6px;max-width:420px;padding:10px 12px}.top-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:10px;display:flex}.auth-page{background:#f4f6f8;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{background:#fff;border:1px solid #dfe5ec;border-radius:8px;gap:14px;width:100%;max-width:430px;padding:28px;display:grid;box-shadow:0 10px 30px #16222d14}.auth-card h1{margin:0;font-size:24px}.auth-card p{color:#657386;margin:0}.auth-logo img{object-fit:contain;width:96px;height:72px;display:block}.stack,.grid{gap:18px;display:grid}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.stat,.panel{background:#fff;border:1px solid #dfe5ec;border-radius:8px;box-shadow:0 1px 2px #16222d0a}.stat{padding:18px}.stat span{color:#657386;margin-bottom:8px;font-size:13px;display:block}.stat strong{font-size:26px;display:block}.panel{padding:18px}.panel-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.panel h2{margin:0;font-size:17px}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.form-grid.filters{grid-template-columns:repeat(6,minmax(0,1fr))}.wide{grid-column:1/-1}.check{align-items:center;gap:9px;min-height:64px;display:flex}.check input{width:auto;min-height:auto;margin:0;display:inline-block}.button-row{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.running{color:#465567;background:#f4f7fa;border:1px dashed #cbd5df;border-radius:6px;margin-top:14px;padding:12px}.mini-list{gap:10px;display:grid}.mini-list div{border-bottom:1px solid #edf0f3;padding-bottom:10px}.mini-list strong,.mini-list span{display:block}.mini-list span{color:#657386;margin-top:3px;font-size:13px}.empty{color:#738091;margin:16px 0 4px}.table-wrap{overflow:auto}.compact{max-height:320px;margin-top:14px}.actions{gap:8px;display:flex}.badge{border:1px solid #cfd6df;border-radius:999px;padding:4px 8px;font-size:12px;display:inline-flex}.badge.approved{background:#eef7f2;border-color:#b9dfc8}.badge.invoiced{background:#eef3ff;border-color:#bdccf3}.badge.draft{background:#fff8e8;border-color:#eed493}.file-button{position:relative}.file-button input{opacity:0;position:absolute;inset:0}.print-sheet{color:#111827;background:#fff;border:1px solid #dfe5ec;max-width:980px;margin:0 auto;padding:40px 44px}.invoice-top{grid-template-columns:1fr 1fr;align-items:center;gap:28px;display:grid}.logo-box{min-height:170px}.logo-box img{object-fit:contain;width:auto;max-width:270px;max-height:170px}.business-block{text-align:right}.business-block h2{white-space:pre-line;background:0 0;margin:10px 0 6px;padding:0;font-family:inherit;font-size:13px;font-weight:500;line-height:1.45;display:block}.business-block p{margin:0}.title-line{color:#111;grid-template-columns:1fr auto 1fr;align-items:center;gap:26px;margin:16px 0 30px;display:grid}.title-line:before,.title-line:after{content:"";border-top:1px solid #c9c9c9}.title-line span{letter-spacing:.5px;font-size:18px}.invoice-meta-grid{grid-template-columns:1.1fr .9fr;gap:50px;margin-bottom:32px;display:grid}.invoice-meta-grid h3{white-space:pre-line;margin:10px 0 6px;font-family:inherit;font-size:15px;line-height:1.4}.invoice-meta-grid p{white-space:pre-line;margin:4px 0}.invoice-meta-grid dl{grid-template-columns:auto 1fr;gap:8px 32px;margin:0;font-size:13px;display:grid}.invoice-meta-grid dt{font-weight:800}.invoice-meta-grid dd{margin:0}.subject{margin-bottom:18px}.subject span{margin-right:8px;display:inline-block}.subject strong{background:#f1f1f1;min-width:260px;min-height:28px;padding:6px 10px;font-weight:500;display:inline-block}.print-table{border:1px solid #d9d9d9;font-size:13px}.print-table th,.print-table td{border:1px solid #d9d9d9;padding:8px 10px}.print-table th{color:#1f2933;background:#f0f1f2;font-size:12px}.print-table td:first-child,.print-table td:nth-child(4),.print-table td:nth-child(5),.print-table td:nth-child(6),.print-table th:first-child,.print-table th:nth-child(4),.print-table th:nth-child(5),.print-table th:nth-child(6){text-align:right}.invoice-bottom{grid-template-columns:1.2fr .85fr;gap:40px;margin-top:14px;display:grid}.notes-box{background:#f0f0f0;min-height:110px;padding:12px}.notes-box h3{background:#fff;margin:0 0 12px;padding:8px 10px;font-family:inherit;font-size:14px;display:inline-block}.totals-box{align-self:start}.totals-box div{border-bottom:1px solid #cfcfcf;grid-template-columns:1fr auto;padding:9px 0;display:grid}.totals-box div:last-child{font-size:15px;font-weight:800}.report-sheet{color:#2e183b}.report-head{justify-content:space-between;align-items:flex-start;margin-bottom:28px;display:flex}.report-head h2{margin:0 0 12px;font-size:18px}.report-head p{margin:0 0 20px}.report-head>strong{color:#b6aabc}.project-pill{border:1px solid #a895b4;border-radius:6px;padding:8px 11px;font-weight:700;display:inline-block}.summary-box{border:1px solid #e5dfe8;border-radius:8px;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;margin-bottom:40px;padding:20px 14px;display:grid}.summary-box div{border-left:1px solid #e5dfe8;padding-left:16px}.summary-box div:first-child{border-left:0}.summary-box span,.summary-box strong{display:block}.summary-box span{margin-bottom:8px;font-size:12px;font-weight:800}.report-table-title{border:1px solid #e5dfe8;border-bottom:0;border-radius:8px 8px 0 0;margin:0;padding:18px;font-size:15px}.report-table{border-color:#e5dfe8;font-size:14px}.report-table th{color:#7a6685;background:#fff;font-size:11px}.report-table td,.report-table th{border-color:#e5dfe8}.report-table td:first-child,.report-table td:nth-child(2),.report-table td:nth-child(3),.report-table td:nth-child(4),.report-table td:nth-child(5),.report-table td:nth-child(6),.report-table th:first-child,.report-table th:nth-child(2),.report-table th:nth-child(3),.report-table th:nth-child(4),.report-table th:nth-child(5),.report-table th:nth-child(6){text-align:left}.report-table a{color:#0075c9}.report-table small{color:#6d5d76;margin-top:5px;display:block}.dot{color:#fff;background:#2e073f;border-radius:999px;justify-content:center;align-items:center;width:16px;height:16px;margin-right:6px;line-height:1;display:inline-flex}@media (width<=1100px){.app{display:block}.sidebar{flex:none}.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.two,.cards,.form-grid,.form-grid.filters{grid-template-columns:1fr 1fr}}@media (width<=720px){.main{padding:16px}.grid.two,.cards,.form-grid,.form-grid.filters,.invoice-meta-grid,.invoice-bottom,.invoice-top,.summary-box,.sidebar nav{grid-template-columns:1fr}.business-block{text-align:left}}@media print{@page{margin:.45in;size:letter}body{background:#fff}.no-print,.sidebar,.topbar,.panel{display:none!important}.app,.main{min-height:0;padding:0;display:block}.print-sheet{box-shadow:none;page-break-after:always;border:0;width:100%;max-width:none;margin:0;padding:0;display:block}.print-table thead{display:table-header-group}.print-table tr{break-inside:avoid;page-break-inside:avoid}.invoice-sheet,.report-sheet{font-size:12px}.logo-box{min-height:130px}}
