:root{--green:#254e3e;--ink:#243830;--muted:#76827b;--line:#e2e7e2;--cream:#f7f8f4;--gold:#c2a568}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:20px;border:1px solid var(--green);border-radius:7px;background:var(--green);color:white;padding:11px 18px;font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none}button:hover,.button:hover{background:#193d2f;text-decoration:none}.secondary{background:white;color:var(--green);border-color:#d3dcd4}.secondary:hover{background:#edf2ed}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 19px}.brand{display:flex;align-items:center;gap:11px;padding:0 8px;color:var(--ink);font-weight:700;font-size:17px}.brand:hover{text-decoration:none}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:2.5px;margin-top:1px}.brandmark{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--green);color:#e5d7b3;font-family:Georgia,serif;font-size:19px;font-weight:600;flex-shrink:0}.navlabel{font-size:10px;letter-spacing:1.6px;color:#879087;margin:49px 15px 12px}nav{display:grid;gap:7px}nav a{display:flex;align-items:center;gap:13px;padding:12px 15px;color:#637068;font-weight:500;border-radius:6px}nav a span{font-size:20px;line-height:1;width:21px;text-align:center}nav a.active{background:#eaf0e8;color:#254e3e}nav a:hover{background:#f0f4ee;text-decoration:none}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px;display:flex;gap:10px;align-items:center;font-size:12px}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px}.sidebar-bottom form{margin-left:auto}.avatar{display:grid;place-items:center;background:#efeada;border-radius:50%;width:34px;height:34px}.logout{background:none;border:0;color:var(--muted);padding:3px;font-size:20px}.shell{margin-left:238px}header{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:12px}.header-note{color:var(--muted);display:flex;align-items:center;gap:9px}i{width:6px;height:6px;background:#66916a;border-radius:50%}main{max-width:1600px;padding:36px 40px 60px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#71836f;margin:0 0 8px}h1{font-family:Georgia,"Times New Roman",serif;font-size:35px;letter-spacing:-.9px;font-weight:400;line-height:1.2;margin:0 0 10px}h1 .badge{vertical-align:middle;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}h2{font-size:16px;font-weight:650;margin:0 0 4px}p{margin:0 0 14px;color:#738077}.page-heading p:last-child{margin:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.metrics article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.metrics article>span{display:block;color:#68766b;font-size:12px}.metrics strong{display:block;font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.4;letter-spacing:-.7px;margin:9px 0}.metrics small{font-size:10px;color:var(--muted)}.workflow{display:flex;align-items:center;gap:28px;background:#edf0e7;border:1px solid #e1e5d8;border-radius:9px;padding:24px 30px;margin:0 0 30px}.workflow>div{position:relative;flex:1;padding-left:42px}.workflow strong{display:block;font-size:12px}.workflow small{display:block;font-size:10px;color:var(--muted)}.workflow b{color:#a5b09d;font-weight:400}.step{position:absolute;left:0;top:2px;border:1px solid #bbc9b2;background:#f7f9f1;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:11px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:24px;overflow:hidden}.padded{padding:24px}.section-heading{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading p{margin:3px 0 0;font-size:12px}.section-heading>a,.section-heading>span{font-size:12px}.bare{padding:0 0 12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-weight:500;color:#788278;font-size:10px;letter-spacing:.4px;background:#f8f9f5;padding:13px 20px;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #edf0ea}tr:last-child td{border-bottom:0}.strong{font-weight:650}small,.muted{color:var(--muted)}.block{display:block;font-size:10px;margin-top:3px}.badge{font-size:10px;padding:4px 9px;border-radius:5px;background:#eff1ed;color:#768275;white-space:nowrap}.badge.open,.badge.processing,.badge.active{background:#ebf2e9;color:#4a724b}.badge.processing{background:#faf0d9;color:#98772e}.badge.completed,.badge.closed{background:#e9eef5;color:#536b86}.badge.cancelled{background:#faeae7;color:#a25e50}.empty{text-align:center;padding:44px;color:var(--muted)}.hint{border:1px dashed #d8dfcf;padding:19px 23px;border-radius:8px;color:#768170;font-size:12px;margin-bottom:22px}.hint strong{color:#586b50;margin-right:8px}.notice{background:#f5f1e4;border:1px solid #e8dfc7;border-radius:7px;padding:14px 18px;margin-bottom:24px;font-size:13px}.notice.error{background:#fff0ec;border-color:#efc9be;color:#994b38}.notice.success{background:#edf4e9;border-color:#cedfc4;color:#426238}.split{display:grid;grid-template-columns:minmax(320px,1fr) minmax(0,1.65fr);gap:24px;align-items:start}.split>.panel{min-width:0}.split .split{display:block}label{display:block;font-size:12px;font-weight:550;margin:17px 0 0}input,select,textarea{display:block;width:100%;padding:10px 11px;border:1px solid #dbe1d9;border-radius:6px;background:white;color:var(--ink);margin:6px 0 0;min-width:0}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #b7c9ac;outline-offset:1px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}form>button{margin-top:20px}form>small{display:block;margin-top:8px;font-size:10px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.inline-form{display:flex;gap:8px;align-items:center}.inline-form input{margin:0;max-width:230px}.inline-form button{margin:0}.order-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:25px}.order-actions button{margin:0}.small{padding:6px 10px;font-size:11px}.separator{margin:0 9px;color:#b0b9ac}.purchase-line input{min-width:85px;margin:0}.purchase-line select{min-width:220px;margin:0}.purchase-line td{padding:14px 10px}.purchase-line td:first-child{padding-left:24px}.icon-button{padding:4px 8px;background:none;color:#8e7164;border:0;font-size:20px}.purchase-total{padding:22px 24px;display:flex;justify-content:flex-end;gap:28px;background:#f9faf7;border-top:1px solid var(--line);align-items:center}.purchase-total strong{font-size:22px}.purchase-total span{font-size:12px;color:var(--muted)}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:20px}.form-actions small{font-size:12px}.report-filter{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.report-filter label{flex:1;margin:0;min-width:140px}.report-filter button{margin:0}footer{padding:22px 40px;border-top:1px solid var(--line);color:#83907e;font-size:10px;display:flex;justify-content:space-between}.auth{max-width:440px;margin:8vh auto;padding:38px;background:white;border:1px solid var(--line);border-radius:12px}.auth .brandmark{margin-bottom:26px}.auth h1{font-size:31px}.auth button{width:100%;justify-content:space-between}.auth>small{display:block;margin-top:18px;font-size:11px}.auth .eyebrow{font-size:9px}button:focus-visible,a:focus-visible{outline:3px solid #b6c68c;outline-offset:3px}@media(min-width:1600px){main{padding-top:48px}}@media(max-width:1150px){.sidebar{width:200px;padding:24px 12px}.brand{font-size:14px}.shell{margin-left:200px}main{padding:28px 24px}.metrics{gap:10px}.metrics article{padding:17px}.metrics strong{font-size:27px}.split{grid-template-columns:1fr}.workflow{gap:15px;padding:20px}.header-note{display:none}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brandmark{width:34px;height:34px;font-size:16px}.navlabel,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:17px;gap:4px}nav a{padding:8px 12px;font-size:11px;white-space:nowrap}nav a span{display:none}.shell{margin:0}header{height:46px;padding:0 20px}main{padding:25px 16px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:14px}h1{font-size:30px}.metrics{grid-template-columns:1fr 1fr}.metrics article{padding:16px}.metrics strong{font-size:25px}.metrics small{font-size:9px}.workflow{display:none}.split{gap:0}.form-grid{grid-template-columns:1fr;gap:0}.section-heading{padding:19px}.padded{padding:20px}.form-actions{align-items:flex-start;flex-direction:column}footer{padding:20px 16px}.auth{margin:5vh 16px}.report-filter{display:grid;grid-template-columns:1fr 1fr}.report-filter label{min-width:0}.report-filter button{align-self:end}td{padding:14px}.inline-form{flex-wrap:wrap}}@media print{.sidebar,header,footer,.report-filter,button{display:none!important}.shell{margin:0}body{background:white}main{padding:0}.panel{break-inside:avoid}.metrics{gap:8px}a{color:inherit}}

.badge.available,.badge.issued{background:#e7f2e9;color:#346044}.badge.sold{background:#e9eef5;color:#536b86}.badge.voided{background:#faeae7;color:#a25e50}.invoice-line select{min-width:300px}.invoice-line input{min-width:110px}.invoice-line td{padding:14px}.invoice-top{display:flex;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding-bottom:20px}.invoice-top>div:last-child{text-align:right}.invoice-customer{padding:26px 0}.invoice-notes{padding:24px 0 0}.invoice-document .purchase-total{margin-top:12px}.invoice-document{max-width:1100px;margin-left:auto;margin-right:auto}@media print{.no-print{display:none!important}.invoice-document{border:0;border-radius:0;padding:0;max-width:none}.invoice-document .table-wrap{overflow:visible}.invoice-document table{font-size:11px}.invoice-document td,.invoice-document th{padding:10px}.invoice-document{break-inside:auto}.invoice-document tr{break-inside:avoid}@page{margin:16mm}}

.purchase-line select[data-parent-category]{min-width:135px}.category-parent th{font-weight:650;color:var(--green);background:#edf2e9;font-size:12px}

[hidden]{display:none!important}.customer-search{display:flex;gap:12px;padding:0 24px 20px}.customer-search input{margin:0}.customer-search button{margin:0}.profile-actions{display:flex;gap:8px;flex-wrap:wrap}.report-basis{font-size:11px;margin:16px 0 0}.customer-insights{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border:1px solid var(--line);border-radius:9px;padding:20px 24px;margin-bottom:24px;background:#eef2e9}.customer-insights span{display:block;font-size:11px;color:var(--muted)}.customer-insights strong{display:block;font-size:16px;font-weight:600;margin-top:5px}.purchase-chart{width:100%;height:auto;min-height:160px}.chart-axis{stroke:#b9c7b7;stroke-width:1}.chart-grid{stroke:#e2e8df;stroke-dasharray:4 4}.chart-bar{fill:#47775b}.chart-bar:hover,.chart-bar:focus{fill:#b39b61;outline:none}.chart-label{fill:#6e7e6e;font-size:11px}.chart-year{fill:#8b9687;font-size:9px}.chart-data summary,details>summary{cursor:pointer;color:var(--green);font-weight:550}.chart-data{margin-top:12px;font-size:12px}meter{width:150px;max-width:100%;height:14px;accent-color:var(--green)}@media(max-width:700px){.customer-insights{grid-template-columns:1fr 1fr;gap:16px}.profile-actions{gap:6px}.profile-actions .button,.profile-actions button{padding:8px 12px;font-size:12px}}@media print{.purchase-chart{max-height:260px}.customer-insights{grid-template-columns:repeat(4,1fr)}.chart-data>summary{display:none}.chart-data[open]{break-inside:avoid}.report-basis{margin-top:0}}

.chart-scroll{overflow-x:auto}.purchase-chart{min-width:650px}@media print{.purchase-chart{min-width:0}.chart-scroll{overflow:visible}}

button:disabled{opacity:.5;cursor:not-allowed}.badge.awaiting{background:#faf0d9;color:#98772e}
.reconciliation-chart{width:100%;height:auto;max-height:100px}.chart-grid-fill{fill:#edf0e7}.exception-bar{fill:#ba9a60}.report-facts{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:12px}.report-facts dt{color:var(--muted)}.report-facts dd{margin:0;text-align:right;font-weight:650}@media print{.reconciliation-chart{max-height:80px}.table-wrap{overflow:visible}details.panel{break-inside:auto}}

@media print{.slaughter-report table{table-layout:fixed;font-size:9px}.slaughter-report th{font-size:8px;white-space:normal}.slaughter-report td,.slaughter-report th{padding:6px 4px;overflow-wrap:anywhere}.slaughter-report .panel{break-inside:auto}.slaughter-report tr{break-inside:avoid}}
.process-page{padding-bottom:105px}.process-navigation{display:block;position:sticky;top:0;z-index:10;background:var(--cream);padding:10px 0 16px;margin-bottom:18px}.process-navigation ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0}.process-navigation li{min-width:0}.process-navigation a,.process-navigation .locked-step{display:flex;gap:10px;align-items:center;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:1.3;color:var(--muted);height:100%;font-weight:550}.process-navigation .current a{background:#e9f0e5;color:var(--green);border-color:#adc09f}.process-navigation a span,.process-navigation .locked-step b{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:50%;background:#eff2eb;font-size:11px;font-weight:600}.process-navigation .current a span{background:var(--green);color:white}.process-navigation .locked-step{opacity:.6}.processing-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 24px;padding:18px 22px;border:1px solid var(--line);border-radius:10px;background:white}.processing-summary span{display:block;font-size:10px;color:var(--muted)}.processing-summary strong{display:block;font-size:22px;font-weight:550;margin-top:3px}.processing-summary small{font-size:11px}.purchase-facts{display:flex;gap:40px;margin-top:20px}.purchase-facts span{font-size:12px;color:var(--muted)}.purchase-facts strong{display:block;font-size:22px;font-weight:500;color:var(--ink)}.weight-entry{font-size:34px;line-height:1.4;height:78px;font-weight:550;letter-spacing:1px}.recording-layout{grid-template-columns:minmax(320px,1.35fr) minmax(260px,1fr)}.recording-layout .panel .panel{border:0;margin:10px 0 0;padding:0}.review-checks{display:flex;flex-wrap:wrap;gap:12px 24px;color:var(--green);font-size:12px;margin:20px 0}.review-heading,.processing-complete{border-top:3px solid #779468}.processing-complete h2{font-family:Georgia,serif;font-size:28px;font-weight:400}.process-taskbar{position:fixed;z-index:30;left:238px;bottom:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 40px;background:#fff;border-top:1px solid #d1dbcc;box-shadow:0 -5px 22px #2438300a}.process-taskbar>div:first-child strong{display:block;font-size:13px}.process-taskbar>div:first-child small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.taskbar-actions{display:flex;gap:10px;align-items:center}.process-taskbar form{margin:0}.process-taskbar form>button{margin:0}.process-page details>summary{font-size:13px}.process-page details>.panel{margin-top:18px;margin-bottom:0;border:0}.process-page details>p{margin-top:14px}.process-page [id]{scroll-margin-top:100px;scroll-margin-bottom:130px}html{scroll-padding-bottom:120px}@media(max-width:1150px){.process-taskbar{left:200px;padding:16px 24px}.recording-layout{grid-template-columns:1fr}.process-taskbar>div:first-child small{max-width:240px}.process-navigation a,.process-navigation .locked-step{padding:10px;gap:7px;font-size:11px}}@media(max-width:700px){.process-taskbar{left:0;padding:12px 16px;gap:10px;flex-wrap:wrap}.process-taskbar>div:first-child{width:100%}.process-taskbar>div:first-child small{display:none}.taskbar-actions{width:100%;justify-content:flex-end;gap:8px}.taskbar-actions .button,.taskbar-actions button{padding:10px 12px;font-size:12px}.process-navigation{padding-top:8px;margin-bottom:12px}.process-navigation a,.process-navigation .locked-step{padding:8px 4px;gap:6px;flex-direction:column;text-align:center;font-size:10px}.process-navigation ol{gap:5px}.process-navigation a span,.process-navigation .locked-step b{height:22px;width:22px}.processing-summary{grid-template-columns:repeat(3,1fr);padding:14px;gap:12px}.processing-summary strong{font-size:19px}.processing-summary span{font-size:9px}.process-page{padding-bottom:130px}.weight-entry{height:70px}.purchase-facts{gap:24px}}@media print{.process-taskbar,.process-navigation{display:none!important}.process-page{padding-bottom:0}}

.order-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.order-filter-grid label{margin:0}.order-filter-grid .filter-search{grid-column:span 2}.filter-ranges{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.order-range-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:14px}.order-range-grid fieldset{border:1px solid var(--line);border-radius:7px;min-width:0;padding:12px}.order-range-grid legend{font-size:11px;padding:0 6px;color:var(--muted)}.order-range-grid label{margin:0}.order-filter-options{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:18px}.order-filter-options label{margin:0;flex:1;min-width:130px}.order-filter-options button{margin:0}.active-order-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.active-order-filters:empty{display:none}.active-order-filters a{display:inline-flex;align-items:center;gap:10px;font-size:11px;background:#e9efe4;border:1px solid #d4dfca;border-radius:18px;padding:5px 11px;overflow-wrap:anywhere}.active-order-filters a span{font-size:16px}.order-pagination{padding:18px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}.order-pagination>div{display:flex;align-items:center;gap:12px}@media(max-width:1000px){.order-filter-grid{grid-template-columns:1fr 1fr}.order-range-grid{grid-template-columns:1fr}}@media(max-width:600px){.order-filter-grid{grid-template-columns:1fr}.order-filter-grid .filter-search{grid-column:auto}.order-pagination{align-items:flex-start;flex-direction:column}.order-filter-options label{min-width:45%}}

.purchase-orders-layout{display:grid;grid-template-columns:265px minmax(0,1fr);align-items:start;gap:25px}.order-filter-sidebar{position:sticky;top:18px;min-width:0}.order-filter-panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.order-filter-panel>summary{display:none}.filter-panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line)}.filter-panel-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:5px}.filter-panel-heading h2{font-size:18px;margin:0}.filter-panel-heading h2 span{display:inline-grid;place-items:center;margin-left:5px;width:22px;height:22px;border-radius:50%;background:#e9efe4;font-size:11px;color:var(--green);vertical-align:middle}.filter-panel-heading>a{font-size:11px}.order-filter-panel form[data-list-filter-form]{display:flex;flex-direction:column}.filter-sidebar-body{padding:18px 20px;max-height:calc(100vh - 380px);max-height:calc(100dvh - 380px);min-height:140px;overflow-y:auto;scrollbar-width:thin}.order-filter-sidebar .order-filter-grid{grid-template-columns:minmax(0,1fr);gap:14px}.order-filter-sidebar .order-filter-grid .filter-search{grid-column:auto}.order-filter-sidebar input,.order-filter-sidebar select{font-size:12px;padding:9px 10px}.order-filter-sidebar label{font-size:11px}.order-filter-sidebar .filter-ranges{margin-top:18px}.order-filter-sidebar .filter-ranges>summary{font-size:11px;line-height:1.5}.order-filter-sidebar .order-range-grid{grid-template-columns:1fr;gap:12px}.order-filter-sidebar .order-range-grid .form-grid{grid-template-columns:1fr 1fr;gap:8px}.filter-sidebar-options{border-top:1px solid var(--line);margin-top:18px;padding-top:2px}.filter-sidebar-body>small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:16px}.filter-sidebar-footer{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px 16px;background:#fbfcf9;border-top:1px solid var(--line)}.filter-sidebar-footer button,.filter-sidebar-footer .button{margin:0;font-size:12px;padding:10px 12px}.orders-results{min-width:0}.orders-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px}.orders-results-toolbar h2{font-size:17px}.orders-results-toolbar p{font-size:11px;margin:2px 0 0}.order-list-settings{display:flex;gap:10px}.order-list-settings label{font-size:10px;margin:0}.order-list-settings select{font-size:11px;padding:8px 10px;margin-top:4px}.orders-results .metrics{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.orders-results .metrics article{padding:18px}.orders-results .metrics strong{font-size:27px}.orders-results .section-heading{align-items:flex-start}.orders-results .order-pagination{flex-wrap:wrap}.orders-results .active-order-filters a{font-size:10px}@media(min-width:1650px){.orders-results .metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.purchase-orders-layout{grid-template-columns:1fr;gap:20px}.order-filter-sidebar{position:static}.order-filter-panel>summary{display:flex;align-items:center;gap:12px;padding:16px 20px;font-size:14px;font-weight:600;list-style:none}.order-filter-panel>summary::-webkit-details-marker{display:none}.order-filter-panel>summary span{font-size:10px;font-weight:400;border-radius:12px;background:#e9efe4;padding:3px 9px;color:var(--green)}.order-filter-panel>summary b{margin-left:auto;transition:transform .15s}.order-filter-panel[open]>summary b{transform:rotate(180deg)}.filter-panel-heading{display:none}.filter-sidebar-body{max-height:none;border-top:1px solid var(--line)}.order-filter-sidebar .order-filter-grid{grid-template-columns:1fr 1fr}.order-filter-sidebar .filter-search{grid-column:span 2!important}.order-filter-sidebar .order-range-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-sidebar-footer{position:sticky;bottom:0;z-index:2}.orders-results .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.order-filter-sidebar .order-filter-grid{grid-template-columns:1fr}.order-filter-sidebar .filter-search{grid-column:auto!important}.order-filter-sidebar .order-range-grid{grid-template-columns:1fr}.orders-results-toolbar{align-items:flex-start;flex-direction:column}.order-list-settings{width:100%}.order-list-settings label:first-child{flex:1}.orders-results .metrics{grid-template-columns:1fr 1fr}.orders-results .metrics strong{font-size:23px}.orders-results .metrics article{padding:14px}.filter-sidebar-body{padding:16px}.orders-results .order-pagination{align-items:flex-start;flex-direction:column}}@media print{.order-filter-sidebar,.order-list-settings,.active-order-filters{display:none!important}.purchase-orders-layout{display:block}}

.farmer-yield-chart{width:auto;min-width:100%;height:290px;max-height:none}@media print{.farmer-yield-chart{width:100%;height:auto;min-width:0}}

@media print{.farmer-report table{table-layout:fixed;font-size:9px}.farmer-report th{font-size:8px;white-space:normal}.farmer-report td,.farmer-report th{padding:6px 4px;overflow-wrap:anywhere}.farmer-report .panel{break-inside:auto}.farmer-report tr{break-inside:avoid}.farmer-report .chart-scroll{overflow:visible}}

.invoice-workspace{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:24px;align-items:start}.invoice-items-workspace{min-width:0}.invoice-checkout{position:sticky;top:18px}.invoice-checkout .form-grid{grid-template-columns:1fr}.invoice-scan-panel{border-top:4px solid var(--green);position:relative}.invoice-scan-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.invoice-scan-heading h2{margin:0}.invoice-search-controls{display:flex;gap:10px}.invoice-search-controls input{flex:1;min-width:0;font-size:17px;margin:0;padding:15px}.invoice-search-controls button{white-space:nowrap;margin:0}.invoice-scan-options{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:12px 0}.invoice-scan-options label{flex:1;min-width:170px;margin:0}.invoice-scan-options button{margin:0 0 1px}.invoice-scan-feedback{font-size:12px;min-height:20px;color:var(--green)}.invoice-scan-feedback.scan-error{color:#a04030;font-weight:600}.invoice-search-results{border:1px solid var(--line);border-radius:8px;max-height:310px;overflow:auto;background:white;box-shadow:0 8px 22px #24383012;margin-top:6px}.invoice-search-option{padding:12px 15px;cursor:pointer;border-bottom:1px solid var(--line)}.invoice-search-option:hover,.invoice-search-option[aria-selected=true]{background:#edf3e8}.invoice-search-option strong,.invoice-search-option small{display:block}.invoice-search-option small{color:var(--muted)}.invoice-search-empty,.invoice-empty{padding:24px;color:var(--muted);text-align:center;font-size:12px}.invoice-builder .invoice-line select{min-width:200px;max-width:320px;font-size:12px}.invoice-builder .invoice-line td{padding:12px}.invoice-builder .invoice-line input{width:115px}.invoice-checkout-summary{border-top:3px solid var(--green)}#invoice-checkout-total{display:block;font-size:34px;font-weight:600}#invoice-issue{width:100%;margin:12px 0}.invoice-checkout-summary small{display:block;color:var(--muted)}#invoice-item-count{background:#edf3e8;border-radius:20px;padding:3px 9px;font-size:12px}@media(max-width:1200px){.invoice-workspace{grid-template-columns:1fr}.invoice-checkout{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}}@media(max-width:700px){.invoice-checkout{display:block}.invoice-search-controls{flex-direction:column}.invoice-scan-heading{align-items:flex-start;flex-direction:column}.invoice-search-controls input{font-size:16px}.invoice-scan-options button{width:100%}}

@media(max-width:700px){.invoice-builder .table-wrap table,.invoice-builder .table-wrap tbody{display:block;width:100%}.invoice-builder .table-wrap thead{display:none}.invoice-builder .invoice-line{display:grid;grid-template-columns:1fr 1fr;position:relative;border-bottom:1px solid var(--line);padding:14px}.invoice-builder .invoice-line td{display:block;border:0;padding:6px}.invoice-builder .invoice-item-cell{grid-column:1 / -1;padding-right:38px!important}.invoice-builder .invoice-line select{width:100%;min-width:0;max-width:none}.invoice-builder .invoice-line td[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.invoice-builder .invoice-line .invoice-remove-cell{position:absolute;right:9px;top:14px}.invoice-builder .invoice-line input{width:100%;min-width:0}.invoice-builder .invoice-line [data-sale-cost]{grid-column:2}}

.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}.dashboard-date{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px}.dashboard-date form{display:flex;gap:12px;align-items:end}.dashboard-date label{margin:0;font-size:11px}.dashboard-date input{margin:4px 0 0}.dashboard-date button{margin:0}.dashboard-date form>a{align-self:center;font-size:12px}.dashboard-date p{font-size:11px;text-align:right;margin:0;color:var(--muted)}.dashboard-section-title{display:flex;justify-content:space-between;align-items:end;margin:28px 0 16px;gap:16px}.dashboard-section-title h2{font-size:21px;margin:0}.dashboard-section-title .eyebrow{margin:0 0 5px}.dashboard-section-title>span{font-size:11px;color:var(--muted)}.dashboard-metrics article{border-top:3px solid var(--green)}.dashboard-metrics article:nth-child(2){border-top-color:var(--gold)}.dashboard-metrics a{display:block;font-size:11px;margin-top:14px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:22px;margin-bottom:22px}.dashboard-grid>.panel{min-width:0;margin-bottom:0}.dashboard-trend .section-heading{padding:0;border:0;gap:14px}.dashboard-legend{display:flex;gap:14px;font-size:10px;white-space:nowrap;color:var(--green)}.dashboard-legend span+span{color:#a18548}.dashboard-chart{width:100%;height:auto;min-width:480px;display:block}.dashboard-basis{font-size:11px;color:var(--muted);line-height:1.7}.dashboard-attention-total{display:flex;align-items:center;gap:14px;margin:12px 0}.dashboard-attention-total strong{font-size:40px;line-height:1.2}.dashboard-attention-total span{font-size:12px}.dashboard-attention-links>a,.dashboard-attention-links>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.dashboard-tasks>a{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.dashboard-tasks small{display:block;font-size:10px;color:var(--muted)}.dashboard-stock-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;background:#eaf0e5;border:1px solid #dce5d5;border-radius:10px;margin-bottom:22px}.dashboard-stock-strip span,.dashboard-stock-strip small{display:block;color:var(--muted);font-size:11px}.dashboard-stock-strip strong{font-size:30px;font-weight:550;display:block}.dashboard-category{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.dashboard-category meter{width:100%;height:12px}.dashboard-category small{font-size:10px;color:var(--muted)}@media(max-width:1150px){.dashboard-grid{grid-template-columns:1fr}.dashboard-stock-strip{flex-wrap:wrap}.dashboard-date{align-items:start}}@media(max-width:700px){.dashboard-date{flex-direction:column}.dashboard-date p{text-align:left}.dashboard-date form{flex-wrap:wrap}.dashboard-section-title h2{font-size:18px}.dashboard-trend .section-heading{flex-wrap:wrap}.dashboard-stock-strip{display:grid;grid-template-columns:1fr 1fr;padding:20px}.dashboard-stock-strip .button{grid-column:1 / -1}.dashboard-actions .button{font-size:12px}.dashboard-metrics strong{font-size:23px}.dashboard-metrics article{padding:15px}}

.sales-trend-chart{width:auto;min-width:100%;height:260px;display:block}.sales-report .section-heading{gap:16px}.sales-report .customer-insights strong small{display:block;font-size:11px;font-weight:400;color:var(--muted)}@media print{.sales-report table{table-layout:fixed;font-size:9px}.sales-report td,.sales-report th{padding:6px 4px;overflow-wrap:anywhere;white-space:normal}.sales-report .panel{break-inside:auto}.sales-report tr{break-inside:avoid}.sales-report .dashboard-grid{display:block}.sales-report .chart-scroll{overflow:visible}.sales-trend-chart{width:100%;height:auto;min-width:0}}

.farmer-picker{min-width:0;position:relative}.farmer-picker>label{margin-bottom:0}.farmer-results{position:absolute;left:0;right:0;z-index:15;max-height:300px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #24383016}.farmer-result{padding:12px 14px;border-bottom:1px solid var(--line);cursor:pointer}.farmer-result:hover,.farmer-result[aria-selected=true]{background:#edf3e8}.farmer-result strong,.farmer-result small{display:block}.farmer-result small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}#purchase-farmer-help{display:block;margin-top:5px;color:var(--muted);font-size:11px}

.read-only form:has(input[name=action]:not([value=logout]):not([value^=profile_])){display:none}

.business-logo{display:block;width:100%;height:auto;object-fit:contain}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.brand .business-logo{width:180px;max-width:100%;height:120px}.brand-caption{font-size:9px;letter-spacing:2px;color:var(--muted);align-self:center}.auth>.business-logo{width:210px;height:140px;margin:0 auto 18px}.invoice-logo{display:block;width:185px;height:auto;object-fit:contain;margin-bottom:12px}.document-brand{align-items:center;gap:18px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--line)}.document-brand .business-logo{width:115px;height:auto}.document-brand strong{font-size:14px}.print-only{display:none}.header-note{font-size:10px}.shell>footer{font-size:10px}@media(max-width:700px){.brand{flex-direction:row;align-items:center;gap:15px}.brand .business-logo{width:135px;height:90px}.brand-caption{align-self:center}.invoice-logo{width:145px}}@media print{.print-only.document-brand{display:flex}.business-logo,.invoice-logo,.label-logo{print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-logo{width:160px}.document-brand{break-inside:avoid}.invoice-top{break-inside:avoid}}

@media print{.notice.success{display:none!important}}

.danger-action{color:#9d352d;border-color:#d6aaa4}.purchase-removal-dialog{width:min(480px,calc(100% - 32px));padding:28px;border:1px solid var(--line);border-radius:12px;color:var(--ink);box-shadow:0 20px 70px #0003}.purchase-removal-dialog::backdrop{background:#14251db3}.purchase-removal-dialog h2{font-size:22px}.purchase-removal-dialog p{font-size:13px}.purchase-removal-dialog>button{margin-top:10px}.purchase-removal-dialog form>button{background:#9d352d;border-color:#9d352d;color:white}@media(max-width:700px){.taskbar-actions{flex-wrap:wrap}.process-page{padding-bottom:170px}}

.purchase-payment-details{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.purchase-payment-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}.purchase-payment-facts dt{font-size:11px;color:var(--muted)}.purchase-payment-facts dd{margin:4px 0 0;font-size:15px;font-weight:600;overflow-wrap:anywhere}@media(max-width:700px){.purchase-payment-facts{grid-template-columns:1fr}}

.purchase-notes{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.purchase-notes p{margin-bottom:0}

.purchase-farmer-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin-top:20px}.purchase-farmer-details .section-heading{padding:0 0 12px;border:0;gap:12px}.purchase-farmer-details h3{margin:0;font-size:14px}.purchase-farmer-details a{font-size:12px}.purchase-farmer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0 0 12px}.purchase-farmer-facts dt{font-size:11px;color:var(--muted)}.purchase-farmer-facts dd{margin:4px 0 0;font-size:14px;overflow-wrap:anywhere}.purchase-farmer-details>small{color:var(--muted);font-size:10px}@media(max-width:700px){.purchase-farmer-facts{grid-template-columns:1fr}}

.purchase-expense-line input,.purchase-expense-line select{min-width:120px}.purchase-expense-help{padding:0 24px 20px;font-size:11px;color:var(--muted)}

@media(min-width:701px){.process-navigation ol{grid-template-columns:repeat(5,minmax(0,1fr))}}

.weight-entry-actions{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.weight-entry-actions button{margin:0 0 8px}.weight-entry-actions small{display:block;font-size:11px;color:var(--muted)}

.category-card>.section-heading{gap:16px;flex-wrap:wrap}.category-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.category-actions form{margin:0}.category-actions .button{min-height:36px;padding:7px 12px;margin:0;font-size:12px;line-height:1.4;border-radius:6px}.category-actions .category-remove{color:#9d352d;background:#fff;border-color:#e6c7c3}.category-actions .category-remove:hover{background:#fff0ee;border-color:#b4574e}.category-actions .button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.category-actions-heading{text-align:right}.category-card td:last-child{width:1%;white-space:nowrap}.category-card td .category-actions{flex-wrap:nowrap}@media(max-width:700px){.category-card>.section-heading>.category-actions{justify-content:flex-start;width:100%}.category-actions .button{min-height:40px}}
.category-sort-controls{display:inline-flex;gap:3px;vertical-align:middle;margin-right:10px}.category-sort-controls button{background:white;color:var(--muted);border:1px solid var(--line);padding:4px 7px;min-height:32px;margin:0;font-size:14px}.category-sort-controls .category-drag{cursor:grab;color:var(--green)}.category-sort-controls button:hover{background:#edf2ed;color:var(--green)}.category-sort-controls button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.category-dragging{opacity:.45}#category-order-feedback{display:inline-block;margin-left:12px;color:var(--green);font-size:12px}

.weight-save-receipt{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;margin:16px 0;background:#edf6ee;border:1px solid #b8d7bf;border-left:4px solid var(--green);border-radius:8px;color:var(--green)}.weight-save-check{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:var(--green);color:#fff;font-weight:700}.weight-save-receipt strong{font-size:16px}.weight-save-receipt p{margin:3px 0;color:var(--ink)}.weight-save-receipt small{display:block;color:#45634d}

.weight-entry-error{border-left:4px solid #9d352d;scroll-margin-top:24px}.weight-entry-error strong{display:block;font-size:16px}.weight-entry-error p{margin:4px 0 0;color:inherit}.weight-entry-error:focus{outline:2px solid #9d352d;outline-offset:3px}

.category-item-tables>.section-heading{padding:16px 0;gap:16px;align-items:flex-start}.item-category-group .section-heading{gap:16px;flex-wrap:wrap}.item-category-group h3{margin:0;font-size:15px}.item-category-group .section-heading>span{color:var(--muted);font-size:12px}@media print{.item-category-group{break-inside:auto}.item-category-group tr{break-inside:avoid}}

.slaughter-summary-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.slaughter-summary-metrics article{min-width:0}.slaughter-summary-metrics strong{font-size:clamp(20px,2vw,30px);overflow-wrap:anywhere;line-height:1.3}.slaughter-summary-metrics article:first-child{border-top:3px solid var(--green);background:#f0f6ec}.slaughter-summary-metrics small{display:block;margin-top:6px}@media(max-width:1000px){.slaughter-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.slaughter-summary-metrics{grid-template-columns:1fr}}@media print{.slaughter-summary-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.slaughter-summary-metrics strong{font-size:18px}}

@page slaughterReport{size:letter landscape;margin:12mm}
@media print{
 body:has(.slaughter-report){page:slaughterReport;font-size:10px;line-height:1.4}
 body:has(.slaughter-report) main{max-width:none;width:100%;margin:0;padding:0}
 .slaughter-report,.slaughter-report *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .slaughter-report>.page-heading{display:none}
 .slaughter-print-header.print-only{display:grid;grid-template-columns:105px minmax(0,1fr) minmax(180px,.65fr);align-items:center;gap:18px;border-bottom:3px solid #254e3e;padding:0 0 12px;margin:0 0 16px;break-inside:avoid}
 .slaughter-print-header .business-logo{width:105px;height:75px;object-fit:contain}
 .slaughter-print-header strong{color:#254e3e;font-size:11px}
 .slaughter-print-header h1{font-size:24px;margin:4px 0 6px;color:#254e3e}
 .slaughter-print-header p{margin:3px 0;color:#43594d;font-size:10px;overflow-wrap:anywhere}
 .slaughter-print-house{padding:10px 12px;background:#edf3e8;border-left:3px solid #9d352d;border-radius:5px}
 .slaughter-print-house small{display:block;color:#52654c;font-size:9px}
 .slaughter-summary-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px;break-inside:avoid}
 .slaughter-summary-metrics article{padding:10px 12px;border-radius:6px;background:#eef4eb;border:1px solid #cddcc8;border-top:3px solid #527846}
 .slaughter-summary-metrics article:nth-child(4n+2){background:#eef3fa;border-color:#c9d6e8;border-top-color:#5275a4}
 .slaughter-summary-metrics article:nth-child(4n+3){background:#fff5e4;border-color:#e9d8b7;border-top-color:#bd964c}
 .slaughter-summary-metrics article:nth-child(4n){background:#f8eeee;border-color:#e5cdcd;border-top-color:#9d5151}
 .slaughter-summary-metrics article>span{font-size:10px;color:#334c3a;font-weight:650}
 .slaughter-summary-metrics strong{font:600 17px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;margin:6px 0;overflow-wrap:anywhere}
 .slaughter-summary-metrics small{font-size:8px;line-height:1.4;color:#526154}
 .slaughter-report .split{display:block}
 .slaughter-report .panel{border:1px solid #cdd9cd;border-radius:6px;margin-bottom:12px;overflow:visible;break-inside:auto}
 .slaughter-report .padded{padding:12px}
 .slaughter-report .section-heading{padding:10px 12px;display:block;background:#edf3e8;border-bottom:1px solid #cdd9cd;break-after:avoid}
 .slaughter-report h2{font-size:13px;color:#254e3e;margin:0 0 5px;break-after:avoid}
 .slaughter-report p,.slaughter-report .hint{font-size:9px;line-height:1.45;color:#526154}
 .slaughter-report .hint{padding:9px 12px;margin:0 0 10px;background:#faf7ed;border-color:#e1d4ae}
 .slaughter-report .table-wrap{overflow:visible;width:100%}
 .slaughter-report table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:9px}
 .slaughter-report thead{display:table-header-group}
 .slaughter-report th{background:#254e3e;color:white;font-size:8px;font-weight:650;letter-spacing:0;white-space:normal}
 .slaughter-report th,.slaughter-report td{padding:7px 6px;vertical-align:top;overflow-wrap:anywhere;white-space:normal;line-height:1.4;border-bottom:1px solid #dce5da}
 .slaughter-report tbody tr:nth-child(even) td{background:#f0f5ed}
 .slaughter-report tr{break-inside:avoid}
 .slaughter-report .report-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 16px;font-size:10px;margin:8px 0 12px}
 .slaughter-report .report-facts dt,.slaughter-report .report-facts dd{overflow-wrap:anywhere;min-width:0}
 .slaughter-report .report-facts dd{color:#254e3e}
 .slaughter-report .reconciliation-chart{max-height:65px;margin-bottom:6px}
 .slaughter-report .slaughter-item-costs{break-before:page}
 .slaughter-item-costs th:last-child{background:#8b672e}
 .slaughter-item-costs td:last-child{color:#70521f;background:#fff7e6}
 .slaughter-report .badge{background:#e2efdf;color:#365830;padding:2px 5px}
}

.yield-low{color:#b42318;font-weight:700}.yield-high{color:#18733c;font-weight:700}@media print{.yield-low{color:#b42318!important}.yield-high{color:#18733c!important}}

.batch-plan-table{margin-top:22px}.batch-plan-table input{max-width:140px;margin:0}.batch-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.batch-actions form,.batch-actions form>button{margin:0}.batch-entry-plan{background:#f2f6ef;border:1px solid #d4e1cd;border-radius:8px;padding:14px;margin-top:16px}.batch-entry-plan h3{font-size:14px;margin:0 0 10px}.batch-entry-plan th,.batch-entry-plan td{padding:8px 10px}

.facility-address{white-space:pre-line;font-weight:400;line-height:1.5}.facility-manage-link{margin-top:12px;font-size:12px}#slaughterhouse-form{scroll-margin-top:20px}

.remove-weight-action{margin-top:8px}.remove-weight-action>button{margin:0}

.customer-origin-report .section-heading{align-items:flex-start}.customer-origin-report .report-basis{padding:12px 20px;margin:0}.customer-origin-report td:first-child{min-width:170px}.customer-insights>div>small{display:block;font-size:10px;margin-top:5px}@media print{.customer-origin-report table{table-layout:fixed;font-size:9px}.customer-origin-report th,.customer-origin-report td{white-space:normal;overflow-wrap:anywhere;padding:6px 4px}.customer-origin-report{break-inside:auto}.customer-origin-report tr{break-inside:avoid}.customer-origin-report td:first-child{min-width:0}}

@page customerReport{size:letter landscape;margin:12mm}
@media print{
 body:has(.customer-report){page:customerReport;font-size:10px;line-height:1.4}
 body:has(.customer-report) main{width:100%;max-width:none;margin:0;padding:0}
 .customer-report,.customer-report *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .customer-report>.page-heading{display:none}
 .customer-print-header.print-only{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(170px,.5fr);gap:18px;align-items:center;border-bottom:3px solid #254e3e;margin-bottom:14px;padding-bottom:12px;break-inside:avoid}
 .customer-print-header .business-logo{width:100px;height:75px;object-fit:contain}
 .customer-print-header strong{font-size:11px;color:#254e3e}
 .customer-print-header h1{font-size:24px;color:#254e3e;margin:4px 0 7px}
 .customer-print-header p{font-size:10px;margin:3px 0;color:#43594d;overflow-wrap:anywhere}
 .customer-print-period{padding:12px;background:#edf3e8;border-left:3px solid #bd964c;border-radius:5px}
 .customer-print-period small{font-size:9px;color:#526154}
 .customer-report .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px;break-inside:avoid}
 .customer-report .metrics article{padding:12px;border-radius:6px;background:#eef4eb;border:1px solid #cddcc8;border-top:3px solid #527846;min-width:0}
 .customer-report .metrics article:nth-child(2){background:#eef3fa;border-color:#c9d6e8;border-top-color:#5275a4}
 .customer-report .metrics article:nth-child(3){background:#fff5e4;border-color:#e9d8b7;border-top-color:#bd964c}
 .customer-report .metrics article:nth-child(4){background:#f8eeee;border-color:#e5cdcd;border-top-color:#9d5151}
 .customer-report .metrics strong{font:600 22px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:7px 0;overflow-wrap:anywhere;letter-spacing:0}
 .customer-report .metrics article>span{font-size:10px;color:#334c3a;font-weight:650}
 .customer-report .metrics small{font-size:8px;color:#526154}
 .customer-report .customer-insights{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:12px;background:#f4f6ed;border:1px solid #d8dfc8;border-radius:6px;margin-bottom:12px;break-inside:avoid}
 .customer-report .customer-insights>div{min-width:0}.customer-report .customer-insights strong{font-size:13px;overflow-wrap:anywhere}.customer-report .customer-insights span,.customer-report .customer-insights small{font-size:9px}
 .customer-report .panel{break-inside:auto;overflow:visible;border-color:#cdd9cd;border-radius:6px;margin-bottom:12px}
 .customer-report .padded{padding:12px}
 .customer-report .section-heading{display:block;padding:10px 12px;background:#edf3e8;border-bottom:1px solid #cdd9cd;break-after:avoid}
 .customer-report .section-heading.bare{padding:0 0 8px;background:transparent}
 .customer-report h2{font-size:13px;color:#254e3e;margin-bottom:4px;break-after:avoid}
 .customer-report p{font-size:9px;line-height:1.45;color:#526154}
 .customer-report .report-basis{font-size:9px;margin:0}
 .customer-report .table-wrap,.customer-report .chart-scroll{overflow:visible;width:100%}
 .customer-report table{width:100%;table-layout:fixed;font-size:9px;border-collapse:collapse}
 .customer-report thead{display:table-header-group}
 .customer-report th{background:#254e3e;color:#fff;font-weight:650;font-size:9px;letter-spacing:0}
 .customer-report td,.customer-report th{padding:7px 6px;white-space:normal;overflow-wrap:anywhere;vertical-align:top;border-bottom:1px solid #dce5da;line-height:1.4}
 .customer-report tbody tr:nth-child(even) td{background:#f0f5ed}
 .customer-report tr{break-inside:avoid}
 .customer-report .purchase-chart{width:100%;min-width:0;height:175px;min-height:0;display:block}
 .customer-report .chart-data{display:none}
 .customer-report .customer-origin-report td:first-child{min-width:0}
 .customer-report .badge{background:#e2efdf;color:#365830;padding:3px 6px}.customer-report .badge.voided{background:#fae7e3;color:#994b38}
 .customer-report meter{max-width:100%}
}

@page farmerReport{size:letter landscape;margin:12mm}
@media print{
 body:has(.farmer-report){page:farmerReport;font-size:10px;line-height:1.4}
 body:has(.farmer-report) main{max-width:none;width:100%;margin:0;padding:0}
 body:has(.farmer-report) .document-brand{display:none!important}
 .farmer-report,.farmer-report *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .farmer-report>.page-heading,.farmer-report .no-print,.farmer-screen-yield{display:none!important}
 .farmer-print-header.print-only{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(175px,.5fr);gap:18px;align-items:center;border-bottom:3px solid #254e3e;padding-bottom:12px;margin-bottom:14px;break-inside:avoid}
 .farmer-print-header .business-logo{width:100px;height:75px;object-fit:contain}
 .farmer-print-header strong{font-size:11px;color:#254e3e}
 .farmer-print-header h1{font-size:22px;color:#254e3e;margin:4px 0 7px}
 .farmer-print-header p{font-size:10px;margin:3px 0;color:#43594d;overflow-wrap:anywhere}
 .farmer-print-period{padding:12px;background:#edf3e8;border-left:3px solid #bd964c;border-radius:5px}
 .farmer-print-period small{font-size:9px;color:#526154}
 .farmer-report .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px;break-inside:avoid}
 .farmer-report .metrics article{padding:11px 12px;border-radius:6px;background:#eef4eb;border:1px solid #cddcc8;border-top:3px solid #527846;min-width:0}
 .farmer-report .metrics article:nth-child(2){background:#eef3fa;border-color:#c9d6e8;border-top-color:#5275a4}
 .farmer-report .metrics article:nth-child(3){background:#fff5e4;border-color:#e9d8b7;border-top-color:#bd964c}
 .farmer-report .metrics article:nth-child(4){background:#f8eeee;border-color:#e5cdcd;border-top-color:#9d5151}
 .farmer-report .metrics strong{font:600 20px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:6px 0;letter-spacing:0;overflow-wrap:anywhere}
 .farmer-report .metrics article>span{font-size:10px;color:#334c3a;font-weight:650}
 .farmer-report .metrics small{font-size:8px;color:#526154}
 .farmer-report .customer-insights{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#f4f6ed;border:1px solid #d8dfc8;border-radius:6px;padding:12px;margin-bottom:12px;break-inside:avoid}
 .farmer-report .customer-insights>div{min-width:0}.farmer-report .customer-insights span,.farmer-report .customer-insights small{font-size:9px}.farmer-report .customer-insights strong{font-size:13px;overflow-wrap:anywhere}
 .farmer-report .panel{break-inside:auto;overflow:visible;border-color:#cdd9cd;border-radius:6px;margin-bottom:12px}
 .farmer-report .padded{padding:12px}
 .farmer-report .section-heading{display:block;padding:10px 12px;background:#edf3e8;border-bottom:1px solid #cdd9cd;break-after:avoid}
 .farmer-report h2{font-size:13px;color:#254e3e;margin-bottom:5px;break-after:avoid}
 .farmer-report p,.farmer-report .hint{font-size:9px;line-height:1.45;color:#526154}
 .farmer-report .hint{padding:9px 12px;background:#faf7ed;border-color:#e1d4ae;margin-bottom:12px}
 .farmer-report .table-wrap{overflow:visible;width:100%}
 .farmer-report table{width:100%;table-layout:fixed;font-size:9px;border-collapse:collapse}
 .farmer-report thead{display:table-header-group}
 .farmer-report th{background:#254e3e;color:#fff;font-weight:650;font-size:8px;letter-spacing:0}
 .farmer-report td,.farmer-report th{padding:7px 5px;white-space:normal;overflow-wrap:anywhere;vertical-align:top;line-height:1.4;border-bottom:1px solid #dce5da}
 .farmer-report tbody tr:nth-child(even) td{background:#f0f5ed}
 .farmer-report tr{break-inside:avoid}
 .farmer-report .badge{background:#e2efdf;color:#365830;padding:2px 5px}.farmer-report .badge.cancelled{background:#fae7e3;color:#994b38}
 .farmer-print-yield.print-only{display:block;break-inside:avoid}
 .farmer-print-yield svg{display:block;width:100%;height:180px}
}

@page farmerReport{margin:14mm 12mm 16mm}
@media print{
 .farmer-report{display:block;overflow:visible}
 .farmer-report [data-print-section]{break-before:page;page-break-before:always;padding:0;border:0;border-radius:0;margin:0 0 14px;overflow:visible}
 .farmer-report [data-print-section]>.section-heading{margin:0 0 10px;border:1px solid #cdd9cd;border-left:4px solid #254e3e;border-radius:4px;break-inside:avoid;page-break-inside:avoid}
 .farmer-report [data-print-section]>h2{padding:10px 12px;background:#edf3e8;border-left:4px solid #254e3e}
 .farmer-report .farmer-print-chart{break-inside:avoid;page-break-inside:avoid}
 .farmer-report .table-wrap{display:block;overflow:visible!important;height:auto!important;max-height:none!important;break-inside:auto;page-break-inside:auto}
 .farmer-report table{border-collapse:separate;border-spacing:0;overflow:visible;break-inside:auto;page-break-inside:auto;margin:0 0 12px}
 .farmer-report thead{display:table-header-group;break-inside:avoid;page-break-inside:avoid;break-after:avoid;page-break-after:avoid}
 .farmer-report tbody{break-inside:auto;page-break-inside:auto}
 .farmer-report tr{break-inside:avoid;page-break-inside:avoid}
 .farmer-report th,.farmer-report td{position:static;box-sizing:border-box;line-height:1.5;padding:8px 5px;break-inside:avoid;page-break-inside:avoid}
 .farmer-report td p,.farmer-report td small{orphans:2;widows:2}
 .farmer-report h2,.farmer-report .section-heading{break-after:avoid;page-break-after:avoid}
}
@media print{
 .farmer-report [data-print-section="history"] th:nth-child(1),.farmer-report [data-print-section="history"] th:nth-child(12){width:11%}
 .farmer-report [data-print-section="history"] th:nth-child(2),.farmer-report [data-print-section="history"] th:nth-child(4),.farmer-report [data-print-section="history"] th:nth-child(5),.farmer-report [data-print-section="history"] th:nth-child(7),.farmer-report [data-print-section="history"] th:nth-child(11){width:8%}
 .farmer-report [data-print-section="history"] th:nth-child(3),.farmer-report [data-print-section="history"] th:nth-child(10){width:5%}
 .farmer-report [data-print-section="history"] th:nth-child(6){width:15%}
 .farmer-report [data-print-section="history"] th:nth-child(8){width:9%}
 .farmer-report [data-print-section="history"] th:nth-child(9){width:4%}
 .farmer-report [data-print-section="history"] .block{font-size:8px;line-height:1.45}
}
@media print{
 .farmer-report [data-print-section="history"] th:nth-child(10){width:6%}
 .farmer-report [data-print-section="history"] th:nth-child(12){width:10%}
}

.financial-negative{color:#b42318;font-weight:650}.sales-origin-report .report-basis{padding:12px 20px;margin:0}.sales-origin-report .section-heading{align-items:flex-start}

@page salesReport{size:letter landscape;margin:14mm 12mm 16mm}
@media print{
 body:has(.sales-report){page:salesReport;font-size:10px;line-height:1.4}
 body:has(.sales-report) main{width:100%;max-width:none;margin:0;padding:0}
 .sales-report,.sales-report *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .sales-report>.page-heading,.sales-report .no-print,.sales-screen-trend,.sales-report .chart-data{display:none!important}
 .sales-print-header.print-only{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(180px,.5fr);gap:18px;align-items:center;border-bottom:3px solid #254e3e;padding-bottom:12px;margin-bottom:14px;break-inside:avoid}
 .sales-print-header .business-logo{width:100px;height:75px;object-fit:contain}
 .sales-print-header strong{font-size:11px;color:#254e3e}.sales-print-header h1{font-size:24px;color:#254e3e;margin:4px 0 7px}.sales-print-header p{font-size:10px;margin:3px 0;color:#43594d;overflow-wrap:anywhere}
 .sales-print-period{padding:12px;background:#edf3e8;border-left:3px solid #bd964c;border-radius:5px}.sales-print-period small{font-size:9px;color:#526154}
 .sales-report .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px;break-inside:avoid}
 .sales-report .metrics article{padding:11px 12px;min-width:0;border-radius:6px;background:#eef4eb;border:1px solid #cddcc8;border-top:3px solid #527846}
 .sales-report .metrics article:nth-child(2){background:#eef3fa;border-color:#c9d6e8;border-top-color:#5275a4}.sales-report .metrics article:nth-child(3){background:#fff5e4;border-color:#e9d8b7;border-top-color:#bd964c}.sales-report .metrics article:nth-child(4){background:#f8eeee;border-color:#e5cdcd;border-top-color:#9d5151}
 .sales-report .metrics strong{font:600 19px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:7px 0;letter-spacing:0;overflow-wrap:anywhere}.sales-report .metrics article>span{font-size:10px;color:#334c3a;font-weight:650}.sales-report .metrics small{font-size:8px;color:#526154}
 .sales-report .customer-insights{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px;margin-bottom:12px;background:#f4f6ed;border:1px solid #d8dfc8;border-radius:6px;break-inside:avoid}.sales-report .customer-insights>div{min-width:0}.sales-report .customer-insights strong{font-size:13px;overflow-wrap:anywhere}.sales-report .customer-insights span,.sales-report .customer-insights small{font-size:9px}
 .sales-report .panel{break-inside:auto;overflow:visible;border-color:#cdd9cd;border-radius:6px;margin-bottom:14px}.sales-report .padded{padding:12px}
 .sales-report .section-heading{display:block;padding:10px 12px;background:#edf3e8;border-bottom:1px solid #cdd9cd;break-after:avoid;page-break-after:avoid}
 .sales-report h2{font-size:13px;color:#254e3e;break-after:avoid;page-break-after:avoid}.sales-report p,.sales-report .hint{font-size:9px;line-height:1.45;color:#526154}.sales-report .hint{padding:10px 12px;background:#faf7ed;border-color:#e1d4ae;margin-bottom:12px}
 .sales-report .table-wrap{display:block;overflow:visible!important;width:100%;height:auto!important;max-height:none!important;break-inside:auto;page-break-inside:auto}
 .sales-report table{width:100%;table-layout:fixed;font-size:9px;border-collapse:separate;border-spacing:0;margin:0 0 12px;break-inside:auto;page-break-inside:auto}
 .sales-report thead{display:table-header-group;break-inside:avoid;page-break-inside:avoid;break-after:avoid;page-break-after:avoid}.sales-report tbody{break-inside:auto;page-break-inside:auto}
 .sales-report th{background:#254e3e;color:#fff;font-weight:650;font-size:8px;letter-spacing:0}.sales-report td,.sales-report th{padding:8px 5px;white-space:normal;overflow-wrap:anywhere;vertical-align:top;line-height:1.5;border-bottom:1px solid #dce5da;position:static}
 .sales-report tbody tr:nth-child(even) td{background:#f0f5ed}.sales-report tr{break-inside:avoid;page-break-inside:avoid}.sales-report .block{font-size:8px;line-height:1.45}.sales-report .badge{background:#e2efdf;color:#365830;padding:2px 5px}.sales-report .badge.voided{background:#fae7e3;color:#994b38}
 .sales-report .sales-cost-section,.sales-report [data-sales-print-section]{break-before:page;page-break-before:always;border:0;padding:0;border-radius:0;margin-bottom:14px}
 .sales-report .sales-cost-section>h2,.sales-report [data-sales-print-section]>.section-heading{padding:10px 12px;background:#edf3e8;border-left:4px solid #254e3e;margin-bottom:10px}
 .sales-report .sales-cost-section th:first-child{width:21%}.sales-report .sales-cost-section th:nth-child(2),.sales-report .sales-cost-section th:nth-child(3){width:9%}.sales-report .sales-cost-section th:nth-child(4){width:8%}.sales-report .sales-cost-section th:nth-child(5),.sales-report .sales-cost-section th:nth-child(6){width:10%}.sales-report .sales-cost-section th:nth-child(7){width:7%}.sales-report .sales-cost-section th:nth-child(8){width:14%}.sales-report .sales-cost-section th:nth-child(9){width:12%}
 .sales-report .dashboard-grid{display:block}.sales-report .dashboard-grid>.panel{break-inside:avoid;page-break-inside:avoid}
 .sales-report .dashboard-category{padding:6px 0;font-size:10px}.sales-report meter{max-width:100%}
 .sales-print-trend.print-only{display:block;break-inside:avoid;page-break-inside:avoid}.sales-print-trend svg{display:block;width:100%;height:185px}
 .sales-report .financial-negative{color:#b42318!important}
}

.dashboard-profit>div{min-width:0}.dashboard-profit strong{overflow-wrap:anywhere}.dashboard-profit small{display:block;font-size:10px;line-height:1.5}.dashboard-profit a{display:inline-block;margin-top:6px;font-size:11px}.dashboard-panel-note{padding:12px 18px;margin:0}
.weight-import-link{margin:16px 0}.weight-import-link small{display:block;margin-top:6px;font-size:11px}.import-sample{max-height:420px;overflow:auto}.import-sample td{max-width:220px;overflow-wrap:anywhere}.import-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--line)}.import-actions form,.import-actions form>button{margin:0}@media(max-width:700px){.import-actions{align-items:stretch;flex-direction:column}.import-actions button{width:100%}}

@media print{.invoice-document .invoice-print-items.print-only{display:block}.invoice-print-items table{width:100%;table-layout:fixed;border-collapse:collapse}.invoice-print-items thead{display:table-header-group}.invoice-print-items th{background:#254e3e!important;color:white!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-print-items tbody tr:nth-child(even){background:#eef4ec!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-print-items th,.invoice-print-items td{overflow-wrap:anywhere;vertical-align:top}.invoice-print-items th:nth-child(1){width:17%}.invoice-print-items th:nth-child(2){width:27%}.invoice-print-items th:nth-child(n+3),.invoice-print-items td:nth-child(n+3){text-align:right}.invoice-document .purchase-total,.invoice-document .invoice-notes{break-inside:avoid;page-break-inside:avoid}}

.invoice-totals{max-width:360px;margin:20px 0 0 auto}.invoice-totals p{display:flex;justify-content:space-between;gap:20px;margin:8px 0}.invoice-totals strong{white-space:nowrap}@media print{.invoice-totals{break-inside:avoid;page-break-inside:avoid}}

@media print{
 .invoice-document .invoice-top{border-bottom:3px solid #254e3e;padding-bottom:14px;align-items:center}.invoice-document .invoice-top h1{font-size:28px}.invoice-document .invoice-top h2{font-size:20px}.invoice-document .invoice-logo{width:135px;margin-bottom:8px}
 .invoice-addresses{display:grid;grid-template-columns:1fr 1fr;gap:26px;break-inside:avoid}.invoice-addresses .invoice-customer{padding:20px 0}.invoice-document .invoice-ship-to.print-only{display:block}.invoice-addresses h2{font-size:16px}.invoice-addresses p{font-size:11px;line-height:1.5}
 .invoice-print-items table{font-size:10px}.invoice-print-items th,.invoice-print-items td{padding:9px 7px}.invoice-print-items th:nth-child(1){width:13%}.invoice-print-items th:nth-child(2){width:19%}.invoice-print-items th:nth-child(3){width:29%;text-align:left}.invoice-print-items td:nth-child(3){text-align:left}.invoice-print-items th:nth-child(4){width:13%}.invoice-print-items th:nth-child(5){width:12%}.invoice-print-items th:nth-child(6){width:14%}.invoice-weight-description p{margin:6px 0 0;line-height:1.7}.invoice-weight-description small{font-size:9px;color:#586358}
 .invoice-document .invoice-received.print-only{display:block;margin-top:30px;padding-top:15px;border-top:2px solid #254e3e;break-inside:avoid;page-break-inside:avoid}.invoice-received h2{font-size:13px}.invoice-received>div{display:grid;grid-template-columns:1fr 1fr .6fr;gap:22px}.invoice-received span{font-size:10px;border-bottom:1px solid #809078;padding-bottom:30px}.invoice-document .invoice-totals{font-size:12px}.invoice-document .purchase-total{background:#eaf0e5!important;print-color-adjust:exact;-webkit-print-color-adjust:exact;border-top:2px solid #254e3e}
}

.invoice-shipping{margin:20px 0;padding-top:18px;border-top:1px solid var(--line)}.invoice-addresses{display:grid;grid-template-columns:1fr 1fr;gap:26px}@media(max-width:700px){.invoice-addresses{grid-template-columns:1fr;gap:0}}

.sidebar nav .navigation-icon{width:20px;height:20px;flex:0 0 20px;line-height:0}.navigation-icon svg{display:block;width:20px;height:20px}@media(max-width:700px){.sidebar nav .navigation-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-basis:18px}.sidebar .navigation-icon svg{width:18px;height:18px}}

.invoice-balance{margin-top:24px;padding-top:20px;border-top:2px solid var(--line)}.invoice-balance>p{color:var(--muted);font-size:12px}.invoice-previous-dues{margin-top:18px}.invoice-previous-dues h3{margin-bottom:10px}.invoice-previous-dues td:last-child,.invoice-previous-dues th:last-child{text-align:right;white-space:nowrap}.invoice-balance .invoice-totals{max-width:440px}.invoice-total-due{border-top:2px solid #254e3e;padding:12px 0;font-weight:700}.invoice-total-due strong{font-size:20px;color:#254e3e}
@media print{
 @page invoice{size:Letter;margin:12mm}
 body:has(.invoice-document){page:invoice;font-size:10px;line-height:1.4;color:#17251d;background:white}
 body:has(.invoice-document) main{width:100%;max-width:none;margin:0;padding:0}
 .invoice-document{box-shadow:none!important;color:#17251d}
 .invoice-document .invoice-top{gap:20px;padding-bottom:10px;break-inside:avoid}
 .invoice-document .invoice-top h1{font-size:24px}.invoice-document .invoice-top h2{font-size:18px}
 .invoice-document .invoice-logo{width:110px;margin-bottom:6px}.invoice-document .invoice-top p{font-size:10px;margin:4px 0}
 .invoice-document .invoice-addresses{gap:20px}.invoice-document .invoice-customer{padding:14px 0}.invoice-document .invoice-addresses h2{font-size:13px}.invoice-document .invoice-addresses p{font-size:10px;overflow-wrap:anywhere}
 .invoice-document .invoice-print-items th,.invoice-document .invoice-print-items td{padding:7px 6px;line-height:1.4}
 .invoice-document .invoice-print-items .invoice-weight-description p{line-height:1.45}
 .invoice-document .purchase-total{padding:12px;font-size:12px}.invoice-document .purchase-total strong{font-size:17px}
 .invoice-document .invoice-balance{margin-top:18px;padding-top:12px;border-top:2px solid #254e3e}
 .invoice-document .invoice-balance h2{font-size:15px;break-after:avoid;page-break-after:avoid}
 .invoice-document .invoice-balance>p{font-size:9px;margin:6px 0;line-height:1.4}
 .invoice-document .invoice-previous-dues{margin-top:12px}.invoice-document .invoice-previous-dues h3{font-size:11px;break-after:avoid;page-break-after:avoid}
 .invoice-document .invoice-previous-dues .table-wrap{display:block;overflow:visible!important}
 .invoice-document .invoice-previous-dues table{width:100%;table-layout:fixed;font-size:10px;border-collapse:collapse}
 .invoice-document .invoice-previous-dues thead{display:table-header-group}
 .invoice-document .invoice-previous-dues th{background:#eef3ea!important;color:#17251d;border-bottom:1px solid #70836e}
 .invoice-document .invoice-previous-dues td,.invoice-document .invoice-previous-dues th{padding:7px 6px;overflow-wrap:anywhere}
 .invoice-document .invoice-previous-dues a{color:inherit;text-decoration:none}
 .invoice-document .invoice-balance .invoice-totals{max-width:340px;margin-top:14px;font-size:10px;break-inside:avoid;page-break-inside:avoid}
 .invoice-document .invoice-total-due{padding:10px 0}.invoice-document .invoice-total-due strong{font-size:17px}
 .invoice-document .invoice-notes{padding-top:12px}.invoice-document .invoice-notes p{white-space:normal;overflow-wrap:anywhere}
 .invoice-document .invoice-received.print-only{margin-top:18px;padding-top:10px}.invoice-document .invoice-received span{padding-bottom:22px}
}

@media(min-width:701px){.sidebar{overflow:hidden}.sidebar nav{flex:1;min-height:0;overflow-y:auto}.sidebar>.brand,.sidebar>.navlabel,.sidebar>.sidebar-bottom{flex-shrink:0}.sidebar-bottom{margin-top:16px;padding-top:16px}}

/* Staff sign-in and email verification. */
body.login-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px 24px;background:radial-gradient(ellipse at 12% 8%,#e4ebdf 0,transparent 50%),#f3f5ef}
.login-shell{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:1080px;padding:0;margin:0;min-height:650px;border:1px solid #dce4d8;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 22px 70px #2438300d}
.login-brand-panel{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:38px 40px 30px;overflow:hidden;background:#254e3e;color:#fff}
.login-brand-panel:after{content:"";position:absolute;z-index:-1;width:440px;height:440px;right:-230px;bottom:80px;border:1px solid #ffffff14;border-radius:50%;box-shadow:0 0 0 55px #ffffff05,0 0 0 110px #ffffff03}
.login-brand{display:flex;align-items:center;gap:17px}.login-logo-wrap{display:grid;place-items:center;width:102px;height:78px;flex-shrink:0;border-radius:10px;background:#fff;padding:7px}.login-logo-wrap img{display:block;width:100%;height:auto}.login-brand strong{display:block;font-size:15px;letter-spacing:1px;font-weight:650}.login-brand span{display:block;margin-top:3px;font-size:10px;letter-spacing:2.4px;color:#c2d1bf}
.login-brand-copy{margin:52px 0 40px}.login-eyebrow{font-size:10px;line-height:1.6;letter-spacing:2px;font-weight:650}.login-brand-copy .login-eyebrow{color:#c6d8bd;margin:0 0 20px}.login-brand-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:67px;font-weight:400;line-height:1.07;letter-spacing:-2px;margin:0 0 22px;color:#fff}.login-brand-copy>p:last-child{font-size:14px;line-height:1.85;color:#c9d7c9;margin:0}
.login-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding-top:24px;border-top:1px solid #ffffff29;margin-top:auto}.login-workflow span{display:block;font-size:10px;letter-spacing:1px;color:#b8cbb0;margin-bottom:12px}.login-workflow strong{display:block;font-size:13px;font-weight:600}.login-workflow small{display:block;font-size:10px;color:#bdd0bd;line-height:1.6;margin-top:5px}.login-brand-footer{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1.3px;color:#a9bfa9;margin-top:36px}.login-brand-dot{width:5px;height:5px;border-radius:50%;background:#c9b36b;flex-shrink:0}
.login-form-panel{display:flex;flex-direction:column;justify-content:center;padding:46px 48px}.login-form-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.login-form-top .login-eyebrow{color:#607259;font-size:9px;letter-spacing:1.6px}.login-form-emblem{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e3e9df;border-radius:12px;background:#f5f8f1;color:#52764c}.login-form-emblem svg{width:21px;height:21px}.login-form-panel h1{font-size:39px;line-height:1.15;letter-spacing:-1.2px;color:#254e3e;margin:0 0 12px}.login-intro{font-size:13px;line-height:1.8;color:#657360;margin:0 0 30px}
.login-form{margin:0}.login-form label{font-size:12px;font-weight:600;color:#3c5143;margin:0 0 8px;display:block}.login-form input{width:100%;font-size:13px;padding:14px 15px;border:1px solid #dce4d8;border-radius:8px;background:#fcfdfb;min-height:49px;margin:0;box-shadow:none}.login-form input::placeholder{color:#6f7e6c;opacity:1}.login-form input:focus{outline:2px solid #73976d66;outline-offset:2px;border-color:#67875e;background:#fff}.login-field-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0 8px}.login-field-heading label{margin:0}.login-field-heading a{font-size:11px;font-weight:500;color:#56774c;text-decoration:none}.login-field-heading a:hover{text-decoration:underline}.login-password-field{position:relative}.login-password-field input{padding-right:67px}.login-password-toggle{position:absolute;top:1px;bottom:1px;right:1px;display:block;width:58px;padding:0;border:0;border-radius:0 7px 7px 0;background:transparent;color:#638057;font-size:11px;font-weight:600;margin:0;min-height:0}.login-password-toggle:hover{background:#f0f5eb;color:#254e3e}
.login-form .login-primary{display:flex;width:100%;justify-content:space-between;align-items:center;margin:26px 0 0;padding:15px 19px;border-radius:8px;font-size:13px;min-height:49px;background:#254e3e;color:#fff;box-shadow:0 5px 12px #254e3e12}.login-primary svg{width:18px;height:18px;flex-shrink:0}.login-form .login-primary:hover{background:#193d2f}.login-form-panel :is(button,a):focus-visible{outline:2px solid #729466;outline-offset:3px}
.login-form-footer{margin-top:32px;border-top:1px solid #e8ede3;padding-top:20px}.login-form-footer p{font-size:11px;font-weight:600;color:#627560;margin:0 0 4px}.login-form-footer span{font-size:10px;line-height:1.7;color:#6c7866}.login-page-footer{margin-top:22px;text-align:center;font-size:9px;letter-spacing:.5px;line-height:1.7;color:#6d7a65}.login-page-footer span{padding:0 9px}.login-form-panel .notice{font-size:12px;line-height:1.6;padding:12px 14px;border-radius:7px;margin-bottom:18px}
.login-email-recipient{padding:13px 15px;border:1px solid #e0e8db;border-radius:8px;background:#f5f8f1;margin:0 0 23px}.login-email-recipient span{display:block;font-size:10px;color:#62735c;margin-bottom:3px}.login-email-recipient strong{font-size:12px;font-weight:600;overflow-wrap:anywhere;color:#3f603c}.login-form input.login-code{font-family:'Courier New',monospace;text-align:center;font-size:25px;font-weight:600;letter-spacing:9px;padding-left:24px;background:#fff}.login-field-help{display:block;font-size:10px;line-height:1.7;color:#6d7c65;margin-top:10px}.login-otp-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:22px}.login-otp-actions span{font-size:11px;color:#62735c}.login-otp-actions form,.login-back-form{margin:0}.login-text-button{display:inline;padding:0;min-height:0;margin:0;border:0;border-radius:0;background:transparent;font-size:11px;color:#54734c;font-weight:600}.login-text-button:hover{background:transparent;color:#254e3e;text-decoration:underline}.login-code-note{font-size:10px;line-height:1.7;color:#69775f;text-align:center;margin:9px 0 19px}.login-back-form{text-align:center}
@media(max-width:900px){.login-shell{max-width:820px}.login-brand-panel{padding:30px}.login-form-panel{padding:35px 32px}.login-brand{gap:12px}.login-logo-wrap{width:84px;height:65px}.login-brand strong{font-size:12px}.login-brand span{font-size:8px}.login-brand-copy h2{font-size:58px}.login-workflow{gap:9px}.login-workflow small{font-size:9px}}
@media(max-width:700px){body.login-page{padding:20px 14px;justify-content:flex-start}.login-shell{max-width:460px;grid-template-columns:1fr;min-height:0;border-radius:16px}.login-brand-panel{padding:22px 25px}.login-brand{gap:15px}.login-logo-wrap{width:82px;height:59px}.login-brand strong{font-size:14px}.login-brand span{font-size:9px}.login-brand-copy{margin:19px 0 0}.login-brand-copy h2{font-size:29px;letter-spacing:-.6px;line-height:1.2;margin:0}.login-brand-copy h2 br{display:none}.login-brand-copy .login-eyebrow,.login-brand-copy>p:last-child,.login-workflow,.login-brand-footer{display:none}.login-form-panel{padding:26px}.login-form-top{margin-bottom:18px}.login-form-panel h1{font-size:34px}.login-intro{margin-bottom:23px}.login-form-footer{margin-top:25px}.login-page-footer{max-width:290px;font-size:8px;margin-top:17px}.login-page-footer span{padding:0 5px}}

.invoice-category-pricing .table-wrap{max-height:330px;overflow:auto}.invoice-category-pricing th{position:sticky;top:0;z-index:1}.invoice-category-pricing td{padding:12px 16px}.invoice-category-pricing input[type=number]{min-width:125px;max-width:180px;margin:0}.invoice-category-pricing button{font-size:11px;padding:9px 12px;margin:0}.invoice-category-help{font-size:11px;line-height:1.7;padding:14px 20px;margin:0;border-top:1px solid var(--line);color:#66785e}.invoice-category-pricing .section-heading p{max-width:620px}.invoice-category-pricing [data-category-count]{text-align:center;font-weight:600}

.us-address{min-width:0;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:8px}.us-address legend{font-weight:600;padding:0 6px}.us-address[hidden]{display:none}

.stock-subcategory-summary>summary{padding:18px 24px}.stock-subcategory-summary>summary small{margin-left:8px;font-weight:400;color:var(--muted)}.stock-subcategory-summary[open]>summary small{display:none}
