:root{color:#1f2933;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4f7fa;font-family:Inter,Noto Sans TC,PingFang TC,Microsoft JhengHei,Arial,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.login-shell{color:#1f2933;background:#f4f7fa;grid-template-columns:minmax(320px,.85fr) minmax(360px,1fr);min-height:100vh;display:grid}.login-brand{color:#fff;background:#102a43;flex-direction:column;justify-content:center;gap:22px;min-height:100vh;padding:54px;display:flex}.login-brand-lockup{align-items:center;gap:16px;display:flex}.login-logo-frame{background:#0c2034;border:1px solid #91cfe542;border-radius:8px;place-items:center;width:94px;height:94px;display:grid;box-shadow:inset 0 0 0 8px #102a4385}.login-logo{object-fit:contain;width:76px;height:76px}.login-brand-name{gap:3px;line-height:1;display:grid}.login-brand-name strong{color:#f8fbff;letter-spacing:0;font-size:36px;font-weight:800}.login-brand-name span{color:#8fd0e6;letter-spacing:2px;font-size:11px;font-weight:800}.login-brand-copy{border-left:3px solid #2599ba;max-width:520px;padding-left:18px}.login-brand h1{margin:4px 0 0;font-size:34px;line-height:1.25}.login-brand p:not(.eyebrow){color:#cbd5e1;margin:12px 0 0;line-height:1.8}.login-card{background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-self:center;width:min(520px,100% - 48px);margin:0 auto;overflow:hidden}.login-card header{border-bottom:1px solid #d9e2ec;padding:24px 26px 18px}.login-card h2{margin:0;font-size:22px}.login-card p{color:#667085;margin:8px 0 0;font-size:14px}.login-card .form{padding:22px 26px}.login-help{color:#52606d;background:#f8fafc;border:1px solid #d9e2ec;border-radius:8px;gap:6px;margin:0 26px 18px;padding:14px;font-size:13px;display:grid}.login-help b{color:#1f2933}.login-card>.ghost-button{margin:0 26px 24px}.shell{color:#1f2933;background:#f4f7fa;grid-template-columns:272px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fff;background:#102a43;flex-direction:column;gap:22px;min-height:100vh;padding:22px 18px;display:flex}.sidebar-brand{align-items:center;gap:12px;min-height:52px;display:flex}.sidebar-logo{object-fit:contain;width:48px;height:48px}.sidebar-brand b,.sidebar-brand span{display:block}.sidebar-brand b{color:#fff;letter-spacing:0;font-size:15px}.sidebar-brand span{color:#9fb3c8;margin-top:3px;font-size:12px}.topbar-profile{white-space:nowrap}.dialog-backdrop{z-index:60;background:#0f172a73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.profile-dialog{background:#fff;border:1px solid #d9e2ec;border-radius:8px;width:min(520px,100%);box-shadow:0 24px 70px #0f172a40}.profile-dialog header{border-bottom:1px solid #d9e2ec;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;display:flex}.profile-dialog h2,.profile-dialog p{margin:0}.profile-dialog p{color:#667085;margin-top:6px;font-size:14px}.profile-dialog .form{padding:22px 24px}.mfa-dialog{width:min(620px,100%)}.mfa-setup{grid-template-columns:180px minmax(0,1fr);align-items:center;gap:22px;padding:22px 24px 0;display:grid}.mfa-setup img{width:180px;height:180px;image-rendering:pixelated}.mfa-setup p,.mfa-warning{line-height:1.6}.mfa-setup code,.recovery-codes code{overflow-wrap:anywhere;color:#1f2933;background:#f8fafc;border:1px solid #d9e2ec;border-radius:6px;padding:9px 10px;display:block}.recovery-codes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:22px 24px 0;display:grid}.mfa-warning{color:#9a6700!important;margin:18px 24px 0!important}.mfa-warning.compact{margin:14px 0 0!important}.profile-mfa-action{background:#f8fafc;border-top:1px solid #d9e2ec;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex}.profile-mfa-action strong,.profile-mfa-action span{display:block}.profile-mfa-action span{color:#667085;margin-top:4px;font-size:14px}.brand-mark{color:#102a43;background:#d8eef5;border-radius:8px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.nav-list,.nav-group{gap:8px;display:grid}.nav-group+.nav-group{border-top:1px solid #ffffff1f;margin-top:12px;padding-top:12px}.nav-group p{color:#93a4b8;margin:0 0 2px;font-size:12px;font-weight:800}.nav-list button{color:#dbeafe;width:100%;min-height:44px;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 12px;font-size:14px;display:flex}.nav-list button:hover,.nav-list button.active{color:#fff;background:#244e64}.workspace{min-width:0;position:relative}.toast-stack{z-index:20;gap:10px;width:min(360px,100vw - 32px);display:grid;position:fixed;top:92px;right:24px}.toast{background:#fff;border:1px solid #d9e2ec;border-left-width:5px;border-radius:8px;grid-template-columns:minmax(0,1fr) 30px;align-items:start;gap:10px;min-height:68px;padding:12px 10px 12px 14px;display:grid;box-shadow:0 16px 40px #102a4324}.toast.success{border-left-color:#039855}.toast.warning,.toast.info{border-left-color:#f79009}.toast.error{border-left-color:#d92d20}.toast strong,.toast span{display:block}.toast strong{color:#1f2933;font-size:13px}.toast span{color:#667085;white-space:normal;margin-top:4px;font-size:12px;line-height:1.45}.toast button{color:#667085;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.toast button:hover{color:#1f2933;background:#f4f7fa}.topbar{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-bottom:1px solid #d9e2ec;justify-content:space-between;align-items:center;gap:16px;min-height:78px;padding:16px 28px;display:flex;position:sticky;top:0}.eyebrow{color:#667085;margin:0 0 4px;font-size:12px;font-weight:700}.topbar h1{margin:0;font-size:22px;line-height:1.2}.topbar>div:first-child{margin-right:auto}.api-status{color:#52606d;min-height:32px;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d9e2ec;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.api-status.connected{color:#027a48;background:#ecfdf3;border-color:#b6e6cf}.api-status.offline{color:#b54708;background:#fffaeb;border-color:#fedf89}.tenant-control{color:#176b87;background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 10px;display:flex}.tenant-control input,.tenant-control select{color:#1f2933;width:210px;font:inherit;background:0 0;border:0;outline:0}.tenant-control span{color:#1f2933;white-space:nowrap;font-size:14px;font-weight:800}.tenant-control select:disabled{opacity:1;color:#1f2933}.logout-button{color:#344054;min-height:42px;font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d9e2ec;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:800;display:inline-flex}.logout-button:hover{color:#b42318;background:#fff1f1;border-color:#f3c6c6}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:24px 28px 0;display:grid}.metric{background:#fff;border:1px solid #d9e2ec;border-radius:8px;min-height:112px;padding:16px}.metric span,.metric small{color:#667085;display:block}.metric span{font-size:13px}.metric strong{margin-top:12px;font-size:24px;line-height:1;display:block}.metric small{margin-top:9px;font-size:12px}.content-grid{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px 28px 32px;display:grid}.content-grid .panel{min-width:0}.content-grid.three{grid-template-columns:minmax(0,1fr)}.explanation-grid .panel:first-child{grid-column:1/-1}.tax-grid{grid-template-columns:minmax(0,1fr)}.tax-grid .panel,.tax-grid table{min-width:0}.tax-grid th,.tax-grid td{white-space:normal;vertical-align:middle}.tax-grid .read-cell{max-width:none}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px 28px 32px;display:grid}.dashboard-grid .panel:first-child{grid-column:1/-1}.boss-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.boss-summary.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.project-finance-summary{grid-template-columns:repeat(6,minmax(0,1fr))}:is(.project-workspace form:has(input[name=receivedDate]):has(select[name=cashAccount]) .field:has(select[name=invoiceStatus]),.project-workspace form:has(input[name=receivedDate]):has(select[name=cashAccount]) .field:has(input[name=invoiceNumber])),:is(.project-workspace .panel:has(form:has(input[name=receivedDate]):has(select[name=cashAccount]))+.panel th:nth-child(5),.project-workspace .panel:has(form:has(input[name=receivedDate]):has(select[name=cashAccount]))+.panel td:nth-child(5)){display:none}.boss-summary div{background:#fbfdff;border:1px solid #d9e2ec;border-radius:8px;min-height:92px;padding:14px}.boss-summary span,.boss-summary b{display:block}.boss-summary span{color:#667085;font-size:13px}.boss-summary b{color:#1f2933;margin-top:12px;font-size:22px}.bar-list{gap:14px;display:grid}.bar-row{color:#344054;grid-template-columns:150px minmax(160px,1fr) 110px;align-items:center;gap:12px;font-size:13px;display:grid}.bar-row div{background:#edf1f5;border-radius:999px;height:12px;overflow:hidden}.bar-row i{border-radius:inherit;background:#176b87;height:100%;display:block}.bar-row b{text-align:right;font-variant-numeric:tabular-nums}.sheet-tabs{gap:8px;padding:18px 28px 0;display:flex}.sheet-tabs button{color:#52606d;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:0 14px;font-size:13px;font-weight:800}.sheet-tabs button.active{color:#176b87;background:#eef8fb;border-color:#176b87}.filters{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.filters label{gap:6px;display:grid}.filters span{color:#52606d;font-size:12px;font-weight:800}.filters select,.filters input{color:#1f2933;min-width:160px;min-height:38px;font:inherit;background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:0 10px}.pagination{color:#52606d;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;font-size:13px;font-weight:800;display:flex}.pagination button:disabled{cursor:not-allowed;opacity:.45}.table-toolbar{color:#667085;justify-content:flex-end;align-items:center;gap:12px;margin:8px 0 10px;font-size:13px;font-weight:800;display:flex}.table-toolbar label{align-items:center;gap:8px;display:inline-flex}.table-toolbar select{color:#1f2933;height:34px;font:inherit;background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:0 30px 0 10px;font-size:13px;font-weight:800}.customer-search{color:#667085;justify-content:space-between;align-items:end;gap:16px;margin:0 0 14px;font-size:13px;font-weight:800;display:flex}.customer-search .field{width:min(420px,100%);margin:0}.customer-search input{min-height:40px}.permission-grid{grid-template-columns:420px minmax(0,1fr);gap:18px;padding:18px 28px 32px;display:grid}.permission-grid .panel:last-child{grid-column:1/-1}.area-save-bar{margin:12px 0 14px}.module-toggle-list{gap:10px;display:grid}.module-toggle{background:#fbfdff;border:1px solid #d9e2ec;border-radius:8px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:10px;display:grid}.module-toggle input{accent-color:#176b87;width:16px;height:16px}.module-toggle b,.module-toggle small{display:block}.module-toggle b{color:#1f2933;font-size:13px}.module-toggle small{color:#667085;margin-top:4px;font-size:12px;line-height:1.4}.role-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.role-strip button{color:#1f2933;cursor:pointer;text-align:left;background:#fff;border:1px solid #d9e2ec;border-radius:8px;min-height:96px;padding:12px}.role-strip button.active{background:#eef8fb;border-color:#176b87;box-shadow:0 0 0 3px #176b871a}.role-strip b,.role-strip span{display:block}.role-strip b{font-size:14px}.role-strip span{color:#667085;margin-top:6px;font-size:12px;line-height:1.5}.result-list{gap:10px;display:grid}.result-list p{color:#344054;background:#fbfdff;border:1px solid #edf1f5;border-radius:8px;align-items:center;gap:8px;min-height:42px;margin:0;padding:10px 12px;font-size:13px;display:flex}.check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.check-list label{color:#344054;background:#fbfdff;border:1px solid #d9e2ec;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 10px;font-size:13px;font-weight:700;display:flex}.check-list input{accent-color:#176b87;width:15px;height:15px}.tenant-list{gap:10px;display:grid}.tenant-list button{color:#1f2933;cursor:pointer;text-align:left;background:#fff;border:1px solid #d9e2ec;border-radius:8px;min-height:66px;padding:12px}.tenant-list button.active{background:#eef8fb;border-color:#176b87;box-shadow:0 0 0 3px #176b871a}.tenant-list b,.tenant-list span{display:block}.tenant-list b{font-size:14px}.tenant-list span{color:#667085;margin-top:6px;font-size:12px;line-height:1.5}.panel{background:#fff;border:1px solid #d9e2ec;border-radius:8px;overflow:hidden}.panel>header{border-bottom:1px solid #d9e2ec;min-height:76px;padding:16px 18px}.panel h2{margin:0;font-size:16px}.panel p{color:#667085;margin:5px 0 0;font-size:13px}.panel-body{gap:16px;padding:18px;display:grid}.form{gap:12px;display:grid}.form.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.form.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.full-span{grid-column:1/-1}.field{gap:6px;display:grid}.field.full{grid-column:1/-1}.field span{color:#52606d;font-size:12px;font-weight:700}.form-hint{color:var(--muted);margin:-2px 0 4px;font-size:13px;line-height:1.55}.field input,.field select{color:#1f2933;width:100%;min-height:40px;font:inherit;background:#fff;border:1px solid #d9e2ec;border-radius:8px;outline:0;padding:0 11px}.field input:focus,.field select:focus,.filters input:focus,.filters select:focus{border-color:#176b87;box-shadow:0 0 0 3px #176b871f}.smart-select{align-self:start}.smart-options{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px;display:grid}.smart-options button{color:#334e68;min-height:32px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:0 10px;font-size:12px;font-weight:800}.smart-options button.selected{color:#176b87;background:#eef8fb;border-color:#176b87}.picker-field{min-width:0}.picker-trigger{color:#1f2933;width:100%;min-height:54px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9e2ec;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.picker-trigger:hover,.picker-trigger:focus{border-color:#176b87;outline:0;box-shadow:0 0 0 3px #176b871f}.picker-trigger b,.picker-trigger small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-trigger b{font-size:14px}.picker-trigger small{color:#667085;font-size:12px}.modal-select{gap:6px;min-width:180px;display:grid}.modal-select>span{color:#52606d;font-size:12px;font-weight:800}.picker-trigger.compact{min-width:180px;min-height:38px;padding:0 10px}.picker-trigger.compact b{font-size:13px}.modal-backdrop{z-index:40;background:#0f172a47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.picker-modal{background:#fff;border:1px solid #d9e2ec;border-radius:8px;width:min(760px,100vw - 48px);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 24px 70px #0f172a38}.picker-modal.slim{width:min(520px,100vw - 48px)}.picker-modal header{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.picker-modal h3,.picker-modal p{margin:0}.picker-modal h3{font-size:18px}.picker-modal p{color:#667085;margin-top:5px;font-size:13px}.icon-button{color:#52606d;cursor:pointer;background:#fff;border:1px solid #d9e2ec;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.picker-search{color:#1f2933;width:calc(100% - 40px);min-height:42px;font:inherit;border:1px solid #d9e2ec;border-radius:8px;margin:16px 20px 6px;padding:0 12px}.picker-filter-row{grid-template-columns:minmax(0,1fr) 180px;gap:10px;margin:16px 20px 6px;display:grid}.picker-filter-row .picker-search{width:100%;margin:0}.picker-filter-row select{color:#1f2933;min-height:42px;font:inherit;background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:0 12px}.picker-list{gap:8px;padding:14px 20px;display:grid}.picker-list button{color:#344054;min-height:54px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9e2ec;border-radius:8px;grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.picker-list.simple button{grid-template-columns:minmax(0,1fr)}.picker-list button.active{color:#176b87;background:#eef8fb;border-color:#176b87}.picker-list b,.picker-list span,.picker-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-list span,.picker-list small{color:#667085;font-size:12px}.empty-state{color:#667085;border:1px dashed #d9e2ec;border-radius:8px;place-items:center;min-height:54px;margin:0;display:grid}.table-input.small{width:84px}.submit{color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#176b87;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:14px;font-weight:800;display:inline-flex}.submit.narrow{justify-self:start;min-width:168px}.receipt-submit{grid-column:1/-1;align-self:start;width:100%;min-height:44px}.submit:disabled,.ghost-button:disabled{cursor:not-allowed;opacity:.45}.opening-actions{gap:16px;max-width:720px;display:grid}.upload-form{grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:12px;display:grid}.batch-form{border-top:1px solid #e6edf4;grid-template-columns:repeat(4,minmax(140px,1fr));align-items:end;gap:12px;padding-top:14px;display:grid}.file-upload{color:#344054;gap:8px;font-size:14px;font-weight:800;display:grid}.file-upload input{color:#334155;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d5e0ea;border-radius:8px;padding:8px 10px}.form-actions{justify-content:flex-start;margin-top:12px;display:flex}.table-wrap{overflow-x:auto}.catalog-list-table td:nth-child(2){white-space:normal;min-width:300px}.catalog-list-table .read-cell.wide{text-align:left;align-items:flex-start;width:300px;max-width:300px}.catalog-list-table .read-cell.wide span{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.catalog-list-table .table-input.wide{width:300px}table{border-collapse:collapse;width:100%;min-width:720px}th,td{text-align:left;white-space:nowrap;border-top:1px solid #edf1f5;padding:11px 12px;font-size:13px}th{color:#52606d;background:#f8fafc;border-top:0;font-weight:800}td{color:#344054}.number{text-align:right;font-variant-numeric:tabular-nums}.table-input,.table-select{color:#1f2933;width:92px;min-height:34px;font:inherit;background:#fff;border:1px solid #d9e2ec;border-radius:8px;outline:0;padding:0 9px;font-size:13px}.read-cell{color:#344054;max-width:180px;min-height:34px;font:inherit;cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:#fbfdff;border:1px solid #e6edf5;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:0 9px;font-size:13px;display:inline-flex;overflow:hidden}.read-cell span{text-overflow:ellipsis;min-width:0;overflow:hidden}.read-cell small{color:#176b87;font-size:11px;font-weight:800}.read-cell.wide{width:160px}.inline-editor{align-items:center;gap:6px;display:inline-flex}.inline-editor .muted{color:#52606d;border-color:#d9e2ec}.inline-editor button{color:#176b87;min-height:32px;font:inherit;cursor:pointer;background:#fff;border:1px solid #176b87;border-radius:8px;padding:0 9px;font-size:12px;font-weight:800}.inline-editor button:hover{background:#eef8fb}.source-pill{color:#52606d;background:#f8fafc;border:1px solid #d9e2ec;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.source-pill.linked{color:#176b87;background:#eef8fb;border-color:#b9e6f2}.invoice-records-table table{min-width:1180px}.invoice-records-table th:nth-child(2),.invoice-records-table td:nth-child(2){width:240px;min-width:240px}.invoice-records-table th:nth-child(5),.invoice-records-table td:nth-child(5){min-width:160px}.invoice-records-table .source-pill{white-space:normal;overflow-wrap:anywhere;justify-content:flex-start;width:100%}.void-pill{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.table-input.wide{width:160px}.table-input:focus,.table-select:focus{border-color:#176b87;box-shadow:0 0 0 3px #176b871f}.row-actions{align-items:center;gap:8px;display:inline-flex}.inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.panel-actions{margin-top:14px}.ghost-button,.ghost-danger{min-height:32px;font:inherit;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.ghost-button{color:#176b87;border:1px solid #176b87}.ghost-button:hover{background:#eef8fb}.ghost-danger{color:#b42318;border:1px solid #f3c6c6}.ghost-danger:hover{background:#fff1f1}@media (width<=1100px){.login-shell{grid-template-columns:1fr}.login-brand{min-height:auto;padding:34px 28px}.login-brand h1{font-size:28px}.login-card{margin:28px auto}.shell,.content-grid,.content-grid.three,.dashboard-grid{grid-template-columns:1fr}.dashboard-grid .panel:first-child{grid-column:auto}.sidebar{min-height:auto}.metrics,.boss-summary,.boss-summary.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.bar-row{grid-template-columns:1fr}.project-kpis,.project-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.project-kpis>div:nth-child(2),.project-quick-actions button:nth-child(2){border-right:0}.project-kpis>div:nth-child(-n+2),.project-quick-actions button:nth-child(-n+2){border-bottom:1px solid #dce7ed}}@media (width<=640px){.topbar{flex-direction:column;align-items:flex-start;padding:16px}.tenant-control,.tenant-control input,.tenant-control select{width:100%}.metrics,.content-grid,.permission-grid,.dashboard-grid{grid-template-columns:1fr;padding-left:16px;padding-right:16px}.sheet-tabs{padding-left:16px;padding-right:16px;overflow-x:auto}.boss-summary,.boss-summary.compact{grid-template-columns:1fr}.project-workspace-actions{flex-direction:column}.project-card-strip{width:100%}.project-home-header,.project-picker{grid-template-columns:1fr;align-items:stretch}.project-home-header{flex-direction:column;padding:20px 18px}.project-home-header-actions{width:100%}.project-home-header-actions button{flex:1}.project-home-header h2,.project-home-header p{white-space:normal}.project-picker{padding:16px 18px}.project-kpis,.project-quick-actions{grid-template-columns:1fr}.project-kpis>div,.project-kpis>div:nth-child(2),.project-quick-actions button,.project-quick-actions button:nth-child(2){border-bottom:1px solid #dce7ed;border-right:0}.project-kpis>div:last-child,.project-quick-actions button:last-child{border-bottom:0}.form.two-col,.upload-form,.batch-form,.role-strip,.check-list,.boss-summary{grid-template-columns:1fr}}.legacy-layout{grid-template-columns:420px minmax(0,1fr)}.legacy-stack{gap:18px;padding:18px 28px 0;display:grid}.legacy-stack .content-grid{padding:0}.legacy-preview iframe{background:#fff;border:0;width:100%;height:620px;display:block}.flow-list{gap:10px;display:grid}.flow-step{background:#fbfdff;border:1px solid #d9e2ec;border-radius:8px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:42px;padding:8px;display:grid}.flow-step span{color:#176b87;background:#d8eef5;border-radius:999px;place-items:center;width:28px;height:28px;font-size:12px;font-weight:900;display:grid}.flow-step b{color:#1f2933;font-size:13px}.legacy-link{color:#176b87;border:1px solid #176b87;border-radius:8px;justify-content:center;align-items:center;min-height:40px;padding:0 14px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex}.legacy-link:hover{background:#eef8fb}.project-workspace .boss-summary b{font-size:18px}.project-home{background:#fff;border:1px solid #cbdbe5;border-radius:8px;overflow:hidden}.project-home-header{color:#fff;background:#123c53;justify-content:space-between;align-items:center;gap:24px;padding:22px 26px;display:flex}.project-home-header>div:first-child{min-width:0}.project-home-header>div:first-child>span{color:#b9d9e5;font-size:13px;font-weight:800;display:block}.project-home-header h2{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 5px;font-size:26px;line-height:1.25;overflow:hidden}.project-home-header p{color:#d6e8ef;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;overflow:hidden}.project-home-header i{color:#7fb9cb;padding:0 4px;font-style:normal}.project-home-header-actions{flex:none;gap:8px;display:flex}.project-home-primary,.project-home-secondary{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-size:13px;font-weight:800;display:inline-flex}.project-home-primary{color:#0d5269;background:#e7f7fb;border:1px solid #e7f7fb}.project-home-secondary{color:#fff;background:0 0;border:1px solid #7eacbd}.project-home-primary:hover{background:#fff}.project-picker{background:#f8fbfc;border-bottom:1px solid #dce7ed;grid-template-columns:164px minmax(0,1fr);align-items:start;gap:18px;padding:18px 26px;display:grid}.project-picker>div:first-child{gap:4px;padding-top:6px;display:grid}.project-picker b{color:#243341;font-size:14px}.project-picker span{color:#63758a;font-size:12px;line-height:1.45}.project-kpis{border-bottom:1px solid #dce7ed;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.project-kpis>div{border-right:1px solid #dce7ed;min-width:0;padding:18px 24px}.project-kpis>div:last-child{border-right:0}.project-kpis span,.project-kpis b,.project-kpis small{display:block}.project-kpis span,.project-kpis small{color:#63758a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.project-kpis b{color:#1d2d3a;text-overflow:ellipsis;white-space:nowrap;margin:7px 0 5px;font-size:20px;overflow:hidden}.project-quick-actions{background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.project-quick-actions button{color:#176d89;cursor:pointer;text-align:left;background:#fff;border:0;border-right:1px solid #dce7ed;align-items:center;gap:11px;min-width:0;padding:16px 22px;display:flex}.project-quick-actions button:last-child{border-right:0}.project-quick-actions button:hover{background:#edf8fb}.project-quick-actions span{gap:3px;min-width:0;display:grid}.project-quick-actions b,.project-quick-actions small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-quick-actions b{color:#213745;font-size:14px}.project-quick-actions small{color:#6a7c8f;font-size:12px}.project-workspace-actions{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.project-card-strip{flex:1;gap:10px;padding-bottom:3px;display:flex;overflow-x:auto}.project-switch-card{color:#243341;cursor:pointer;text-align:left;background:#fff;border:1px solid #d9e2ec;border-radius:8px;flex:0 0 188px;align-content:start;gap:4px;min-height:94px;padding:13px 14px;display:grid}.project-switch-card:hover,.project-switch-card.selected{background:#f2fafc;border-color:#177a98}.project-switch-card b{color:#1f2933;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:800;overflow:hidden}.project-switch-card span,.project-switch-card small{color:#667085;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.project-switch-card.new-project{color:#176b87;background:#fbfdff;border-style:dashed;border-color:#79afbf;place-content:center;justify-items:start}.project-switch-card.new-project b,.project-switch-card.new-project span{color:#176b87}.action-stack{gap:10px;display:grid}.workflow-action{text-align:left;color:#243341;cursor:pointer;background:#fff;border:1px solid #c9dce7;border-left:4px solid #177a98;border-radius:6px;gap:4px;width:100%;padding:14px 16px;display:grid}.workflow-action:hover{background:#f2fafc;border-color:#177a98}.workflow-action b{font-size:15px}.workflow-action span{color:#63758a;font-size:13px;line-height:1.5}.guide-module-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.guide-module-card{color:#263845;cursor:pointer;text-align:left;background:#fcfeff;border:1px solid #d5e2e9;border-radius:6px;align-content:start;gap:8px;min-width:0;min-height:158px;padding:16px;display:grid}.guide-module-card:hover{background:#f2fafc;border-color:#8fc5d6}.guide-module-card b{color:#1f4054;font-size:15px}.guide-module-card span,.guide-module-card small{color:#63788b;line-height:1.5}.guide-module-card span{font-size:13px}.guide-module-card small{margin-top:auto;font-size:12px}.project-tabs{background:#fff;border-bottom:1px solid #d7e2eb;gap:2px;padding:0 10px;display:flex;overflow-x:auto}.project-tabs button{color:#60758a;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:none;min-height:44px;padding:0 16px;font-size:14px;font-weight:800}.project-split{grid-template-columns:1fr;gap:16px;display:grid}.project-workspace .document-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.project-split>.content-grid{min-width:0;padding:0}.document-list{gap:8px;margin-bottom:16px;display:grid}.document-list button{color:#263845;text-align:left;cursor:pointer;background:#fff;border:1px solid #d7e2eb;border-radius:6px;gap:3px;width:100%;padding:12px;display:grid}.document-list button.selected{background:#eef9fc;border-color:#1680a1;box-shadow:inset 3px 0 #1680a1}.document-list span,.document-list small{color:#677b8e}.editor-path{color:#546b7d;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;font-size:13px;font-weight:700;display:flex}.editor-path span{background:#edf5f8;border-radius:4px;padding:6px 9px}.editor-path .submit{margin-left:auto}.empty-work{color:#60758a;background:#fbfdfe;border:1px dashed #b8cfdb;border-radius:6px;gap:6px;padding:22px;display:grid}.empty-work b{color:#2b4253}.quote-settings{background:#fcfeff;border:1px solid #d5e2e9;border-radius:6px;gap:12px;margin-top:16px;padding:16px;display:grid}.project-settings{background:#f7fcfe;border:1px solid #bcd8e3;border-radius:6px;margin-top:16px;padding:16px}.project-settings h3{color:#253b4c;margin:0 0 6px;font-size:15px}.project-settings .compact-form{margin-top:12px}.project-lifecycle{background:#f8fbfc;border:1px solid #d5e2e9;border-left:4px solid #75899a;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:14px 16px;display:flex}.project-lifecycle div{gap:4px;display:grid}.project-lifecycle b{color:#2b4253;font-size:14px}.project-lifecycle span{color:#63788b;font-size:13px;line-height:1.5}.closed-project-notice{background:#fffaf0;border:1px solid #caa75a;border-left:4px solid #9b6d16;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:14px 16px;display:flex}.closed-project-notice div{gap:4px;display:grid}.closed-project-notice b{color:#6f4b09}.closed-project-notice span{color:#795d27;font-size:13px;line-height:1.5}.archive-path{color:#725313;background:#fff8e7;border:1px solid #e4b54e;border-radius:6px;align-self:end;padding:9px 12px;font-weight:700}.payment-terms-editor{background:#f5fbfe;border:1px solid #b8d8e5;border-radius:6px;gap:8px;margin-top:14px;padding:14px;display:grid}.payment-terms-header{justify-content:space-between;align-items:start;gap:12px;display:flex}.payment-terms-header div{gap:3px;display:grid}.payment-terms-header span{color:var(--muted);font-size:13px}.valid-total{color:#17834a}.invalid-total{color:#b54708}.payment-term-row{grid-template-columns:minmax(96px,.9fr) 88px 18px minmax(160px,1.7fr) auto;align-items:center;gap:8px;display:grid}.payment-term-row input{width:100%}.quote-consolidate-bar{background:#f2fbfd;border:1px solid #8fc5d6;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:12px 14px;display:flex}.quote-consolidate-bar div{color:#2a4354;gap:3px;display:grid}.quote-consolidate-bar span{color:#647b8d;font-size:13px}.project-workspace .quote-workbench:has(.catalog-quick-row){grid-template-columns:minmax(0,1fr)}.project-workspace .quote-workbench:has(.catalog-quick-row) .workbench-document{display:none}.master-selection-summary,.manual-quote-item{background:#fcfeff;border:1px solid #d5e2e9;border-radius:6px;gap:12px;margin-top:14px;padding:16px;display:grid}.master-selection-summary h3,.manual-quote-item h3{color:#253b4c;margin:0 0 5px;font-size:15px}.master-selection-summary p,.manual-quote-item p{color:#63788b;margin:0;font-size:13px}.master-selection-summary .submit{width:min(320px,100%)}.manual-quote-item{background:#f4fbfd;border-color:#8fc5d6}.manual-quote-item .form{align-items:end;min-width:0}.manual-quote-item .field{min-width:0}.labor-subitem-setup{background:#fff;border:1px solid #b8d8e5;border-radius:6px;gap:10px;padding:12px;display:grid}.labor-subitem-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.labor-subitem-heading div{gap:3px;display:grid}.labor-subitem-heading span{color:#63788b;font-size:13px}.labor-subitem-rows{gap:8px;display:grid}.labor-subitem-row{grid-template-columns:minmax(160px,1fr) 100px 18px auto;align-items:center;gap:8px;display:grid}.check-field{color:#2a4354;align-items:center;gap:8px;min-height:38px;font-size:14px;display:flex}.check-field input{width:16px;height:16px}.manual-cost-total{color:#587083;background:#fff;border:1px solid #c9dee7;border-radius:5px;grid-template-columns:auto auto;align-items:baseline;gap:4px 14px;min-height:38px;padding:8px 10px;font-size:12px;display:grid}.manual-cost-total b{color:#213746;font-size:15px}.quote-settings h3,.quote-area-manager b{color:#253b4c;margin:0;font-size:15px}.quote-area-manager{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px;display:grid}.quote-area-manager form,.quote-area-pills{grid-column:1/-1}.quote-area-manager input{color:#263845;border:1px solid #cbdbe5;border-radius:4px;min-height:34px;padding:6px 8px}.quote-area-pill{background:#fff;border:1px solid #d5e2e9;border-radius:5px;align-items:center;gap:6px;padding:5px;display:inline-flex}.quote-area-pill input{background:0 0;border:0;width:118px;padding:4px}.quote-workbench{grid-template-columns:minmax(320px,.9fr) minmax(340px,1.1fr);gap:14px;margin-top:18px;display:grid}.billing-flow-intro+.project-split .quote-workbench{grid-template-columns:minmax(0,1fr)}.billing-flow-intro+.project-split>.content-grid>.panel:has(>.panel-body>.submit:only-child){display:none}.workbench-source,.workbench-document,.editor-lines,.component-editor,.component-adjuster,.component-drawer{background:#fcfeff;border:1px solid #d5e2e9;border-radius:6px;padding:16px}.workbench-source h3,.workbench-document h3,.editor-lines h3,.component-editor h3,.component-adjuster h3{color:#253b4c;margin:0 0 12px;font-size:15px}.catalog-quick-list{gap:7px;max-height:430px;margin:12px 0;display:grid;overflow:auto}.catalog-quick-row,.billing-pick-row{background:#fff;border:1px solid #dce7ed;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.catalog-quick-row>div:first-child,.billing-pick-row label{gap:3px;min-width:0;display:grid}.catalog-quick-row b,.billing-pick-row b{color:#253b4c;font-size:14px}.catalog-quick-row span,.billing-pick-row small{color:#63788b;font-size:12px}.catalog-quick-row>div:last-child,.billing-pick-row>input{flex:none;align-items:center;gap:6px;display:flex}.catalog-quick-row input,.billing-pick-row>input{border:1px solid #cbdbe5;border-radius:4px;width:68px;min-height:34px;padding:5px 7px}.billing-pick-row label{grid-template-columns:auto minmax(0,1fr);align-items:start}.billing-pick-row label span{gap:3px;display:grid}.workbench-document .submit{width:100%;margin-top:12px}.editor-lines,.component-editor,.component-adjuster,.component-drawer{margin-top:14px}.component-editor{background:#f4fbfd;border-color:#8fc5d6}.quote-cost-summary{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))!important}.quote-line-list{gap:12px;display:grid}.quote-readonly-detail{gap:14px;margin-top:16px;display:grid}.quote-line-readonly{background:#fbfdfe}.quote-line-readonly .quote-card-field strong{overflow-wrap:anywhere}.quote-line-card{background:#fff;border:1px solid #d5e2e9;border-radius:6px;gap:12px;padding:14px;display:grid}.quote-line-card>header{border-bottom:1px solid #e6eef2;justify-content:space-between;align-items:end;gap:14px;padding:0 0 12px;display:flex}.quote-line-card>header>div{gap:3px;min-width:0;display:grid}.quote-line-card>header b{color:#253b4c;font-size:15px}.quote-line-card>header>div>span,.quote-card-field>span,.quote-card-field>small{color:#63788b;font-size:12px}.quote-line-cost-grid,.quote-line-sales-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;display:grid}.quote-card-field{align-content:start;gap:5px;min-width:0;display:grid}.quote-card-field input,.quote-card-field select{color:#253b4c;width:100%;min-width:0;min-height:38px;font:inherit;background:#fff;border:1px solid #d5e2e9;border-radius:5px;padding:0 9px}.quote-card-field strong{color:#253b4c;font-variant-numeric:tabular-nums;align-items:center;min-height:38px;font-size:15px;display:flex}.quote-card-field .table-money-button{width:100%;min-width:0;min-height:38px}.quote-line-sales-grid{border-top:1px solid #e6eef2;padding-top:12px}.quote-line-actions{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.quote-line-actions .ghost-button,.quote-line-actions .ghost-danger{min-height:38px}.quote-line-card .unallocated-cost{margin-top:0}.quote-editor-table table{min-width:1680px}.project-workspace,.project-split,.project-split>*,.quote-editor-table{min-width:0}.quote-editor-table{max-width:100%}.quote-editor-table .table-wrap{overscroll-behavior-inline:contain;scrollbar-gutter:stable;max-width:100%;overflow-x:auto}.quote-editor-table .inline-actions{flex-wrap:nowrap}.quote-price-input{background:#f7fcfe;border-color:#4d9cb6;width:118px}.unallocated-cost{color:#a35b16;margin-top:3px;font-size:11px;font-weight:800;display:block}.quote-total-summary{grid-template-columns:repeat(4,minmax(150px,1fr));justify-content:end;gap:10px;max-width:720px;margin:16px 0 0 auto;display:grid}.table-money-button{color:#175e7a;cursor:pointer;min-width:104px;font:inherit;text-align:right;background:#f7fcfe;border:1px solid #8cc4dc;border-radius:5px;gap:2px;padding:7px 9px;font-weight:800;display:grid}.table-money-button small,.profit-cell small{color:#6d8291;font-size:11px;font-weight:700}.profit-cell{gap:3px;min-width:110px;display:grid}.quote-note-input{width:180px}.quote-labor-drawer{background:#f4fbfd;border:1px solid #8cc4dc;border-radius:6px;margin-top:14px;padding:16px}.quote-labor-drawer .editor-path{align-items:flex-start}.quote-labor-drawer .editor-path>div{gap:3px;display:grid}.quote-labor-drawer .editor-path span,.labor-formula small{color:#63788b;font-size:12px}.labor-worker-picker-header{justify-content:space-between;align-items:start;gap:12px;margin-bottom:8px;display:flex}.labor-worker-picker-header>div{gap:3px;display:grid}.labor-worker-picker-header small,.labor-worker-average{color:#63788b;font-size:12px}.labor-worker-list{background:#fff;border:1px solid #d5e2e9;border-radius:5px;max-height:230px;display:grid;overflow-y:auto}.labor-worker-row{color:#294155;cursor:pointer;border-bottom:1px solid #edf1f4;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:38px;padding:7px 10px;font-size:13px;display:grid}.labor-worker-row:last-child{border-bottom:0}.labor-worker-row:hover{background:#f7fbfd}.labor-worker-row input,.check-action input{width:16px;height:16px;margin:0}.labor-worker-row b{color:#294155;font-variant-numeric:tabular-nums;font-size:13px}.labor-formula{background:#fff;border:1px solid #d5e2e9;border-radius:5px;align-content:center;gap:3px;padding:11px 13px;display:grid}.labor-formula b{color:#175e7a;font-size:17px}.quote-settings .form{align-items:start}.quote-settings .field{align-content:start;align-self:start}.quote-settings .payment-terms-editor{grid-column:1/-1}.tax-mode-control{max-width:220px}.tax-mode-control select{min-height:38px}.project-schedule-dates{background:#f8fcfd;border:1px solid #d5e2e9;border-radius:6px;gap:14px;margin-top:16px;padding:16px;display:grid}.project-schedule-dates>div:first-child{gap:4px;display:grid}.project-schedule-dates>div:first-child span{color:#63788b;font-size:13px}.project-schedule-dates form{align-items:end}.project-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.project-schedule-grid>div{background:#fff;border:1px solid #dbe5ec;border-radius:5px;flex-wrap:wrap;align-content:flex-start;gap:7px;min-height:62px;padding:10px;display:flex}.project-schedule-grid>div>span{color:#526b7b;flex-basis:100%;font-size:12px;font-weight:800}.project-schedule-grid small{color:#7c8e9d}.schedule-date-pill{color:#175e7a;font:inherit;background:#f4fbfd;border:1px solid #b9dce8;border-radius:4px;align-items:center;gap:5px;padding:5px 7px;font-size:13px;display:inline-flex}.schedule-date-pill:not(:disabled){cursor:pointer}.quote-total-summary>div{color:#63788b;background:#fff;border:1px solid #d5e2e9;border-radius:6px;gap:5px;padding:12px 14px;font-size:13px;display:grid}.quote-total-summary b{color:#213746;font-size:18px}.quote-total-summary .grand-total{background:#edf9fc;border-color:#177a98}@media (width<=700px){.quote-total-summary,.project-schedule-grid{grid-template-columns:1fr}.quote-line-card>header,.labor-worker-picker-header{flex-direction:column;align-items:stretch}.quote-line-card .area-field,.tax-mode-control{max-width:none}}.component-form{margin-top:14px}.compact-form{border-top:1px solid #dce7ed;margin-top:16px;padding-top:16px}@media (width<=1180px){.guide-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-split,.quote-workbench,.project-workspace .manual-quote-item .form.two-col{grid-template-columns:1fr}.project-split>.content-grid{padding:0}.quote-consolidate-bar,.closed-project-notice{flex-direction:column;align-items:stretch}.payment-term-row{grid-template-columns:1fr 72px 18px}.payment-term-row input:nth-of-type(3){grid-column:1/-1}}@media (width<=760px){.guide-module-grid{grid-template-columns:1fr}.project-lifecycle{flex-direction:column;align-items:stretch}.project-workspace .quote-settings .form.two-col,.project-workspace .manual-quote-item .form.two-col,.project-workspace .workbench-document .form.two-col{grid-template-columns:1fr}.project-workspace .quote-area-manager{grid-template-columns:1fr;align-items:start}.project-workspace .quote-area-manager form,.project-workspace .quote-area-pills{grid-column:auto}}:root{--app-canvas:#f4f6f8;--app-surface:#fff;--app-surface-muted:#f8fafc;--app-border:#e2e8f0;--app-text:#253042;--app-muted:#758195;--app-ink:#16324c;--app-accent:#1677b8;--app-accent-soft:#eaf6fd;--muted:#758195}.login-shell,.shell{background:var(--app-canvas);color:var(--app-text)}.sidebar,.login-brand{background:var(--app-ink)}.login-logo-frame{background:#10263a;border-color:#cfe8f742;box-shadow:inset 0 0 0 8px #16324ca3}.login-brand-name span,.login-brand-copy{color:#b8d9eb}.login-brand-copy{border-left-color:#72b7d8}.nav-list button:hover,.nav-list button.active{background:#215473}.topbar{border-bottom-color:var(--app-border);background:#fffffff0}.eyebrow,.panel p,.login-card p,.field span,.filters span,.table-toolbar,.pagination,.form-hint{color:var(--app-muted)}.content-grid,.dashboard-grid{gap:20px}.workspace-page-header{background:#edf3f7;border-bottom:1px solid #dbe5ed;padding:24px 28px 20px}.workspace-page-header span{color:var(--app-accent);margin-bottom:5px;font-size:12px;font-weight:800;display:block}.workspace-page-header h2,.workspace-page-header p{margin:0}.workspace-page-header h2{color:var(--app-text);font-size:24px;line-height:1.25}.workspace-page-header p{color:var(--app-muted);margin-top:6px;font-size:14px}.sheet-page-header{background:#edf3f7;border-bottom:1px solid #dbe5ed;justify-content:space-between;align-items:end;gap:22px;padding:22px 28px 0;display:flex}.sheet-page-header>div{min-width:0;padding-bottom:16px}.sheet-page-header>div>span{color:var(--app-accent);margin-bottom:4px;font-size:12px;font-weight:800;display:block}.sheet-page-header h2{color:var(--app-text);margin:0;font-size:22px;line-height:1.25}.sheet-page-header .sheet-tabs{justify-content:flex-end;padding:0}.project-tabs{background:#edf3f7;border:1px solid #d5e1e9;border-radius:8px;gap:5px;padding:6px;overflow:visible}.project-tabs button{color:#587087;border:1px solid #0000;border-radius:6px;min-height:38px}.project-tabs button:hover{color:#216886;background:#f8fbfd}.project-tabs button.active{color:#14628a;background:#fff;border-color:#a7c9da;box-shadow:0 1px 2px #2b597514}.panel,.metric,.login-card,.profile-dialog,.picker-modal{border-color:var(--app-border);background:var(--app-surface)}.panel>header,.login-card header,.profile-dialog header{border-bottom-color:var(--app-border)}.panel h2,.topbar h1,.metric strong,.login-card h2{color:var(--app-text)}.metric,.boss-summary div,.result-list p,.module-toggle,.check-list label,.read-cell,.source-pill,.project-switch-card{border-color:var(--app-border);background:var(--app-surface)}.boss-summary div,.module-toggle,.result-list p,.check-list label,.read-cell{background:var(--app-surface-muted)}.boss-summary span,.metric span,.metric small,.boss-summary b+small{color:var(--app-muted)}.boss-summary b,.metric strong,.module-toggle b,.role-strip b,.tenant-list b{color:var(--app-text)}.sheet-tabs{gap:7px}.sheet-tabs button,.role-strip button,.tenant-list button,.smart-options button,.picker-trigger,.picker-list button,.icon-button,.api-status,.logout-button,.filters input,.filters select,.field input,.field select,.table-input,.table-select,.table-toolbar select,.picker-search,.picker-filter-row select,.file-upload input{border-color:var(--app-border);background:var(--app-surface);color:var(--app-text)}.sheet-tabs button.active,.role-strip button.active,.tenant-list button.active,.smart-options button.selected,.picker-list button.active,.read-cell:hover,.source-pill.linked{border-color:var(--app-accent);background:var(--app-accent-soft);color:#126493;box-shadow:none}.submit{background:#5c6a76}.submit:hover{background:#45525d}.project-split>.panel>.panel-body>.inline-actions>.submit+.ghost-danger{color:#fff;background:#5c6a76;border:0;gap:8px;min-height:40px;padding:0 14px;font-size:14px}.project-split>.panel>.panel-body>.inline-actions>.submit+.ghost-danger:before{content:"+";font-size:20px;font-weight:400;line-height:1}.project-split>.panel>.panel-body>.inline-actions>.submit+.ghost-danger:hover:not(:disabled){background:#45525d}.project-split>.panel>.panel-body>.inline-actions>.submit+.ghost-danger:disabled{cursor:not-allowed;opacity:.45}.ghost-button,.inline-editor button,.legacy-link{border-color:var(--app-accent);color:#126493;background:0 0}.ghost-button:hover,.inline-editor button:hover,.legacy-link:hover{background:var(--app-accent-soft)}.field input:focus,.field select:focus,.filters input:focus,.filters select:focus,.table-input:focus,.table-select:focus,.picker-trigger:hover,.picker-trigger:focus{border-color:var(--app-accent);box-shadow:0 0 0 3px #1677b824}th{color:#5d6d81;background:#f4f7fa}th,td,.compact-form,.batch-form{border-color:#e7edf3}.bar-row div{background:#e8eef4}.bar-row i{background:var(--app-accent)}.project-home{background:var(--app-surface);border-color:#dbe5ee}.project-home-header{background:#164d6d}.project-home-primary{color:#126493;background:#eaf6fd;border-color:#eaf6fd}.project-home-secondary{border-color:#8dbbd2}.project-home-secondary:hover{background:#1d5b7d;border-color:#e1f4fc}.project-picker,.project-kpis,.project-kpis>div,.project-quick-actions button{border-color:var(--app-border)}.project-picker{background:var(--app-surface-muted)}.project-switch-card:hover,.project-switch-card.selected,.project-quick-actions button:hover{border-color:var(--app-accent);background:var(--app-accent-soft)}.project-switch-card.selected{box-shadow:inset 3px 0 0 var(--app-accent)}.project-switch-card.new-project{color:#126493;background:#fbfdff;border-color:#8ec4dc}.project-switch-card.new-project b,.project-switch-card.new-project span,.project-quick-actions{color:#126493}.project-tabs{background:#edf3f7;border-color:#d5e1e9}.project-tabs button.active{color:#14628a;border-bottom-color:#a7c9da}.billing-flow-intro{background:#f6fafc;border:1px solid #d5e1e9;border-radius:8px;justify-content:space-between;align-items:end;gap:20px;padding:18px 22px;display:flex}.billing-flow-intro>div:first-child{min-width:0}.billing-flow-intro span{color:#177eaa;margin-bottom:4px;font-size:12px;font-weight:800;display:block}.billing-flow-intro h3{color:#263c4e;margin:0;font-size:18px}.billing-flow-intro p{color:#6d8291;margin:6px 0 0;line-height:1.55}.billing-flow-tabs{flex:none}@media (width<=760px){.billing-flow-intro{flex-direction:column;align-items:stretch}.billing-flow-tabs{width:100%}.billing-flow-tabs button{flex:1 1 0}}@media (width<=640px){.content-grid,.dashboard-grid,.sheet-tabs{padding-left:16px;padding-right:16px}.sheet-page-header{flex-direction:column;align-items:stretch;gap:10px;padding:18px 16px 0}.sheet-page-header>div{padding-bottom:0}.sheet-page-header .sheet-tabs{justify-content:flex-start;padding:0 0 10px}.workspace-page-header{padding:20px 16px 16px}}.sidebar{color:#294155;background:#f8fafb;border-right:1px solid #dbe5ec}.sidebar-brand{border-bottom:1px solid #dbe5ec;padding:2px 4px 12px}.sidebar-brand b{color:#263c4e}.nav-group+.nav-group{border-top-color:#dbe5ec}.nav-list button{color:#40596b}.nav-list button.active{color:#125f86;background:#dfeff6;box-shadow:inset 3px 0 #177eaa}.workspace-page-header,.sheet-page-header{background:#f8fafb;border-bottom-color:#dbe5ec}.workspace-page-header span,.sheet-page-header>div>span{color:#177eaa}.workspace-page-header h2,.sheet-page-header h2{color:#263c4e}.workspace-page-header p{color:#6d8291}.sheet-page-header .sheet-tabs button{color:#40596b;background:#fff;border-color:#dbe5ec}.sheet-page-header .sheet-tabs button:hover,.sheet-page-header .sheet-tabs button.active{color:#125f86;background:#dfeff6;border-color:#8cc4dc}.project-worker-picker{background:#fbfcfd;border:1px solid #dbe5ec;margin-top:18px}.project-worker-picker-header{border-bottom:1px solid #dbe5ec;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.project-worker-picker-header>div:first-child{gap:3px;display:grid}.project-worker-picker-header span{color:#6d8291;font-size:13px}.project-worker-picker .table-wrap{border:0;border-radius:0}.project-worker-picker table{table-layout:fixed}.project-worker-picker th:first-child,.project-worker-picker td:first-child{width:12%}.project-worker-picker th:nth-child(2),.project-worker-picker td:nth-child(2),.project-worker-picker th:nth-child(3),.project-worker-picker td:nth-child(3){width:22%}.project-worker-picker th:nth-child(4),.project-worker-picker td:nth-child(4){text-align:right;width:20%}.project-worker-picker th:nth-child(5),.project-worker-picker td:nth-child(5){width:24%}.project-worker-picker table select{min-width:104px}.check-action{color:#294155;align-items:center;gap:6px;font-size:14px;display:inline-flex}.payment-document-toggle{background:#fbfdff;border:1px solid #d9e2ec;border-radius:6px;gap:5px;padding:10px 12px;display:grid}.payment-document-toggle input[type=checkbox]{accent-color:#176b87;width:16px;height:16px;min-height:0;margin:0;padding:0}.payment-document-toggle small{color:#667085;font-size:12px;line-height:1.45}.form-warning{color:#714b06;background:#fff8e8;border:1px solid #e7b75f;border-radius:6px;gap:3px;padding:10px 12px;font-size:13px;line-height:1.45;display:grid}.form-warning b{font-size:14px}.selection-summary{white-space:nowrap;font-weight:700;color:#125f86!important}.project-progress-status{color:#526373;background:#f7f9fb;border:1px solid #cfd9e2;border-radius:999px;justify-content:center;align-items:center;min-width:52px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.project-progress-status.ahead{color:#177245;background:#eefbf2;border-color:#a5dcb7}.project-progress-status.steady{color:#126383;background:#eef8fc;border-color:#a8cde0}.project-progress-status.behind{color:#aa3c2d;background:#fff3f0;border-color:#efb6a9}.project-progress-status.missing{color:#667685;background:#f6f8fa;border-color:#d5dce3}.labor-progress-trigger{color:#203448;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:3px;padding:0;display:grid}.labor-progress-trigger b{color:#1d4f69}.labor-progress-trigger small{color:#657b8e;font-size:12px}.labor-progress-trigger:hover b,.labor-progress-trigger:focus-visible b{color:#126493;text-decoration:underline}.labor-progress-percent{color:#177245;justify-content:center;align-items:center;min-width:58px;font-weight:800;display:inline-flex}.labor-progress-percent.steady{color:#126383}.labor-progress-percent.behind{color:#aa3c2d}.labor-progress-details{background:#fbfdfe;border:1px solid #d6e3eb;border-radius:6px;gap:12px;margin-top:16px;padding:16px;display:grid}.labor-progress-details>div{gap:4px;display:grid}.labor-progress-details>div>b{color:#203448}.labor-progress-details>div>span{color:#657b8e;font-size:13px;line-height:1.5}.project-progress-summary{color:#35546a;font-size:13px;font-weight:700;line-height:1.6;display:inline-block}.traffic-light-summary{color:#35546a;flex-wrap:wrap;gap:6px 10px;font-size:13px;font-weight:700;display:flex}.traffic-light-summary span{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.traffic-light-summary i{background:#9aa8b5;border-radius:50%;flex:none;width:9px;height:9px}.traffic-light-summary .ahead i{background:#2da56b}.traffic-light-summary .steady i{background:#d6a32b}.traffic-light-summary .behind i{background:#d95d4f}.traffic-light-summary .pending i{background:#9aa8b5}.project-progress-assessment{color:var(--app-muted);margin:0 0 12px;font-size:14px}.process-progress-list{gap:12px;margin-top:18px;display:grid}.process-progress-card{background:#fff;border:1px solid #d5e2e9;border-left:4px solid #b9c8d3;border-radius:7px;gap:12px;padding:16px;display:grid}.process-progress-card.ahead{border-left-color:#3aa66d}.process-progress-card.steady{border-left-color:#2c8cb8}.process-progress-card.behind{border-left-color:#d96551}.process-progress-card header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.process-progress-card header>div{gap:4px;min-width:0;display:grid}.process-progress-card header b{color:#233a4a;font-size:16px}.process-progress-card header span,.process-progress-card small{color:#63788b;font-size:13px;line-height:1.5}.process-progress-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.process-progress-metrics>div{background:#f8fbfd;border:1px solid #e0e8ee;border-radius:6px;gap:4px;min-width:0;padding:10px 11px;display:grid}.process-progress-metrics span{color:#63788b;font-size:12px}.process-progress-metrics b{color:#253b4c;overflow-wrap:anywhere;font-size:15px}.process-progress-formula{color:#35546a;background:#f2f8fb;border-radius:5px;margin:0;padding:10px 12px;font-size:13px;line-height:1.6}@media (width<=760px){.process-progress-card header{flex-direction:column;align-items:stretch}.process-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.cost-feedback{background:#f3fbff;border:1px solid #a6cce0;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.cost-feedback>div{gap:4px;display:grid}.cost-feedback b{color:#17364b}.cost-feedback span{color:#527083;font-size:14px}.cost-feedback.error{background:#fff8f8;border-color:#e7b8b8}.cost-feedback.error b{color:#a23131}@media (width<=700px){.cost-feedback{flex-direction:column;align-items:stretch}}.project-billing-workspace{gap:16px;margin-top:16px;display:grid}.project-billing-workspace~.billing-flow-intro,.project-billing-workspace~.project-split{display:none}.billing-workspace-header,.billing-editor,.billing-document-list{background:#fff;border:1px solid #d5e2e9;border-radius:7px}.billing-workspace-header{background:#f6fafc;justify-content:space-between;align-items:flex-end;gap:18px;padding:18px 20px;display:flex}.billing-workspace-header>div:first-child,.billing-document-list>div:first-child,.billing-source-panel header>div,.billing-line-section header>div,.billing-adjustments header>div{min-width:0}.billing-workspace-header span{color:#177eaa;margin-bottom:4px;font-size:12px;font-weight:800;display:block}.billing-workspace-header h3,.billing-document-list h3,.billing-settings h3,.billing-source-panel h3,.billing-line-section h3,.billing-manual-panel h3,.billing-adjustments h3{color:#253b4c;margin:0;font-size:16px}.billing-workspace-header p,.billing-document-list p,.billing-source-panel p,.billing-line-section p,.billing-manual-panel p,.billing-adjustments p{color:#63788b;margin:6px 0 0;font-size:13px;line-height:1.55}.project-billing-layout{grid-template-columns:minmax(230px,.28fr) minmax(0,.72fr);align-items:start;gap:16px;display:grid}.billing-document-list{gap:14px;padding:16px;display:grid}.billing-document-list .submit{width:100%}.billing-editor{gap:16px;min-width:0;padding:16px;display:grid}.billing-summary{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;display:grid}.billing-summary>div{background:#f8fbfd;border:1px solid #d5e2e9;border-radius:6px;gap:5px;min-width:0;padding:12px 13px;display:grid}.billing-summary span,.billing-card-field>span,.billing-line-card header span{color:#63788b;font-size:12px}.billing-summary b{color:#213746;font-variant-numeric:tabular-nums;font-size:19px}.billing-summary .billing-total{background:#edf9fc;border-color:#1680a1}.billing-status-card{background:#f4fbfd;border:1px solid #a7d5e3;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.billing-status-card>div{gap:3px;min-width:0;display:grid}.billing-status-card span,.billing-status-card p{color:#63788b;font-size:12px}.billing-status-card h3,.billing-status-card p{margin:0}.billing-status-card h3{color:#253b4c;font-size:16px}.billing-locked-note{flex:none;font-weight:800;color:#526b7a!important}.billing-readonly .billing-settings,.billing-readonly .billing-source-panel,.billing-readonly .billing-line-section,.billing-readonly .billing-manual-panel,.billing-readonly .billing-adjustments{opacity:.66;pointer-events:none}.billing-settings,.billing-source-panel,.billing-line-section,.billing-manual-panel,.billing-adjustments{background:#fcfeff;border:1px solid #d5e2e9;border-radius:6px;gap:12px;padding:16px;display:grid}.billing-field-grid,.billing-line-grid,.billing-adjustment-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.billing-card-field{gap:5px;min-width:0;display:grid}.billing-card-field input,.billing-card-field select{box-sizing:border-box;color:#253b4c;width:100%;min-width:0;min-height:38px;font:inherit;background:#fff;border:1px solid #d5e2e9;border-radius:5px;padding:0 9px}.billing-card-field strong{color:#253b4c;font-variant-numeric:tabular-nums;align-items:center;min-height:38px;font-size:15px;display:flex}.billing-note-field{grid-column:1/-1}.billing-source-panel>header,.billing-line-section>header,.billing-adjustments>header,.billing-line-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.billing-source-list,.billing-line-list{gap:10px;display:grid}.billing-source-card{background:#fff;border:1px solid #dce7ed;border-radius:6px;grid-template-columns:auto minmax(0,1fr) 92px;align-items:center;gap:10px;padding:11px;display:grid}.billing-source-card>span{gap:3px;min-width:0;display:grid}.billing-source-card b,.billing-line-card header b{color:#253b4c;font-size:14px}.billing-source-card small{color:#63788b;font-size:12px}.billing-source-card>input[type=number]{min-width:0;min-height:36px;font:inherit;border:1px solid #cbdbe5;border-radius:5px;padding:0 8px}.billing-line-card{background:#fff;border:1px solid #d5e2e9;border-radius:6px;gap:12px;padding:14px;display:grid}.billing-line-card>header{border-bottom:1px solid #e6eef2;padding-bottom:11px}.billing-line-card>header>div{gap:3px;display:grid}.billing-manual-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:10px;display:grid}.billing-manual-form .submit{min-height:38px}.billing-adjustments{background:#f4fbfd;border-color:#a7d5e3}@media (width<=980px){.project-billing-layout{grid-template-columns:1fr}.billing-document-list{order:2}}@media (width<=700px){.billing-status-card,.billing-workspace-header,.billing-source-panel>header,.billing-line-section>header,.billing-line-card>header{flex-direction:column;align-items:stretch}.billing-source-card{grid-template-columns:auto minmax(0,1fr)}.billing-source-card>input[type=number]{grid-column:2}}@media (width<=720px){.project-worker-picker-header{flex-direction:column;align-items:flex-start}}.negative-money{color:#b42318}:root{--erp-canvas:#f3f5f7;--erp-surface:#fff;--erp-subtle:#f7f8fa;--erp-border:#d8dde4;--erp-border-strong:#b9c2cd;--erp-text:#202a36;--erp-muted:#667487;--erp-navy:#20384d;--erp-blue:#186fa2;--erp-blue-soft:#eaf3f8;--erp-green:#1a7f52;--erp-red:#b42318;--app-canvas:var(--erp-canvas);--app-surface:var(--erp-surface);--app-surface-muted:var(--erp-subtle);--app-border:var(--erp-border);--app-text:var(--erp-text);--app-muted:var(--erp-muted);--app-ink:var(--erp-navy);--app-accent:var(--erp-blue);--app-accent-soft:var(--erp-blue-soft);--muted:var(--erp-muted)}.shell{background:var(--erp-canvas);color:var(--erp-text);grid-template-columns:236px minmax(0,1fr)}.sidebar{border-right:1px solid var(--erp-border);color:var(--erp-text);background:#fbfcfd;gap:14px;padding:14px 12px 18px}.sidebar-brand{border-bottom:1px solid var(--erp-border);min-height:48px;padding:0 5px 12px}.sidebar-logo{width:38px;height:38px}.sidebar-brand b{color:var(--erp-navy);font-size:14px;font-weight:800}.sidebar-brand span,.nav-group p{color:var(--erp-muted)}.nav-group{gap:2px}.nav-group p{letter-spacing:.06em;text-transform:uppercase;margin:10px 8px 4px;font-size:10px;font-weight:800}.nav-list button{color:#435366;border-radius:4px;gap:9px;min-height:34px;padding:0 9px;font-size:13px;font-weight:650}.nav-list button svg{color:#718096;width:16px;height:16px}.nav-list button:hover{color:var(--erp-navy);background:#eef2f5}.nav-list button.active{box-shadow:inset 3px 0 0 var(--erp-blue);background:var(--erp-blue-soft);color:#145a82;border:1px solid #b9d1df}.nav-list button.active svg{color:var(--erp-blue)}.workspace{background:var(--erp-canvas);min-width:0}.topbar{border-bottom:1px solid var(--erp-border);background:var(--erp-surface);-webkit-backdrop-filter:none;backdrop-filter:none;gap:10px;min-height:58px;padding:9px 20px}.topbar h1{color:var(--erp-navy);font-size:18px;font-weight:800}.topbar .eyebrow{color:var(--erp-muted);letter-spacing:.04em;margin-bottom:2px;font-size:10px}.tenant-control,.logout-button,.api-status,.topbar-profile{min-height:32px;box-shadow:none;border-radius:4px;font-size:12px}.tenant-control{border-color:var(--erp-border);background:var(--erp-subtle);padding:0 8px}.tenant-control span{color:#39485a;font-size:12px}.api-status{border-radius:3px;padding:0 8px;font-size:11px}.command-toolbar{border-bottom:1px solid var(--erp-border);background:#f9fafb;align-items:center;gap:16px;min-height:43px;padding:0 20px;display:flex}.command-context{gap:1px;min-width:130px;display:grid}.command-context span{color:var(--erp-muted);font-size:10px;font-weight:700}.command-context b{color:var(--erp-navy);font-size:13px}.workspace-tabs{align-self:stretch;min-width:0;display:flex;overflow-x:auto}.workspace-tabs button{color:#687789;min-height:42px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.workspace-tabs button:hover{color:var(--erp-navy);background:#f1f4f6}.workspace-tabs button.active{border-bottom-color:var(--erp-blue);color:#145a82;background:#fff}.command-connection{color:var(--erp-muted);white-space:nowrap;margin-left:auto;font-size:11px;font-weight:700}.command-connection.connected{color:var(--erp-green)}.command-connection.offline{color:#a86500}.workspace-page-header,.sheet-page-header{border-bottom:1px solid var(--erp-border);background:var(--erp-surface);min-height:82px;padding:16px 20px 14px}.workspace-page-header span,.sheet-page-header>div>span{color:var(--erp-blue);letter-spacing:.05em;margin-bottom:3px;font-size:10px}.workspace-page-header h2,.sheet-page-header h2{color:var(--erp-navy);font-size:19px;font-weight:800}.workspace-page-header p,.sheet-page-header p{color:var(--erp-muted);margin-top:4px;font-size:12px}.content-grid,.dashboard-grid{gap:12px;padding:12px 20px 24px}.dashboard-grid{align-items:start}.panel{border-color:var(--erp-border);box-shadow:none;background:var(--erp-surface);border-radius:4px}.panel>header{border-bottom-color:var(--erp-border);background:#fbfcfd;flex-direction:column;justify-content:center;min-height:54px;padding:10px 14px;display:flex}.panel h2{color:var(--erp-navy);font-size:14px;font-weight:800}.panel p{color:var(--erp-muted);margin-top:3px;font-size:12px;line-height:1.45}.panel-body{gap:12px;padding:14px}.boss-summary,.boss-summary.compact,.project-finance-summary{border:1px solid var(--erp-border);background:var(--erp-surface);border-radius:4px;gap:0;overflow:hidden}.boss-summary div{border:0;border-right:1px solid var(--erp-border);border-bottom:1px solid var(--erp-border);background:var(--erp-surface);border-radius:0;min-height:68px;padding:9px 11px}.boss-summary div:last-child{border-right:0}.boss-summary span{color:var(--erp-muted);font-size:11px;font-weight:700}.boss-summary b{color:var(--erp-navy);font-variant-numeric:tabular-nums;margin-top:7px;font-size:18px}.boss-summary small{color:var(--erp-muted);margin-top:3px;font-size:10px}.metrics{border:1px solid var(--erp-border);background:var(--erp-surface);border-radius:4px;gap:0;padding:12px 20px 0}.metric{border:0;border-right:1px solid var(--erp-border);background:0 0;border-radius:0;min-height:82px;padding:11px}.metric strong{color:var(--erp-navy);margin-top:7px;font-size:19px}.form{gap:9px}.field{gap:4px}.field span,.filters span,.table-toolbar,.form-hint{color:var(--erp-muted);font-size:11px;font-weight:700}.field input,.field select,.filters input,.filters select,.table-input,.table-select,.picker-trigger{border-color:var(--erp-border-strong);min-height:34px;box-shadow:none;border-radius:3px;font-size:13px}.field input:focus,.field select:focus,.filters input:focus,.filters select:focus,.table-input:focus,.table-select:focus{border-color:var(--erp-blue);box-shadow:0 0 0 2px #186fa224}button.submit,button.ghost-button,button.ghost-danger,button.icon-button,.inline-editor button{min-height:32px;box-shadow:none;border-radius:3px;font-size:12px;font-weight:750}button.submit{background:#1d668e;border-color:#1c5e84}button.submit:hover{background:#164f70}button.ghost-button{border-color:var(--erp-border-strong);color:#36536a;background:#fff}button.ghost-button:hover{background:var(--erp-blue-soft);color:#145a82;border-color:#80a8c0}.project-tabs,.sheet-tabs{background:0 0;border:0;border-radius:0;gap:0;padding:0}.project-tabs button,.sheet-tabs button{border:1px solid var(--erp-border);color:#5c6b7a;min-height:34px;box-shadow:none;background:#fff;border-radius:0;padding:0 10px;font-size:12px}.project-tabs button:first-child,.sheet-tabs button:first-child{border-radius:3px 0 0 3px}.project-tabs button:last-child,.sheet-tabs button:last-child{border-radius:0 3px 3px 0}.project-tabs button+button,.sheet-tabs button+button{margin-left:-1px}.project-tabs button.active,.sheet-tabs button.active{z-index:1;background:var(--erp-blue-soft);color:#145a82;box-shadow:none;border-color:#72a8c5}.company-payment-workspace{align-items:start}.payment-workspace-tabs{border:1px solid var(--erp-border);background:#fff;border-radius:4px;gap:0;width:fit-content;display:flex}.payment-workspace-tabs button{border:0;border-right:1px solid var(--erp-border);color:#526171;background:#fff;border-radius:0;min-height:36px;padding:0 14px;font-size:12px;font-weight:800;position:relative}.payment-workspace-tabs button:last-child{border-right:0}.payment-workspace-tabs button.active{z-index:1;background:var(--erp-blue-soft);color:#145a82;border:1px solid #3e8ab1;border-radius:3px;margin:-1px}.payment-workspace-tabs button span{color:#145a82;background:#dcecf4;border-radius:9px;place-items:center;min-width:17px;height:17px;margin-left:6px;font-size:10px;display:inline-grid}.payment-filter-toolbar{border-bottom:1px solid var(--erp-border);align-items:end;padding:8px 0 2px}.payment-form-heading{border-bottom:1px solid var(--erp-border);align-items:baseline;gap:10px;min-height:30px;padding:8px 0 5px;display:flex}.payment-form-heading b{color:var(--erp-navy);font-size:13px}.payment-form-heading span,.legacy-payables header span{color:var(--erp-muted);font-size:11px}.allocation-sheet{border:1px solid var(--erp-border);background:#fbfcfd;border-radius:4px;padding:10px}.allocation-sheet .table-wrap{border-radius:3px}.payment-status-badge{color:#26713d;white-space:nowrap;background:#eef8f0;border:1px solid #c2d7c7;border-radius:10px;align-items:center;min-height:20px;padding:0 7px;font-size:11px;font-weight:800;display:inline-flex}.payment-status-badge.legacy,.payment-status-badge.warning{color:#8a6100;background:#fff8e8;border-color:#e4c999}.payment-status-badge.paid{color:#145a82;background:#edf7fb;border-color:#b9d8e6}.money-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;display:block}.legacy-payables{border-top:1px solid var(--erp-border);gap:8px;margin-top:14px;padding-top:12px;display:grid}.legacy-payables header b{color:var(--erp-navy);font-size:12px;display:block}.payment-drawer-backdrop{z-index:70;background:#0f172a52;position:fixed;inset:0}.payment-drawer{border-left:1px solid var(--erp-border-strong);background:#fff;align-content:start;gap:14px;width:min(620px,100vw);height:100%;padding:20px;display:grid;position:absolute;top:0;right:0;overflow-y:auto;box-shadow:-16px 0 34px #0f172a29}.payment-drawer>header{border-bottom:1px solid var(--erp-border);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;display:flex}.payment-drawer header span{color:var(--erp-blue);font-size:11px;font-weight:800}.payment-drawer h2{color:var(--erp-navy);margin:4px 0 0;font-size:18px}.payment-drawer p{color:var(--erp-muted);margin:6px 0 0;font-size:12px;line-height:1.5}.project-billing-tabs{width:fit-content;margin:10px 0 -2px}.project-billing-tabs+.billing-flow-intro .billing-flow-tabs{display:none}.project-daily-sheet,.project-inventory-workspace{gap:12px;display:grid}.workspace-command-row{border-bottom:1px solid var(--erp-border);justify-content:space-between;align-items:center;gap:12px;min-height:36px;padding:8px 0;display:flex}.workspace-command-row>div{align-items:center;gap:8px;display:flex}.workspace-command-row h3,.workspace-command-row p{margin:0}.workspace-command-row h3{color:var(--erp-navy);font-size:13px}.workspace-command-row p{color:var(--erp-muted);font-size:11px}.project-receipt-drawer{width:min(900px,100vw)}.project-receipt-drawer .table-wrap{max-height:42vh;overflow:auto}.project-workspace .manual-quote-item .form.two-col{scrollbar-gutter:stable;align-items:end;padding:8px 2px 12px;overflow-x:auto;grid-template-columns:minmax(220px,1.7fr) 84px 96px 132px 120px 120px 120px 140px minmax(180px,1.2fr) minmax(150px,auto)!important}.project-workspace .manual-quote-item .form.two-col>.field,.project-workspace .manual-quote-item .form.two-col>.check-field{min-width:0}.project-workspace .manual-quote-item .form.two-col>.labor-subitem-setup,.project-workspace .manual-quote-item .form.two-col>.manual-cost-total{grid-column:1/-1}.project-workspace .manual-quote-item .form.two-col>.submit{align-self:end;min-width:156px}.project-workspace .quote-line-list{border:1px solid var(--erp-border);scrollbar-gutter:stable;background:#fff;border-radius:4px;gap:0;display:grid;overflow-x:auto}.project-workspace .quote-line-card:not(.quote-line-readonly){border:0;border-bottom:1px solid var(--erp-border);border-radius:0;grid-template-columns:minmax(190px,1.5fr) 130px 94px 112px 112px 112px 112px 112px 128px 128px 128px minmax(170px,1.2fr) 148px;gap:0;min-width:1700px;padding:0;display:grid}.project-workspace .quote-line-card:not(.quote-line-readonly):last-child{border-bottom:0}.project-workspace .quote-line-card:not(.quote-line-readonly)>header,.project-workspace .quote-line-card:not(.quote-line-readonly)>.quote-line-cost-grid,.project-workspace .quote-line-card:not(.quote-line-readonly)>.quote-line-sales-grid{display:contents}.project-workspace .quote-line-card:not(.quote-line-readonly)>header>div,.project-workspace .quote-line-card:not(.quote-line-readonly) .quote-card-field,.project-workspace .quote-line-card:not(.quote-line-readonly) .quote-line-actions{border-right:1px solid var(--erp-border);align-content:center;gap:5px;min-height:70px;padding:8px 10px;display:grid}.project-workspace .quote-line-card:not(.quote-line-readonly)>header>div>b{font-size:12px}.project-workspace .quote-line-card:not(.quote-line-readonly) .quote-line-actions{z-index:2;border-left:1px solid var(--erp-border);background:#fff;grid-template-columns:1fr 1fr;align-items:center;position:sticky;right:0}.project-workspace .quote-line-card:not(.quote-line-readonly) .quote-line-actions .ghost-button,.project-workspace .quote-line-card:not(.quote-line-readonly) .quote-line-actions .ghost-danger{min-height:30px;padding:0 7px}.project-workspace .panel-body>form.form.two-col.compact-form,.project-workspace .quote-workbench .workbench-document>form.form.two-col,.project-workspace .payment-drawer>form.form.two-col{scrollbar-gutter:stable;align-items:end;width:100%;max-width:100%;padding:8px 2px 12px;overflow-x:auto;grid-template-columns:repeat(6,minmax(150px,1fr))!important}.project-workspace .panel-body>form.form.two-col.compact-form>.full-span,.project-workspace .quote-workbench .workbench-document>form.form.two-col>.full-span,.project-workspace .payment-drawer>form.form.two-col>.full-span{grid-column:1/-1}.project-workspace .panel-body>form.form.two-col.compact-form>.inline-actions,.project-workspace .quote-workbench .workbench-document>form.form.two-col>.inline-actions,.project-workspace .payment-drawer>form.form.two-col>.inline-actions{align-self:end;min-width:max-content}.project-workspace .quote-line-list,.project-workspace .manual-quote-item .form.two-col,.project-workspace .panel-body>form.form.two-col.compact-form,.project-workspace .quote-workbench .workbench-document>form.form.two-col,.project-workspace .payment-drawer>form.form.two-col{box-shadow:inset -16px 0 12px -16px #1d668ee6}.project-workspace .form.two-col{overscroll-behavior-inline:contain;scrollbar-width:auto;scrollbar-color:#6b9fba #eaf2f6;width:100%;max-width:100%;overflow-y:hidden;grid-template-columns:repeat(6,minmax(160px,1fr))!important;overflow-x:scroll!important}.project-workspace .manual-quote-item .form.two-col{grid-template-columns:minmax(220px,1.7fr) 84px 96px 132px 120px 120px 120px 140px minmax(180px,1.2fr) minmax(150px,auto)!important}.project-workspace .form.two-col::-webkit-scrollbar{height:12px}.project-workspace .quote-line-list::-webkit-scrollbar{height:12px}.project-workspace .form.two-col::-webkit-scrollbar-track{border-top:1px solid var(--erp-border);background:#eaf2f6}.project-workspace .quote-line-list::-webkit-scrollbar-track{border-top:1px solid var(--erp-border);background:#eaf2f6}.project-workspace .form.two-col::-webkit-scrollbar-thumb{background:#6b9fba;border:3px solid #eaf2f6;border-radius:8px;min-width:48px}.project-workspace .quote-line-list::-webkit-scrollbar-thumb{background:#6b9fba;border:3px solid #eaf2f6;border-radius:8px;min-width:48px}.project-workspace .form.two-col::-webkit-scrollbar-thumb:hover{background:#397a9d}.project-workspace .quote-line-list::-webkit-scrollbar-thumb:hover{background:#397a9d}.erp-sheet-shell{gap:6px;min-width:0;display:grid}.erp-sheet-controls{color:var(--erp-muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:700;display:flex}.erp-sheet-controls>div{gap:5px;display:inline-flex}.erp-sheet-controls button{min-height:28px;padding:0 8px;font-size:11px}.erp-sheet-scroll{overscroll-behavior-inline:contain;border:1px solid var(--erp-border);scrollbar-width:auto;scrollbar-color:#397a9d #eaf2f6;background:#fff;border-radius:3px;width:100%;max-width:100%;overflow:auto hidden}.erp-sheet-scroll:focus{outline-offset:1px;outline:2px solid #5f9fbe}.erp-sheet-scroll::-webkit-scrollbar{height:14px}.erp-sheet-scroll::-webkit-scrollbar-track{background:#eaf2f6}.erp-sheet-scroll::-webkit-scrollbar-thumb{background:#397a9d;border:3px solid #eaf2f6;border-radius:8px}.erp-sheet-scrollbar{cursor:ew-resize;accent-color:#397a9d;width:100%;height:18px;margin:0}.erp-sheet-scrollbar:disabled{cursor:default;opacity:.35}.erp-sheet-scrollbar::-webkit-slider-runnable-track{background:#dceaf1;border-radius:6px;height:7px}.erp-sheet-scrollbar::-webkit-slider-thumb{cursor:ew-resize;appearance:none;background:#5e9fbd;border:1px solid #2d7398;border-radius:8px;width:44px;height:16px;margin-top:-4px}.manual-quote-sheet-row{min-width:1,420px;grid-template-columns:minmax(220px,1.7fr) 84px 96px 132px 120px 120px 120px 140px minmax(180px,1.2fr) 132px;gap:0;display:grid}.manual-quote-sheet-row>.field,.manual-quote-sheet-row>.check-field{border-right:1px solid var(--erp-border);align-content:center;min-height:76px;padding:8px 10px}.manual-quote-sheet-row>.check-field{white-space:nowrap}.manual-quote-sheet-form{gap:10px;display:grid}.manual-quote-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.manual-quote-footer .manual-cost-total{min-width:330px;margin:0}.labor-subitem-sheet{grid-template-columns:minmax(230px,.8fr) minmax(360px,1.2fr) auto;align-items:end;gap:10px;display:grid}@media (width<=1180px){.project-workspace .manual-quote-item .form.two-col{grid-template-columns:minmax(220px,1.7fr) 84px 96px 132px 120px 120px 120px 140px minmax(180px,1.2fr) minmax(150px,auto)!important}}.drawer-summary{border:1px solid var(--erp-border);background:#f8fafc;border-radius:4px;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:8px 12px;padding:10px 12px;display:grid}.drawer-summary span{color:var(--erp-muted);font-size:11px;font-weight:700}.drawer-summary b{color:var(--erp-navy);text-align:right;font-variant-numeric:tabular-nums}.table-wrap{border:1px solid var(--erp-border);background:#fff;border-radius:3px}.table-wrap table{font-size:12px}.table-wrap th{border-bottom:1px solid var(--erp-border-strong);color:#526171;letter-spacing:.01em;background:#f1f3f5;height:34px;padding:7px 10px;font-size:11px;font-weight:800}.table-wrap td{color:#2e3a48;vertical-align:middle;border-bottom-color:#e5e8ec;min-height:38px;padding:7px 10px}.table-wrap tbody tr:hover td{background:#f7fafc}.table-toolbar,.pagination{min-height:34px;padding:7px 0;font-size:11px}.read-cell{color:#263849;background:0 0;border-color:#0000;border-radius:2px;min-height:28px;font-size:12px}.read-cell:hover{background:var(--erp-blue-soft);border-color:#b9d1df}.empty-state,.empty-work{border-color:var(--erp-border);background:var(--erp-subtle);color:var(--erp-muted);border-radius:3px;font-size:12px}.guide-module-card,.workflow-action,.document-list button,.project-switch-card,.quote-line-card,.billing-source-card,.billing-line-card{box-shadow:none;border-radius:4px}@media (width<=1100px){.shell{grid-template-columns:208px minmax(0,1fr)}.command-context{min-width:108px}.command-toolbar{gap:8px;padding:0 14px}.command-connection{display:none}}@media (width<=860px){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--erp-border);min-height:auto;max-height:210px;overflow:auto}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;display:grid}.nav-group+.nav-group{border-top:0}.command-toolbar{flex-wrap:wrap;align-items:stretch;min-height:auto;padding:8px 14px 0}.command-context{display:none}.workspace-tabs{width:100%;min-height:34px}.workspace-tabs button{min-height:34px}.topbar{flex-wrap:wrap;padding:10px 14px;position:static}.topbar>div:first-child{width:100%}.content-grid,.dashboard-grid{padding:10px 14px 20px}.workspace-page-header,.sheet-page-header{padding:14px}}@media (width<=640px){.nav-list{grid-template-columns:1fr}.boss-summary,.boss-summary.compact,.project-finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.boss-summary div{border-right:1px solid var(--erp-border)}.topbar .tenant-control{display:none}}
