: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:1fr;grid-template-rows:auto minmax(0,1fr)}.sidebar{position:-webkit-sticky;position:sticky;z-index:10;top:0;height:auto;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);padding:12px 28px;flex-direction:row;gap:20px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.sidebar,.sidebar-header{display:flex;align-items:center;justify-content:space-between}.sidebar-header{flex:0 0 auto}.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{display:flex;flex-direction:row;justify-content:flex-end;min-width:0;overflow-x:auto}.nav-button,.nav-list{width:auto;align-items:center;gap:8px}.nav-button{min-height:48px;border:0;border-radius:8px;background:transparent;color:#475569;display:inline-grid;grid-template-columns:23px auto;padding:0 12px;white-space:nowrap}.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}.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;min-width:132px}.session-actions,.sync-status{color:var(--muted);font-size:13px}.sync-status{white-space:nowrap}.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:flex-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}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text);display:inline-grid;place-items:center}.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{width:100%;max-width:100%;min-width:0;overflow-x:auto}.table-actions{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.doc-name-cell{display:grid;grid-gap:3px;gap:3px}.doc-name-cell small{color:var(--muted);font-size:12px}.ledger-panel{width:100%;max-width:100%;min-width:0;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}.cif-season-panel{display:grid;grid-gap:14px;gap:14px}.cif-season-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.cif-season-controls .field{width:150px;flex:0 0 auto}.cif-season-tabs{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.cif-event-ledger-table{min-width:1120px}.cif-event-ledger-table td,.cif-event-ledger-table th{padding:9px 8px;text-align:center;vertical-align:middle}.cif-event-ledger-table td:nth-child(2),.cif-event-ledger-table th:nth-child(2){width:180px;text-align:left;white-space:normal}.cif-event-ledger-table td:nth-child(12),.cif-event-ledger-table td:nth-child(3),.cif-event-ledger-table th:nth-child(12),.cif-event-ledger-table th:nth-child(3){width:112px}.cif-event-ledger-table td:nth-child(13),.cif-event-ledger-table th:nth-child(13){width:96px}.cif-details-view{border:0;background:transparent;box-shadow:none;padding:0;display:grid;grid-gap:14px;gap:14px}.cif-details-meta{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:14px}.cif-details-meta h2{margin:0 0 12px}.cif-details-meta .form-grid{gap:10px 12px}.cif-details-actions{display:flex;flex-wrap:wrap;gap:10px}.cif-item-card,.cif-item-list{display:grid;grid-gap:14px;gap:14px}.cif-item-card{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:16px}.cif-item-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}.cif-item-card-header>div{min-width:0}.cif-item-card-header h2{margin:0 0 4px;font-size:18px;overflow-wrap:anywhere}.cif-item-card-body{display:grid;grid-template-columns:minmax(300px,.42fr) minmax(0,1fr);align-items:stretch;grid-gap:16px;gap:16px}.cif-item-image-panel{min-width:0;display:flex;flex-direction:column;gap:10px}.cif-item-image{min-height:320px;flex:1 1 320px;border:1px dashed #cbd5e1;border-radius:8px;background-color:#f8fafc;background-position:50%;background-repeat:no-repeat;background-size:contain}.cif-item-image-actions,.cif-item-image-panel .ledger-design-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.cif-item-body,.cif-item-card-body,.cif-item-fields{min-width:0}.cif-item-fields{display:grid;align-content:start;grid-gap:12px;gap:12px}.cif-item-entry{display:grid;grid-template-columns:minmax(160px,.78fr) minmax(280px,1.22fr);grid-gap:14px;gap:14px;align-items:start}.cif-item-entry-single{grid-template-columns:minmax(160px,.78fr) minmax(220px,1fr)}.cif-item-entry-fields{min-width:0}.cif-item-fields .form-grid{grid-template-columns:1fr;gap:8px}.cif-item-total-labels{min-width:0}.cif-totals-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:1px;gap:1px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--line)}.cif-totals-strip span{min-width:0;display:grid;grid-gap:3px;gap:3px;align-content:center;min-height:58px;padding:8px;background:#f8fafc;color:#0f172a;font-size:13px;font-weight:800;text-align:center;overflow-wrap:anywhere;word-break:break-word}.cif-totals-strip strong{color:var(--muted);font-size:11px;text-transform:uppercase}.cif-totals-strip.compact span{min-height:48px;padding:7px 6px;font-size:12px}.cif-size-editor{display:grid;grid-gap:8px;gap:8px}.cif-size-editor-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.cif-size-editor-header h3{margin:0;font-size:15px}.cif-size-grid{display:grid;grid-template-columns:minmax(42px,.55fr) minmax(62px,1fr) minmax(62px,1fr) minmax(42px,.55fr) 30px;grid-gap:6px;gap:6px}.cif-size-grid>span{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.cif-size-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(42px,.55fr) minmax(62px,1fr) minmax(62px,1fr) minmax(42px,.55fr) 30px;grid-gap:6px;gap:6px;align-items:center}.cif-size-row strong,.cif-size-row>span{min-height:34px;display:grid;align-items:center}.cif-size-field,.cif-size-left{display:grid;align-items:center;grid-gap:3px;gap:3px}.cif-daily-sale-row .btn.compact.cif-icon-button,.cif-icon-button,.cif-size-row .btn.compact.cif-icon-button{width:30px;min-width:30px;height:30px;min-height:30px;padding:0;gap:0;font-size:0;overflow:hidden}.cif-icon-button svg{flex:0 0 auto}.cif-sport-row{cursor:pointer}.cif-sport-row.expanded td{border-bottom-color:#7f9fce}.cif-expanded-row>td{padding:0;background:#f8fafc}.cif-expanded-editor{display:grid;grid-gap:12px;gap:12px;padding:12px;border-left:4px solid #7f9fce}.cif-expanded-meta{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(150px,.8fr) auto;grid-gap:10px;gap:10px;align-items:end}.cif-expanded-meta>.btn{width:auto;min-width:140px;justify-self:end}.cif-subrow-scroll{overflow-x:auto}.cif-subrow-table{width:max-content;min-width:100%;border-collapse:collapse;font-size:12px}.cif-subrow-table td,.cif-subrow-table th{border:1px solid var(--line);padding:6px;text-align:center;vertical-align:middle;white-space:nowrap}.cif-subrow-table th{background:#eef4ff;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.cif-subrow-table td:nth-child(2),.cif-subrow-table th:nth-child(2){width:46px;min-width:46px;max-width:46px;padding:4px;text-align:center}.cif-sized-checkbox{width:16px;height:16px;margin:0 auto;display:block}.cif-subrow:nth-child(odd) td{background:#ffffff}.cif-subrow:nth-child(2n) td{background:#f4f7fb}.cif-subrow{cursor:-webkit-grab;cursor:grab}.cif-subrow:active{cursor:-webkit-grabbing;cursor:grabbing}.cif-drag-handle{color:var(--muted);vertical-align:middle}.cif-cell-input{width:92px;min-height:32px;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px;background:#ffffff;font:inherit;font-weight:700}.cif-cell-input.number{width:64px;text-align:right}.cif-single-editor,.cif-single-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.cif-daily-size-sales label,.cif-single-editor label{display:grid;grid-gap:6px;gap:6px;color:#475569;font-size:12px;font-weight:800}.cif-single-editor .ledger-number-input[readonly],.cif-single-editor input[readonly]{background:#f8fafc;color:#475569}.cif-daily-sales{border-top:1px solid var(--line);padding-top:10px}.cif-daily-sales summary{cursor:pointer;color:#334155;font-weight:800}.cif-daily-sales-body,.cif-daily-sales-list{display:grid;grid-gap:8px;gap:8px;padding-top:10px}.cif-daily-row,.cif-daily-sale-row{display:grid;grid-template-columns:minmax(128px,150px) minmax(0,1fr) 32px;grid-gap:8px;gap:8px;align-items:flex-end}.cif-daily-size-sales{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));grid-gap:6px;gap:6px}.cif-single-daily-sale{display:flex;align-items:center;gap:8px;color:#475569;font-size:12px;font-weight:800}.cif-single-daily-sale .ledger-number-input{width:78px}.compact-actions{display:flex;flex-wrap:wrap;gap:8px}.ledger-table{min-width:1430px;width:100%;table-layout:fixed}.cif-ledger-table{min-width:1260px}.ledger-table td,.ledger-table th{white-space:nowrap;padding:9px 6px;border-right:1px solid #d9e2ee;font-size:13px}.cif-ledger-table td,.cif-ledger-table th{font-size:14px}.cif-ledger-table thead th,.ledger-table th{vertical-align:bottom}.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}.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:54px}.ledger-table td:nth-child(2),.ledger-table th:nth-child(2){width:120px;white-space:normal}.ledger-table td:nth-child(3),.ledger-table th:nth-child(3){width:44px;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:58px}.ledger-table td:nth-child(16),.ledger-table th:nth-child(16){width:54px}.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}.cif-ledger-table td:first-child,.cif-ledger-table th:first-child{width:46px;text-align:center;vertical-align:middle}.cif-ledger-table td:nth-child(3),.cif-ledger-table th:nth-child(3){width:44px;text-align:center;vertical-align:middle}.cif-ledger-table td:nth-child(8),.cif-ledger-table th:nth-child(8){width:92px;text-align:center;vertical-align:middle}.cif-ledger-table td:nth-child(12),.cif-ledger-table th:nth-child(12){width:78px;text-align:center;vertical-align:middle}.cif-ledger-table td:nth-child(15),.cif-ledger-table th:nth-child(15){width:64px;text-align:center;vertical-align:middle}.cif-ledger-table td:nth-child(14),.cif-ledger-table th:nth-child(14){width:92px}.cif-ledger-table td:nth-child(16),.cif-ledger-table th:nth-child(16){width:132px}.cif-ledger-table td:nth-child(17),.cif-ledger-table th:nth-child(17){width:122px}.cif-ledger-table td:nth-child(18),.cif-ledger-table th:nth-child(18){width:78px}.cif-ledger-table .ledger-cell-clamp,.cif-ledger-table .ledger-status-select{font-size:13px}.cif-ledger-table tbody td{font-weight:800}.cif-ledger-table thead th:nth-child(3){vertical-align:bottom}.cif-ledger-table .ledger-bottom-label-row th:nth-child(3){vertical-align:top}.cif-ledger-table .ledger-bottom-label-row th:nth-child(12),.cif-ledger-table .ledger-bottom-label-row th:nth-child(9),.cif-ledger-table thead th:nth-child(12),.cif-ledger-table thead th:nth-child(9){font-weight:600}.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-other td{background:#d9e2f3}.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{min-width:0;border:0;background:transparent;padding:0}.ledger-money-input,.ledger-number-input{width:100%;color:var(--text);font:inherit;outline:none;text-align:right}.ledger-number-input{max-width:78px;min-height:34px;border:1px solid #cbd5e1;border-radius:8px;background:white;padding:6px 8px}.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-other,.ledger-status-select-other{background:#d9e2f3;color:#000}.ledger-status-option-void,.ledger-status-select-void{background:#3b3838;color:#fff}.ledger-money-field:focus-within,.ledger-number-input:focus,.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-bottom-label-row th{background:#f8fafc;position:static;box-shadow:inset 0 1px 0 #cbd5e1;vertical-align:top}.ledger-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin:-4px 0 14px;color:#1f2937;font-size:12px;font-weight:700}.ledger-legend-bottom{margin-top:12px;margin-bottom:0}.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-other{background:#d9e2f3}.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;align-items:start}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.date-field-with-blank,.invoice-detail-field{display:grid;grid-template-rows:auto 18px;grid-gap:8px;gap:8px;align-content:start}.date-blank-row{margin-bottom:0;gap:5px;color:#64748b;font-size:11px;font-weight:700;line-height:1;min-height:18px}.checkbox-row.date-blank-row input{min-height:0;width:13px;height:13px}.date-blank-spacer{display:block;min-height:18px}.items-desktop{display:block}.items-mobile{display:none}.item-grid{min-width:1180px;display:grid;grid-template-columns:68px minmax(90px,.55fr) minmax(120px,.75fr) repeat(8,60px) minmax(160px,1.2fr) 60px 82px 48px;grid-gap:8px;gap:8px;align-items:flex-end;padding:10px 0}.item-grid.cif-item-grid{min-width:1120px;grid-template-columns:68px minmax(90px,.55fr) minmax(120px,.75fr) repeat(8,60px) minmax(160px,1.2fr) 82px 48px}.item-grid.header{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase}.field input[readonly],.field textarea[readonly],.item-grid input[readonly]{background:#f8fafc;color:#475569}.include-sizes-row{grid-column:4/12;margin:-2px 0 0;gap:5px;color:#64748b;font-size:11px;font-weight:700;line-height:1}.checkbox-row.include-sizes-mobile-row input,.checkbox-row.include-sizes-row input{min-height:0;width:13px;height:13px}.include-sizes-mobile-row{margin:-4px 0 0;gap:6px;color:#64748b;font-size:12px}.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}.modal-backdrop{position:fixed;inset:0;z-index:50;background:rgba(15,23,42,.42);display:grid;place-items:center;padding:20px}.modal-panel{width:min(460px,100%);border:1px solid var(--line);border-radius:8px;background:white;box-shadow:var(--shadow);padding:22px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.modal-head h2{margin:0;font-size:20px}.save-as-modal .form-grid{grid-template-columns:1fr}.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;padding:8px;page:work-order;box-sizing:border-box}.cif-editable-work-order-shell{display:grid;justify-items:center;grid-gap:12px;gap:12px;min-width:0}.cif-editable-work-order{border:1px solid #cbd5e1;box-shadow:0 18px 45px rgba(15,23,42,.14)}.cif-editable-work-order .wo-title{gap:2px}.cif-wo-top{grid-template-columns:31% 32% 27%;justify-content:space-between}.cif-wo-logo-box{padding:8px 10px;overflow:hidden}.cif-wo-logo-box img{width:auto;height:auto;max-width:150px;max-height:76px;object-fit:contain;display:block}.cif-wo-title-box{justify-self:stretch}.cif-wo-event-box{height:90px;overflow:hidden;box-sizing:border-box}.cif-editable-work-order .wo-title .cif-wo-cell-input{width:70px;height:28px;text-align:center;font-size:22px}.cif-wo-number-row{display:grid;grid-template-columns:auto 70px;align-items:center;justify-content:center;grid-gap:4px;gap:4px}.cif-wo-number-row>span{font-size:22px;line-height:1}.cif-wo-cell-input,.cif-wo-textarea{width:100%;height:100%;min-height:23px;border:0;border-radius:0;background:rgba(255,255,255,.72);color:#000;padding:2px 4px;outline:1px solid transparent;font-family:Arial,sans-serif;font-size:12px;line-height:1.25;box-sizing:border-box}.cif-wo-cell-input:focus,.cif-wo-textarea:focus{outline-color:#2463eb;background:#fff}.cif-wo-cell-input.number{text-align:center}.cif-wo-line-grid{display:grid;min-height:24px;border-bottom:1px solid #777}.cif-wo-line-grid.three{grid-template-columns:1.5fr .6fr .9fr}.cif-wo-line-grid .cif-wo-cell-input{border-right:1px solid #777}.cif-wo-line-grid .cif-wo-cell-input:last-child{border-right:0}.cif-wo-po-row{grid-template-columns:44px minmax(0,1fr);gap:0;padding:0}.cif-wo-po-row span{display:grid;align-items:center;padding-left:4px;border-right:1px solid #000}.cif-wo-items-table .cif-wo-cell-input{min-height:22px;padding:1px 2px;text-align:center}.cif-wo-items-table td:nth-child(11) .cif-wo-cell-input,.cif-wo-items-table td:nth-child(12) .cif-wo-cell-input,.cif-wo-items-table td:nth-child(2) .cif-wo-cell-input,.cif-wo-items-table td:nth-child(3) .cif-wo-cell-input{text-align:left}.cif-wo-static-cell{min-height:22px;display:grid;place-items:center;font-size:12px}.cif-wo-date-box{align-self:start;display:grid;grid-template-rows:20px minmax(0,1fr) 20px minmax(0,1fr);height:122px;min-height:0}.cif-wo-date-box .excel-row,.cif-wo-date-box.wo-order-box .excel-row.full{height:auto;min-height:0;padding:0}.cif-wo-date-box .excel-row{border-bottom:1px solid #000}.cif-wo-date-box .excel-row:last-child{border-bottom:0}.cif-wo-date-label span{width:100%;min-height:0;display:grid;place-items:center;border-right:0;padding:0;font-size:12px;line-height:20px}.cif-wo-date-value{display:grid;align-items:center}.cif-wo-date-value .cif-wo-cell-input{height:24px;min-height:0;line-height:24px;padding-top:0;padding-bottom:0;text-align:center}.wo-address-box .cif-wo-textarea,.wo-ship-box .cif-wo-textarea{height:96px}.cif-wo-event-box .cif-wo-textarea{height:65px;font-size:22px;line-height:1.15;font-weight:700}.cif-wo-special-box{align-items:stretch;place-items:stretch;grid-template-rows:24px minmax(0,1fr)}.cif-wo-textarea{display:block;resize:none;vertical-align:top;text-align:left;overflow:hidden}.cif-wo-upload-box{position:relative;display:grid;place-items:stretch;overflow:hidden}.cif-wo-upload-preview{width:100%;height:100%;min-height:0;display:grid;place-items:center;padding:8px 10px;box-sizing:border-box;background-position:50%;background-repeat:no-repeat;background-size:contain;background-origin:content-box;background-clip:content-box;color:#111827;font-size:14px;font-weight:700}.cif-wo-upload-actions{position:absolute;inset-inline:8px;bottom:8px;display:flex;justify-content:center}.cif-wo-location-inputs{display:grid;grid-template-columns:repeat(5,1fr);height:calc(100% - 24px);min-height:0}.cif-wo-location-inputs .cif-wo-cell-input{border-right:1px solid #000}.cif-wo-location-inputs .cif-wo-cell-input:last-child{border-right:0}.cif-editable-work-order .excel-total-box strong .cif-wo-cell-input{text-align:right;font-size:18px;font-weight:400}.invoice-print{width:7.85in;min-height:10.85in;padding:8px;page:invoice;box-sizing:border-box}.wo-top{display:grid;grid-template-columns:31% 32% 27%;justify-content:space-between;grid-gap:0;gap:0;align-items:flex-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:flex-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-size-row td:nth-child(4){text-align:left;padding-left:8px}.cif-editable-invoice{border:1px solid #cbd5e1;box-shadow:0 18px 45px rgba(15,23,42,.14)}.cif-editable-invoice .cif-wo-cell-input,.cif-editable-invoice .cif-wo-textarea{min-height:0;background:rgba(255,255,255,.82);font-size:12px;line-height:1.18}.cif-invoice-sold-details{grid-template-rows:58px minmax(0,1fr)}.cif-invoice-sold-details .cif-wo-textarea{padding:6px 8px;font-size:18px;line-height:1.15;font-weight:700;resize:none}.cif-invoice-detail-panel .excel-row>strong{padding:0}.cif-invoice-detail-panel .cif-wo-cell-input{background:#d9d9d9;text-align:center}.cif-invoice-detail-panel .invoice-number-row .cif-wo-cell-input{font-size:18px;font-weight:800;line-height:1}.cif-invoice-items-table .cif-wo-cell-input{min-height:24px;padding:1px 2px;text-align:center}.cif-invoice-items-table td:nth-child(2) .cif-wo-cell-input,.cif-invoice-items-table td:nth-child(3) .cif-wo-cell-input,.cif-invoice-items-table td:nth-child(4) .cif-wo-cell-input{text-align:left}.cif-invoice-bottom-notes{display:grid;grid-template-rows:25px minmax(0,1fr)}.cif-invoice-bottom-notes .cif-wo-textarea{padding:5px 7px;resize:none;border-top:1px solid #000}.cif-editable-invoice .invoice-totals .cif-wo-cell-input{min-height:0;height:100%;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:flex-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{grid-template-columns:1fr}.hero-card{padding:24px}.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}.cif-season-controls{align-items:stretch;flex-direction:column}.cif-season-controls .field{width:100%}.cif-season-tabs{justify-content:flex-start}.cif-expanded-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.cif-expanded-meta>.btn{justify-self:end}.cif-item-card-body{grid-template-columns:1fr}.cif-item-fields .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:980px){.cif-totals-strip{grid-template-columns:repeat(4,minmax(0,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))}.cif-details-meta{padding:14px}.cif-details-meta .form-grid{grid-template-columns:1fr;gap:8px}.cif-expanded-meta{grid-template-columns:1fr}.cif-details-actions,.cif-item-card-header,.cif-item-image-actions,.cif-item-image-panel .ledger-design-actions{align-items:stretch;flex-direction:column}.cif-item-card{padding:12px}.cif-item-card-body{gap:12px}.cif-item-image{min-height:220px;flex-basis:220px}.cif-item-entry,.cif-item-entry-single{grid-template-columns:1fr;gap:12px}.cif-item-fields .form-grid,.cif-single-editor,.cif-single-grid,.cif-size-grid,.cif-totals-strip{grid-template-columns:1fr}.cif-size-grid{gap:10px}.cif-size-grid>span{display:none}.cif-daily-row,.cif-daily-sale-row{grid-template-columns:1fr}.cif-size-row{grid-template-columns:minmax(22px,.3fr) minmax(62px,1fr) minmax(62px,1fr) minmax(48px,.65fr) 30px;gap:5px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.cif-size-row strong,.cif-size-row>span{min-height:0}.cif-size-row .sr-only{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;-webkit-clip-path:none;clip-path:none;white-space:normal;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.cif-size-row .ledger-number-input{width:100%;min-width:0}.cif-size-left{justify-items:start}.cif-daily-size-sales{grid-template-columns:1fr}.cif-daily-sale-row{padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.cif-icon-button{justify-self:end}.cif-daily-sale-row .btn.compact:not(.cif-icon-button){width:100%;font-size:13px;gap:6px}.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}.main,.no-print,.sidebar{display:none!important}.print-only{display:block!important}.print-toolbar{display:none!important}.print-page{max-width:none}.cif-editable-work-order-shell{display:block!important;margin:0}.cif-work-order-main{display:block!important;padding:0;overflow:visible}.cif-editable-work-order{border:0;box-shadow:none}.cif-wo-cell-input,.cif-wo-textarea{background:transparent;outline:0}@page{size:letter;margin:.2in}@page work-order{size:letter landscape;margin:.2in}@page invoice{size:letter portrait;margin:.2in}}