/* Step 92 donor cost allocation — matches the existing navy/cyan + Recycle green palette */
#modal-root .modal:has(.ld92-ledger){max-width:1080px;width:min(1080px,calc(100vw - 28px))}
.ld92-ledger{color:#e7f8ff;font-size:13px}
.ld92-ledger h4{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#eefaff;margin:15px 0 10px}
.ld92-explain,.ld92-footnote{color:#a5cce1;line-height:1.6;display:block;margin:0 0 14px}
.ld92-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.ld92-summary>div{border:1px solid #237a8b;border-top:2px solid #13cae8;background:#09243a;border-radius:10px;padding:17px;min-width:0}
.ld92-summary small,.ld92-transfer-hint span{font-size:10px;letter-spacing:.07em;font-weight:750;color:#9fcbe4;display:block;margin-bottom:10px}
.ld92-summary strong{font-size:22px;color:#fff;display:block;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ld92-summary .ld92-remaining{border-color:#16af7d;border-top-color:#38e3a3}
.ld92-summary .ld92-remaining strong{color:#55e7a9}
.ld92-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.ld92-ledger-grid>section{padding:12px 16px;border:1px solid #174e6b;border-radius:9px;background:#061c2c;line-height:1.6;min-width:0}
.ld92-ledger-grid p{color:#abcfe2}
.ld92-line{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #1b4359;padding:8px 0;align-items:baseline}
.ld92-line strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.ld92-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:15px 0 22px}
.ld92-history{max-height:320px;overflow:auto;scrollbar-width:thin;border:1px solid #1c536e;border-radius:8px}
.ld92-history table{min-width:580px;margin:0}
.ld92-history tr.ld92-reversed{opacity:.7}
.ld92-message{border:1px dashed #367e9d;padding:18px;margin:12px 0;color:#d0eaf8}
.ld92-form{display:grid;gap:14px;color:#e4f3ff;padding:2px 0}
.ld92-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ld92-form .ld92-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:#abd3e6;font-weight:650}
.ld92-form input,.ld92-form select,.ld92-form textarea{width:100%;max-width:100%;min-width:0;background:#09273f;border:1px solid #2c7697;color:#f9ffff;border-radius:8px;padding:11px;box-sizing:border-box;font:inherit}
.ld92-form input:focus,.ld92-form select:focus,.ld92-form textarea:focus{outline:2px solid #00c9f3;outline-offset:1px}
.ld92-form #ld92-target-vehicle option{padding:8px}
.ld92-transfer-hint{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border-radius:10px;background:#062d35;border:1px solid #1aab96}
.ld92-transfer-hint span{margin:0}
.ld92-transfer-hint strong{font-size:22px;color:#5ce7af}
@media(max-width:670px){
 #modal-root .modal:has(.ld92-ledger){width:calc(100vw - 16px);margin:8px}
 .ld92-summary{grid-template-columns:1fr 1fr}
 .ld92-summary .ld92-remaining{grid-column:1/-1}
 .ld92-summary strong{font-size:19px}
 .ld92-ledger-grid,.ld92-form-grid{grid-template-columns:1fr}
 .ld92-actions{justify-content:stretch}
 .ld92-actions button{flex:1 1 150px}
}
/* Recycle Center uses its established green accent, without changing Autoworks dialogs. */
body.parts-green-theme .ld92-summary>div{border-color:#247b51;border-top-color:#24e779}
body.parts-green-theme .ld92-summary .ld92-remaining{border-color:#2bb985;border-top-color:#46f3ab}
body.parts-green-theme .ld92-ledger-grid>section,body.parts-green-theme .ld92-history{border-color:#1a6848}
body.parts-green-theme .ld92-transfer-hint{border-color:#2fc588}
body.parts-green-theme .ld92-form input:focus,body.parts-green-theme .ld92-form select:focus,body.parts-green-theme .ld92-form textarea:focus{outline-color:#32eb7a}
