
/* Compact checkout credit; profile history retains its own layout. */
.checkout-credit.cc-compact{padding:8px 12px;border-radius:12px;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0 4px}
.cc-compact .cc-toggle{flex-wrap:nowrap;gap:8px;margin:0;min-width:0;font-size:14px;line-height:1.3}
.cc-compact .cc-toggle strong{min-width:0;overflow-wrap:anywhere;font-size:inherit}
.cc-compact .cc-toggle span{white-space:nowrap}
.cc-compact .cc-toggle input{margin:0;width:18px;height:18px}
.cc-compact .cc-info{display:contents}
.cc-compact .cc-info>summary{display:flex;align-items:center;justify-content:center;list-style:none;min-height:44px;line-height:1;color:#516f87;border-radius:8px}
.cc-compact .cc-info>summary::-webkit-details-marker{display:none}
.cc-compact .cc-info-body,.cc-compact>.cc-note,.cc-compact>.cc-inputs,.cc-compact>.cc-breakdown{grid-column:1/-1}
.cc-compact .cc-info-body{padding:8px 0 0;border-top:1px solid #cdddea}
.cc-compact .cc-info:not([open])>.cc-info-body{display:none}
.cc-compact .cc-info-body .cc-pilot{margin:0 0 6px}
[data-theme="dark"] .cc-info>summary,body.dark .cc-info>summary{color:#acc3db}

.checkout-credit[hidden]{display:none!important}.checkout-credit{box-sizing:border-box;margin:16px 0;padding:16px;border:1px solid #bfd4e7;border-radius:18px;background:#f3f8fd;color:#12344d;font-family:inherit;font-size:14px;min-width:0;max-width:100%}.cc-pilot{display:block;color:#516f87;font-size:11px;font-weight:700;letter-spacing:.03em;margin-bottom:10px}.cc-toggle{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;flex-wrap:wrap}.cc-toggle input{width:21px;height:21px;accent-color:#145286;flex:none}.cc-toggle strong{flex:1;min-width:120px}.cc-toggle span{font-weight:800;font-variant-numeric:tabular-nums}.cc-note{font-size:12px;line-height:1.55;margin:8px 0;color:#516f87}.cc-inputs{display:flex;gap:10px;align-items:end;margin:14px 0}.cc-inputs label{display:grid;gap:7px;flex:1;min-width:0;font-size:12px}.cc-inputs input{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #a9c1d6;border-radius:10px;padding:10px 12px;color:#12344d;background:#fff;font:inherit;font-size:16px}.checkout-credit button{border:1px solid #a9c1d6;background:#fff;color:#145286;font:inherit;font-weight:700;border-radius:10px;min-height:44px;padding:9px 12px;cursor:pointer;white-space:normal}.cc-inputs button{max-width:44%}.checkout-credit :focus-visible{outline:3px solid #2f83cc;outline-offset:3px}.cc-breakdown{display:grid;gap:8px;padding-top:12px;border-top:1px solid #cdddea}.cc-breakdown div,.cc-history{display:flex;justify-content:space-between;gap:14px;line-height:1.5}.cc-breakdown strong,.cc-history strong{white-space:nowrap}.cc-history{padding:9px 0;border-bottom:1px solid #cdddea;font-size:12px}.checkout-credit details{margin:12px 0}.checkout-credit summary{cursor:pointer;min-height:44px;line-height:44px;font-weight:700}
[data-theme="dark"] .checkout-credit,body.dark .checkout-credit{background:#12253a;border-color:#39536e;color:#e7f1ff}[data-theme="dark"] .cc-note,[data-theme="dark"] .cc-pilot,body.dark .cc-note,body.dark .cc-pilot{color:#acc3db}[data-theme="dark"] .checkout-credit button,[data-theme="dark"] .cc-inputs input,body.dark .checkout-credit button,body.dark .cc-inputs input{background:#0a1b2d;border-color:#547290;color:#e7f1ff}
