#dt .dealer-credit-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:12px 0 6px;font-size:14px;font-weight:700}
.dealer-credit-dialog{box-sizing:border-box;width:min(1020px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#303945);border-radius:18px;background:var(--card,#191f27);color:var(--text,#edf1f5);overflow:auto;overscroll-behavior:contain}
.dealer-credit-dialog::backdrop{background:#000b}
.dealer-credit-shell{padding:24px;min-width:0}
.dealer-credit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dealer-credit-heading h2{font-size:25px;line-height:1.3;margin:0 0 7px}
.dealer-credit-heading p{font-size:14px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.dealer-credit-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--text);font:26px/1 system-ui;cursor:pointer}
.dealer-credit-disclosure,.dealer-credit-price-note,#dealer-credit-status{font-size:12px;line-height:1.65;color:var(--muted);margin:16px 0}
#dealer-credit-status:empty{display:none}
#dealer-credit-frame{min-width:0;max-width:100%;border-radius:12px;overflow:hidden}
#dealer-credit-frame iframe{display:block;width:100%;min-width:0;max-width:100%;border:0;background:#fff}
.dealer-credit-recovery{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:18px;font-size:12px}
.dealer-credit-recovery a{color:var(--muted);text-underline-offset:3px}
.dealer-credit-dialog :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.dealer-credit-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.dealer-credit-shell{padding:16px 12px}.dealer-credit-heading h2{font-size:21px}.dealer-credit-heading{gap:10px}.dealer-credit-disclosure,.dealer-credit-price-note,#dealer-credit-status{font-size:12px}.dealer-credit-recovery{align-items:stretch;flex-direction:column}.dealer-credit-recovery a{padding:8px 0}}
.dealer-credit-heading{position:sticky;top:0;z-index:2;background:var(--card,#191f27);padding-bottom:12px}
