/* Purchase receiving follows the workspace palette. */
#receiving-desk{max-width:1150px;margin:auto;min-width:0;color:#394d3d;font-size:12px;line-height:1.6}
.rc-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.rc-heading h1{font-size:26px;font-weight:600;letter-spacing:1px}.rc-heading p{font-size:12px;color:#788775;margin-top:6px}.rc-tabs{display:flex;gap:8px;margin-bottom:20px}.rc-tabs .button{font-size:12px;border-color:transparent;background:transparent;color:#788775}.rc-tabs .active{color:#174d40;background:#e7eee1;border-color:#d9e4d1;font-weight:600}
.rc-intro{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;color:#557349}.rc-intro span{font-weight:600}.rc-intro small{color:#7e8b78;font-size:11px}.rc-info{padding:22px;margin-bottom:20px}.rc-info h2,.rc-section-head h2{font-size:15px;font-weight:600}.rc-info-fields{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:20px;margin-top:17px}.rc-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:11px;color:#596e52}.rc-field>span{font-weight:500}.rc-field input,.rc-field select,.rc-field textarea,#rc-search{width:100%;min-width:0;max-width:100%;border:1px solid #dce4d5;border-radius:7px;background:#fff;color:#334d3e;padding:10px 11px;font:inherit;font-size:13px;line-height:1.45;outline-offset:3px}.rc-field input:focus,.rc-field select:focus,.rc-field textarea:focus,#rc-search:focus{outline:2px solid #a6bb95;border-color:#64865a}.rc-field input[readonly]{background:#f4f6f0;color:#687962}.rc-field small{font-size:10px;color:#8b9683}.rc-field input::placeholder,.rc-field textarea::placeholder,#rc-search::placeholder{color:#9aab92}.rc-field textarea{resize:vertical;min-height:78px}
.rc-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px}.rc-section-head p{font-size:11px;color:#829079;margin-top:4px}.rc-section-head>span{color:#789069;font-size:11px;white-space:nowrap}.rc-picker{padding:16px 22px 18px;background:#f5f7f0;border-block:1px solid #e6ecde}.rc-picker>label{display:block;font-size:11px;color:#647d57;font-weight:600;margin-bottom:8px}.rc-picker #rc-search{max-width:450px}.rc-picker #rc-picks{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.rc-chip.button{background:#fff;color:#537648;border-color:#dce6d3;white-space:normal;text-align:left;font-size:11px;padding:7px 11px;max-width:100%;overflow-wrap:anywhere}.rc-chip:hover{border-color:#8ba87c;background:#edf3e7}.rc-picker small{width:100%;color:#8a9782;font-size:10px;margin-top:3px}
.rc-line{padding:22px;border-bottom:1px solid #e8eddf}.rc-line:nth-child(even){background:#fbfcf8}.rc-line:last-child{border:0}.rc-line-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}.rc-line-head>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.rc-line-head strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.rc-line-head small{font-size:10px;color:#8b9980}.rc-line-number{border-radius:6px;min-width:23px;height:23px;display:flex;justify-content:center;align-items:center;color:#6e8b5e;background:#edf2e7;font-size:11px}.rc-remove.button{padding:3px 0 3px 8px;border:0;background:transparent;color:#a18a74;font-size:11px}.rc-line-fields{display:grid;grid-template-columns:1fr .8fr 1.35fr .9fr 1.4fr;gap:14px}.rc-line-preview{display:flex;flex-wrap:wrap;gap:7px 22px;margin-top:15px;border-radius:6px;background:#f7f8f2;color:#7d8e73;padding:10px 12px;font-size:10px}.rc-line-preview strong{color:#496d3c;font-size:12px}.rc-line-preview .rc-invalid{width:100%}.rc-invalid{color:#b0654d!important}.rc-empty{padding:35px 20px;text-align:center;font-size:13px;color:#7f9172}.rc-empty small{display:block;font-size:11px;color:#97a28b;margin-top:7px}
.rc-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:30px;margin-top:22px;align-items:center}.rc-bottom>p{font-size:11px;color:#8a977e;line-height:1.9}.rc-submit-bar{position:sticky;bottom:16px;z-index:5;margin:22px 0 6px;background:#fff;border:1px solid #dce6d4;border-radius:10px;box-shadow:0 4px 25px #29452812;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;gap:14px}.rc-submit-bar>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 16px}.rc-submit-bar span{font-size:11px;color:#7d8e72}.rc-submit-bar strong{font-size:24px;color:#174d40;font-weight:600;font-variant-numeric:tabular-nums}.rc-submit-bar .button{padding:11px 20px;font-size:12px}.rc-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.rc-error{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fbefe8;border:1px solid #efd3c4;border-radius:8px;padding:13px 16px;color:#a35843;font-size:12px;margin-bottom:20px;line-height:1.8}.rc-error .button{flex-shrink:0}
.rc-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 26px;padding:4px 22px 22px}.rc-facts>div:last-child{grid-column:1/-1}.rc-facts dt{font-size:10px;color:#93a086}.rc-facts dd{font-size:12px;margin-top:5px;color:#5c7250;white-space:pre-wrap;overflow-wrap:anywhere}.rc-summary-line{display:flex;justify-content:space-between;gap:20px;padding:20px 22px;border-top:1px solid #edf1e6}.rc-summary-line>div{display:flex;flex-direction:column;gap:4px;min-width:0}.rc-summary-line>div:last-child{align-items:flex-end;flex-shrink:0;text-align:right}.rc-summary-line strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.rc-summary-line>div:last-child strong{font-size:18px;color:#174d40;font-variant-numeric:tabular-nums}.rc-summary-line span{font-size:11px;color:#7e8e74}.rc-summary-line small{font-size:10px;color:#98a28b}.rc-summary-line .rc-stock-change{color:#63884f}.rc-review-note{font-size:11px;color:#8a977c;line-height:1.9;padding:16px 22px;background:#f7f8f2;border-top:1px solid #edf1e6}.rc-receipt-total{display:flex;justify-content:flex-end;gap:20px;flex-wrap:wrap;padding:20px 22px;border-top:1px solid #e5ebdc;color:#7c8e70}.rc-receipt-total strong{font-size:21px;color:#174d40;margin-left:10px}.rc-void{background:#faf9f5}.rc-void>div:first-child>strong{text-decoration:line-through;color:#a4a995}
.rc-success{padding:52px 20px;text-align:center;border:1px solid #dee7d5;border-radius:12px;background:#fff}.rc-success-mark{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#eaf2df;color:#517c43;font-size:28px;margin:0 auto 16px}.rc-success h2{font-size:23px;font-weight:600;color:#174d40}.rc-success p{font-size:12px;color:#7e9172;margin-top:10px}.rc-success>strong{display:block;font-size:30px;color:#174d40;margin:13px 0 25px;font-weight:600}.rc-success>small{display:block;color:#8e9c82;font-size:11px;margin-top:20px}.rc-back{margin-bottom:16px}.rc-order{display:flex;width:100%;text-align:left;justify-content:space-between;gap:20px;padding:19px 22px;border-top:1px solid #edf1e6;background:#fff}.rc-order:hover{background:#f7faf2}.rc-order>div{display:flex;flex-direction:column;gap:5px;min-width:0}.rc-order>div:last-child{align-items:flex-end;flex-shrink:0;text-align:right}.rc-order strong{font-size:13px;color:#547047;font-weight:600}.rc-order>div:last-child strong{font-size:18px;color:#174d40}.rc-order span{font-size:11px;color:#849578}.rc-order small{font-size:10px;color:#97a28a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.rc-load-more{padding:18px;text-align:center;border-top:1px solid #edf1e6}.rc-history .rc-section-head{align-items:flex-start}
.staff-view.can-receive [data-action=receive]{display:inline-flex!important}.item-quick-receive{display:none}.staff-view.can-receive .stock-page .item-quick-receive{display:inline-flex!important;margin-top:8px;font-size:10px;padding:4px 8px;border-radius:5px;background:#eaf1e3;color:#547448}.member-row .receiving-granted{background:#e9f2de;color:#527a40;border-color:#d5e4c8}.member-permissions{margin:12px 0 20px;display:flex;align-items:center;gap:8px;font-size:11px;color:#6a805c}.member-permissions input{accent-color:#174d40}
@media(max-width:1100px){.rc-line-fields{grid-template-columns:1fr .8fr 1.35fr}.rc-line-fields .rc-field:nth-child(5){grid-column:span 2}.rc-line-head small{flex-basis:100%;margin-left:31px}.rc-info-fields{gap:14px}}
@media(max-width:760px){#receiving-desk{font-size:12px}.rc-heading{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:17px}.rc-heading h1{font-size:23px}.rc-heading p{font-size:11px}.rc-heading>.button{font-size:10px}.rc-tabs{margin-bottom:16px}.rc-tabs .button{font-size:12px;padding:8px 13px}.rc-intro{display:block;margin-bottom:14px}.rc-intro small{display:block;margin-top:4px;font-size:10px}.rc-info{padding:17px;margin-bottom:16px}.rc-info-fields{grid-template-columns:1fr 1fr;gap:14px 10px;margin-top:14px}.rc-info-fields>.rc-field:last-child{grid-column:1/-1}.rc-field{font-size:11px;gap:6px}.rc-field input,.rc-field select,.rc-field textarea,#rc-search{font-size:16px;padding:10px 9px;min-height:43px}.rc-section-head{padding:17px}.rc-section-head h2{font-size:14px}.rc-section-head p{font-size:10px;max-width:230px}.rc-picker{padding:14px 17px}.rc-chip.button{padding:8px 10px;font-size:11px}.rc-picker #rc-picks{gap:7px}.rc-line{padding:18px 17px}.rc-line-head{margin-bottom:15px}.rc-line-head strong{font-size:13px}.rc-line-head small{font-size:10px}.rc-line-fields{grid-template-columns:1fr 1fr;gap:13px 10px}.rc-line-fields .rc-field:nth-child(3){grid-column:1/-1}.rc-line-fields .rc-field:nth-child(5){grid-column:auto}.rc-line-preview{display:grid;gap:5px;font-size:10px;margin-top:14px}.rc-bottom{grid-template-columns:1fr;gap:13px;margin-top:18px}.rc-bottom>p{font-size:10px}.rc-submit-bar{bottom:76px;padding:13px 14px;gap:10px;margin-top:18px}.rc-submit-bar>div:first-child{display:grid;gap:1px}.rc-submit-bar strong{font-size:22px}.rc-submit-bar span{font-size:10px}.rc-submit-bar .button{font-size:11px;padding:10px 12px}.rc-submit-bar .rc-actions{gap:7px}.rc-error{display:block;padding:12px 14px;font-size:11px}.rc-error .button{display:flex;margin-top:10px}.rc-facts{grid-template-columns:1fr 1fr;padding:0 17px 18px;gap:13px}.rc-facts>div:nth-child(3){grid-column:1/-1}.rc-summary-line{padding:17px;gap:12px}.rc-summary-line strong{font-size:13px}.rc-summary-line>div:last-child strong{font-size:17px}.rc-summary-line>div:last-child small{max-width:115px;overflow-wrap:anywhere}.rc-summary-line span{font-size:10px}.rc-review-note{padding:14px 17px;font-size:10px}.rc-receipt-total{padding:17px;gap:10px}.rc-receipt-total span{width:100%;display:flex;justify-content:space-between}.rc-success{padding:35px 16px}.rc-order{padding:17px;gap:12px}.rc-order strong{font-size:11px}.rc-order>div:last-child strong{font-size:16px}.rc-order span{font-size:10px}.rc-order small{font-size:9px}.mobile-nav a,.staff-view .mobile-nav a{width:auto;min-width:0;flex:1}.mobile-nav{padding-inline:5px}.hero-bottom{flex-wrap:wrap;gap:12px}.member-row>div:last-child{justify-content:flex-start;margin-left:0}}
@media(max-width:360px){.rc-submit-bar:has(.rc-actions){flex-wrap:wrap}.rc-submit-bar .rc-actions{width:100%;justify-content:flex-end}.rc-info-fields{grid-template-columns:1fr}.rc-info-fields>.rc-field:last-child{grid-column:auto}.rc-line-fields .rc-field:nth-child(5){grid-column:1/-1}.rc-summary-line>div:last-child small{max-width:90px}.rc-heading h1{font-size:22px}}
.rc-facts dd{margin:5px 0 0}.rc-line,.rc-summary-line,.rc-field{scroll-margin-block:110px 200px}
.rc-picker #rc-picks.order-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#rc-picks .order-pick{overflow-wrap:anywhere}
.rc-picker .order-pick.rc-pick-active{border-color:#658c56;background:#edf4e7;box-shadow:0 0 0 2px #658c5626}
.rc-count-wrap{display:flex;align-items:flex-end;flex-direction:column;gap:2px;text-align:right}.rc-count-wrap #rc-count{font-variant-numeric:tabular-nums;font-weight:600}.rc-count-wrap .rc-limit-note{color:#a65e35;font-size:10px;white-space:normal}.rc-cost-entry{display:flex;align-items:stretch;gap:6px;min-width:0}.rc-cost-entry input{flex:1;min-width:0}.rc-cost-entry .button{flex:none;padding:7px 8px;font-size:10px;white-space:nowrap}.rc-price-refresh{color:#55784b;background:#f4f7ef;border-color:#dce6d3}
.rc-goods{margin-bottom:16px}.rc-search-row{display:flex;align-items:stretch;gap:8px}.rc-search-row .button{flex:none;white-space:nowrap}.rc-info .rc-bottom{grid-template-columns:1fr}
.line-batch-note{margin:8px 0 0;color:#9a573e}
.rc-line-fields{grid-template-columns:1fr .8fr 1.35fr .9fr}
@media(max-width:760px){.rc-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.rc-line-fields .rc-field:nth-child(3){grid-column:1/-1}.rc-cost-entry .button{min-height:43px;font-size:10px;padding-inline:9px}}
.rc-error-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.rc-error-actions .button{flex-shrink:0}.rc-submit-empty{position:static}.member-row{display:block}.member-row>div:last-child{justify-content:flex-start;margin:10px 0 0}
