@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#17211b;background:#f3f5f0;font-synthesis:none;--ink:#17211b;--muted:#525c54;--line:#dfe4dd;--green:#0d6b48;--green-dark:#084d35;--cream:#f8f6ed;--gold:#dba92d}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand strong,.metric strong{font-family:Manrope,sans-serif}.app-shell{min-height:100vh;display:grid;grid-template-columns:258px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#10271e;color:#fff;padding:26px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--gold);color:#14231b;font:800 20px Manrope}.brand div:last-child{display:flex;flex-direction:column;min-width:0}.brand strong{font-size:17px}.brand span{color:#a9bbb0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar nav{margin-top:36px;display:flex;flex-direction:column;gap:5px}.sidebar nav a{color:#b9c7be;text-decoration:none;padding:11px 12px;border-radius:9px;display:flex;align-items:center;gap:11px;font-size:15px;font-weight:600}.sidebar nav a>span{border:1px solid #3a5045;border-radius:6px;padding:3px;font-size:11px;width:25px;text-align:center}.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:#214335}.sidebar nav a.active>span{background:var(--gold);border-color:var(--gold);color:#17211b}.sidebar-user{margin-top:auto;border-top:1px solid #294237;padding-top:18px;display:grid;grid-template-columns:36px 1fr;gap:9px;align-items:center}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#d8eadf;color:var(--green);font-weight:700}.sidebar-user>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.sidebar-user strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user span{font-size:13px;color:#a9bbb0;text-transform:capitalize}.sidebar-user button{grid-column:2;background:none;border:0;color:#d1ddd5;text-align:left;padding:0;font-size:13px}.content{padding:42px clamp(24px,4vw,64px) 72px;min-width:0;max-width:1600px;width:100%;margin:0 auto}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.page-header h1{font-size:clamp(28px,3vw,42px);line-height:1.05;margin-bottom:9px;letter-spacing:-1.4px}.page-header p:last-child{color:var(--muted);margin:0;max-width:680px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;color:var(--green);font-weight:800;font-size:12px;margin-bottom:10px}.eyebrow.light{color:#e6c464}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;box-shadow:0 3px 16px #1f342809}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.metric{min-height:142px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.metric span{font-size:14px;color:var(--muted);font-weight:600}.metric strong{font-size:25px;margin:8px 0 5px}.metric small{color:var(--muted)}.metric.accent{background:var(--green);color:#fff;border-color:var(--green)}.metric.accent span,.metric.accent small{color:#c9ded4}.metric.warn{border-top:4px solid var(--gold)}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading h2,.section-heading h3{font-size:18px;margin-bottom:4px}.section-heading p{color:var(--muted);font-size:15px;margin:0}.attention-list>div{display:flex;gap:12px;padding:15px 0;border-top:1px solid var(--line)}.attention-icon{display:grid;place-items:center;min-width:34px;height:34px;border-radius:9px;background:#e9f2ec;color:var(--green);font-size:12px;font-weight:800}.attention-list strong{font-size:15px}.attention-list p{font-size:14px;color:var(--muted);margin:3px 0 0}.operating-note{background:#bd5338;color:#fff;border:0;display:flex;flex-direction:column;justify-content:center;padding:34px}.operating-note h2{font-size:25px;line-height:1.18}.operating-note p:last-child{color:#f6d9d0;line-height:1.6}.button{border:0;border-radius:9px;padding:10px 15px;font-weight:700;font-size:15px;transition:.15s}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:var(--green-dark)}.button.secondary{background:#e9f2ec;color:var(--green)}.button.danger{background:#fbe8e4;color:#a82d18}.button.quiet{background:transparent;color:var(--muted)}.button:disabled{opacity:.5;cursor:not-allowed}.action-group,.row-actions{display:flex;gap:8px;align-items:center}.table-wrap{overflow-x:auto;margin:0 -22px -22px}.table-wrap table{width:100%;border-collapse:collapse;font-size:15px}.table-wrap th{text-align:left;color:var(--muted);text-transform:uppercase;font-size:11px;letter-spacing:1px;padding:12px 18px;border-bottom:1px solid var(--line);white-space:nowrap}.table-wrap td{padding:14px 18px;border-bottom:1px solid #edf0ec;white-space:nowrap}.table-wrap tr:last-child td{border-bottom:0}.primary-cell{display:flex;flex-direction:column;gap:3px}.primary-cell span{color:var(--muted);font-size:13px}.money{white-space:nowrap}.status{display:inline-block;padding:5px 8px;border-radius:99px;background:#eef0ed;color:#536057;font-weight:700;font-size:12px;text-transform:capitalize}.status-posted,.status-confirmed,.status-paid,.status-delivered,.status-verified,.status-active,.status-available{background:#dff1e7;color:#176141}.status-pending,.status-assigned,.status-draft,.status-partially-paid,.status-dispatched{background:#fff1c9;color:#805a00}.status-failed,.status-rejected,.status-out-of-stock,.status-inactive{background:#f9dfda;color:#a12f1c}.status-admin{background:#dfebf7;color:#215781}.status-staff{background:#eee7f8;color:#62438c}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:-4px 0 18px}.toolbar>span,.mini-stats{color:var(--muted);font-size:14px}.segmented{display:flex;background:#eef1ed;border-radius:9px;padding:3px;gap:2px}.segmented button{background:none;border:0;border-radius:7px;padding:7px 12px;color:var(--muted);font-weight:600;font-size:14px}.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #ccd2cc}.segmented.tabs{margin-bottom:20px;width:max-content}.mini-stats{display:flex;gap:10px;margin:-13px 0 18px}.mini-stats span,.mini-stats button{background:#fff;border:1px solid var(--line);border-radius:99px;padding:7px 13px}.mini-stats button{color:var(--green);font-weight:700}.search{width:min(430px,100%)}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.field>span{font-size:13px;font-weight:700;color:#465149}.field small{color:var(--muted)}input,select,textarea{border:1px solid #ccd4cd;border-radius:8px;padding:10px 11px;background:#fff;color:var(--ink);outline:none;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #dcece3}textarea{min-height:82px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.modal-backdrop{position:fixed;inset:0;background:#0d1c14a6;z-index:50;display:grid;place-items:center;padding:20px}.modal{background:#fff;border-radius:16px;width:min(560px,96vw);max-height:95vh;overflow:auto;box-shadow:0 22px 80px #07120d80}.modal.wide{width:min(1180px,96vw)}.modal>header{position:sticky;top:0;background:#fff;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:19px 22px;border-bottom:1px solid var(--line)}.modal h2{font-size:20px;margin:0}.modal-body{padding:22px}.icon-button{border:0;background:#edf0ed;border-radius:50%;width:30px;height:30px}.notice.error{background:#fce8e3;color:#942a17;padding:10px 12px;border-radius:8px;font-size:14px;margin-bottom:15px}@media(min-width:900px){.modal.wide .form-grid{grid-template-columns:repeat(3,1fr)}}.document-lines{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.line-editor{display:grid;grid-template-columns:2fr .65fr 1fr .85fr .7fr 30px;gap:8px;align-items:end;background:#f7f8f5;border-radius:10px;padding:12px;margin-bottom:8px}.line-editor .field{margin:0}.remove-line{border:0;background:#f1ded9;color:#9f2e1a;border-radius:8px;height:38px;font-size:20px}.product-picker{position:relative}.product-picker .search-results{z-index:30;top:40px}.stock-line-editor{display:grid;grid-template-columns:2fr 1fr 30px;gap:8px;align-items:end;background:#f7f8f5;border-radius:10px;padding:12px;margin-bottom:8px}.stock-line-editor .field{margin:0}.document-total{display:flex;justify-content:flex-end;gap:30px;align-items:center;padding:13px 4px}.document-total strong{font-size:19px}.inline-empty{text-align:center;color:var(--muted);background:#f7f8f5;padding:20px;border-radius:10px}.dispatch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.dispatch-card{padding:0;overflow:hidden}.dispatch-top{display:flex;justify-content:space-between;align-items:flex-start;padding:20px}.dispatch-top h2{font-size:20px;margin:7px 0 0}.document-number{font-size:12px;color:var(--muted);font-weight:800;letter-spacing:1px}.dispatch-address{padding:15px 20px;background:#f7f8f5;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.dispatch-address p{color:var(--muted);font-size:14px;margin:4px 0}.dispatch-address a{color:var(--green);font-size:14px}.dispatch-card dl{display:grid;grid-template-columns:repeat(2,1fr);margin:0;padding:10px 20px}.dispatch-card dl>div{padding:10px 0}.dispatch-card dt{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}.dispatch-card dd{margin:4px 0 0;font-size:14px;font-weight:700}.card-actions{display:flex;align-items:center;justify-content:flex-end;padding:14px 20px;border-top:1px solid var(--line)}.collection-box{background:#f5f7f3;padding:15px;border-radius:10px}.collection-box>div:first-child{display:flex;justify-content:space-between;margin-bottom:12px}.empty-card{grid-column:1/-1;text-align:center;color:var(--muted)}.finance-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.finance-summary .card{display:flex;flex-direction:column;gap:8px}.finance-summary span{color:var(--muted);font-size:13px}.finance-summary strong{font-size:22px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.settings-grid .card{min-width:0}.empty{text-align:center;padding:46px 20px}.empty-icon{margin:auto;width:38px;height:38px;display:grid;place-items:center;background:#e6f1ea;color:var(--green);border-radius:10px;font-size:22px}.empty h3{font-size:17px;margin:12px 0 5px}.empty p{color:var(--muted);font-size:14px}.loading{min-height:60vh;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted)}.loading span{width:30px;height:30px;border:3px solid #d5ddd7;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.login-story{background:#15372a;color:#fff;padding:48px clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:440px;height:440px;border:90px solid #1f4a39;border-radius:50%;right:-230px;bottom:-190px}.brand.large strong{font-size:19px}.login-story h1{font-size:clamp(38px,5vw,68px);line-height:1.02;letter-spacing:-3px;max-width:700px}.login-story>div:nth-child(2)>p:last-child{color:#bfd2c7;max-width:530px;line-height:1.6}.login-story small{color:#92ad9e}.login-panel{display:grid;place-items:center;padding:30px;background:#f5f3e9}.login-panel form{width:min(390px,100%);background:#fff;padding:36px;border-radius:16px;border:1px solid #dedfd7;box-shadow:0 18px 60px #38473712}.login-panel h2{font-size:29px;margin-bottom:7px}.login-panel form>p:nth-of-type(2){color:var(--muted);margin-bottom:26px}.login-panel .button{width:100%;margin-top:4px}@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.line-editor{grid-template-columns:2fr repeat(2,1fr) 30px}.line-editor .field:nth-of-type(4),.line-editor .field:nth-of-type(5){grid-row:2}.settings-grid{grid-template-columns:1fr}}@media(max-width:780px){.app-shell{display:block}.sidebar{position:relative;height:auto;padding:14px}.sidebar .brand{margin-bottom:12px}.sidebar nav{margin:0;display:flex;overflow-x:auto}.sidebar nav a{white-space:nowrap}.sidebar-user{display:none}.content{padding:25px 15px 60px}.page-header{align-items:flex-start;flex-direction:column}.metric-grid,.dashboard-grid,.dispatch-grid,.finance-summary,.login-page{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100vh}.form-grid{grid-template-columns:1fr}.line-editor{grid-template-columns:1fr 1fr}.line-editor .field:first-child{grid-column:1/-1}.line-editor .field:nth-of-type(4),.line-editor .field:nth-of-type(5){grid-row:auto}.remove-line{align-self:end}.mini-stats,.action-group{flex-wrap:wrap}.modal-backdrop{padding:8px}.modal{max-height:98vh;width:min(560px,100%)}.modal.wide{width:min(1180px,100%)}}.report-filters{display:flex;align-items:end;gap:14px;margin-bottom:18px}.report-filters>label{display:flex;flex-direction:column;gap:5px}.report-filters>label span{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:700}.report-filters>label select{min-width:120px}.report-filters>strong{margin-left:auto;padding-bottom:10px}.report-metrics .metric.negative{border-top:4px solid #b53a24}.report-balances small{color:var(--muted)}.report-chart{margin-bottom:18px}.chart-legend{display:flex;gap:14px;font-size:12px;color:var(--muted)}.chart-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}.chart-legend .sales:before,.bar.sales{background:#0d6b48}.chart-legend .purchases:before,.bar.purchases{background:#dba92d}.chart-legend .cash:before,.bar.cash{background:#6f8fb5}.activity-chart{height:240px;display:flex;align-items:stretch;gap:6px;padding-top:15px;overflow-x:auto;border-bottom:1px solid var(--line)}.chart-column{min-width:24px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}.bars{height:200px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}.bar{display:block;width:min(9px,28%);min-height:2px;border-radius:3px 3px 0 0;transition:height .25s}.chart-column small{height:28px;padding-top:4px;font-size:11px;color:var(--muted)}.report-table{margin-bottom:18px}.negative-money{color:#a82d18}.ranking-list{list-style:none;padding:0;margin:0;counter-reset:rank}.ranking-list li{counter-increment:rank;display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:15px}.ranking-list li:before{content:counter(rank);width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#e9f2ec;color:var(--green);font-size:12px;font-weight:800}.ranking-list strong{font-size:14px}@media(max-width:780px){.report-filters{align-items:stretch;flex-wrap:wrap}.report-filters>strong{width:100%;margin:0;padding:4px 0}.activity-chart{height:210px}.bars{height:170px}.report-rankings{grid-template-columns:1fr}}@media print{.sidebar,.page-header .button,.report-filters .segmented{display:none!important}.app-shell{display:block}.content{max-width:none;padding:12px}.card{box-shadow:none;break-inside:avoid}.report-chart{break-inside:avoid}.page-header{display:block;margin-bottom:15px}.report-filters{padding:10px}.report-metrics{grid-template-columns:repeat(4,1fr)}body{background:#fff}}.brand-logo{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;overflow:hidden;border-radius:11px;background:#fff;box-shadow:0 0 0 1px #0d6b481f,0 4px 14px #0000001f}.brand-logo img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.14)}.brand-logo-large{width:60px;height:60px;flex-basis:60px;border-radius:14px}.login-story .brand-logo{box-shadow:0 0 0 1px #ffffff26,0 7px 24px #0000002e}.client-dispatch-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.client-dispatch-toolbar>span{font-size:14px;color:var(--muted)}.client-dispatch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.client-dispatch-card{font:inherit;color:var(--ink);text-align:left;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:0 3px 16px #1f342809;transition:transform .16s,border-color .16s,box-shadow .16s}.client-dispatch-card:hover{transform:translateY(-2px);border-color:#9fb9aa;box-shadow:0 10px 26px #1f342817}.client-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.client-initial{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e2efe7;color:var(--green);font:800 17px Manrope}.dispatch-count{padding:6px 10px;border-radius:99px;background:#f1f3ef;color:var(--muted);font-size:12px}.dispatch-count strong{color:var(--ink);font-size:15px}.client-dispatch-card h2{font-size:19px;margin:0 0 4px}.client-dispatch-card>p{font-size:14px;color:var(--muted);margin-bottom:17px}.client-card-stats{display:flex;gap:8px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.client-card-stats span{flex:1;font-size:12px;color:var(--muted)}.client-card-stats strong{display:block;color:var(--ink);font-size:17px}.client-card-due{display:flex;justify-content:space-between;align-items:center;padding:15px 0 10px}.client-card-due span{font-size:12px;color:var(--muted)}.client-card-due strong{font-size:15px}.open-client{display:block;text-align:right;color:var(--green);font-size:13px;font-weight:800}.client-modal-summary{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:12px;background:#f5f7f3;border-radius:11px;padding:14px;margin-bottom:15px}.client-modal-summary>div{display:flex;flex-direction:column;gap:4px}.client-modal-summary span,.nested-dispatch-body span{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}.client-modal-summary a{color:var(--green);font-weight:700;font-size:15px}.nested-dispatch-list{display:flex;flex-direction:column;gap:11px}.nested-dispatch{border:1px solid var(--line);border-radius:12px;overflow:hidden}.nested-dispatch-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#fbfcfa}.nested-dispatch-head h3{font-size:15px;margin:4px 0 0}.nested-dispatch-body{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:14px 16px;border-top:1px solid var(--line)}.nested-dispatch-body>div{display:flex;flex-direction:column;gap:4px}.nested-dispatch-body strong{font-size:14px}.nested-dispatch-body .address-row{grid-column:1/-1}.nested-dispatch-actions{display:flex;justify-content:flex-end;align-items:center;min-height:48px;padding:9px 16px;border-top:1px solid var(--line)}.nested-dispatch-actions small{color:var(--muted)}@media(max-width:1100px){.client-dispatch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.client-dispatch-grid{grid-template-columns:1fr}.client-dispatch-toolbar{align-items:stretch;flex-direction:column}.client-modal-summary,.nested-dispatch-body{grid-template-columns:1fr}.nested-dispatch-body .address-row{grid-column:auto}}.sidebar nav{overflow-y:auto}.delivery-quantities,.return-lines{border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:16px}.delivery-quantities>p{font-size:13px;color:var(--muted)}.delivery-quantities>div,.return-lines>div{display:grid;grid-template-columns:1fr 150px;gap:14px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.delivery-quantities>div>span,.return-lines>div>div{display:flex;flex-direction:column;font-size:15px}.delivery-quantities small,.return-lines span{font-size:12px;color:var(--muted);margin-top:3px}.delivery-quantities .field,.return-lines .field{margin:0}.check-row{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:14px}.check-row input{width:auto}.ledger-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.statement-picker{display:flex;align-items:end;gap:12px;margin-bottom:18px}.statement-picker .field{min-width:320px;margin:0}.aging-summary{display:flex;gap:14px;margin-bottom:18px}.aging-summary span{padding:12px 16px;background:#f5f7f3;border-radius:10px;color:var(--muted);font-size:13px;display:flex;flex-direction:column;gap:4px}.aging-summary strong{font-size:18px;color:var(--ink)}@media(max-width:780px){.delivery-quantities>div,.return-lines>div{grid-template-columns:1fr}.ledger-toolbar,.statement-picker{align-items:stretch;flex-direction:column}.statement-picker .field{min-width:0}.aging-summary{flex-direction:column}}.search-results{position:absolute;left:0;right:0;top:46px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 50px #14271d2e;padding:7px;max-height:380px;overflow:auto}.search-results button{width:100%;border:0;background:transparent;padding:10px;border-radius:8px;display:flex;justify-content:space-between;text-align:left}.search-results button:hover{background:#f1f5f1}.search-results span{display:flex;flex-direction:column}.search-results small,.search-results em{color:var(--muted);font-size:12px}.search-results em{font-style:normal;text-transform:capitalize}.search-results p{padding:12px;margin:0;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:18px 0 0}.pagination button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 11px}.pagination span{font-size:13px;color:var(--muted)}.receipt-lines{border:1px solid var(--line);border-radius:11px;padding:5px 14px;margin-top:12px}.receipt-lines>div{display:grid;grid-template-columns:1fr 190px;gap:18px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.receipt-lines>div:first-child{border-top:0}.receipt-lines>div>span{display:flex;flex-direction:column}.receipt-lines small,.helper-copy{color:var(--muted);font-size:13px}.receipt-lines .field{margin:0}.warning-text{color:#9a5c00!important;white-space:normal;max-width:360px}.cash-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.cash-grid .card{display:flex;flex-direction:column;gap:7px}.cash-grid span{font-size:13px;color:var(--muted)}.cash-grid strong{font:700 20px Manrope}.activity-list>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:11px 0;border-top:1px solid var(--line)}.activity-list span{text-transform:capitalize;font-size:14px}.activity-list strong{font-size:13px}.activity-list small{grid-column:1/-1;color:var(--muted)}.import-toolbar{display:grid;grid-template-columns:1fr 2fr auto auto;gap:12px;align-items:end}.import-toolbar .field{margin:0}.notice.success{background:#e2f2e8;color:#176141;padding:10px 12px;border-radius:8px;margin:15px 0}.button input[hidden]{display:none}@media(max-width:900px){.cash-grid{grid-template-columns:repeat(2,1fr)}.import-toolbar{grid-template-columns:1fr}}@media(max-width:780px){.receipt-lines>div{grid-template-columns:1fr}.cash-grid{grid-template-columns:1fr}}.workflow-notice{margin:14px 0;padding:13px 15px;border:1px solid #b9dbc8;border-radius:10px;background:#eef8f2;color:#174c32}.workflow-notice strong{font-size:14px}.workflow-notice p{margin:4px 0 0;font-size:13px;line-height:1.5}.workflow-notice.standalone{border-color:#ead29a;background:#fff8e8;color:#704b00}.linked-document{display:inline-flex;padding:7px 10px;border-radius:8px;background:#edf4ef;color:#1b593c;font-size:13px;font-weight:700}.purchase-intro{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.purchase-intro>div{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.purchase-intro strong{font-size:15px}.purchase-intro span{color:var(--muted);font-size:13px;line-height:1.45}.link-cell{display:flex;flex-direction:column;gap:3px;align-items:flex-start;background:none;border:0;padding:0;text-align:left;color:var(--ink)}.link-cell strong{color:var(--green);text-decoration:underline;text-underline-offset:3px}.link-cell span{color:var(--muted);font-size:13px}.purchase-progress{display:flex;gap:4px;list-style:none;margin:0;padding:0}.purchase-progress li{padding:4px 9px;border-radius:99px;font-size:12px;font-weight:700;background:#eef0ed;color:#7a847c;white-space:nowrap}.purchase-progress li.done{background:#dff1e7;color:#176141}.purchase-progress li.done:before{content:"✓ "}.purchase-progress li.partial{background:#fff1c9;color:#805a00}.modal .purchase-progress{margin:0 0 12px}.purchase-done{color:#176141;font-weight:700;font-size:14px}.row-actions a.button{text-decoration:none;display:inline-flex;gap:5px;align-items:center}.purchase-items{margin:14px 0 0}.purchase-items td,.purchase-items th{padding:10px 14px}.purchase-section{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.purchase-section .section-heading{margin-bottom:10px}.purchase-entry{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px}.purchase-entry>span{display:flex;flex-direction:column;gap:3px}.purchase-entry small{color:var(--muted)}.purchase-entry em{color:var(--muted);font-size:13px}.purchase-entry.undone{opacity:.6}.purchase-entry.undone strong{text-decoration:line-through}@media(max-width:780px){.purchase-intro{grid-template-columns:1fr}.toolbar{flex-direction:column;align-items:stretch}.toolbar .segmented{overflow-x:auto}.purchase-entry{flex-direction:column;align-items:flex-start}}.line-editor{grid-template-columns:minmax(280px,3fr) minmax(150px,1fr) .7fr .9fr .8fr .55fr 30px;align-items:start}.line-editor .remove-line{margin-top:22px}.line-editor .field small{font-size:12px;white-space:nowrap}.line-editor .field:nth-of-type(n){grid-row:auto}.pack-toggle{padding:3px}.pack-toggle button{flex:1;padding:8px 10px}.pack-fixed{display:block;padding:10px 0;color:var(--muted);font-size:14px}.piece-count{display:inline-flex;flex-direction:column;gap:2px}.piece-count small{color:var(--muted);font-size:12px}.carton-piece-input{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:end}.carton-piece-input .field{margin:0}.carton-piece-input .plus{padding-bottom:11px;color:var(--muted);font-weight:700}.carton-piece-input>small{grid-column:1/-1;color:var(--muted);font-size:12px}.carton-piece-input>small.over{color:#a82d18;font-weight:700}.stock-line-editor{display:grid;grid-template-columns:2fr 1.4fr 30px;gap:12px;align-items:start;background:#f7f8f5;border-radius:10px;padding:12px;margin-bottom:8px}.stock-line-editor>.field{margin:0}.stock-line-editor .remove-line{margin-top:22px}@media(max-width:1050px){.line-editor{grid-template-columns:repeat(3,1fr) 30px}.line-editor>.field:first-child{grid-column:1/-1}}@media(max-width:780px){.line-editor{grid-template-columns:1fr 1fr}.line-editor>.field:first-child{grid-column:1/-1}.line-editor .remove-line{grid-column:1/-1;margin-top:0}.stock-line-editor{grid-template-columns:1fr}.stock-line-editor .remove-line{margin-top:0}}.receipt-lines.wide>div{grid-template-columns:1fr minmax(280px,340px)}@media(max-width:780px){.receipt-lines.wide>div{grid-template-columns:1fr}}.delivery-quantities>div{grid-template-columns:1fr minmax(280px,340px)}@media(max-width:780px){.delivery-quantities>div{grid-template-columns:1fr}}.return-lines>div{grid-template-columns:1fr minmax(280px,340px)}@media(max-width:780px){.return-lines>div{grid-template-columns:1fr}}.product-picker>input{width:100%}.line-editor>.field{min-width:0}.line-editor input,.line-editor select{width:100%}.menu-toggle{display:none}@media(max-width:780px){.sidebar{position:sticky;top:0;z-index:40;padding:10px 15px}.sidebar .brand{margin:0}.sidebar .brand-logo{width:36px;height:36px;flex-basis:36px}.menu-toggle{display:block;margin-left:auto;background:#24453a;color:#fff;border:0;border-radius:8px;padding:9px 14px;font-weight:700;font-size:14px}.sidebar nav,.sidebar .sidebar-user{display:none}.sidebar.open{max-height:100dvh;overflow-y:auto}.sidebar.open nav{display:flex;flex-direction:column;overflow:visible;margin-top:12px}.sidebar.open .sidebar-user{display:grid;margin-top:12px}.page-header h1{font-size:28px}.page-header .action-group,.page-header .row-actions{flex-wrap:wrap}.segmented{max-width:100%;overflow-x:auto}.segmented button{flex:0 0 auto;white-space:nowrap}.toolbar .search{width:100%}.table-wrap:has(.data-table){margin:0;overflow:visible}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%}.data-table thead{display:none}.data-table tr{border:1px solid var(--line);border-radius:12px;padding:6px 12px;margin-bottom:10px;background:#fff}.data-table td{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:7px 0;border:0;white-space:normal;text-align:right}.data-table td:before{content:attr(data-label);flex:0 0 auto;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;text-align:left}.data-table td[data-label=""]:before{display:none}.data-table td:first-child{display:block;text-align:left;padding:8px 0;border-bottom:1px solid #edf0ec}.data-table td:first-child:before{display:none}.data-table .row-actions,.purchase-progress{flex-wrap:wrap;justify-content:flex-end}.modal-backdrop{padding:0;align-items:end}.modal,.modal.wide{width:100vw;max-height:94dvh;border-radius:16px 16px 0 0}.form-actions{flex-wrap:wrap}}.form-grid>*,.field{min-width:0}.field>input,.field>select,.field>textarea{max-width:100%}.brand>div:not(.brand-logo){display:flex;flex-direction:column;min-width:0;flex:1}.brand>div strong,.brand>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:780px){.card:has(.data-table){padding:10px;background:transparent;border:0;box-shadow:none}.content{padding:18px 12px 60px}}.expense-form{margin-bottom:20px}.expense-saved{color:#176141;font-weight:700;font-size:14px}.expense-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.expense-categories button{border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 14px;font-weight:600;font-size:14px;color:var(--ink)}.expense-categories button.active{background:var(--green);border-color:var(--green);color:#fff}.expense-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-bottom:18px}.expense-summary .card{display:flex;flex-direction:column;gap:4px;padding:16px}.expense-summary span{color:var(--muted);font-size:13px;font-weight:600}.expense-summary strong{font-size:20px}.expense-summary small{color:var(--muted)}.expense-summary .card:first-child{background:var(--green);color:#fff}.expense-summary .card:first-child span,.expense-summary .card:first-child small{color:#d8eadf}.expense-range{display:flex;align-items:center;gap:8px}.expense-range span{color:var(--muted)}@media(max-width:780px){.expense-summary{grid-template-columns:1fr 1fr}.expense-range{flex-wrap:wrap}}.search-select{position:relative;display:inline-flex;flex-direction:column;min-width:0}.search-select-trigger{width:100%;min-width:140px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid #ccd4cd;border-radius:8px;padding:10px 32px 10px 11px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23525c54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center;color:var(--ink);cursor:pointer;outline:none}.search-select-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-select-trigger .placeholder{color:var(--muted)}.search-select-trigger:focus,.search-select.open .search-select-trigger{border-color:var(--green);box-shadow:0 0 0 3px #dcece3}.search-select-trigger:disabled{background-color:#f3f5f0;cursor:not-allowed;opacity:.7}.search-select .search-select-menu{z-index:40;top:calc(100% + 4px);min-width:220px;display:flex;flex-direction:column;gap:6px;max-height:none;overflow:visible}.search-select-menu>input{width:100%}.search-select-options{max-height:280px;overflow:auto}.search-select-options button{padding:8px 10px}.search-select-options button.active{background:#f1f5f1}.search-select-options button.selected{color:var(--green);font-weight:700}.search-select-options button:disabled{opacity:.45;cursor:not-allowed}.field>.search-select,.line-editor .search-select{width:100%}.report-filters>label .search-select-trigger{min-width:120px}.search-select-validator{position:absolute;left:12px;bottom:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}.date-input{position:relative;display:inline-flex;min-width:0;color:var(--muted)}.date-input>input:first-child{width:100%;min-width:130px;padding-right:38px}.date-input-button{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.date-input-button:hover{background:#f1f5f1;color:var(--green)}.date-input-button:disabled{cursor:not-allowed;opacity:.5}.date-input .date-input-native{position:absolute;right:0;bottom:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}.field>.date-input,.line-editor .date-input{width:100%}.reorder-client-summary,.reorder-history-heading,.reorder-history-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.reorder-client-results{display:grid;gap:8px}.reorder-client-results>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}.reorder-client-results>button:hover,.reorder-client-results>button:focus-visible{border-color:var(--green);background:#f1f5f1}.reorder-client-results>button>span:last-child{color:var(--green);font-size:13px;white-space:nowrap}.reorder-history{display:grid;gap:14px}.reorder-history-item{padding:16px;border:1px solid var(--line);border-radius:12px;min-width:0}.reorder-history-item>p{line-height:1.6;margin:12px 0}.reorder-history-item summary{cursor:pointer;color:var(--green);font-size:14px;font-weight:700}.reorder-history-item details[open] summary{margin-bottom:12px}.reorder-history-footer{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.reorder-history-footer>span{color:var(--muted);font-size:14px}@media(max-width:780px){.reorder-client-results>button{align-items:flex-start}.reorder-history-heading,.reorder-history-footer{align-items:flex-start;flex-wrap:wrap}.reorder-history-item{padding:12px}.reorder-history-footer .button{width:100%}}.finance-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px 16px;align-items:end;margin-bottom:16px}.finance-filters .field{margin-bottom:0}.finance-filter-check{display:flex;align-items:center;gap:9px;min-height:42px;font-size:13px;font-weight:600}.finance-filter-check input{width:16px;height:16px;flex-shrink:0;accent-color:var(--green)}.finance-filter-count{margin:0 0 16px}@media(max-width:480px){.finance-filters{grid-template-columns:1fr}}.report-costs{grid-template-columns:repeat(2,minmax(0,1fr))}.report-costs small{color:var(--muted)}.report-cost-warning{padding:14px 16px;margin-bottom:18px;background:#fff3dd;color:#805200;border:1px solid #edd4a7;border-radius:10px}@media(max-width:480px){.report-costs{grid-template-columns:1fr}}
