/* Customer sale dialog: clear sections, stock cards and a readable total. */
.agro-sale-form { display:flex; flex-direction:column; gap:var(--app-space-5); min-width:0; }
.agro-sale-intro h3 { margin:0 0 6px; color:var(--app-heading); font-size:22px; }
.agro-sale-intro p { margin:0; color:var(--app-text-muted); font-size:13px; }
.agro-sale-intro .app-eyebrow { margin-bottom:6px; }
.agro-sale-quality { border-bottom:1px solid #e2eadd; padding-bottom:14px; }
.agro-sale-quality summary { cursor:pointer; color:#315c3e; font-size:13px; font-weight:600; padding:4px 0; }
.agro-sale-quality > div { padding-top:12px; font-size:13px; overflow-wrap:anywhere; }
.agro-sale-section { min-width:0; margin:0; }
.agro-sale-section-heading { display:flex; align-items:flex-start; gap:10px; margin-bottom:var(--app-space-4); }
.agro-sale-section-heading > span { display:grid; place-items:center; flex-shrink:0; width:28px; height:28px; border-radius:8px; background:#edf4e6; color:#537633; font-size:11px; font-weight:600; }
.agro-sale-section-heading h3 { margin:0 0 4px; font-size:17px; color:var(--app-heading); }
.agro-sale-section-heading p { margin:0; font-size:12px; color:var(--app-text-muted); line-height:1.5; }
.agro-sale-quantity-summary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:var(--app-space-3); margin-bottom:var(--app-space-4); }
.agro-sale-quantity-summary h4 { margin:0; color:#315b38; font-size:15px; }
.agro-sale-storages { display:flex; flex-direction:column; gap:var(--app-space-4); }
.agro-sale-storage { min-width:0; border:1px solid var(--app-border); border-radius:12px; padding:var(--app-space-4); background:var(--app-surface-subtle); }
.agro-sale-storage > h4 { margin:0 0 14px; font-size:15px; color:#315333; }
.agro-sale-storage-values { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr)); gap:14px; margin:0 0 18px; }
.agro-sale-storage-values dt { color:#63765b; font-size:12px; }
.agro-sale-storage-values dd { margin:4px 0 0; font-size:18px; font-weight:600; color:var(--app-text-strong); font-variant-numeric:tabular-nums; }
.agro-sale-price-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:var(--app-space-4); align-items:start; }
.agro-sale-price-fields > *, .agro-sale-price-fields .fluent-select, .agro-sale-price-fields .fluent-combobox { min-width:0; max-width:100%; }
.agro-sale-delivery p { margin:8px 0; }
.agro-sale-future-price { border-top:1px solid #e2eadd; margin-top:var(--app-space-4); padding-top:16px; }
.agro-sale-future-price p { margin:10px 0; }
.agro-sale-total { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:var(--app-space-3); margin-top:var(--app-space-4); padding:var(--app-space-4); border-radius:10px; background:var(--app-summary-surface); color:var(--app-text-strong); }
.agro-sale-total span { font-size:14px; font-weight:600; }
.agro-sale-total strong { font-size:25px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.agro-sale-agreement { padding:14px; background:#f8faf5; border:1px solid #e2eadd; border-radius:10px; min-width:0; }
.agro-sale-agreement + .agro-sale-agreement { margin-top:10px; }
.agro-sale-document { margin:8px 0 0 24px; font-size:12px; overflow-wrap:anywhere; }
.agro-sale-document p { margin:4px 0 0; color:var(--app-text-muted); }
.agro-sale-quantity-editor { padding:var(--app-space-5); min-width:0; }
.agro-sale-quantity-editor h2 { margin:0 0 8px; font-size:20px; }
.agro-sale-quantity-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:var(--app-space-4); align-items:center; padding:16px 0; border-bottom:1px solid #e2eadd; }
.agro-sale-quantity-row strong { color:#315333; }
.agro-sale-quantity-row p { margin:6px 0 0; }
.agro-sale-quantity-actions { margin-top:var(--app-space-5); justify-content:flex-end; }
@media(max-width:599.98px) { .agro-sale-storage { padding:var(--app-space-3); } .agro-sale-total strong { font-size:22px; } .agro-sale-quantity-editor { padding:var(--app-space-4); } }
