.farmer-payables-card{background:#fff8e8;border-color:#d9ad55}
.farmer-payables-card.active,.farmer-payables-card:hover{background:#fff0cc;border-color:#a36f16}
.farmer-payables-card [data-farmer-payables-total]{white-space:nowrap}
.farmer-payables-scope{display:block;font-size:12px;margin-top:8px;line-height:1.6;color:#685123}
.farmer-payables-panel{border-color:#d9ad55}
.farmer-payables-note{border-left:4px solid #b78326;background:#fff8e8;padding:12px 15px;line-height:1.6}
.farmer-payables-month{margin:26px 0}
.farmer-payables-month h3{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:baseline}
.farmer-payables-month h3>span{font-size:13px;font-weight:400;color:var(--muted)}
.farmer-payables-panel th,.farmer-payables-panel td{border-bottom:1px solid #000}
.farmer-payables-panel thead th,.farmer-payables-panel tfoot{background:#fff0cc}
.farmer-payables-panel .farmer-payables-amount{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.farmer-payables-panel td.farmer-payables-party{min-width:200px;max-width:330px}
.farmer-payables-party p{margin:7px 0 0;line-height:1.5}
.farmer-payables-components{list-style:none;margin:0;padding:0;min-width:190px}
.farmer-payables-components li{display:flex;gap:16px;justify-content:space-between;align-items:baseline;padding:7px 0;line-height:1.5}
.farmer-payables-components li+li{border-top:1px solid #929292}
.farmer-payables-components span{font-size:12px;min-width:0;overflow-wrap:anywhere}
.farmer-payables-components strong{white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}
.farmer-payables-summary{max-width:850px}
.farmer-payables-panel tfoot th,.farmer-payables-panel tfoot td{padding:14px}
.farmer-payables-status{min-width:205px;max-width:310px}
.farmer-payables-status>strong{display:block;margin-bottom:10px}
.farmer-payables-status>details{margin-top:12px}
.farmer-clearance-history{padding-left:16px;margin:10px 0}
.farmer-clearance-history>li{padding:10px 0;line-height:1.6}
.farmer-clearance-history>li+li{border-top:1px solid #000}
#farmerClearanceDialog{max-width:760px}
.farmer-clear-preview{padding:14px;background:#fff0cc;border:1px solid #b78326;line-height:1.7}
@media(max-width:700px){.farmer-payables-panel .farmer-payables-amount{text-align:left}.farmer-payables-panel tfoot .farmer-payables-amount{text-align:right}.farmer-payables-panel tfoot th,.farmer-payables-panel tfoot td{padding:8px 4px}.farmer-payables-panel td.farmer-payables-party{min-width:0;max-width:none}.farmer-payables-components{min-width:0;width:100%}.farmer-payables-components li{gap:8px}.farmer-payables-summary{max-width:100%}.farmer-payables-panel .table-wide{min-width:0}}
@media(max-width:700px){.farmer-payables-card{grid-column:1/-1}.farmer-payables-card [data-farmer-payables-total]{font-size:clamp(20px,6vw,28px)}.farmer-payables-status{min-width:0;max-width:none}}
