@charset "UTF-8";
@font-face{font-family:Inter;src:local("Inter"),local("Segoe UI");font-display:swap}
:root{--ink:#1c302f;--muted:#6b7975;--green:#163f3b;--green-2:#256052;--mint:#e7f0e7;--paper:#fff;--canvas:#f5f6f2;--line:#e2e7df;--amber:#dd9a3f;--amber-light:#fff1db;--red:#9d3e36;--shadow:0 8px 24px #24362a06;--radius:15px}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e0b56d;outline-offset:3px}a{color:inherit}.preview-strip{position:relative;z-index:5;display:flex;justify-content:center;gap:15px;background:#fff0d4;color:#78511b;min-height:32px;padding:6px 16px;font-size:11px;letter-spacing:.04em;border-bottom:1px solid #eddab7}.preview-strip strong{letter-spacing:.11em}.app-shell{display:flex;min-height:calc(100vh - 32px)}.sidebar{width:230px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 20px 21px;position:sticky;top:0;height:calc(100vh - 32px)}.brand{display:flex;align-items:center;text-decoration:none;gap:11px;padding:0 7px}.brand>span:last-child{font-weight:850;font-size:23px;line-height:1.05;letter-spacing:.06em}.brand>span:last-child>span{display:block;font-size:10px;letter-spacing:.27em;margin-top:6px;font-weight:700}.brand-mark{width:45px;height:47px;display:grid;place-items:center;background:var(--green);color:#fff;position:relative;font-size:30px;font-weight:900;border-radius:9px;line-height:1}.brand-mark span{position:absolute;right:0;top:-6px;color:var(--amber);font-size:30px;text-shadow:2px 2px var(--green)}.sidebar-eyebrow{font-size:9px;font-weight:700;letter-spacing:.15em;color:#8a9691;margin:48px 12px 14px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-link{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;text-decoration:none;color:#76837c;font-size:13px;font-weight:600;transition:background .15s}.nav-link:hover{background:#f4f7f1}.nav-link.active{background:var(--green);color:white;box-shadow:0 3px 6px #163f3b12}.nav-link svg{width:18px;height:18px;flex-shrink:0}.nav-link .nav-count{margin-left:auto;font-size:10px;border:1px solid #ffffff55;border-radius:5px;padding:0 5px}.sidebar-bottom{margin-top:auto;padding-top:40px;display:flex;gap:10px;align-items:center}.mini-mark{border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-weight:800;color:var(--green)}.sidebar-bottom strong{font-size:11px;display:block}.sidebar-bottom div>span{font-size:10px;color:var(--muted)}.workspace{min-width:0;flex:1}.topbar{height:92px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:19px 36px;gap:20px}.eyebrow{font-size:9px;color:#78867e;font-weight:700;letter-spacing:.15em}.topbar-sub{font-size:12px;font-weight:500;margin-top:4px}.topbar-tools{display:flex;align-items:center;gap:20px}.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.connection i{width:6px;height:6px;border-radius:50%;background:#6a9272}.connection.offline i{background:#d99737}.role-control{display:flex;flex-direction:column;font-size:9px;font-weight:700;color:var(--muted);gap:1px}.role-control select{border:0;background:none;color:var(--ink);font-size:11px;font-weight:600;max-width:155px;padding:0}.avatar{display:grid;place-items:center;background:#edf0e8;width:33px;height:33px;border-radius:50%;font-size:10px;font-weight:700;color:var(--green)}main{max-width:1510px;margin:auto;padding:34px 36px 24px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:23px}.page-heading h1{font-weight:650;font-size:29px;letter-spacing:-.045em;line-height:1.2;margin:0 0 8px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:white;color:var(--ink);font-size:11px;font-weight:650;white-space:nowrap;text-decoration:none;min-height:37px}.button:hover{background:#f7f9f4}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#23534a}.button.subtle{background:var(--mint);border-color:transparent;color:var(--green)}.button.small{padding:7px 10px;min-height:30px;font-size:10px}.button svg{width:14px;height:14px}.filters{display:flex;align-items:center;gap:12px;margin-bottom:24px}.filter-field{min-width:167px;display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);border-radius:8px;padding:9px 12px}.filter-field label{color:var(--muted);font-size:10px;white-space:nowrap}.filter-field input,.filter-field select{border:0;outline:0;max-width:150px;color:var(--ink);font-size:11px;font-weight:600;background:transparent;min-width:0}.filter-field svg{height:14px;width:14px;color:#758476}.filter-field.search{flex:1;max-width:310px;margin-left:auto}.filter-field.search input{font-weight:400;max-width:none;width:100%}.test-note{margin:0 0 20px;display:flex;gap:10px;padding:12px 15px;border:1px solid #dfdfc8;background:#f9f8ea;border-radius:9px;color:#75724e;font-size:11px}.test-note svg{width:16px;height:16px;flex-shrink:0;margin-top:1px}.test-note strong{font-weight:650}.test-note a{text-underline-offset:2px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px;box-shadow:var(--shadow);position:relative;overflow:hidden}.stat .stat-icon{display:grid;place-items:center;position:absolute;right:17px;top:18px;width:31px;height:31px;border-radius:8px;background:#f0f4eb;color:#7c8f72}.stat-icon svg{width:15px;height:15px}.stat-label{font-size:10px;color:var(--muted);font-weight:500;margin-bottom:8px}.stat-value{font-size:28px;font-weight:650;letter-spacing:-.035em;line-height:1.2}.stat-foot{font-size:9px;color:var(--muted);margin-top:9px}.stat.highlight{background:var(--green);color:white;border-color:var(--green)}.stat.highlight .stat-label,.stat.highlight .stat-foot{color:#bcd0c5}.stat.highlight .stat-icon{background:#ffffff15;color:#bdd1bf}.stat-value small{font-size:11px;font-weight:400;letter-spacing:0;margin-left:3px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-header h2{margin:0;font-size:15px;letter-spacing:-.02em;font-weight:650}.section-header p{font-size:10px;color:var(--muted);margin:3px 0 0}.section-header .pill{margin-left:7px}.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;font-size:8px;line-height:1.5;letter-spacing:.025em;font-weight:650;white-space:nowrap;background:#f1f4ee;color:#71806b}.pill.green{background:#e7f0e7;color:#466941}.pill.amber{background:#fff0d9;color:#a07129}.pill.red{background:#f8e7e4;color:#a24c40}.pill.outline{background:none;border:1px solid var(--line);color:var(--muted)}.invoice-workspace{display:grid;grid-template-columns:minmax(245px, .83fr) minmax(460px,1.7fr);gap:23px;align-items:start}.invoice-list{display:flex;flex-direction:column;gap:11px}.invoice-card{display:block;width:100%;text-align:left;background:white;border:1px solid var(--line);border-radius:11px;padding:16px;box-shadow:var(--shadow);color:var(--ink)}.invoice-card:hover{border-color:#b7c8b4}.invoice-card.selected{border:1.5px solid var(--green);padding:15.5px;box-shadow:0 0 0 2px #163f3b04}.invoice-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.invoice-number{font-size:9px;font-weight:700;color:#819077;letter-spacing:.07em}.invoice-card h3{font-size:14px;font-weight:650;margin:9px 0 4px;letter-spacing:-.01em}.invoice-card p{font-size:10px;color:var(--muted);margin:0}.invoice-card-bottom{border-top:1px solid #eef0ea;margin-top:14px;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.invoice-card-bottom strong{font-size:12px;font-weight:650}.invoice-card .arrow{margin-left:6px;color:#8c9c84}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-padding{padding:23px}.panel-top{padding:23px 23px 18px;border-bottom:1px solid var(--line)}.invoice-document-heading{display:flex;justify-content:space-between;gap:15px}.invoice-document-heading .small-brand{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:800;letter-spacing:.025em}.small-brand .brand-mark{width:29px;height:30px;font-size:21px;border-radius:6px}.small-brand .brand-mark span{font-size:19px;top:-5px}.invoice-document-heading .document-name{text-align:right;font-size:9px;color:var(--muted);line-height:1.7}.document-name strong{display:block;font-size:14px;color:var(--ink);font-weight:650;letter-spacing:-.02em}.invoice-customer{margin-top:22px;display:flex;justify-content:space-between;gap:15px;align-items:flex-end}.overline{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:600}.invoice-customer h2{margin:5px 0 4px;font-weight:650;font-size:18px;letter-spacing:-.02em}.invoice-customer p{margin:0;color:var(--muted);font-size:10px}.invoice-customer-right{text-align:right}.invoice-customer-right .pill{margin-bottom:6px}.doc-tabs{display:flex;gap:20px;padding:0 23px;border-bottom:1px solid var(--line)}.doc-tab{border:0;border-bottom:2px solid transparent;background:none;font-size:10px;font-weight:550;color:var(--muted);padding:12px 0 11px}.doc-tab.active{border-color:var(--green);color:var(--green);font-weight:650}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{background:#fafbf8;font-size:8px;color:#7f8a7b;font-weight:600;letter-spacing:.035em;text-transform:uppercase;padding:12px 12px;border-bottom:1px solid var(--line);white-space:nowrap}td{font-size:10px;padding:13px 12px;border-bottom:1px solid #edf0e9;vertical-align:middle}th:first-child,td:first-child{padding-left:23px}th:last-child,td:last-child{padding-right:23px}.numeric{text-align:right}.item-name{font-size:10px;font-weight:600;margin-bottom:2px}.sku{font-size:8px;color:var(--muted);letter-spacing:.035em}.qty-input{width:52px;min-height:32px;padding:5px 6px;border:1px solid var(--line);border-radius:6px;text-align:center;background:#fcfdfb;font-size:11px;color:var(--ink)}.invoice-totals{padding:17px 23px;display:flex;justify-content:flex-end;gap:40px;align-items:flex-start;background:#fcfdfb}.invoice-totals p{margin:0;font-size:9px;color:var(--muted)}.invoice-totals strong{display:block;font-size:19px;font-weight:650;margin-top:4px;letter-spacing:-.025em;color:var(--ink)}.invoice-totals strong span{font-size:9px;font-weight:400;color:var(--muted)}.invoice-totals .balance strong{font-size:15px;margin-top:7px}.form-section{padding:17px 23px;border-top:1px solid var(--line)}.form-label{font-size:10px;font-weight:600;display:block;margin-bottom:6px}.field{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font-size:11px;color:var(--ink);background:white;min-height:36px}.field::placeholder{color:#a3aca0}.field:disabled{background:#f7f9f4}textarea.field{resize:vertical}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.fineprint{font-size:9px;line-height:1.6;color:var(--muted);margin:0}.signature-box{border:1px dashed #c7d4c0;border-radius:9px;margin-top:11px;background:#fcfdfb;overflow:hidden}.signature-box canvas{display:block;width:100%;height:135px;touch-action:none}.signature-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;background:#f5f8f0;color:var(--muted);font-size:8px}.text-button{border:0;background:none;padding:0;font-size:10px;color:var(--green);font-weight:600;cursor:pointer}.signature-summary{display:flex;align-items:center;gap:10px;padding:12px;background:#f1f6ec;border-radius:8px;margin-bottom:13px;font-size:10px}.signature-summary svg{width:17px;height:17px;color:#638255}.signature-summary span{display:block;color:var(--muted);font-size:9px}.signature-preview{max-width:140px;max-height:60px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:6px}.signature-list{display:flex;flex-direction:column;gap:12px}.signature-list .signature-item{padding:12px;border:1px solid var(--line);border-radius:8px;display:flex;gap:13px;align-items:center}.signature-item strong{font-size:11px;display:block}.signature-item p{font-size:9px;color:var(--muted);margin:2px 0}.audit-list{list-style:none;padding:0;margin:0}.audit-item{position:relative;padding:0 0 20px 20px;border-left:1px solid var(--line);margin-left:4px}.audit-item:last-child{border-left:0;padding-bottom:0}.audit-item:before{content:"";position:absolute;left:-4px;top:4px;width:7px;height:7px;border-radius:50%;background:#92ad81;border:2px solid #fff}.audit-item h4{font-size:10px;margin:0 0 4px}.audit-item p{font-size:9px;color:var(--muted);margin:2px 0}.audit-item pre{white-space:pre-wrap;font-family:inherit;font-size:9px;background:#f8faf5;padding:7px;border-radius:5px}.empty-state{padding:28px;text-align:center;color:var(--muted);font-size:12px}.pending-note{padding:11px 13px;border-radius:8px;background:#f7f5e9;color:#897948;font-size:10px;margin-top:17px;display:flex;gap:8px;align-items:flex-start}.pending-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.workspace-footer{max-width:1510px;margin:auto;padding:15px 36px 24px;display:flex;justify-content:space-between;gap:20px;color:#8a9585;font-size:9px}.workspace-footer .text-button{white-space:nowrap;font-size:9px}.split-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:22px;align-items:start}.stack{display:flex;flex-direction:column;gap:20px}.flow-title{display:flex;align-items:center;gap:10px}.flow-title svg{width:18px;height:18px;color:#6a8462}.flow-title h3{font-size:14px;font-weight:650;margin:0}.flow-title p{font-size:10px;color:var(--muted);margin:3px 0 0}.stage-list{padding:24px}.stage{display:flex;gap:15px;padding:0 0 28px;position:relative}.stage:before{content:"";position:absolute;left:16px;top:31px;width:1px;height:calc(100% - 28px);background:var(--line)}.stage:last-child{padding-bottom:0}.stage:last-child:before{display:none}.stage-marker{z-index:1;width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:white;color:#a5afa0;font-size:11px;flex-shrink:0}.stage.done .stage-marker{background:var(--green);border-color:var(--green);color:white}.stage.next .stage-marker{border-color:var(--amber);color:#a67830;background:#fff9eb}.stage-copy{flex:1;padding-top:5px}.stage-copy h3{margin:0 0 4px;font-size:12px;font-weight:650}.stage-copy p{margin:0;color:var(--muted);font-size:10px}.stage-copy .button{margin-top:12px}.stage-copy .pill{margin-left:7px}.detail-pairs{display:grid;grid-template-columns:1fr auto;gap:13px 20px;font-size:10px;margin:18px 0 0}.detail-pairs dt{color:var(--muted)}.detail-pairs dd{margin:0;text-align:right;font-weight:600}.check-list{list-style:none;padding:0;margin:15px 0 0}.check-list li{font-size:10px;display:flex;gap:9px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #edf0e9}.check-list li:last-child{border:0}.check-list svg{width:14px;height:14px;color:#668357;flex-shrink:0;margin-top:2px}.check-list span{color:var(--muted);display:block;font-size:9px}.panel-banner{padding:15px 22px;background:#edf3e9;color:#4f6d42;font-size:10px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px}.panel-banner svg{width:14px;height:14px}.route-map{background:#eef2e8;min-height:135px;position:relative;padding:22px;border:1px solid var(--line);border-radius:10px;display:flex;justify-content:space-around;align-items:center;margin-top:17px;gap:15px}.route-map:before{content:"";height:1px;border-bottom:2px dashed #a5b593;position:absolute;top:57px;left:45px;right:45px}.route-stop{z-index:1;text-align:center;font-size:9px;position:relative;flex:1}.route-dot{width:34px;height:34px;border-radius:50%;background:white;border:1px solid #a9b89b;color:var(--green);display:grid;place-items:center;margin:0 auto 12px;font-size:10px;font-weight:600}.route-stop:first-child .route-dot{background:var(--green);color:white}.route-stop span{color:var(--muted);font-size:8px;display:block;margin-top:3px}.route-note{font-size:9px;color:var(--muted);margin:12px 0 0}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.payment-grid .full{grid-column:1/-1}.radio-group{display:flex;gap:9px}.radio-choice{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;font-size:11px;flex:1}.radio-choice:has(input:checked){border-color:var(--green);background:#f4f8ee}.radio-choice input{accent-color:var(--green)}.allocation-row{display:grid;grid-template-columns:1fr 95px;align-items:center;gap:15px;padding:11px 0;border-bottom:1px solid var(--line)}.allocation-row:last-child{border:0}.allocation-row strong{font-size:11px;font-weight:600}.allocation-row p{font-size:9px;margin:3px 0 0;color:var(--muted)}.allocation-row .field{text-align:right}.allocation-total{display:flex;justify-content:space-between;font-size:11px;padding:13px 0 0}.allocation-total strong{font-weight:650}.receipt{padding:16px 22px;border-bottom:1px solid var(--line)}.receipt:last-child{border:0}.receipt-top{display:flex;justify-content:space-between;gap:12px;font-size:11px}.receipt-top strong{font-weight:650}.receipt p{font-size:9px;color:var(--muted);margin:5px 0}.receipt-bottom{display:flex;align-items:center;gap:8px;font-size:9px;margin-top:10px}.report-select{display:flex;gap:9px;margin-bottom:22px;flex-wrap:wrap}.report-button{flex:1;min-width:170px;display:flex;gap:11px;text-align:left;padding:15px;background:white;border:1px solid var(--line);border-radius:10px;color:var(--muted)}.report-button svg{width:21px;height:21px;flex-shrink:0;margin-top:2px}.report-button strong{font-size:11px;display:block;color:var(--ink);font-weight:650}.report-button span{font-size:9px}.report-button.active{border-color:var(--green);background:#eef4e9;color:var(--green);box-shadow:0 0 0 1px var(--green)}.report-title{font-size:19px;margin:0 0 8px;letter-spacing:-.02em;font-weight:650}.report-group-label{background:#f1f5ed;padding:11px 23px;font-size:10px;font-weight:650;border-block:1px solid var(--line)}.report-group-label span{font-size:9px;color:var(--muted);font-weight:400;margin-left:10px}.total-bar{padding:19px 23px;background:#f2f6ed;display:flex;justify-content:space-between;align-items:center}.total-bar span{font-size:11px;font-weight:650}.total-bar strong{font-size:23px;font-weight:650;letter-spacing:-.035em}.total-bar strong small{font-size:11px;font-weight:400}.pending-list{padding:0;list-style:none;margin:12px 0 0;max-height:265px;overflow:auto}.pending-list li{padding:10px 0;border-bottom:1px solid var(--line);font-size:10px}.pending-list strong{font-size:10px;display:block;font-weight:600}.pending-list span{font-size:9px;color:var(--muted)}.toast{position:fixed;bottom:24px;right:24px;max-width:440px;background:#173f39;color:white;padding:14px 20px;border-radius:10px;box-shadow:0 10px 35px #163f3b33;z-index:100;font-size:12px;display:none}.toast.visible{display:block}.toast.error{background:#8a3c33}.loading-screen{position:fixed;inset:0;background:var(--canvas);z-index:200;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:30px;text-align:center}.loading-screen h1{font-size:22px;font-weight:600;margin-top:25px}.loading-screen p{color:var(--muted);font-size:13px}.print-only{display:none}.inline-error{color:var(--red);font-size:10px;margin:8px 0 0}.downloaded{font-size:9px;color:#5c7b50;margin-top:8px}.audit-original{margin-top:18px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.audit-original td,.audit-original th{padding:9px 11px}.source-notice{padding:12px;background:#f7f8f2;color:var(--muted);font-size:10px;border-radius:7px;margin-top:15px}.cheque-fields{display:none}.cheque-fields.visible{display:contents}
@media(min-width:1550px){main{padding-top:42px}.topbar{padding-inline:50px}.sidebar{width:252px}.sidebar-eyebrow{margin-top:57px}.invoice-workspace{grid-template-columns:minmax(285px,.85fr) minmax(530px,1.7fr)}}
@media(max-width:1150px){.sidebar{width:196px;padding-inline:14px}.topbar,main{padding-left:25px;padding-right:25px}.topbar-tools{gap:12px}.connection{max-width:150px;font-size:9px}.summary-grid{gap:11px}.stat{padding:15px}.stat .stat-icon{display:none}.invoice-workspace{grid-template-columns:minmax(210px,.8fr) minmax(385px,1.5fr);gap:16px}.panel-top,.panel-padding{padding:18px}.form-section{padding:16px 18px}.invoice-document-heading .small-brand{font-size:10px}.workspace-footer{padding-inline:25px}.split-layout{grid-template-columns:minmax(0,1.4fr) minmax(245px,1fr);gap:16px}.filters{gap:8px}.filter-field{min-width:140px;padding-inline:10px}}
@media(max-width:930px){.sidebar{width:76px;padding:27px 10px 20px}.brand{padding:0;justify-content:center}.brand>span:last-child,.sidebar-eyebrow,.nav-link>span,.sidebar-bottom{display:none}.brand-mark{width:40px;height:42px;font-size:28px}.main-nav{margin-top:45px}.nav-link{justify-content:center;padding:15px 10px}.nav-link .nav-count{display:none}.topbar-tools .avatar{display:none}.summary-grid{gap:10px}.invoice-workspace{grid-template-columns:230px minmax(0,1fr)}.stat-value{font-size:25px}.invoice-document-heading .small-brand{font-size:9px}.invoice-document-heading .document-name strong{font-size:13px}.invoice-customer h2{font-size:16px}.invoice-customer-right{max-width:125px}.filter-field.search{max-width:250px}.split-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:760px){.preview-strip{gap:4px;font-size:8px;flex-direction:column;align-items:center;line-height:1.25;padding:5px 8px;min-height:34px}.app-shell{min-height:calc(100vh - 34px);display:block}.sidebar{height:62px;top:auto;bottom:0;position:fixed;z-index:80;width:100%;background:#fff;border-top:1px solid var(--line);border-right:0;padding:0 8px calc(env(safe-area-inset-bottom,0px));display:block}.sidebar .brand{display:none}.main-nav{margin:0;display:flex;flex-direction:row;gap:1px;justify-content:space-between;height:61px}.nav-link{display:flex;flex:1;flex-direction:column;gap:4px;padding:9px 3px;border-radius:0;font-size:8px;background:none}.nav-link.active{background:none;color:var(--green);box-shadow:inset 0 2px var(--green)}.nav-link svg{height:18px;width:18px}.nav-link>span{display:block}.nav-link .nav-count{display:none}.workspace{padding-bottom:66px}.topbar{height:75px;padding:14px 18px;gap:10px}.eyebrow{font-size:8px}.topbar-sub{font-size:10px}.topbar-tools{gap:10px}.connection{display:none}.role-control{font-size:8px}.role-control select{font-size:10px;max-width:132px}.topbar-tools .avatar{display:none}main{padding:25px 18px 15px}.page-heading{margin-bottom:19px;gap:10px;align-items:center}.page-heading h1{font-size:26px;margin-bottom:6px}.page-heading p{font-size:10px;max-width:250px}.heading-actions .button{font-size:9px;padding:8px 10px}.heading-actions .button svg{display:none}.filters{gap:8px;flex-wrap:wrap;margin-bottom:18px}.filter-field{flex:1;min-width:130px;padding:9px}.filter-field label{font-size:9px}.filter-field input,.filter-field select{font-size:10px;width:100%;max-width:none}.filter-field.search{flex-basis:100%;max-width:none;margin:0}.test-note{font-size:10px;padding:11px;gap:8px;margin-bottom:17px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat{padding:14px 15px;border-radius:10px}.stat-label{font-size:9px;margin-bottom:4px}.stat-value{font-size:25px}.stat-foot{font-size:8px;margin-top:5px}.stat .stat-icon{display:grid;width:25px;height:25px;right:12px;top:12px}.stat-icon svg{height:12px;width:12px}.section-header h2{font-size:14px}.invoice-workspace{display:block}.invoice-list{flex-direction:row;overflow-x:auto;gap:10px;margin:0 -18px 20px;padding:1px 18px 8px;scroll-snap-type:x mandatory}.invoice-card{flex:0 0 235px;scroll-snap-align:start;padding:13px}.invoice-card.selected{padding:12.5px}.invoice-card h3{font-size:13px}.invoice-card-bottom{padding-top:9px;margin-top:11px}.panel{border-radius:11px}.invoice-customer{margin-top:18px}.invoice-customer h2{font-size:17px}.invoice-document-heading .small-brand{font-size:11px}.doc-tabs{padding-inline:18px;gap:21px}.doc-tab{font-size:10px}.panel-top{padding:18px}.form-section{padding:16px 18px}.form-bottom{align-items:flex-start}.form-bottom .fineprint{max-width:180px}.invoice-totals{gap:27px;padding:15px 18px}td{font-size:9px;padding:11px 7px}th{padding:10px 7px;font-size:7px}th:first-child,td:first-child{padding-left:18px}th:last-child,td:last-child{padding-right:18px}.qty-input{width:44px;font-size:11px;padding:5px 3px;min-height:34px}.item-name{font-size:9px}.sku{font-size:7px}.workspace-footer{padding:15px 18px 20px;flex-direction:column;gap:8px;font-size:8px}.workspace-footer .text-button{align-self:flex-start}.split-layout{display:flex;flex-direction:column;gap:18px}.split-layout>.panel,.split-layout>.stack,.split-layout>.stack>.panel{width:100%}.stack{width:100%;gap:18px}.stage-list{padding:20px}.stage{padding-bottom:25px}.report-select{gap:7px;margin-bottom:17px}.report-button{min-width:0;flex-basis:30%;padding:12px 9px;gap:6px;flex-direction:column}.report-button svg{width:18px;height:18px}.report-button strong{font-size:10px}.report-button span{font-size:8px}.report-title{font-size:17px}.report-group-label{padding-inline:18px}.total-bar{padding:16px 18px}.total-bar span{font-size:10px}.total-bar strong{font-size:22px}.toast{left:18px;right:18px;bottom:80px;font-size:11px;padding:12px 16px}.route-map{padding-inline:8px;gap:8px}.route-stop{font-size:8px}.route-note{font-size:8px}.payment-grid{gap:12px}.signature-summary{font-size:9px}.signature-summary span{font-size:8px}}
@media print{body{background:#fff;font-size:10pt}.preview-strip{display:flex!important;background:#fff;border:2px solid #9d7e41;color:#333;padding:8px;font-size:9pt}.sidebar,.topbar,.page-heading,.filters,.summary-grid,.report-select,.workspace-footer,.toast,.pending-note,.no-print{display:none!important}.app-shell,.workspace,main,.split-layout,.stack{display:block!important;padding:0!important;max-width:none!important;margin:0!important}.panel{box-shadow:none;border:0;border-radius:0;overflow:visible}.panel-top,.panel-padding{padding:15px 0}.print-only{display:block;margin:12px 0;font-size:10pt;font-weight:600}.test-note{background:white;border:1px solid #999;margin-top:12px;font-size:9pt}.report-group-label{padding:10px;background:#eee!important}.report-title{font-size:18pt}td{font-size:9pt;padding:8px}th{font-size:8pt;padding:8px}table{page-break-inside:auto}tr{page-break-inside:avoid}.total-bar{border-top:2px solid #333;background:white}.split-layout>.stack{display:none!important}.invoice-list{display:none}.invoice-workspace{display:block}.doc-tabs,.form-section{display:none}.invoice-document-heading .small-brand{font-size:12pt}.source-notice{font-size:9pt}.print-only.warning{border:1px solid #999;padding:8px}.receipt,.audit-item{break-inside:avoid}}
#draft-total{font-size:inherit;color:inherit;font-weight:inherit}
.login-page{min-height:calc(100vh - 34px);display:grid;place-items:center;padding:25px}.login-card{max-width:460px;width:100%;padding:32px;background:white;border:1px solid var(--line);border-radius:17px}.login-card h1{font-size:27px;letter-spacing:-.04em;margin:25px 0 10px}.login-card .field{margin-bottom:15px}.login-card .button{width:100%;margin-top:10px}.login-card p{font-size:11px;color:var(--muted)}.inline-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.field-group label{display:block;font-size:10px;font-weight:600;margin-bottom:5px}.line-entry{display:grid;grid-template-columns:1fr 2fr repeat(6,minmax(65px,1fr));gap:6px;min-width:780px}.line-entry input{width:100%;min-width:0}.line-entry label{font-size:8px;color:var(--muted)}.line-entry-row{margin-bottom:10px}.account-tag{font-size:10px;color:var(--muted)}.notice-error{border:1px solid #ebc1b8;background:#fff1ed;color:#973f36;padding:12px;border-radius:8px;font-size:11px;margin:10px 0}.notice-success{border:1px solid #cbdcc7;background:#f0f6ed;color:#47643e;padding:12px;border-radius:8px;font-size:11px;margin:10px 0}.queue-detail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px;background:#f7f8f2;padding:10px;border-radius:6px;max-height:220px;overflow:auto}.queue-item{padding:16px 0;border-bottom:1px solid var(--line)}.source-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.stage canvas{max-width:100%}.role-badge{background:var(--mint);border-radius:6px;padding:4px 7px;font-size:9px}.queue-counter{font-size:9px;white-space:nowrap}.hidden{display:none!important}@media(max-width:760px){.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.login-card{padding:25px}.account-tag{font-size:8px}.topbar-tools{gap:7px}.login-card h1{font-size:25px}.source-row{font-size:10px}.main-nav{overflow-x:auto}.nav-link{min-width:59px}.topbar-tools>.button{font-size:8px;padding:7px}.preview-strip{font-size:7px}}
[hidden]{display:none!important}
@media(max-width:760px){.topbar{height:auto;min-height:75px;align-items:center;flex-wrap:wrap}.topbar-tools{flex-wrap:wrap;min-width:0;gap:7px}.topbar>.topbar-tools{flex:1;justify-content:flex-end}.topbar>div:first-child{max-width:100px}.topbar-tools .queue-counter{font-size:8px}.topbar-tools>.button{min-height:28px}}
