.lr-dialog section:has(#lrSubscriptionMonths) { margin: 18px 0; padding: 18px 0; border-block: 1px solid #d1dfdf; }
.lr-dialog section:has(#lrSubscriptionMonths) > label { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0; }
#lrSubscriptionMonths { min-height: 40px; max-width: 100%; padding: 8px 12px; border: 1px solid #c6d8d9; border-radius: 6px; background: #fff; color: inherit; font: inherit; }
.lr-dialog section:has(#lrSubscriptionMonths) details { margin-top: 16px; }
.lr-dialog section:has(#lrSubscriptionMonths) summary { cursor: pointer; padding: 8px 0; }

/* The account ledger stays in the VIN dialog, without nested cards. */
.lr-billing-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.lr-billing label,.lr-billing input,.lr-billing textarea,.lr-billing select{min-width:0;max-width:100%;box-sizing:border-box}
.lr-billing label:not(.lr-check){display:grid;gap:8px}
.lr-billing input:not([type=checkbox]),.lr-billing textarea,.lr-billing select{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--border,#c6d6db);border-radius:6px;background:var(--panel,#fff);color:inherit;font:inherit}
.lr-billing textarea{min-height:72px;resize:vertical}
.lr-billing .lr-release dd,.lr-billing-history{overflow-wrap:anywhere}
.lr-billing-history>div{padding:10px 0;border-bottom:1px solid var(--border,#d8e0e4)}
.lr-billing-history p{margin:4px 0}
.lr-billing [hidden]{display:none!important}
@media(max-width:600px){.lr-billing-inputs{grid-template-columns:minmax(0,1fr)}}
