:root{--bg:#f6f8fb;--panel:#ffffff;--panel-soft:#f9fbff;--text:#111827;--muted:#64748b;--line:#e2e8f0;--blue:#2463eb;--blue-dark:#1d4ed8;--green:#15803d;--green-soft:#dcfce7;--red:#b91c1c;--red-soft:#fee2e2;--shadow:0 18px 45px rgba(15,23,42,0.08)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;width:100%;overflow-x:hidden;display:grid;grid-template-columns:176px minmax(0,1fr)}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;background:rgba(255,255,255,.92);border-right:1px solid var(--line);padding:20px 12px;display:flex;flex-direction:column;align-items:center;gap:22px}.sidebar-header{width:100%;display:flex;justify-content:center}.brand-mark{width:144px;min-height:52px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;grid-gap:10px;gap:10px;color:var(--text)}.brand-symbol{width:42px;height:42px;border-radius:8px;background:var(--blue);color:white;display:grid;place-items:center;font-size:20px;font-weight:700;box-shadow:0 12px 24px rgba(36,99,235,.24)}.brand-symbol,.brand-wordmark{font-family:Cambria,Georgia,Times New Roman,serif}.brand-wordmark{display:grid;grid-gap:1px;gap:1px;line-height:1}.brand-wordmark strong{color:#1e3a8a;font-size:19px;font-weight:700}.brand-wordmark span{color:#334155;font-size:16px}.mobile-menu-button{display:none}.nav-list{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px}.nav-button{width:144px;min-height:78px;border:0;border-radius:8px;background:transparent;color:#475569;display:grid;grid-gap:7px;gap:7px;place-items:center;padding:10px 6px}.nav-button span{font-size:13px}.nav-button.active{color:var(--blue);background:#edf4ff}.main{min-width:0;max-width:100%;overflow-x:hidden;padding:24px 28px 48px}.topbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,420px) auto;grid-gap:20px;gap:20px;align-items:center;margin-bottom:20px}.crumb{color:var(--muted);font-size:14px;display:flex;align-items:baseline;gap:8px;min-width:0}.crumb strong{color:var(--text);font-size:18px}.crumb strong:before{content:"/";color:#94a3b8;font-weight:500;margin-right:8px}.search-box{position:relative}.search-box svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8}.search-box input{width:100%;height:46px;border:1px solid var(--line);border-radius:8px;padding:0 14px 0 46px;background:white;color:var(--text);outline:none}.search-box input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,99,235,.12)}.session-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:var(--muted);font-size:13px;min-width:132px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(100%,390px);background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:28px;display:grid;grid-gap:18px;gap:18px}.auth-panel .brand-mark{width:166px}.auth-heading{display:flex;align-items:center;gap:10px;color:var(--blue)}.auth-heading h1{margin:0;color:var(--text);font-size:22px}.auth-panel label{display:grid;grid-gap:7px;gap:7px;color:var(--muted);font-size:13px}.auth-panel input{width:100%;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;color:var(--text);outline:none}.auth-panel input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,99,235,.12)}.auth-error{border:1px solid var(--red-soft);border-radius:8px;background:#fff7f7;color:var(--red);padding:10px 12px;font-size:13px}.loading-panel{justify-items:start}.loading-panel p{margin:0;color:var(--muted)}.content-card,.form-card,.hero-card{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.hero-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.65fr) minmax(220px,.48fr);grid-gap:28px;gap:28px;padding:40px;margin-bottom:28px}.mark-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(340px,1.1fr);grid-gap:28px;gap:28px;align-items:stretch;margin-bottom:22px}.mark-hero-copy{padding:18px 0}.eyebrow{margin:0 0 10px;color:var(--blue);font-size:13px;font-weight:800;text-transform:uppercase}.mark-hero h1{margin:0;font-size:38px;line-height:1.1}.mark-hero p{color:var(--muted);font-size:17px;line-height:1.55;max-width:620px}.quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.action-tile{min-height:190px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text);padding:24px;display:grid;align-content:center;justify-items:start;grid-gap:12px;gap:12px;text-align:left;box-shadow:var(--shadow)}.action-tile.primary{border-color:var(--blue);background:var(--blue);color:white}.action-tile span{font-size:26px;font-weight:800}.action-tile small{color:inherit;font-size:15px;line-height:1.45;opacity:.82}.find-panel{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:24px;margin-bottom:20px}.find-panel .card-head p{margin:6px 0 0;color:var(--muted)}.search-box.large{margin-bottom:18px}.search-box.large input{height:58px;font-size:17px}.home-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.customer-head{display:grid;grid-template-columns:96px minmax(0,1fr);grid-gap:28px;gap:28px}.avatar{width:96px;height:96px;display:grid;place-items:center;border-radius:50%;background:#e8efff;color:var(--blue);font-size:30px;font-weight:700}.customer-title h1,.page-title h1{margin:0;font-size:28px;line-height:1.2}.status{display:inline-flex;align-items:center;height:28px;margin-top:14px;padding:0 12px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:700}.detail-list{margin-top:28px;display:grid;grid-gap:14px;gap:14px;color:#334155}.detail-row{display:grid;grid-template-columns:22px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:start}.detail-row svg{color:#7c8798}.metrics{border-left:1px solid var(--line);border-right:1px solid var(--line);padding:0 30px;display:grid;align-content:center;grid-gap:28px;gap:28px}.metric label{display:block;color:var(--muted);margin-bottom:8px;font-size:14px}.metric strong{font-size:20px}.metric .blue{color:var(--blue)}.actions{display:grid;align-content:start;grid-gap:16px;gap:16px}.actions h2{margin:0 0 12px;font-size:18px}.btn{min-height:44px;border-radius:8px;border:1px solid var(--line);background:white;color:var(--text);padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-weight:700;box-sizing:border-box}.btn.primary{border-color:var(--blue);background:var(--blue);color:white}.btn.primary:hover{background:var(--blue-dark)}.btn.danger{border-color:#fecaca;color:var(--red);background:var(--red-soft)}.btn.ghost{background:transparent}.btn:disabled{border-color:#cbd5e1;background:#e5e7eb;color:#64748b;cursor:not-allowed;opacity:1}.btn.compact{min-height:34px;padding:0 9px;gap:6px;font-size:13px}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow-x:auto}.tab{border:0;background:transparent;color:#334155;padding:16px 0;border-bottom:2px solid transparent;white-space:nowrap}.tab.active{color:var(--blue);border-color:var(--blue);font-weight:700}.grid-two{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-gap:20px;gap:20px}.content-card{padding:24px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.card-head h2{margin:0;font-size:18px}.table-wrap{overflow-x:auto}.ledger-panel,.table-wrap{width:100%;max-width:100%;min-width:0}.ledger-panel{overflow:visible;padding:20px}.ledger-wrap{min-width:0;border:1px solid var(--line);border-radius:8px;background:white;overflow-x:auto;overscroll-behavior-x:contain}.ledger-table{min-width:1580px;table-layout:fixed}.ledger-table td,.ledger-table th{white-space:nowrap;padding:9px 6px;border-right:1px solid #d9e2ee;font-size:13px}.ledger-table th{position:-webkit-sticky;position:sticky;top:0;z-index:3;height:44px;background:#f8fafc;box-shadow:inset 0 -1px 0 #cbd5e1;line-height:1.12;white-space:normal;text-align:center;vertical-align:bottom}.ledger-table td:last-child,.ledger-table th:last-child{border-right:0}.ledger-table td:nth-child(5),.ledger-table th:nth-child(5){white-space:normal}.ledger-table td:first-child,.ledger-table th:first-child{width:62px}.ledger-table td:nth-child(2),.ledger-table th:nth-child(2){width:150px}.ledger-table td:nth-child(3),.ledger-table th:nth-child(3){width:54px;text-align:right}.ledger-table td:nth-child(4),.ledger-table th:nth-child(4){width:126px;white-space:normal}.ledger-table td:nth-child(5),.ledger-table th:nth-child(5){width:142px}.ledger-table td:nth-child(12),.ledger-table td:nth-child(15),.ledger-table td:nth-child(6),.ledger-table td:nth-child(7),.ledger-table td:nth-child(8),.ledger-table td:nth-child(9),.ledger-table th:nth-child(12),.ledger-table th:nth-child(15),.ledger-table th:nth-child(6),.ledger-table th:nth-child(7),.ledger-table th:nth-child(8),.ledger-table th:nth-child(9){width:86px}.ledger-table td:nth-child(10),.ledger-table td:nth-child(11),.ledger-table th:nth-child(10),.ledger-table th:nth-child(11){width:74px}.ledger-table td:nth-child(13),.ledger-table td:nth-child(14),.ledger-table th:nth-child(13),.ledger-table th:nth-child(14){width:84px}.ledger-table td:nth-child(16),.ledger-table th:nth-child(16){width:62px}.ledger-table td:nth-child(17),.ledger-table th:nth-child(17){width:68px}.ledger-table td:nth-child(19),.ledger-table th:nth-child(19){width:132px}.ledger-table td:nth-child(20),.ledger-table td:nth-child(21),.ledger-table th:nth-child(20),.ledger-table th:nth-child(21){width:76px}.ledger-table td:nth-child(12),.ledger-table td:nth-child(9),.ledger-table th:nth-child(12),.ledger-table th:nth-child(9){font-weight:800}.ledger-cell-clamp{display:-webkit-box;max-height:2.3em;overflow:hidden;font-size:12px;line-height:1.15;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ledger-row-complete td{background:#70ad47}.ledger-row-delivered td{background:#ee82ee}.ledger-row-invoiced td{background:#ffc000}.ledger-row-in-shop td{background:#a6a6a6}.ledger-row-in-warehouse td{background:#bf9000}.ledger-row-ordered td{background:#8ea9db}.ledger-row-open td,.ledger-row-waiting td{background:#ddebf7}.ledger-row-donated td{background:#9966ff}.ledger-row-prepaid td{background:#c00000}.ledger-row-balance-prepayment td{background:#ff0000}.ledger-row-in-kind td{background:#0070c0}.ledger-row-void td{background:#3b3838;color:white}.ledger-action{text-align:center;width:76px}.ledger-total-label{text-align:left}.ledger-design-actions{display:flex;justify-content:center;gap:4px}.ledger-design-actions .btn.compact{min-width:50px}.ledger-status{min-width:136px;width:136px}.ledger-status-select{outline:none}.ledger-money-field,.ledger-status-select{width:100%;min-height:34px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:var(--text);padding:6px 8px}.ledger-money-field{max-width:78px;display:inline-grid;grid-template-columns:12px minmax(0,1fr);align-items:center;gap:2px}.ledger-money-field span{color:#64748b;font-size:12px;font-weight:800;line-height:1}.ledger-money-input{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font:inherit;outline:none;padding:0;text-align:right}.ledger-status-select{min-width:124px;padding:6px 24px 6px 8px;font-size:12px;font-weight:800}.ledger-status-select option{padding:8px 16px 8px 10px}.ledger-status-option-complete,.ledger-status-select-complete{background:#70ad47;color:#000}.ledger-status-option-delivered,.ledger-status-select-delivered{background:#ee82ee;color:#000}.ledger-status-option-invoiced,.ledger-status-select-invoiced{background:#ffc000;color:#000}.ledger-status-option-in-shop,.ledger-status-select-in-shop{background:#a6a6a6;color:#000}.ledger-status-option-in-warehouse,.ledger-status-select-in-warehouse{background:#bf9000;color:#000}.ledger-status-option-ordered,.ledger-status-select-ordered{background:#8ea9db;color:#000}.ledger-status-option-waiting,.ledger-status-select-waiting{background:#ddebf7;color:#000}.ledger-status-option-donated,.ledger-status-select-donated{background:#9966ff;color:#000}.ledger-status-option-prepaid,.ledger-status-select-prepaid{background:#c00000;color:#000}.ledger-status-option-balance-prepayment,.ledger-status-select-balance-prepayment{background:#ff0000;color:#000}.ledger-status-option-in-kind,.ledger-status-select-in-kind{background:#0070c0;color:#000}.ledger-status-option-void,.ledger-status-select-void{background:#3b3838;color:#fff}.ledger-money-field:focus-within,.ledger-status-select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,99,235,.12)}.ledger-total-row td{position:-webkit-sticky;position:sticky;bottom:0;background:#f8fafc;border-top:2px solid #cbd5e1;font-weight:800}.year-total-row-with-in-kind td{bottom:39px}.in-kind-total-row td{bottom:0;background:#f8fafc;color:var(--text)}.ledger-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin:-4px 0 14px;color:#1f2937;font-size:12px;font-weight:700}.ledger-legend span{display:inline-flex;align-items:center;gap:6px;min-height:24px}.legend-swatch{width:34px;height:16px;flex:0 0 auto;border:1px solid rgba(15,23,42,.28);border-radius:3px;background:white}.legend-swatch-complete{background:#70ad47}.legend-swatch-delivered{background:#ee82ee}.legend-swatch-invoiced{background:#ffc000}.legend-swatch-in-shop{background:#a6a6a6}.legend-swatch-in-warehouse{background:#bf9000}.legend-swatch-ordered{background:#8ea9db}.legend-swatch-waiting{background:#ddebf7}.legend-swatch-donated{background:#9966ff}.legend-swatch-prepaid{background:#c00000}.legend-swatch-balance-prepayment{background:#ff0000}.legend-swatch-in-kind{background:#0070c0}.legend-swatch-void{background:#3b3838}.empty-state.compact{padding:24px}table{width:100%;border-collapse:collapse}td,th{border-bottom:1px solid var(--line);padding:14px 10px;text-align:left;vertical-align:middle;font-size:14px}th{color:var(--muted);font-weight:600}.doc-type{display:inline-flex;align-items:center;gap:9px;font-weight:700}.icon-chip{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:8px;background:#eef4ff;color:var(--blue)}.icon-chip.green{background:#eaf8ef;color:var(--green)}.pill{display:inline-flex;min-height:28px;align-items:center;padding:0 10px;border-radius:8px;background:#e9f9ef;color:var(--green);font-size:13px;font-weight:700}.pill.warn{background:#fff7ed;color:#c2410c}.pill.red{background:var(--red-soft);color:var(--red)}.pill.muted{background:#e2e8f0;color:#475569}.info-list{display:grid;grid-gap:22px;gap:22px}.info-row{display:flex;justify-content:space-between;gap:18px}.info-row span{color:var(--muted)}.info-row strong{text-align:right}.page-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.page-title p{margin:8px 0 0;color:var(--muted)}.import-preview-actions,.page-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.file-input-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.import-error,.import-preview{border-radius:8px;margin-bottom:16px;padding:14px 16px}.import-preview{border:1px solid #bfdbfe;background:#eff6ff;display:flex;justify-content:space-between;gap:16px;align-items:center}.import-preview div:first-child{display:grid;grid-gap:4px;gap:4px}.import-preview span{color:#334155;line-height:1.45}.import-error{border:1px solid #fecaca;background:var(--red-soft);color:var(--red);font-weight:700}.filters{display:grid;grid-template-columns:1fr 160px 160px 160px;grid-gap:12px;gap:12px;margin-bottom:18px}.field,.field-inline{display:grid;grid-gap:7px;gap:7px}.field label,.field-inline label{color:#475569;font-size:13px;font-weight:700}.field input,.field select,.field textarea,.field-inline input,.field-inline select{min-height:42px;width:100%;border:1px solid var(--line);border-radius:8px;padding:9px 11px;outline:none;background:white}.field textarea{min-height:92px;resize:vertical}.form-card{padding:24px}.form-section{padding:22px 0;border-bottom:1px solid var(--line)}.form-section:first-child{padding-top:0}.form-section h2{margin:0 0 16px;font-size:18px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.items-desktop{display:block}.items-mobile{display:none}.item-grid{min-width:1080px;display:grid;grid-template-columns:92px 1.1fr 1fr repeat(7,68px) 1.2fr 90px 48px;grid-gap:8px;gap:8px;align-items:end;padding:10px 0}.item-grid.header{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase}.item-card{border:1px solid var(--line);border-radius:8px;padding:14px;display:grid;grid-gap:12px;gap:12px;background:var(--panel-soft)}.item-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.size-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px}.choice-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.choice-button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text);padding:0 16px;font-weight:800}.choice-button.active{border-color:var(--blue);background:#edf4ff;color:var(--blue)}.checkbox-row{display:inline-flex;align-items:center;gap:10px;margin-bottom:14px;color:#334155;font-weight:800}.checkbox-row input{width:18px;height:18px}.secondary-path{border:1px dashed #cbd5e1;border-radius:8px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.secondary-path div{display:grid;grid-gap:4px;gap:4px}.secondary-path span{color:var(--muted)}.invoice-picker-filter{grid-template-columns:minmax(220px,360px)}.empty-state{padding:38px;border:1px dashed #cbd5e1;border-radius:8px;text-align:center;color:var(--muted)}.print-page{background:white;color:#000;margin:0 auto;font-family:Arial,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-toolbar{display:flex;justify-content:center;gap:12px;padding:16px;background:#f1f5f9;border-bottom:1px solid #cbd5e1}.excel-print{border:0;box-shadow:none;font-size:16px;line-height:1.12;background-color:#fff}.work-order-print{width:10.95in;page:work-order}.invoice-print,.work-order-print{padding:8px;box-sizing:border-box}.invoice-print{width:7.85in;min-height:10.85in;page:invoice}.wo-top{display:grid;grid-template-columns:31% 32% 27%;justify-content:space-between;grid-gap:0;gap:0;align-items:start}.wo-company{height:90px;padding:6px 10px;border:2px solid #000;background:#fff;color:#000;display:grid;place-items:center}.wo-company strong{color:#000;font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:800;line-height:1;text-align:center;text-shadow:1px 1px 0 #777;text-transform:uppercase}.wo-company span{font-size:16px;text-transform:uppercase}.wo-title{height:90px;border:3px solid #000;background:#fff;display:grid;place-items:center;align-content:center;grid-gap:4px;gap:4px;text-align:center;padding:6px 8px;letter-spacing:0;font-weight:400;white-space:nowrap}.wo-title span{font-size:38px;line-height:1}.wo-title strong{font-size:22px;font-weight:400;line-height:1}.wo-header-images{width:100%;height:90px;justify-self:end;display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.wo-header-images img{width:100%;height:90px;object-fit:cover;display:block;filter:grayscale(1)}.wo-header-images img:first-child{transform:scaleX(-1)}.wo-meta-grid{display:grid;grid-template-columns:31% 32% 27%;justify-content:space-between;grid-gap:0;gap:0;margin-top:10px}.excel-box{border:2px solid #000;background:white}.excel-box-title{border-bottom:1px solid #000;text-align:center;min-height:23px;line-height:23px}.wo-address-box,.wo-ship-box{min-height:122px}.wo-address-box>div:not(.excel-box-title),.wo-ship-box>div:not(.excel-box-title){min-height:24px;border-bottom:1px solid #777;padding:2px 4px}.wo-ship-box .same-ship-to{display:grid;place-items:center;font-size:16px}.excel-row{min-height:24px;display:grid;align-items:center;border-bottom:1px solid #000}.excel-row.two{grid-template-columns:1fr 1fr}.excel-row.three{grid-template-columns:repeat(3,1fr)}.excel-row.four{grid-template-columns:repeat(4,1fr)}.excel-row.full{padding:2px 4px}.wo-order-box .excel-row.four,.wo-order-box .excel-row.full,.wo-order-box .wo-buyer-row{box-sizing:border-box;height:32px;min-height:32px}.wo-order-box .excel-row.four>span,.wo-order-box .excel-row.four>strong,.wo-order-box .wo-buyer-row>span,.wo-order-box .wo-buyer-row>strong{min-height:31px;display:grid;align-items:center}.wo-order-box .excel-row.full{display:grid;align-items:center;padding-left:4px}.excel-row>span,.excel-row>strong{min-height:24px;padding:2px 4px;border-right:1px solid #000;text-align:center;font-weight:400}.excel-row>.wo-terms-label{font-weight:800}.wo-buyer-row>span:first-child{text-align:left;padding-left:4px;border-right:0}.excel-row>:last-child{border-right:0}.excel-grid{width:100%;border-collapse:collapse;table-layout:fixed}.excel-grid td,.excel-grid th{border:1px solid #000;height:24px;padding:2px 4px;color:#000;font-size:16px;vertical-align:middle;overflow:hidden}.excel-grid th{background:#f7f7f7;font-weight:400}.wo-items-table{margin-top:8px;border:2px solid #000}.wo-items-table th{background:#d0d0d0;text-align:center;font-weight:700}.wo-items-table tbody tr:nth-child(2n) td{background:#eeeeee}.invoice-items-table tbody tr:nth-child(2n) td{background:#d9d9d9}.wo-items-table th:first-child{width:7.2%}.wo-items-table th:nth-child(2){width:7.6%}.wo-items-table th:nth-child(3){width:11.3%}.wo-items-table th:nth-child(n+4):nth-child(-n+10){width:4.4%}.wo-items-table th:nth-child(11){width:20.9%}.wo-items-table th:nth-child(12),.wo-items-table th:nth-child(13){width:7.4%}.wo-items-table th:nth-child(14){width:8.4%}.wo-items-table td:first-child,.wo-items-table td:nth-child(11),.wo-items-table td:nth-child(12),.wo-items-table td:nth-child(13),.wo-items-table td:nth-child(14),.wo-items-table td:nth-child(n+4):nth-child(-n+10){text-align:center}.wo-items-table td:nth-child(14){font-family:Arial,sans-serif;font-size:12px}.wo-items-table td,.wo-items-table th{height:24px;padding:1px 3px;font-size:12px}.wo-bottom{display:flex;gap:.48in;margin-top:8px;align-items:stretch;height:2.42in;break-inside:avoid;page-break-inside:avoid}.wo-design-box{flex:0 0 2.85in;height:2.42in;max-height:2.42in;min-height:0;display:grid;place-items:center;overflow:hidden;box-sizing:border-box}.wo-design-image{width:100%;height:100%;background-position:50%;background-repeat:no-repeat;background-size:contain}.wo-detail-box{flex:1 1 auto;min-height:0;padding:0}.wo-total-stack{flex:0 0 2.44in;display:flex;flex-direction:column;gap:8px}.wo-locations{display:block}.wo-location-label-row{display:grid;grid-template-columns:repeat(5,1fr);min-height:24px;border-bottom:1px solid #000}.wo-location-label-row span{display:grid;place-items:center;border-right:1px solid #000;font-size:14px;font-weight:800}.wo-location-label-row span:last-child{border-right:0}.excel-total-box{margin:0;display:grid;grid-template-rows:repeat(4,1fr);flex:0 0 1.62in}.excel-total-box div{display:grid;grid-template-columns:1fr 1.6fr;align-items:center;border-bottom:1px solid #000}.excel-total-box div:last-child{border-bottom:0}.excel-total-box span{padding-left:8px}.excel-total-box strong{height:100%;display:grid;place-items:center end;padding-right:8px;border-left:1px solid #000;font-size:22px;font-weight:400}.excel-total-box .grand{border-top:0}.excel-total-box .grand span,.excel-total-box .grand strong{font-weight:800}.wo-manual-notes-box{flex:1 1 auto}.invoice-header-grid{display:grid;grid-template-columns:36% 14% 17% 33%;grid-template-rows:150px 174px 15px;border:0;background:#fff;overflow:hidden;position:relative}.invoice-header-grid:before{content:"";position:absolute;top:150px;left:0;right:0;border-top:2px solid #000;pointer-events:none;z-index:2}.invoice-header-grid:after{content:"";position:absolute;inset:0;border:2px solid #000;box-sizing:border-box;pointer-events:none;z-index:3}.invoice-company{grid-column:1/3;grid-row:1;height:150px;border-right:1px solid #000;min-width:0}.invoice-company h2{margin:17px 0 8px;color:#0000cc;font-family:Georgia,Times New Roman,serif;font-size:38px;font-weight:800;text-align:center;line-height:1;white-space:nowrap;text-shadow:1px 1px 0 #777}.invoice-company p{margin:0;font-size:19px;font-weight:700;text-align:center;line-height:1.3}.invoice-image{grid-column:3;grid-row:1;width:100%;height:150px;object-fit:contain;display:block;padding:6px 7px;border-right:1px solid #000;background:#fff;box-sizing:border-box;min-width:0}.invoice-title-box{grid-column:4;grid-row:1;display:grid;grid-template-rows:1fr;min-width:0}.invoice-title-box h1{margin:0;padding:0;display:grid;place-items:center;font-family:Georgia,Times New Roman,serif;font-size:39px;line-height:1.2;font-weight:900;text-align:center;color:#000;text-shadow:1px 1px 0 #777}.invoice-detail-panel,.invoice-sold-details{grid-column:1/3;grid-row:2;display:grid;grid-template-rows:58px repeat(4,29px);min-width:0}.invoice-sold-details{grid-column:1/3;border-right:2px solid #000}.invoice-detail-panel{grid-column:3/5}.invoice-panel-title{display:grid;place-items:center;color:#0000cc;font-family:Georgia,Times New Roman,serif;font-size:27px;font-weight:800;border-bottom:2px solid #000;white-space:nowrap}.invoice-detail-panel .excel-row,.invoice-sold-details .excel-row{min-height:0;grid-template-columns:34% 66%;box-sizing:border-box;border-bottom:0}.invoice-detail-panel .excel-row+.excel-row,.invoice-sold-details .excel-row+.excel-row{border-top:1px solid #000}.invoice-detail-panel .excel-row>span,.invoice-detail-panel .excel-row>strong,.invoice-sold-details .excel-row>span,.invoice-sold-details .excel-row>strong{min-height:0;height:100%;display:grid;align-items:center;padding:0 6px;font-size:14px;line-height:1;min-width:0;overflow-wrap:anywhere}.invoice-detail-panel .excel-row>:first-child,.invoice-sold-details .excel-row>:first-child{background:#d9d9d9;border-right:1px solid #000;font-weight:500}.invoice-detail-panel .excel-row>:last-child,.invoice-sold-details .excel-row>:last-child{background:#d9d9d9}.invoice-detail-panel .excel-row:last-child,.invoice-sold-details .excel-row:last-child{border-bottom:0}.invoice-detail-panel .excel-row.invoice-number-row>span,.invoice-detail-panel .excel-row.invoice-number-row>strong{background:#fff;color:#000;font-family:inherit;font-size:18px;font-weight:800;justify-content:center}.invoice-detail-panel .invoice-number-row{border-bottom:2px solid #000}.invoice-detail-panel .invoice-number-row+.excel-row{border-top:0}.invoice-due-row>span,.invoice-due-row>strong{font-weight:800}.invoice-detail-spacer{grid-column:1/5;grid-row:3;border-top:2px solid #000;background:#fff;min-width:0}.invoice-items-table{margin-top:0;border:2px solid #000;border-top:0}.invoice-items-table thead th{background:#4472c4;border-top:0;color:white;font-size:13px;height:24px;padding:2px 5px}.invoice-items-table th:first-child{width:9%}.invoice-items-table th:nth-child(2){width:10.5%}.invoice-items-table th:nth-child(3){width:18%}.invoice-items-table th:nth-child(4){width:34.5%}.invoice-items-table th:nth-child(5){width:10.5%}.invoice-items-table th:nth-child(6){width:17.5%}.invoice-items-table td{font-size:13px;height:34px;padding:2px 5px}.invoice-items-table td:first-child,.invoice-items-table td:nth-child(5),.invoice-items-table td:nth-child(6){text-align:center}.invoice-total-band{height:17px;background:#4472c4;border-left:2px solid #1f4e79;border-right:2px solid #1f4e79;border-bottom:1px solid #1f4e79;box-sizing:border-box;margin-bottom:0}.invoice-bottom{display:grid;grid-template-columns:minmax(0,58%) 42%;grid-gap:0;gap:0;align-items:start;border:2px solid #000;border-top:0}.invoice-bottom-notes{height:1.25in;border:0;border-right:2px solid #000;background:#fff;box-sizing:border-box}.invoice-bottom-notes span{display:block;padding:5px 7px;font-size:13px;font-weight:700}.invoice-totals{height:1.25in;background:#fff;border-left:1px solid #000;border-right:0;box-sizing:border-box;display:flex;flex-direction:column}.invoice-totals div{display:grid;grid-template-columns:.8fr .6fr 1fr;min-height:28px;align-items:center;border-bottom:1px solid #000;margin-top:0}.invoice-totals div span:first-child{text-align:right;padding-right:4px;font-weight:800}.invoice-totals div span:first-child,.invoice-totals div span:nth-child(2){font-size:12px;border-right:1px solid #000;height:100%;display:grid;align-items:center}.invoice-totals div span:nth-child(2){text-align:center}.invoice-totals div span:nth-child(3){display:grid;grid-template-columns:.3fr .7fr;align-items:center;height:100%;text-align:center;font-size:12px}.invoice-totals .money-cell strong{text-align:right;padding-right:6px;font-weight:400;font-size:12px;line-height:1}.invoice-totals .amount-due{min-height:36px;border-top:1px solid #000;border-bottom:0}.invoice-totals .amount-due span{color:#0000cc;font-size:19px;white-space:nowrap}.invoice-totals .amount-due .money-cell{color:#000;font-size:20px;grid-template-columns:.22fr .78fr}.invoice-totals .amount-due .money-cell strong{color:#000;font-size:20px;font-weight:900;line-height:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:1040px){.app-shell{grid-template-columns:1fr;grid-template-rows:72px minmax(0,1fr)}.sidebar{position:-webkit-sticky;position:sticky;z-index:10;top:0;width:100%;height:72px;min-height:72px;max-height:72px;padding:10px 14px;align-items:stretch;gap:10px;overflow:visible}.sidebar-header{align-items:center;justify-content:space-between}.brand-mark{flex:0 0 auto}.mobile-menu-button{width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text);display:grid;place-items:center}.nav-list{display:none;position:absolute;top:72px;left:0;right:0;z-index:11;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;border-top:1px solid var(--line);background:#fff;box-shadow:0 18px 32px rgba(15,23,42,.12);padding:10px 14px 14px}.nav-list.open{display:grid}.nav-button{width:100%;min-height:52px;grid-template-columns:24px minmax(0,1fr);place-items:center stretch;justify-items:start;gap:10px;padding:10px 12px}.nav-button span{font-size:12px}.main{padding:16px}.filters,.grid-two,.hero-card,.home-metrics,.mark-hero,.quick-actions,.topbar{grid-template-columns:1fr}.hero-card{padding:24px}.crumb{flex-wrap:wrap}.metrics{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}.form-grid,.form-grid.two{grid-template-columns:1fr}}@media (max-width:720px){.customer-head{grid-template-columns:1fr;gap:16px}.avatar{width:72px;height:72px}.avatar,.customer-title h1,.page-title h1{font-size:24px}.items-desktop{display:none}.items-mobile{display:grid;grid-gap:12px;gap:12px}.size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-actions,.import-preview,.import-preview-actions,.page-actions,.page-title,.secondary-path{flex-direction:column;align-items:stretch}.form-actions .btn,.page-title .btn,.secondary-path .btn{width:100%}td,th{padding:12px 8px}}@media print{body{background:white}.app-shell,.main,.no-print,.sidebar{display:none!important}.print-only{display:block!important}.print-toolbar{display:none!important}.print-page{max-width:none}@page{size:letter;margin:.2in}@page work-order{size:letter landscape;margin:.2in}@page invoice{size:letter portrait;margin:.2in}}