.controls{display:grid;grid-template-columns:2fr 1fr;gap:17px 22px;padding:20px 24px;margin-top:0}.controls label{margin:0}.delivery-context{grid-column:1/-1;border-top:1px solid #e8ede2;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:15px}.delivery-context p{margin:0;font-size:12px}.delivery-context .muted{font-size:11px}.purchasing-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.action-notice{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#f8edd5;border:1px solid #e7d8b4;border-radius:11px;padding:16px 20px;margin:0 0 28px;color:#7c5a2a}.action-notice[hidden]{display:none}.action-notice strong{font-size:13px}.action-notice p{font-size:12px;margin:4px 0 0;color:#8a714a}.action-notice a{font-size:12px;color:#785728;flex-shrink:0}.offer{padding:18px;margin:12px 0 0;border:1px solid #dce5d4;border-radius:10px;background:#f8faf5}.offer.selected{border-color:#78996b;background:#eff6e6;box-shadow:0 0 0 1px #78996b22}.offer-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.offer-heading h4{font-size:14px;margin:0 0 3px}.offer-price{text-align:right;flex-shrink:0}.offer-price strong{display:block;font-size:21px;font-weight:650;letter-spacing:-.025em}.offer-price small{font-size:10px;color:#7a896e}.offer p{margin:6px 0;font-size:12px}.offer-format{font-size:12px;font-weight:600;color:#4c6841}.offer-facts{display:flex;gap:6px 18px;flex-wrap:wrap;font-size:11px;color:#78886b;margin:11px 0 15px}.check{display:flex;align-items:center;gap:10px;font-weight:400;line-height:1.55;font-size:12px}.check input{display:inline-block;width:17px;height:17px;min-height:0;margin:0;flex-shrink:0;accent-color:#416c43}.offer-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-top:1px solid #dfe8d5;padding-top:12px;margin-top:12px}.offer .qty{max-width:190px;margin:0;font-size:11px}.offer .qty input{background:white}.offer .buy-check{background:white;border:1px solid #cbdcc0;border-radius:8px;padding:12px 14px;margin:0;min-height:43px;color:#335d38}.offer.selected .buy-check{border-color:#8caa7c;background:#e4eed8}.offer-total{font-size:12px;color:#5e744f;line-height:1.6;min-height:19px}.supplier-preview{font-size:12px;color:#6d8062;padding:11px 13px;border-radius:8px;background:#f6f8f1;margin:9px 0}.supplier-preview strong{font-weight:600;color:#577149}.supplier-preview p{margin:4px 0 0;font-size:11px}.offers-toggle{margin-top:10px}.purchase-bar{position:sticky;bottom:12px;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 22px;background:#244f39;border:1px solid #244f39;color:white;border-radius:13px;box-shadow:0 6px 25px #18392324;margin:24px 0 30px}.purchase-bar>div{display:flex;flex-direction:column;gap:5px;min-width:0}.purchase-bar strong{font-size:13px}.purchase-bar span{font-size:11px;line-height:1.5;color:#c5d7bf;max-width:680px}.purchase-bar button{background:#e8f0d9;color:#305235;font-size:13px;flex-shrink:0}.purchase-bar button:hover:not(:disabled){background:#f3f6e9}.history-card{padding-bottom:12px;scroll-margin-top:20px}.history-card .section-head>a{font-size:12px;white-space:nowrap}.run{border-top:1px solid #e0e7d9;padding:22px 0}.run-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.run h3{font-size:17px;margin:0 0 6px}.run-meta{font-size:12px;margin:0 0 12px}.run .actions{margin-top:16px}.run ul{padding-left:20px;line-height:1.9;font-size:13px;margin:10px 0}.run a{display:inline-block;margin:6px 15px 10px 0;font-size:12px}.run .helper{margin:8px 0}.run label.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;background:#f1f6e9;border-radius:8px;padding:13px}.run label.check input{margin-top:2px}.quote-card{background:#f8faf4;border:1px solid #e0e7d7;border-radius:10px;padding:17px;margin:16px 0}.quote-card .quote-meta{font-size:12px;margin:0 0 10px}.quote-totals{display:flex;justify-content:space-between;gap:15px;font-size:18px;font-weight:650;color:#294d30;border-top:1px solid #d9e3cd;padding-top:12px;margin:12px 0 0}.quote-breakdown{display:flex;gap:8px 20px;flex-wrap:wrap;color:#7a8a6c;font-size:12px}.zero-badge{background:#fae8dd;color:#985c38}.stock-value{color:#8f5736}.missing-list{padding:0 4px}.missing-list .offer{padding:14px 15px}.missing-list .offer strong{font-size:13px}.completed-runs{margin-top:15px}.completed-runs>summary{font-size:13px;padding:10px 0;color:#748166}.completed-runs .run:first-of-type{border-top:0}.run .muted{font-size:12px}.run .actions>label{min-width:180px;flex:0 1 230px}.run .actions .purchase-confirm:disabled{cursor:not-allowed}.recommendation-card.selected-card{border-color:#94af83}.no-offers{margin:20px 0}.no-offers>summary{font-size:13px;color:#728267}.no-offers[open]>summary{margin-bottom:16px}
@media(max-width:960px){.purchasing-stats{gap:10px}.purchasing-stats .stat{padding:16px 13px}.delivery-context{align-items:flex-start;flex-direction:column;gap:5px}.offer-controls{gap:15px}.purchase-bar{padding:16px}.run .actions{align-items:stretch}.run .actions>button{flex:1}.offer-price strong{font-size:19px}}
@media(max-width:600px){.controls{grid-template-columns:1fr;padding:18px}.delivery-context{gap:7px}.purchasing-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchasing-stats .stat-label{min-height:0}.purchasing-stats .stat-caption{font-size:11px}.action-notice{flex-direction:column;align-items:flex-start;gap:10px;padding:15px}.purchase-bar{flex-direction:column;align-items:stretch;gap:12px;bottom:8px;padding:15px}.purchase-bar button{width:100%}.purchase-bar span{font-size:11px}.offer{padding:14px;margin-left:-4px;margin-right:-4px}.offer-controls{align-items:stretch;flex-direction:column;gap:10px}.offer .qty{max-width:none}.offer .buy-check{justify-content:center}.offer-price strong{font-size:18px}.offer-heading h4{font-size:13px}.offer-format{font-size:11px}.offer-facts{gap:6px 12px;font-size:10px}.history-card .section-head{align-items:flex-start;flex-direction:column}.run-head{align-items:flex-start;flex-direction:column;gap:6px}.run .actions>label{flex-basis:100%;max-width:none}.run .actions>button{flex-basis:100%;font-size:12px}.run h3{font-size:15px}.quote-card{padding:14px}.quote-totals{font-size:17px}.history-card{scroll-margin-top:12px}}
.purchase-bar{position:static}.purchase-bar.has-selection{position:sticky}
