/* Customer AGRO stock and quote reports. */
.agro-stock-list { display:flex; flex-direction:column; gap:var(--app-space-6); min-width:0; }
.agro-stock-card { min-width:0; padding:var(--app-space-6); border:1px solid var(--app-border); border-radius:16px; background:var(--app-surface); }
.agro-storage-section { min-width:0; }
.agro-storage-section > h2 { margin:0 0 18px; color:var(--app-heading); }
.agro-commodity-title { margin:0 0 20px; color:var(--app-heading); font-size:22px; overflow-wrap:anywhere; }
.agro-commodity-view { min-width:0; }
.agro-harvest { min-width:0; padding:18px; border:1px solid #e2eadd; border-radius:12px; background:#f8fbf4; }
.agro-harvest + .agro-harvest { margin-top:var(--app-space-5); }
.agro-harvest h3 { margin:0 0 16px; font-size:17px; color:#355333; }
.agro-stock-row { display:flex; flex-wrap:wrap; gap:var(--app-space-4); align-items:center; justify-content:space-between; }
.agro-stock-row > .app-stock-amount { flex:1 1 260px; min-width:0; }
.agro-stock-row > .fluent-button { flex-shrink:0; }
.agro-stock-location + .agro-stock-location { margin-top:var(--app-space-5); padding-top:20px; border-top:1px solid var(--app-border); }
.agro-stock-location h4 { margin:0 0 12px; font-size:15px; }
.agro-page-actions { display:flex; justify-content:flex-end; margin:0 0 24px; }
.agro-summary-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:var(--app-space-4); margin-bottom:var(--app-space-4); }
.agro-summary-heading h3 { margin:0; }
.agro-deal-counts { display:flex; flex-wrap:wrap; gap:16px 32px; margin:20px 0; }
.agro-deal-counts > div { display:flex; align-items:baseline; gap:var(--app-space-3); }
.agro-deal-counts dt { color:#5c6f54; font-size:13px; }
.agro-deal-counts dd { margin:0; font-size:18px; font-weight:600; color:var(--app-text-strong); }
.agro-storage-details { padding-top:16px; border-top:1px solid var(--app-border); }
.agro-storage-details summary { cursor:pointer; color:#245f3d; font-weight:600; padding:4px 0; }
.agro-table-region { max-width:100%; overflow-x:auto; margin-top:var(--app-space-4); }
.agro-stock-table { border-collapse:collapse; width:100%; font-size:13px; }
.agro-stock-table caption { text-align:left; color:var(--app-text-muted); font-size:12px; padding:8px 0; }
.agro-stock-table th, .agro-stock-table td { text-align:left; padding:var(--app-space-3); border-bottom:1px solid var(--app-border); }
.agro-stock-table thead th { background:#edf4e7; color:#355333; }
.agro-stock-table tbody th { font-weight:500; }
.agro-stock-table td:nth-child(2) { font-variant-numeric:tabular-nums; white-space:nowrap; }
.agro-quotes { display:flex; flex-direction:column; gap:var(--app-space-3); }
.agro-quote { padding:18px; min-width:0; border:1px solid var(--app-border); border-radius:12px; background:var(--app-surface); }
.agro-quote-terms { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:var(--app-space-4); margin:0; }
.agro-quote-terms dt, .agro-quote-sale span { color:#63765b; font-size:12px; }
.agro-quote-terms dd { margin:4px 0 0; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.agro-quote-price dd { font-size:20px; color:#245f3d; }
.agro-quote-years { display:flex; flex-wrap:wrap; gap:var(--app-space-3); }
.agro-quote-sale { display:flex; align-items:center; justify-content:space-between; flex:1 1 240px; min-width:0; gap:var(--app-space-4); margin-top:var(--app-space-4); padding:var(--app-space-3); background:#f3f7ed; border-radius:8px; }
.agro-quote-sale strong { display:block; margin-top:4px; color:var(--app-text-strong); font-size:16px; }
.agro-price-history { margin-top:var(--app-space-5); }
.agro-price-history > section { min-width:0; margin-top:var(--app-space-5); }
.agro-back-link { display:inline-block; margin-bottom:var(--app-space-6); }
@media(max-width:599.98px) { .agro-stock-card { padding:var(--app-space-4); } .agro-harvest, .agro-quote { padding:14px; } .agro-quote-sale { flex-wrap:wrap; } .agro-stock-table th, .agro-stock-table td { padding:10px; } }
