:root{--g:#17684a;--ink:#243c30;--muted:#748278;--line:#e0e6dc}*{box-sizing:border-box}body{margin:0;background:#f4f6f0;color:var(--ink);font:14px/1.5 system-ui}aside{position:fixed;inset:0 auto 0 0;width:222px;background:#173e30;color:#fff;padding:28px 20px;display:flex;flex-direction:column}aside h2{font-size:22px;margin:0;letter-spacing:-1px}aside small{color:#a3c5ae;letter-spacing:3px;font-size:10px;margin:6px 0 34px}aside p{margin-top:auto;color:#b7cab9;font-size:11px}nav button{display:block;background:transparent;border:0;color:#b7ccbe;width:100%;text-align:left;padding:13px;margin:5px 0}nav button.active{background:#315b45;color:white}main{margin-left:222px;padding:32px 38px;max-width:1650px}header,.heading,footer{display:flex;align-items:center;justify-content:space-between;gap:12px}h1{font-size:30px;letter-spacing:-1px;margin:6px 0 20px}h2{font-size:19px;margin:0}h3{font-size:16px;margin:0}small{font-size:10px;letter-spacing:1.3px;color:var(--muted)}p{color:var(--muted);margin:8px 0 17px}button{font:600 12px system-ui;border:1px solid var(--line);background:white;border-radius:7px;padding:10px 14px;color:var(--ink);cursor:pointer}button:hover{filter:brightness(.95)}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--g);border-color:var(--g);color:white}.notice{font-size:12px;background:#eaf0e1;border:1px solid #dce6ce;border-radius:7px;padding:11px 15px;color:#60734b}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:24px 0}.stat,.panel{border:1px solid var(--line);border-radius:11px;background:white;padding:21px}.stat strong{display:block;font-size:31px;font-weight:600}.stat span{color:var(--muted);font-size:12px}.layout{display:grid;grid-template-columns:1.05fr 1fr;gap:23px}.panel{margin-bottom:18px;overflow:auto}.heading{margin-bottom:15px}.badge{font-size:10px;font-weight:700;display:inline-block;padding:4px 8px;border-radius:5px;background:#eaf3e8;color:#3c6b45}.amber{background:#fff0d9;color:#9b651e}.red{background:#ffe4dc;color:#ac4535}.blue{background:#e7effa;color:#5677a5}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);border-bottom:1px solid var(--line);padding:11px 8px}td{border-bottom:1px solid #edf0e9;padding:12px 8px;font-size:12px}td strong{display:block;font-size:13px}td small{letter-spacing:0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.hint{padding:12px;background:#f2f5ed;border-radius:6px;font-size:12px;color:#6d7f67;margin-top:15px}.empty{text-align:center;padding:32px;color:var(--muted)}.batch{border-left:3px solid #76a06a}.guide{background:#eaf0e1}footer{font-size:11px;color:var(--muted);margin-top:30px;flex-wrap:wrap}footer span{margin-right:auto}dialog{border:0;border-radius:13px;padding:28px;width:560px;max-width:95vw;max-height:90vh;box-shadow:0 20px 90px #1b352b50}dialog::backdrop{background:#19372d80}label{display:block;margin-top:12px;font-size:12px;color:#61705f}input,select{display:block;width:100%;padding:10px;border:1px solid #d4dfd1;border-radius:6px;background:white;font:14px system-ui;color:var(--ink)}input[type=checkbox]{display:inline;width:auto}.row{display:flex;gap:12px}.row>*{flex:1}.log{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;display:flex;justify-content:space-between}#toast{display:none;position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#193e30;color:white;border-radius:8px;z-index:10}@media(max-width:1050px){.layout{grid-template-columns:1fr}main{padding:25px}.stats{gap:8px}}@media(max-width:680px){aside{position:static;width:100%;padding:16px}aside small,aside p{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap;width:auto}main{margin:0;padding:16px}.stats{grid-template-columns:1fr 1fr}h1{font-size:24px}header{align-items:center}.stat{padding:14px}.row{flex-wrap:wrap}}
.preview-bar{display:flex;align-items:center;gap:18px;padding:12px 18px;background:#fff;border:1px solid var(--line);border-radius:9px;margin-top:16px;flex-wrap:wrap}.preview-bar label{margin:0;display:flex;align-items:center;gap:8px}.preview-bar select{width:auto;padding:7px}.preview-bar span{font-size:11px;color:var(--muted)}.batch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.pairs{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.pairs strong{display:block;font-size:27px}.pairs div{font-size:12px;color:var(--muted)}aside a{color:#b7cab9}.stat strong{font-size:27px;overflow-wrap:anywhere}@media(max-width:1000px){.batch-grid{grid-template-columns:1fr}}@media(max-width:680px){.preview-bar{gap:10px}.preview-bar b{width:100%}.preview-bar label{flex-wrap:wrap}.stat strong{font-size:23px}}
.task-badge{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#c43e28;color:white;font-size:12px;font-weight:800;line-height:1;margin-left:8px}#nav button{display:flex;align-items:center}#nav button .task-badge{margin-left:auto}.notification-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d9e4db;border-radius:12px;padding:14px 18px;margin:0 0 18px;background:#f1f7f2}.notification-strip span:not(.task-badge){font-size:12px;color:#53655a}.notification-strip.urgent{border-color:#eab6a9;background:#fff4ee}.notification-list{padding:18px;background:white;border:1px solid #dce6df;border-radius:12px;margin:-8px 0 20px}.notification-list>p{font-size:12px;color:#647268}.notification-item{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;margin:8px 0;padding:14px}.notification-item small{display:block;margin-top:5px;color:#647268}.notification-item.urgent{border-left:4px solid #c43e28}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:650px){.notification-strip,.notification-item{align-items:flex-start;flex-direction:column}.notification-strip>div>span{display:block;margin-top:5px}}
.checkline{display:flex;gap:10px;align-items:center;margin:14px 0}.checkline input,input[name=part]{width:18px;height:18px;flex:none}dialog{max-width:min(900px,95vw)}dialog table{margin:14px 0}dialog td input[type=number]{min-width:100px;max-width:150px}
.order-note{max-width:240px;margin-top:8px;font-size:12px;color:#795022;background:#fff5dd;padding:8px;border-radius:6px}#content td small{display:block;margin-top:4px}#content table button{margin:3px}
.stage-tabs,.workflow-actions{display:flex;flex-wrap:wrap;gap:8px}.stage-tabs button{min-height:44px}.order-stage{margin:24px 0}.workflow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}.workflow-grid .panel{margin:0}.order-card h3{margin:0}.order-card .heading{align-items:start;gap:12px}.workflow-actions button{min-height:44px}.pending-task{display:flex;flex-direction:column;text-align:left;width:100%;padding:16px;margin:8px 0;gap:6px}.pending-task.urgent{border-color:#c66027;background:#fff4ea}.checkline{padding:10px 0}@media(max-width:600px){.workflow-grid{grid-template-columns:1fr}}
/* Purchaser workspace */
.purchase-workspace{--purchase-ink:#153e32;--purchase-line:#dce6df;color:#213d33}.purchase-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:8px 0 25px}.purchase-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#6a8375}.purchase-intro h2{font-size:27px;letter-spacing:-.8px;margin:8px 0}.purchase-intro p{margin:0;color:#728178}.purchase-live{white-space:nowrap;font-size:11px;color:#54745f;background:#edf5ef;border:1px solid #dae8dd;padding:9px 12px;border-radius:30px}.purchase-live i{display:inline-block;background:#2c8c5d;width:6px;height:6px;border-radius:50%;margin-right:5px}.purchase-metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--purchase-line);border-radius:14px;margin-bottom:24px;padding:18px 0}.purchase-metrics>div{padding:0 24px;border-right:1px solid #e9eeea;display:flex;align-items:center;gap:12px}.purchase-metrics>div:last-child{border:0}.purchase-metrics strong{font-size:27px;font-weight:650;color:var(--purchase-ink)}.purchase-metrics span{font-size:12px;color:#758279}.purchase-toolbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:17px}.purchase-tabs{display:flex;gap:4px;flex-wrap:wrap}.purchase-tabs button{border:0;background:transparent;color:#758078;padding:9px 11px;font-size:12px;display:flex;gap:8px;align-items:center}.purchase-tabs button.selected{background:#164b36;color:#fff;border-radius:8px}.purchase-tabs b{font-size:10px;border-radius:4px;padding:2px 5px;background:#e6ede8;color:#426451}.purchase-tabs .selected b{background:#34634d;color:#fff}.purchase-toolbar input{width:235px;max-width:100%;background:white;border:1px solid var(--purchase-line);padding:10px 13px;border-radius:8px;font-size:12px}.purchase-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:20px;align-items:start}.purchase-list{display:flex;flex-direction:column;gap:10px}.purchase-list-card{text-align:left;width:100%;background:#fff;border:1px solid var(--purchase-line);padding:16px;border-radius:11px;box-shadow:none;color:#274537;transition:border-color .15s,box-shadow .15s}.purchase-list-card:hover{border-color:#93b09e}.purchase-list-card.selected{border-color:#286e49;box-shadow:0 0 0 1px #286e49;background:#f7fbf7}.purchase-list-card>div{display:flex;justify-content:space-between;align-items:center;gap:5px}.purchase-list-card strong{font-size:14px}.purchase-list-card p{font-size:12px;margin:11px 0 5px;color:#567461}.purchase-list-card small{font-size:11px;color:#809084}.purchase-status{font-size:10px;font-weight:700;background:#eaf0eb;color:#56715d;border-radius:5px;padding:5px 7px;white-space:nowrap}.purchase-status.new{background:#fff0d9;color:#956b24}.purchase-status.buying{background:#e5f0e9;color:#32734d}.purchase-status.approval{background:#e9effb;color:#4f69a0}.purchase-overdue{display:block;color:#bd684a;font-size:10px;margin-top:12px;font-weight:600}.purchase-detail{background:white;border:1px solid var(--purchase-line);border-radius:14px;overflow:hidden;min-width:0}.purchase-detail-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:25px 25px 18px}.purchase-detail h2{margin:6px 0 8px;font-size:25px;letter-spacing:-.5px}.purchase-detail-head p{font-size:12px;color:#788a7c;margin:0}.purchase-detail-head p span{margin:0 7px}.purchase-steps{display:flex;padding:16px 25px;gap:20px;border-top:1px solid #edf1ed;border-bottom:1px solid #edf1ed;background:#fbfcfa}.purchase-steps span{display:flex;align-items:center;gap:7px;color:#92a096;font-size:11px}.purchase-steps b{display:grid;place-items:center;width:21px;height:21px;border:1px solid #dbe4dd;border-radius:50%;font-size:10px}.purchase-steps .done{color:#267045}.purchase-steps .done b{background:#267045;color:white;border-color:#267045}.purchase-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:22px 25px 15px}.purchase-section-head h3{font-size:15px;margin:0 0 6px}.purchase-section-head p{font-size:11px;margin:0;color:#839087}.purchase-section-head>span{font-size:10px;color:#7c9081}.purchase-entry-row{display:grid;grid-template-columns:minmax(120px,1fr) 120px 135px;gap:16px;padding:16px 25px;border-top:1px solid #edf1ed;align-items:center}.purchase-entry-row strong{font-size:13px}.purchase-entry-row small{display:block;font-size:10px;color:#829086;margin-top:6px}.purchase-entry-row label{font-size:10px;margin:0;color:#718377}.purchase-entry-row input{margin-top:6px;width:100%;background:#fcfdfa;border:1px solid #dce5dd;border-radius:7px;padding:10px;font-size:14px;font-weight:600;color:#264833}.purchase-entry-row input:focus{outline:2px solid #a6cbb1;outline-offset:1px;border-color:#45875b}.purchase-draft{font-size:10px;color:#62846b}.purchase-help{font-size:11px!important;color:#809083;padding:0 25px;line-height:1.7}.purchase-submit{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 25px;background:#f3f7f1;border-top:1px solid #e3ebe1;position:sticky;bottom:0}.purchase-submit small{display:block;font-size:10px;color:#7b8c7d;margin-bottom:4px}.purchase-submit strong{font-size:24px;color:#194a31}.purchase-submit button,.purchase-tools button.primary{background:#1c583a;border-color:#1c583a;border-radius:8px;padding:12px 17px;font-size:12px}.purchase-tools{display:flex;gap:10px;padding:18px 25px;border-top:1px solid #edf1ed}.purchase-tools button{font-size:11px;border-radius:7px}.purchase-callout{display:flex;flex-direction:column;gap:7px;margin:20px 25px;padding:16px;background:#f3f7f0;border:1px solid #e2eadc;border-radius:9px;font-size:12px}.purchase-callout span{font-size:11px;color:#758570}.purchase-submitted{display:flex;justify-content:space-between;align-items:center;background:#f6f8f3;padding:18px 25px;font-size:12px}.purchase-submitted strong{font-size:22px;color:#205638}.purchase-detail table{width:calc(100% - 50px);margin:0 25px 22px;font-size:12px}.purchase-empty{padding:35px 22px;text-align:center;color:#819086}.purchase-empty h3,.purchase-empty b{color:#385942}.purchaser-view #content{max-width:1250px}.purchaser-view .notifications{margin-bottom:20px}
@media(min-width:1450px){.purchase-layout{grid-template-columns:285px minmax(0,1fr)}}@media(max-width:1000px){.purchase-layout{grid-template-columns:210px minmax(0,1fr);gap:12px}.purchase-entry-row{grid-template-columns:minmax(100px,1fr) 92px 105px;gap:10px;padding:15px}.purchase-detail-head,.purchase-section-head,.purchase-submit{padding-left:17px;padding-right:17px}.purchase-list-card>div{align-items:flex-start;flex-direction:column;gap:9px}.purchase-steps{padding:14px 17px;gap:12px}.purchase-steps span{font-size:10px}.purchase-intro h2{font-size:23px}.purchase-live{display:none}}@media(max-width:700px){.purchase-layout{grid-template-columns:1fr}.purchase-list{flex-direction:row;overflow-x:auto;padding:2px 2px 8px}.purchase-list-card{min-width:195px;max-width:225px}.purchase-metrics>div{padding:0 12px;display:block}.purchase-metrics strong{font-size:24px;display:block}.purchase-metrics span{font-size:10px}.purchase-intro h2{font-size:22px}.purchase-toolbar input{width:100%}.purchase-tabs button{font-size:11px;padding:8px}.purchase-entry-row{grid-template-columns:1fr 1fr;padding:17px}.purchase-entry-row>div{grid-column:1/-1}.purchase-submit button{font-size:11px;max-width:180px}.purchase-draft{display:none}.purchase-detail-head h2{font-size:22px}.purchase-steps{gap:10px;justify-content:space-between}.purchase-steps span{gap:4px;font-size:9px}}
.purchaser-view #stats{display:none!important}
.board-intro{display:flex;justify-content:space-between;align-items:end;gap:22px;padding:22px 24px;background:white;border:1px solid #e1e8e1;border-radius:14px;margin-bottom:14px}.board-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#789080}.board-intro h2{font-size:25px;margin:4px 0}.board-intro p{margin:0;font-size:12px}.board-search{width:270px;margin:0}.board-search span{font-size:10px;color:#708174}.board-search input{margin-top:4px}.board-filter{display:flex;gap:7px;overflow:auto;padding:5px 0 14px}.board-filter button{display:flex;gap:9px;align-items:center;white-space:nowrap;border-radius:8px;background:#fff}.board-filter button.selected{background:#174d37;color:white;border-color:#174d37}.board-filter b{font-size:10px;padding:2px 6px;background:#eef2ed;border-radius:5px}.board-filter .selected b{background:#3c6c50;color:white}.board-stage-head{display:flex;align-items:center;gap:10px;margin:10px 0}.board-stage-head h3{font-size:15px}.board-stage-head span{font-size:11px;color:#75847a}.workflow-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:14px}.order-card{padding:18px;border:1px solid #e1e8e1;border-radius:12px;box-shadow:0 2px 8px #1d38240a}.order-card-top,.order-customer,.order-progress>div,.order-departments{display:flex;justify-content:space-between;align-items:center;gap:10px}.order-number{font-size:10px;font-weight:800;letter-spacing:1px;color:#60796a}.order-state{font-size:10px;font-weight:700;padding:4px 8px;border-radius:12px;background:#eaf2eb;color:#41734c}.order-state.late{background:#fff0e9;color:#ac4d32}.order-customer{margin:14px 0 12px;align-items:start}.order-customer h3{font-size:16px}.order-customer span{display:block;font-size:11px;color:#839087;margin-top:3px}.order-customer>strong{font-size:14px;white-space:nowrap}.order-deadline{font-size:11px;margin-bottom:10px}.order-deadline.late{color:#ad5139}.order-progress>div{font-size:10px;color:#78877d}.order-progress b{color:#344c3d}.progress-track{height:5px;background:#edf1ec;border-radius:5px;margin-top:6px;overflow:hidden}.progress-track i{display:block;height:100%;background:#4b8d5c;border-radius:5px}.order-next{margin:13px 0 10px;padding:10px 12px;background:#f5f8f3;border-radius:8px}.order-next>span{font-size:9px;letter-spacing:.8px;font-weight:800;color:#426d4e}.order-next p{font-size:11px;margin:3px 0 0;color:#65766a}.order-departments{justify-content:start;flex-wrap:wrap;font-size:10px;color:#728177;margin:10px 0}.order-departments b{color:#344c3d}.order-card .workflow-actions{gap:6px;margin-top:12px}.order-card .workflow-actions button{min-height:36px;padding:8px 10px;font-size:10px}.order-card .workflow-actions .quiet{color:#879188}.order-card .order-note{max-width:none;margin:8px 0}@media(max-width:700px){.board-intro{align-items:stretch;flex-direction:column;padding:17px}.board-search{width:100%}.board-filter{margin-right:-16px}.order-card{padding:15px}}
.order-costs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;padding:10px;background:#f7f9f6;border:1px solid #e7ece6;border-radius:9px}.order-costs>div{min-width:0}.order-costs span{display:block;font-size:9px;color:#75847a;margin-bottom:4px}.order-costs b{display:block;font-size:11px;color:#284a34;overflow-wrap:anywhere}
@media(max-width:520px){.order-costs{gap:6px;padding:9px}.order-costs span{font-size:8px}.order-costs b{font-size:10px}}

#modal:has(.order-create-form){width:min(950px,95vw);max-width:95vw;border:0;border-radius:16px;padding:28px}.order-create-form h3{font-size:13px;color:#28543a;padding:12px 0 8px;border-bottom:1px solid #e1e9df;margin-top:18px}.order-create-form>.row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.order-create-form .invoice-entry{background:#f7faf5;border-color:#dfe8dc!important}.order-create-form .product-choice{width:100%;text-align:left;background:white;min-height:42px}.order-create-form>.actions{position:sticky;bottom:-28px;background:white;padding:16px 0;border-top:1px solid #e1e9df}@media(max-width:700px){.order-create-form>.row{grid-template-columns:1fr 1fr}#modal:has(.order-create-form){padding:18px}}

.order-create-form .invoice-entry{position:relative;border:1px solid #e0e8dc;padding:16px;margin:12px 0;border-radius:12px;background:#f8faf6}.order-create-form .invoice-entry>.row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(70px,.65fr) minmax(110px,1fr) minmax(110px,1fr) 28px;gap:12px;align-items:end}.order-create-form .invoice-entry label{font-size:11px;color:#63766a;margin:0}.order-create-form .invoice-entry input,.order-create-form .invoice-entry select{margin-top:7px;min-height:42px;border-radius:8px;background:white}.order-create-form .invoice-entry .product-choice{margin-top:7px;border:1px solid #d8e2d5;border-radius:8px;font-size:12px;line-height:1.5;padding:10px 12px}.order-create-form .remove-order-item{display:flex;align-items:center;justify-content:center;width:28px;height:32px;min-height:0;padding:0;margin-bottom:5px;border:0;background:transparent;color:#c54242;font-size:25px;font-weight:500;border-radius:6px}.order-create-form .remove-order-item:hover{background:#fbe8e8;color:#a52222}.order-create-form .remove-order-item:focus-visible{outline:2px solid #c54242;outline-offset:2px}.order-create-form>label{margin-top:16px}.order-create-form>.actions{display:flex;justify-content:flex-end;gap:10px}.order-create-form>.actions button{min-width:110px;border-radius:8px}.order-create-form h3{font-size:14px;font-weight:700;letter-spacing:.2px}@media(max-width:760px){.order-create-form .invoice-entry>.row{grid-template-columns:1fr 1fr;padding-right:25px}.order-create-form .invoice-entry>.row>div:first-child{grid-column:1/-1}.order-create-form .remove-order-item{position:absolute;right:8px;top:9px}.order-create-form .invoice-entry>.row>label:last-of-type{grid-column:1/-1}}

.board-history-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:white;border:1px solid #e1e8e1;border-radius:12px;padding:14px 18px;margin-bottom:12px}.board-history-controls .actions{margin:0;align-items:end}.board-history-controls label{margin:0;font-size:11px}.board-history-controls p{font-size:11px;margin:0;max-width:420px}.board-history-controls input{margin-top:5px}.board-history-controls button{white-space:nowrap}

.board-intro{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:18px}.board-intro .board-history-controls{grid-column:1/-1;margin:0;padding:16px 0 0;border:0;border-top:1px solid #e8ede6;border-radius:0;background:transparent}.board-intro-heading h2{margin-top:4px}.board-intro .board-history-controls .actions button{border-radius:8px}.board-intro .board-history-controls p{color:#78877b}@media(max-width:700px){.board-intro{display:grid;grid-template-columns:1fr;gap:14px}.board-intro .board-search{width:100%}.board-intro .board-history-controls{align-items:stretch;gap:14px}.board-intro .board-history-controls .actions{flex-wrap:wrap}.board-intro .board-history-controls label{flex:1;min-width:125px}}
.customer-payment-entry{padding:16px;background:#f5f8f2;border:1px solid #e0e8da;border-radius:10px;margin-bottom:18px}.customer-payment-entry p{font-size:12px}.customer-payment-row{display:grid;grid-template-columns:1fr 110px 1.3fr 25px;gap:10px;align-items:end}.customer-payment-row label{font-size:11px}.customer-payment-row button{color:#b74848;padding:5px;font-size:23px;background:transparent;border:0;margin-bottom:15px}.customer-payment-summary{padding:12px;background:#f5f8f2;border-radius:9px;margin:12px 0;font-size:12px}.customer-payment-summary small{display:inline-block}.payment-table-wrap{overflow:auto}.payment-table-wrap table{min-width:630px}@media(max-width:650px){.customer-payment-row{grid-template-columns:1fr 1fr}.customer-payment-row>label:nth-child(3){grid-column:1/-1}.customer-payment-row button{justify-self:end;margin-bottom:0}}
.manager-purchase-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px;background:white;border:1px solid #e1e8e1;border-radius:10px}.manager-purchase-filters label{margin:0;font-size:10px;min-width:145px}.manager-purchase-filters span{font-size:11px;color:#708174;margin:auto 0 auto auto}.manager-purchase-next{background:#edf4e8;border:1px solid #dce8d4;border-radius:10px;padding:14px 18px;margin-bottom:12px;color:#345b3b;font-size:12px}.manager-purchase-next p{font-size:11px;margin:5px 0 0}.manager-purchase-detail .batch{margin-bottom:8px}.manager-purchase-detail table{font-size:12px}.manager-purchase-detail .batch .heading h3{font-size:16px}.manager-purchase-detail .batch .actions{position:sticky;bottom:0;background:white;padding:12px 0;border-top:1px solid #e8eee4}.manager-purchase-pages{align-items:center;justify-content:space-between;font-size:11px}.manager-purchase-layout{align-items:start}

.form-save-error{padding:14px;margin:12px 0;color:#982b28;background:#fff0ee;border:1px solid #edb8b1;border-radius:8px;font-size:13px;font-weight:600}

.owner-activity-frame{display:block;width:100%;height:1050px;border:0;border-radius:12px;background:#f5f7f3}
.cash-close-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.cash-close-metrics>div{background:#f4f8ef;border:1px solid #e2ebdb;border-radius:10px;padding:15px}.cash-close-metrics span{display:block;font-size:11px;color:#748675}.cash-close-metrics b{display:block;font-size:22px;color:#315b3b;margin-top:7px}@media(max-width:650px){.cash-close-metrics{grid-template-columns:1fr}.cash-close-metrics>div{display:flex;justify-content:space-between;align-items:center}.cash-close-metrics b{margin:0;font-size:19px}}

.cash-auto-reference{margin:22px 0;padding:18px;background:#f7f9fa;border:1px solid #e4e9e6;border-radius:12px}.cash-reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:14px 0}.cash-reference-grid>div{padding:12px;background:#fff;border-radius:8px;border:1px solid #e8ece9}.cash-reference-grid span{display:block;color:#65736c;font-size:12px}.cash-reference-grid b{display:block;margin-top:8px;font-size:19px;color:#294b37}.cash-auto-reference small{color:#65736c;line-height:1.6}

.sidebar-brand{width:182px;max-width:100%;flex-shrink:0;background:#fff;border-radius:9px;overflow:hidden;line-height:0}.sidebar-brand img{display:block;width:100%;height:60px;object-fit:cover;object-position:center}

aside > #role{display:block;width:182px;max-width:100%;text-align:center;align-self:flex-start;line-height:1.5;margin-top:10px}

.board-status-tabs{gap:0;padding:0 4px;margin:0 0 20px;background:#fff;border:1px solid #e0e7df;border-radius:12px;scrollbar-width:thin}.board-status-tabs button{position:relative;border:0;border-radius:0;background:transparent;color:#738077;padding:17px 15px;flex-shrink:0;font-size:12px}.board-status-tabs button.selected{background:#f0f6ef;color:#225b3e;border-color:transparent}.board-status-tabs button.selected:after{content:"";position:absolute;bottom:0;left:14px;right:14px;height:3px;border-radius:3px 3px 0 0;background:#286b49}.board-status-tabs b{border-radius:20px;min-width:24px;text-align:center;background:#edf1ec;color:#65756a}.board-status-tabs .selected b{background:#d8ead9;color:#225b3e}.board-status-tabs button:focus-visible{outline:2px solid #327854;outline-offset:-4px}@media(max-width:700px){.board-status-tabs button{padding:14px 12px}.board-history-controls>p{flex-basis:100%;margin:0}}

#nav{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#527461 transparent}.order-nav-parent{position:relative;padding-right:30px}.order-nav-chevron{position:absolute;right:12px;top:12px;color:#bbd0bf}.order-nav-children{margin:3px 0 12px 13px;padding-left:10px;border-left:1px solid #416650}.order-nav-children[hidden]{display:none}#nav .order-nav-child{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 0;padding:9px 10px;font-size:11px;line-height:1.4;color:#b8cdbf}#nav .order-nav-child.active{background:#315b45;color:#fff}#nav .order-nav-child b{min-width:21px;padding:2px 5px;border-radius:12px;background:#274d3b;color:#bfd3c5;font-size:10px;text-align:center;font-weight:600}#nav .order-nav-child.active b{background:#4c785b;color:#fff}#nav .order-nav-child:focus-visible{outline:2px solid #abc69b;outline-offset:-2px}

/* Consistent workspace navigation and nested order stages. */
#nav{padding:0 3px 14px 0;scrollbar-width:thin}#nav>button{min-height:43px;gap:11px;padding:11px 12px;margin:4px 0;border-radius:9px;color:#c0d0c6;font-size:12px;font-weight:500;line-height:1.45;transition:background .15s,color .15s}#nav>button:hover{background:#ffffff09;filter:none;color:#fff}#nav>button.active{background:#ffffff0e;color:#f1f7f1}.workspace-nav-icon{width:18px;height:18px;flex:0 0 18px;opacity:.85}.workspace-nav-label{flex:1;min-width:0;text-align:left}.order-nav-chevron{position:static;width:13px;height:13px;flex-shrink:0;color:#8eae9a;transition:transform .18s}.order-nav-chevron.expanded{transform:rotate(90deg)}#nav .order-nav-parent .task-badge{order:2;margin:0;font-size:10px;min-width:19px;height:19px}#nav .order-nav-parent .order-nav-chevron{order:3}.order-nav-children{margin:4px 0 16px;padding:7px 5px;background:#102f242e;border:1px solid #ffffff08;border-radius:11px}#nav .order-nav-child{gap:9px;padding:8px 9px;min-height:34px;margin:2px 0;border-radius:7px;font-size:11px;font-weight:450;color:#a9bfb0;background:transparent}#nav .order-nav-child:hover{background:#ffffff06;filter:none;color:#e9f3e9}#nav .order-nav-child.active{background:#d6e7d7;color:#224c35;font-weight:650;box-shadow:0 1px 3px #071c1b16}.order-stage-label{flex:1;min-width:0;text-align:left;line-height:1.45}.stage-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#789b85;opacity:.8}.stage-dot-1{background:#b6cfed}.stage-dot-2{background:#d1b17a}.stage-dot-3{background:#c5b6de}.stage-dot-4,.stage-dot-6{background:#9bc99f}.stage-dot-5{background:#8bb9cb}.stage-dot-7{background:#be938b}#nav .order-nav-child b{margin-left:auto;min-width:23px;line-height:16px;padding:1px 5px;font-size:10px;font-variant-numeric:tabular-nums;background:#ffffff06;border:1px solid #ffffff08;color:#b4c8bb;font-weight:600}#nav .order-nav-child b.zero-count{background:transparent;border-color:transparent;color:#789584}#nav .order-nav-child b.has-orders{background:#496f544d;color:#d4e5d7}#nav .order-nav-child.active b{background:#fff8;border-color:transparent;color:#2f5e3f}#nav .order-nav-child.active .stage-dot{background:#3c7d53;opacity:1}@media(prefers-reduced-motion:reduce){#nav>button,.order-nav-chevron{transition:none}}

.order-list-panel{background:#fff;border:1px solid #dfe6df;border-radius:12px;overflow:hidden;margin:0 0 22px}.order-list-toolbar,.order-list-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px}.order-list-toolbar h3{font-size:16px;margin:0 0 4px}.order-list-toolbar span,.order-list-pagination>span{font-size:12px;color:#748177}.order-list-toolbar .actions{margin:0;align-items:center}.order-list-toolbar label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px}.order-list-toolbar select{width:66px;margin:0;padding:7px}.order-list-scroll{overflow:auto;scrollbar-width:thin}.order-list-table{min-width:1320px;margin:0}.order-list-table th{background:#f5f7f3;color:#64716a;font-size:10px;letter-spacing:.3px;white-space:nowrap;padding:12px 11px}.order-list-table th button{display:flex;gap:9px;align-items:center;font-size:11px;font-weight:600;border:0;padding:0;background:transparent;white-space:nowrap}.order-list-table th button span{color:#87978b}.order-list-table td{padding:15px 11px;vertical-align:top;font-size:12px;border-bottom:1px solid #e8ede6}.order-list-table tbody>tr:not(.order-list-detail):nth-of-type(even){background:#fbfcfa}.order-list-table tbody>tr:not(.order-list-detail):hover{background:#f5f9f3}.order-list-table .select-cell{width:35px;text-align:center;padding-left:13px;padding-right:4px}.order-list-table input[type=checkbox]{width:15px;height:15px;margin:2px 0;accent-color:#2c6b47}.order-list-customer{min-width:190px;max-width:245px}.order-list-link{display:block;text-align:left;border:0;background:transparent;padding:0;color:#285d40;font-size:12px;font-weight:650;line-height:1.5}.order-list-customer>span,.cell-subtext{display:block;font-size:10px;color:#829085;line-height:1.6;margin-top:4px}.order-list-table .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.order-list-table th.numeric button{margin-left:auto}.list-stage{display:inline-block;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:600;white-space:nowrap;background:#edf0ea;color:#647466}.list-stage-6,.list-stage-4{background:#e6f1e4;color:#40734d}.list-stage-5{background:#e7eff8;color:#557ba0}.list-stage-1,.list-stage-2,.list-stage-3{background:#f7eedc;color:#91713c}.list-stage-7{background:#f4e9e6;color:#9b6257}.list-pending{font-size:10px;color:#8e998f;white-space:normal;display:inline-block;max-width:110px}.list-overdue{display:block;color:#b16c4f;margin-top:5px;font-size:10px;letter-spacing:0}.delivery-cell{white-space:nowrap}.order-source{display:inline-block;max-width:120px;font-size:10px;color:#819085}.order-list-actions{min-width:170px;max-width:235px}.order-list-actions button{font-size:10px;padding:6px 8px;margin:0 4px 5px 0}.order-list-detail{background:#f5f8f1}.order-detail-grid{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:25px;margin-bottom:10px;white-space:normal}.order-detail-grid h3{font-size:12px}.order-detail-grid p{font-size:11px;line-height:1.8;margin:5px 0 10px}.order-list-detail .actions{margin:0}.order-list-pagination{border-top:1px solid #e6ebe3;background:#fbfcfa;font-size:11px}.order-list-pagination .actions{margin:0;align-items:center}.order-list-pagination button{font-size:11px;padding:7px 10px}@media(max-width:700px){.order-list-toolbar,.order-list-pagination{align-items:flex-start;flex-wrap:wrap;padding:13px}.order-list-toolbar>.actions{width:100%;justify-content:space-between}.order-list-table{min-width:1250px}}
.mobile-appbar,.mobile-nav-backdrop,.mobile-order-tools{display:none}
@media(max-width:760px){
html,body{max-width:100%;overflow-x:clip}body{padding-top:66px}.mobile-appbar{display:flex;position:fixed;inset:0 0 auto;height:66px;padding:8px 14px;align-items:center;justify-content:space-between;gap:12px;background:#173e30;z-index:101;box-shadow:0 1px 6px #122f2420}.mobile-appbar img{width:145px;height:45px;object-fit:cover;border-radius:6px;background:#fff;margin-right:auto}.mobile-appbar button{height:44px;width:44px;border:0;background:#ffffff0c;color:#e5eee7;padding:10px;flex:0 0 44px}.mobile-appbar svg{width:24px;height:24px}.mobile-appbar .mobile-close-menu{display:none;font-size:25px;padding:0}.mobile-nav-open .mobile-close-menu{display:block}.mobile-nav-open{overflow:hidden}.mobile-nav-open .mobile-nav-backdrop{display:block;position:fixed;inset:66px 0 0;background:#0b201a80;border:0;border-radius:0;z-index:99;width:100%;height:calc(100dvh - 66px)}body>aside{position:fixed;top:66px;bottom:0;left:0;width:min(300px,86vw);padding:20px 16px;z-index:100;transform:translateX(-105%);transition:transform .18s ease;display:flex;height:calc(100dvh - 66px)}.mobile-nav-open>aside{transform:translateX(0)}body>aside .sidebar-brand{display:none}body>aside>#role{display:block;width:100%;margin:0 0 17px;font-size:10px;text-align:left;letter-spacing:1.7px}body>aside>p{display:block;margin:12px 0 0;border-top:1px solid #ffffff12;padding-top:12px}body>aside>#nav{display:block;overflow-y:auto;overflow-x:hidden;flex:1}#nav>button,#nav .order-nav-child{width:100%;white-space:normal;min-height:44px;font-size:13px}.order-nav-children{padding:5px}main{margin:0;width:100%;max-width:100%;padding:18px 14px}header{flex-wrap:wrap;align-items:flex-start;gap:10px}header>div{min-width:0}header h1{font-size:25px;line-height:1.25;margin:6px 0 10px}#topAction{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin:0 0 12px}#topAction button{min-height:42px;flex:1}.notice{font-size:11px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0;gap:9px}.stat{padding:14px;min-width:0}.stat strong{font-size:24px;overflow-wrap:anywhere}.layout,.workflow-grid,.batch-grid{grid-template-columns:minmax(0,1fr)}#content,#stats,#rolebar,.panel,.board-intro,.purchase-workspace{min-width:0;max-width:100%}.panel{padding:16px}.heading{flex-wrap:wrap;align-items:flex-start}.actions{flex-wrap:wrap}.actions button{min-height:42px}button{touch-action:manipulation}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;max-width:100%;min-height:44px}.row{display:flex;flex-wrap:wrap}.row>label,.row>div{flex:1 1 100%;min-width:0}.log{gap:12px;flex-wrap:wrap}.preview-bar{padding:12px;gap:10px}.preview-bar label{width:100%;justify-content:space-between}.preview-bar select{max-width:70%}.board-intro{grid-template-columns:minmax(0,1fr);padding:16px}.board-intro .board-search{width:100%}.board-history-controls,.board-history-controls>.actions{width:100%;flex-wrap:wrap}.board-history-controls label{min-width:0!important}.board-history-controls .actions label{flex:1 1 120px}.board-intro .board-history-controls{padding-top:14px}.board-history-controls>p{width:100%;flex-basis:100%}.board-search input{width:100%}dialog{width:calc(100% - 20px);max-width:none;max-height:calc(100dvh - 24px);padding:18px 14px;margin:auto;border-radius:12px;overflow:auto}dialog h2{font-size:19px;line-height:1.4}dialog .actions{position:sticky;bottom:-18px;background:#fff;padding:12px 0 4px;z-index:2}dialog .actions button{flex:1;min-height:44px}dialog table{display:block;overflow-x:auto}dialog td input[type=number]{min-width:80px}.order-create-form .invoice-entry>.row{display:grid;grid-template-columns:minmax(0,1fr)}.order-create-form .invoice-entry>.row>label,.order-create-form .invoice-entry>.row>div{grid-column:1/-1}.order-create-form .invoice-entry{min-width:0}footer{flex-wrap:wrap;gap:12px}.owner-activity-frame{height:calc(100dvh - 180px);min-height:600px;width:100%}#toast{max-width:calc(100vw - 24px);left:12px;right:12px;bottom:16px;overflow-wrap:anywhere}
.mobile-order-tools{display:flex;gap:8px;padding:10px 13px 14px;align-items:end;flex-wrap:wrap;border-bottom:1px solid #e4eae2}.mobile-order-tools>label{margin:0;font-size:11px;flex:1}.mobile-order-tools>.checkline{flex:1 1 100%;min-height:32px}.mobile-order-tools input[type=checkbox]{width:18px;height:18px}.mobile-order-tools button{min-height:44px;width:44px}.mobile-order-tools select{margin:5px 0 0}.order-list-scroll{overflow:visible}.order-list-table{display:block;min-width:0;width:100%}.order-list-table thead{display:none}.order-list-table tbody{display:block;padding:0 12px 12px}.order-list-table tbody>tr:not(.order-list-detail){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:relative;gap:0 12px;margin:12px 0 0;border:1px solid #e0e8dd;border-radius:10px;padding:12px;background:#fff!important}.order-list-table td{display:flex;flex-direction:column;min-width:0;max-width:none;border:0;padding:9px 0;font-size:12px;white-space:normal!important;overflow-wrap:anywhere}.order-list-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;line-height:1.6;color:#859187;margin-bottom:4px;font-weight:500}.order-list-table .order-list-customer{grid-column:1/-1;padding:0 26px 12px 0;border-bottom:1px solid #edf1e9;margin-bottom:3px}.order-list-table .order-list-customer:before{display:none}.order-list-link{font-size:14px}.order-list-table .select-cell{position:absolute;right:12px;top:13px;width:23px;padding:0;align-items:center}.order-list-table .select-cell input{width:19px;height:19px}.order-list-table .numeric{text-align:left}.list-pending{max-width:none;font-size:11px}.list-stage{align-self:flex-start;white-space:normal}.order-list-actions{grid-column:1/-1;border-top:1px solid #edf1e9!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:7px;padding:12px 0 0!important;margin-top:5px}.order-list-actions button{min-height:42px;font-size:11px;margin:0;flex:1 1 auto;padding:8px 10px}.cell-subtext{font-size:10px}.order-source{max-width:none}.order-list-table .order-list-detail{display:block;border:1px solid #dfe7d9;border-top:0;border-radius:0 0 10px 10px;padding:12px;margin-top:-7px;background:#f5f8f1}.order-list-detail>td:first-child{display:none}.order-list-detail>td[colspan]{display:block}.order-detail-grid{grid-template-columns:minmax(0,1fr);gap:12px}.order-list-pagination .actions{flex:1;justify-content:space-between}.order-list-pagination .actions button{min-height:42px}.purchase-entry-row{grid-template-columns:minmax(0,1fr)!important}.purchase-entry-row input{width:100%}.purchase-submit{flex-wrap:wrap}.cash-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-reference-grid b{font-size:17px}.cash-close-metrics>div{gap:12px}.customer-payment-row{grid-template-columns:minmax(0,1fr)}.customer-payment-row>label:nth-child(3){grid-column:auto}.customer-payment-row button{justify-self:end}.manager-purchase-filters label{width:100%;min-width:0}
}
@media(max-width:380px){.cash-reference-grid{grid-template-columns:1fr}.stat strong{font-size:21px}}
@media(max-width:760px) and (prefers-reduced-motion:reduce){body>aside{transition:none}}

.assignment-table-scroll{max-height:50vh;overflow:auto;border:1px solid #e5eae1;border-radius:8px;margin:14px 0}.assignment-table-scroll table{margin:0;min-width:530px}.assignment-table-scroll thead th{position:sticky;top:0;background:#f3f6ef;z-index:1}.assignment-selected-summary{max-height:180px;overflow:auto;padding:12px 14px;background:#f4f7ef;border-radius:8px;font-size:12px;line-height:1.9;margin:14px 0}.order-list-panel{min-width:0;width:100%;max-width:100%}.order-list-scroll:focus-visible{outline:2px solid #6e9d7c;outline-offset:-2px}@media(min-width:761px){.order-list-scroll{max-width:100%;max-height:68vh;overflow:auto;overscroll-behavior:contain;scrollbar-width:auto;scrollbar-color:#9eafa1 #eef2eb}.order-list-scroll::-webkit-scrollbar{width:11px;height:11px}.order-list-scroll::-webkit-scrollbar-thumb{background:#9eafa1;border:2px solid #eef2eb;border-radius:8px}.order-list-scroll::-webkit-scrollbar-track{background:#eef2eb}.order-list-table thead th{position:sticky;top:0;z-index:3}.order-list-table .order-list-actions,.order-list-table thead th:last-child{position:sticky;right:0;background:#fff;box-shadow:-5px 0 8px #173e300a;min-width:190px;z-index:2}.order-list-table thead th:last-child{background:#f5f7f3;z-index:4}.order-list-table .order-list-customer{position:sticky;left:0;background:#fff;z-index:1;box-shadow:3px 0 7px #173e3007}.order-list-table thead th:nth-child(2){position:sticky;left:0;z-index:4}.order-list-toolbar{flex-wrap:wrap}.order-list-toolbar>.actions{flex-wrap:wrap}.order-list-detail td{position:static!important}.order-list-scroll .order-list-table{width:100%;min-width:1320px}}@media(max-width:760px){.order-list-scroll{max-height:none;overflow:visible}.assignment-table-scroll table{display:table}.order-list-toolbar>.actions{flex-wrap:wrap}.order-list-toolbar>.actions>.primary{flex:1 1 100%}.order-list-actions .primary{flex-basis:100%}.order-list-table .order-list-actions,.order-list-table .order-list-customer{position:static;box-shadow:none}}

.assignment-locked{display:inline-block;padding:4px 8px;border-radius:5px;background:#edf1ec;color:#7b877d;font-size:10px;white-space:nowrap}

.handoff-select-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f3f7ef;border:1px solid #e0e9d9;border-radius:9px;margin:16px 0 10px}.handoff-select-toolbar .checkline{margin:0}.handoff-select-toolbar>span{font-size:11px;color:#71816d;white-space:nowrap}.handoff-item-list{max-height:360px;overflow:auto;margin-bottom:16px}.handoff-item-list>.checkline{padding:11px 5px;margin:0;border-bottom:1px solid #edf1e8}.handoff-item-list small{font-size:11px;letter-spacing:0}.handoff-panel input[type=checkbox]{accent-color:#2b7248;width:18px;height:18px}@media(max-width:760px){.handoff-select-toolbar{flex-wrap:wrap}.handoff-panel button[type=submit]{width:100%;min-height:44px}}

.list-stage-8{background:#fbe5df;color:#a34e3c}.board-stage-action{border-color:transparent!important;background:#edf0ea;color:#647466;font-weight:650}.board-stage-action.list-stage-1,.board-stage-action.list-stage-2,.board-stage-action.list-stage-3{background:#f7eedc;color:#91713c}.board-stage-action.list-stage-4,.board-stage-action.list-stage-6{background:#e6f1e4;color:#40734d}.board-stage-action.list-stage-5{background:#e7eff8;color:#557ba0}.board-stage-action.list-stage-7{background:#f4e9e6;color:#9b6257}.board-stage-action.list-stage-8{background:#fbe5df;color:#a34e3c}.stage-dot-8{background:#d99a85}

.fulfilment-staff-list{display:grid;gap:10px;margin:12px 0 16px}.fulfilment-staff{background:#fff;border:1px solid #dfe7d9;border-radius:8px;padding:11px 12px}.fulfilment-staff-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.fulfilment-staff-head b{display:block;font-size:12px;color:#355c42}.fulfilment-staff-head small{display:block;font-size:9px;letter-spacing:.5px;color:#82907d}.fulfilment-staff-head>span{font-size:10px;color:#8b743e;white-space:nowrap}.fulfilment-staff.complete .fulfilment-staff-head>span{color:#56815b}.fulfilment-staff-item{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-top:1px solid #edf1e9;font-size:11px;line-height:1.5}.fulfilment-staff-item>span:first-child{flex:1;min-width:0}.fulfilment-staff-item small{display:block;letter-spacing:0;font-size:10px;color:#8b9786}.fulfilment-staff-item>span:last-child{font-size:10px;text-align:right;color:#99764c;max-width:46%}.fulfilment-staff-item>span.received{color:#6b8b65}.order-detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.order-notes-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;padding:5px!important;vertical-align:middle;color:#8b9788}.order-notes-button.has-notes{color:#527448;background:#f4f8ed;border-color:#dce7d0}.order-note-count{position:absolute;top:-5px;right:-5px;min-width:15px;height:15px;line-height:15px;border-radius:50%;background:#c57b3f;color:white;font-size:9px;font-weight:700;text-align:center;border:1px solid #fff}.order-notes-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f8f9f2;border:1px solid #e4e9d9;border-radius:9px;line-height:1.8;margin:14px 0}@media(max-width:760px){.order-detail-grid{grid-template-columns:minmax(0,1fr)}.order-list-actions .order-notes-button{flex:0 0 42px;height:42px;width:42px}.fulfilment-staff-item{gap:9px}.fulfilment-staff-head{align-items:flex-start}}

.delivery-slot{display:block;font-weight:700;color:#3f5c46;line-height:1.6}.order-list-toolbar .order-status-filter{gap:7px;white-space:nowrap}.order-list-toolbar .order-status-filter select{width:165px;min-width:140px}.order-list-table td[data-label="Order date"]{white-space:nowrap}@media(max-width:760px){.order-list-toolbar .order-status-filter{flex:1 1 100%;justify-content:space-between}.order-list-toolbar .order-status-filter select{flex:1;min-width:0;max-width:75%}.delivery-slot{font-size:12px}.order-list-table .delivery-cell{grid-column:1/-1}.order-list-table td[data-label="Order date"]{white-space:normal}}

.fulfilment-staff-item .fulfilment-receive-link{flex:0 1 46%;font-size:10px;text-align:left;line-height:1.55;padding:6px 8px;color:#87642e;background:#fbf2df;border:1px solid #e9d9b9;border-radius:6px;white-space:normal}.fulfilment-receive-link:hover{background:#f6e8c9}.fulfilment-receive-link>span{white-space:nowrap}.manager-purchase-detail{scroll-margin-top:20px}@media(max-width:760px){.fulfilment-staff-item .fulfilment-receive-link{min-height:44px}.manager-purchase-detail{scroll-margin-top:82px}}

.backup-workspace{display:grid;grid-template-columns:1fr 1fr;gap:18px}.backup-workspace .panel{margin-bottom:18px}.backup-table-wrap{overflow:auto;max-width:100%}.backup-table-wrap table{min-width:650px}.backup-count-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:16px}.backup-count-grid>div{padding:12px;background:#f4f7ef;border-radius:8px}.backup-count-grid span{display:block;font-size:11px;color:#7e8e76}.backup-count-grid b{display:block;font-size:20px;margin-top:6px}.restore-preview{border-color:#d3b77d;background:#fffdf7}.restore-preview form{margin-top:18px;border-top:1px solid #e9e1cb;padding-top:16px}.backup-scope p{font-size:12px;line-height:1.8}.backup-workspace input[type=file]{font-size:12px;max-width:100%;padding:10px}.backup-table-wrap td button{margin:3px;white-space:nowrap}@media(max-width:760px){.backup-workspace{grid-template-columns:minmax(0,1fr);gap:0}.backup-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restore-preview>table{font-size:11px}.restore-preview form button{min-height:44px}.backup-workspace button{min-height:44px}}

.woo-inbox-row{padding:16px 0;border-top:1px solid #e4eade}.woo-inbox-row .heading{margin:0}.woo-inbox-row p{font-size:12px}.woo-fetch-form{display:flex;gap:12px;align-items:end;margin:16px 0}.woo-fetch-form label{margin:0}.woo-map-line{padding:12px;background:#f5f8ef;border:1px solid #e0e8d7;border-radius:8px;margin:10px 0}.woo-map-line p{font-size:12px}.woo-map-line button{font-size:11px}@media(max-width:760px){.woo-fetch-form{flex-direction:column;align-items:stretch}.woo-fetch-form button{min-height:44px}.woo-map-line button{min-height:42px}}

.woo-connect-form>.row{align-items:flex-start}.woo-credential{flex:1;min-width:0}.woo-credential label{margin-bottom:6px}.woo-credential input{width:100%}.woo-credential-actions{display:flex;gap:7px;margin:0 0 16px}.woo-credential-actions button{font-size:11px;padding:7px 11px}@media(max-width:760px){.woo-credential-actions button{min-height:42px}.woo-connect-form>.row>.woo-credential{flex-basis:100%}}

/* Purchaser: single-page batch operations table */
.purchase-table-wrap{width:100%;overflow:auto;border:1px solid #dce6df;border-radius:12px;background:#fff}.purchase-batch-table{width:100%;border-collapse:collapse;min-width:780px;font-size:12px}.purchase-batch-table>thead>tr>th{text-align:left;background:#f4f7f3;color:#577062;padding:14px 16px;font-size:11px;font-weight:650;border-bottom:1px solid #dce6df}.purchase-batch-table>tbody>tr>td{padding:19px 16px;vertical-align:top;border-bottom:1px solid #e5ece6}.purchase-batch-table>tbody>tr:nth-child(even){background:#fbfcfa}.purchase-batch-table small{display:block;font-size:10px;color:#819086;margin-top:6px}.purchase-batch-table .purchase-overdue{color:#b36948}.purchase-batch-link{padding:0;border:0;background:none;color:#21613f;font-weight:700;text-align:left;font-size:12px}.purchase-row-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:180px}.purchase-row-actions button{font-size:11px;padding:8px 10px;border-radius:7px}.purchase-slot+.purchase-slot{margin-top:10px}.purchase-slot b{white-space:nowrap}.purchase-batch-table .is-expanded{background:#f0f6ef}.purchase-batch-table>tbody>.purchase-expanded-row>td{padding:14px;background:#f3f7f1}.purchase-inline-detail{max-width:100%;white-space:normal}.purchase-inline-detail .purchase-detail{border-radius:10px}.purchase-batch-table .purchase-additions{color:#9a702a}.purchase-inline-detail .purchase-tools{flex-wrap:wrap}.purchase-batch-table .purchase-detail h2{font-size:20px}
@media(max-width:1000px){.purchase-table-wrap{overflow:visible;background:transparent;border:0}.purchase-batch-table{min-width:0;display:block}.purchase-batch-table>thead{display:none}.purchase-batch-table>tbody{display:block}.purchase-batch-table>tbody>tr:not(.purchase-expanded-row){display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce6df;border-radius:12px;background:white;margin-bottom:12px;padding:8px}.purchase-batch-table>tbody>tr>td{display:block;border:0;padding:10px;min-width:0}.purchase-batch-table>tbody>tr:not(.purchase-expanded-row)>td:first-child,.purchase-batch-table>tbody>tr:not(.purchase-expanded-row)>td:last-child{grid-column:1/-1}.purchase-batch-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;color:#819086;margin-bottom:7px}.purchase-batch-table>tbody>.purchase-expanded-row{display:block;margin-bottom:16px}.purchase-batch-table>tbody>.purchase-expanded-row>td{padding:0;background:transparent}.purchase-row-actions button{min-height:42px}.purchase-inline-detail .purchase-entry-row{grid-template-columns:1fr 1fr}.purchase-inline-detail .purchase-entry-row>div{grid-column:1/-1}.purchase-slot b{white-space:normal}}

.purchase-countdown{min-width:130px;margin-bottom:10px;color:#37764a}.purchase-countdown b{display:block;font-size:12px;margin:5px 0}.purchase-countdown.amber{color:#9b7226}.purchase-countdown.red{color:#b54a40}.purchase-countdown.done{color:#657e6a}.purchase-timer-track{height:4px;background:#e8ece8;border-radius:5px;overflow:hidden}.purchase-timer-track i{height:100%;display:block;background:currentColor}.purchase-delivery-details{padding:0 25px 14px;color:#69816e;font-size:11px;display:flex;flex-wrap:wrap;gap:12px}

.purchase-submitted-scroll{overflow-x:auto}.purchase-submitted-scroll table{min-width:420px}.purchase-submitted-scroll th,.purchase-submitted-scroll td{padding:12px 10px;text-align:left}

.woo-source-product,.woo-selected-product{display:flex;flex-direction:column;gap:5px;background:#f2f6f0;border:1px solid #dce5d9;border-radius:9px;padding:13px;margin:12px 0;font-size:12px}.woo-source-product small,.woo-selected-product small{font-size:9px;letter-spacing:1px;color:#6d816f}.woo-product-search-row{display:flex;gap:8px;align-items:center}.woo-product-search-row input{flex:1;min-width:0;width:100%;height:44px;margin:0;border:1px solid #8eaa92;background:white}.woo-product-search-row button{flex:none;height:44px}.woo-mapping-form #woo-product-match-count{display:block;margin:9px 0;color:#6c7c6c}.woo-product-results{max-height:260px;overflow:auto;border:1px solid #dbe4d9;border-radius:9px;background:white}.woo-product-result{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:12px!important;border-bottom:1px solid #e7ece4;cursor:pointer}.woo-product-result:last-child{border-bottom:0}.woo-product-result.selected{background:#edf5e9}.woo-product-result input{width:17px!important;height:17px!important;flex:none;margin:0!important}.woo-product-result span{display:flex;min-width:0;flex-direction:column;gap:4px;overflow-wrap:anywhere}.woo-product-result b{font-size:13px;color:#234a31}.woo-product-result small{font-size:11px;color:#6a7d6c}.woo-mapping-form>label{font-weight:700;font-size:13px}.woo-mapping-form .actions{position:sticky;bottom:0;background:white;padding:12px 0;border-top:1px solid #e1e8de}@media(max-width:600px){.woo-product-results{max-height:220px}.woo-mapping-form .row{display:block}}

.purchase-row-actions .purchase-main-action{font-weight:700;border:1px solid transparent}.purchase-action-accept{background:#e1f1e3;color:#286b3a;border-color:#c7e2cd!important}.purchase-action-record{background:#fff0d6;color:#91631c;border-color:#eddbb5!important}.purchase-action-additions{background:#fbe6df;color:#9b4c35;border-color:#efcdc0!important}.purchase-action-manager{background:#e5eefb;color:#3a6497;border-color:#cbdcf2!important}.purchase-action-completed{background:#e9efe9;color:#526e55;border-color:#d7e2d8!important}.purchase-tabs{align-items:center}.purchase-tabs>span,.purchase-tabs>strong{font-size:12px;color:#657b68;padding:8px}.purchase-tabs>button{border:1px solid #d8e3d7;background:#fff;color:#355a3b}

@media(min-width:1001px){.purchase-table-wrap{max-height:65vh;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.purchase-batch-table>thead>tr>th{position:sticky;top:0;z-index:2}.purchase-batch-table>thead>tr>th:last-child{right:0;z-index:3}.purchase-batch-table>tbody>tr:not(.purchase-expanded-row)>td:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 7px #173e3009;z-index:1}}
dialog:has(.purchase-cost-popup){width:min(900px,calc(100vw - 32px));max-width:900px;max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden;padding:20px}.purchase-popup-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.purchase-popup-title h2{margin:0}.purchase-popup-title button{min-width:40px;min-height:40px}.purchase-cost-popup .purchase-detail{border:0}.purchase-cost-popup .purchase-detail-head{padding-top:8px}.purchase-cost-popup .purchase-submit{position:sticky;bottom:-20px;z-index:3}.purchase-cost-popup .purchase-entry-row{grid-template-columns:minmax(130px,1fr) 130px 150px}.purchase-cost-popup .purchase-entry-row input{width:100%;min-width:0}.purchase-cost-popup .purchase-tools{flex-wrap:wrap}@media(max-width:650px){.purchase-cost-popup .purchase-entry-row{grid-template-columns:1fr 1fr}.purchase-cost-popup .purchase-entry-row>div{grid-column:1/-1}.purchase-cost-popup .purchase-submit{bottom:-20px}.purchase-row-actions{min-width:0}}

.board-stage-action.manager-action-assigned{background:#fff0d9;color:#9b5c15;border-color:#f0d1a6!important}.board-stage-action.manager-action-packing{background:#eee5fa;color:#79529e;border-color:#dac5ee!important}.board-stage-action.manager-action-rates,.manager-action-rates{background:#e6eefb;color:#3e639a;border-color:#cad8ef!important;font-weight:700}

/* Order status badges: distinct workflow colours. */
.list-stage.list-stage-1{background:#e2f2e5;color:#286c3c}
.list-stage.list-stage-2{background:#e0f3fc;color:#226d91}
.list-stage.list-stage-3{background:#eee5fa;color:#79529e}
.list-stage.list-stage-4{background:#fff4c9;color:#886915}
.list-stage.list-stage-5{background:#dfeafb;color:#345f9c}

/* Main order actions share their current status palette. */
.order-list-actions .board-stage-action.list-stage-1{background:#e2f2e5;color:#286c3c;border-color:#b9d9c1!important}
.order-list-actions .board-stage-action.list-stage-2{background:#e0f3fc;color:#226d91;border-color:#b4d9eb!important}
.order-list-actions .board-stage-action.list-stage-3{background:#eee5fa;color:#79529e;border-color:#dac5ee!important}
.order-list-actions .board-stage-action.list-stage-4{background:#fff4c9;color:#886915;border-color:#e5d594!important}
.order-list-actions .board-stage-action.list-stage-5{background:#dfeafb;color:#345f9c;border-color:#bbceeb!important}
.order-list-actions .board-stage-action.list-stage-8{background:#fbe5df;color:#a34e3c;border-color:#e9beb2!important}

.thermal-invoice{width:74mm;background:white;color:#111;margin:14px auto;padding:3mm;font:11px/1.4 Arial,sans-serif;overflow-wrap:anywhere}.thermal-invoice header{display:block;text-align:center;border-bottom:1px dashed #111;padding-bottom:2mm}.thermal-invoice h2{font-size:19px;margin:0 0 1mm;letter-spacing:0}.thermal-invoice p{margin:2mm 0;color:#111;font-size:10px}.thermal-invoice table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10px;margin:0}.thermal-invoice th{text-align:left;font-size:10px;padding:2mm .7mm;border-top:1px solid #111;border-bottom:1px solid #111}.thermal-invoice td{padding:2mm .7mm;border-bottom:1px dashed #aaa;vertical-align:top}.thermal-invoice small{display:block;font-size:9px;color:#333;letter-spacing:0;margin-top:1mm}.thermal-invoice .amount{text-align:right}.invoice-totals{margin-top:2mm}.invoice-totals>div{display:flex;justify-content:space-between;gap:2mm;padding:1mm 0}.invoice-grand-total{border-top:1px solid #111;margin-top:1mm;font-size:13px}.invoice-customer-note{border-top:1px dashed #111;margin-top:3mm;padding-top:2mm;white-space:pre-wrap;font-size:10px}.thermal-invoice footer{display:block;text-align:center;border-top:1px dashed #111;margin-top:3mm;padding-top:3mm;font-size:10px}.thermal-invoice tr,.thermal-invoice footer{break-inside:avoid}.thermal-invoice thead{display:table-header-group}
.thermal-invoice-preview{background:#f1f4ef;padding:16px;border-radius:10px}.thermal-invoice-preview .invoice-print-tools{margin:0 0 16px}.thermal-invoice-preview .thermal-invoice{max-width:100%;border:1px solid #dfe6db}.thermal-invoice-preview .thermal-invoice table{display:table;overflow:visible}.thermal-invoice-preview .thermal-invoice header{display:block}

/* Compact customer invoice: larger type with reduced row spacing. */
.thermal-invoice{width:74mm;background:white;color:#111;margin:14px auto;padding:3mm;font:12px/1.2 Arial,sans-serif;overflow-wrap:anywhere}.thermal-invoice header{display:block;text-align:center;border-bottom:1px dashed #111;padding-bottom:1.2mm}.thermal-invoice h2{font-size:20px;margin:0 0 1mm;letter-spacing:0}.thermal-invoice p{margin:1.2mm 0;color:#111;font-size:11px}.thermal-invoice table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:11.5px;line-height:1.18;margin:0}.thermal-invoice th{text-align:left;font-size:11px;padding:1.2mm .6mm;border-top:1px solid #111;border-bottom:1px solid #111}.thermal-invoice td{padding:.65mm .6mm;border-bottom:1px dashed #aaa;vertical-align:top}.thermal-invoice .invoice-variation{display:inline;font-size:10.5px;font-weight:400;color:#222;letter-spacing:0}.thermal-invoice td:nth-child(2),.thermal-invoice .amount{font-variant-numeric:tabular-nums}.thermal-invoice .amount{text-align:right}.invoice-totals{margin-top:1.2mm}.invoice-totals>div{display:flex;justify-content:space-between;gap:2mm;padding:.65mm 0}.invoice-grand-total{border-top:1px solid #111;margin-top:1mm;font-size:14px}.invoice-customer-note{border-top:1px dashed #111;margin-top:1.5mm;padding-top:1.2mm;white-space:pre-wrap;font-size:11px}.thermal-invoice footer{display:block;text-align:center;border-top:1px dashed #111;margin-top:1.5mm;padding-top:1.5mm;font-size:11px}.thermal-invoice tr,.thermal-invoice footer{break-inside:avoid}.thermal-invoice thead{display:table-header-group}

.thermal-invoice .invoice-customer{margin:2mm 0 2.5mm;line-height:1.3;color:#000;overflow-wrap:anywhere}.thermal-invoice .invoice-customer-label{display:block;font-size:10px;margin-bottom:.6mm}.thermal-invoice .invoice-customer strong{display:block;font-weight:700;color:#000;letter-spacing:0}.thermal-invoice .invoice-customer-name{font-size:14px;margin-bottom:.8mm}.thermal-invoice .invoice-customer-address{font-size:12.5px;margin-bottom:1mm;white-space:pre-wrap}.thermal-invoice .invoice-customer-phone{font-size:14px}

/* Customer address uses the same calm field treatment as the order inputs. */
.order-create-form textarea[name="shippingAddress"]{display:block;box-sizing:border-box;width:100%;max-width:100%;height:90px;min-height:90px;max-height:90px;resize:none;overflow-y:auto;padding:10px 12px;border:1px solid #d4dfd0;border-radius:6px;background:#fff;color:#203d30;font:inherit;line-height:1.45}
.order-create-form textarea[name="shippingAddress"]:focus{outline:2px solid #1a7558;outline-offset:1px;border-color:#1a7558}

.woo-control-card{padding:16px;margin:12px 0;border:1px solid #d7e2dc;border-radius:10px}.woo-control-card.woo-stop{background:#fff3f2;border-color:#efb8b2;color:#752b26}.woo-stop-action{background:#fff0ee;color:#922f24;border:1px solid #e9aea5}.list-stage-9,.list-stage-10,.list-stage-11{background:#fff0ee!important;color:#922f24!important}

.woo-control-panel .woo-alert-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.woo-alert-header h2{margin:0;font-size:18px;color:#234336}.woo-alert-header p{margin:4px 0 0;font-size:13px;color:#63756b}.woo-alert-count{background:#fae5df;color:#8a362b;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;white-space:nowrap}.woo-alert-read{font-size:12px;color:#597164}.woo-control-card.woo-alert-card{margin:10px 0 0;padding:14px 16px;border-radius:10px;background:#fff;border:1px solid #dde5df;border-left:3px solid #82968a;color:#344b3d}.woo-control-card.woo-alert-card.woo-alert-stop{border-left-color:#bd6052;background:#fffaf9}.woo-control-card.woo-alert-card.is-acknowledged{background:#f8faf8;border-color:#e0e7e1;border-left-color:#a9b6ac}.woo-alert-top,.woo-alert-title,.woo-alert-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.woo-alert-top{justify-content:space-between}.woo-alert-title strong{font-size:14px}.woo-alert-status{font-size:12px;font-weight:600;padding:4px 9px;border-radius:5px;background:#f7e7e2;color:#8a4035}.is-acknowledged .woo-alert-status{background:#ebefec;color:#53685b}.woo-alert-ack{font-size:12px;color:#52725d}.woo-alert-actions button{margin:0;min-height:34px;font-size:13px}.woo-alert-ack-button{border-color:#d3b9b2;background:#fff;color:#813e31}.woo-alert-details{margin-top:8px}.woo-alert-details summary{cursor:pointer;font-size:12px;font-weight:600;color:#5c7063;width:fit-content;padding:4px 0}.woo-alert-body{padding-top:4px;font-size:13px;line-height:1.55}.woo-alert-body p{margin:6px 0}.woo-alert-instruction{color:#824b3d}.woo-alert-people{color:#687b6e;font-size:12px}.woo-alert-details:not([open]) .woo-alert-body{display:none}@media(max-width:600px){.woo-alert-header{align-items:flex-start!important}.woo-alert-top{align-items:flex-start}.woo-alert-actions{width:100%}.woo-control-card.woo-alert-card{padding:12px}.woo-alert-read{max-width:115px;text-align:right}}
