/* Approved access and header styling, adapted without changing account or payment behavior. */

.checkout-family main[data-view=lookup]{width:calc(100% - 60px);max-width:1040px;margin:32px auto 42px}
.checkout-family .access-layout{grid-template-columns:minmax(0,1fr) minmax(350px,460px);align-items:start;gap:clamp(32px,6vw,76px);min-height:0;margin:38px 0 42px}
.checkout-family .access-intro{min-width:0;padding-top:12px}
.checkout-family .access-intro h1{max-width:19ch;font-size:clamp(32px,3.3vw,42px);line-height:1.14;letter-spacing:-.035em;margin:0}
.checkout-family .access-route{display:grid;gap:15px;margin:30px 0 0;font-size:15px;line-height:1.35}
.checkout-family .access-route span{width:30px;height:30px;font-size:13px}
.checkout-family .access-panel{width:100%;padding:30px;border-radius:20px;box-sizing:border-box}
.checkout-family .access-panel h2{font-size:22px;margin:0 0 22px}
.checkout-family .access-panel .field{font-size:14px;margin:0 0 16px}
.checkout-family .access-panel input[name=code]{letter-spacing:0}
.checkout-family .access-panel input[name=code]::placeholder{font-size:clamp(12px,1.1vw,15px)}
.checkout-family .access-panel .primary{margin:14px 0 5px}
.checkout-family .recovery-link{display:block;margin:5px auto 18px;padding:10px 12px;min-height:44px;border:0;background:transparent;color:#075fc8;font-size:14px;font-weight:700;cursor:pointer}
.checkout-family .code-help{font-size:14px;padding-top:12px}
.checkout-family .code-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.checkout-family .code-help summary:before{content:'+';font-size:20px;margin-right:10px;color:#075fc8}
.checkout-family .code-help[open] summary:before{content:'−'}
.checkout-family .code-help p{margin:0 0 18px;line-height:1.55}
.checkout-family .access-new-link{min-height:44px;display:inline-flex;align-items:center;margin-top:4px;font-size:14px}
.checkout-family main[data-view=recover],.checkout-family main[data-view=recover-result]{max-width:550px;background:#fff;border:1px solid #e2e9f2;border-radius:22px;padding:32px;box-sizing:border-box}
@media(max-width:900px){.checkout-family main[data-view=lookup]{width:calc(100% - 44px)}.checkout-family .access-layout{grid-template-columns:minmax(0,1fr);gap:26px;max-width:620px;margin:20px auto 32px}.checkout-family .access-intro{padding:0}.checkout-family .access-intro h1{max-width:none;font-size:clamp(29px,5vw,36px)}.checkout-family .access-route{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 0;font-size:13px}.checkout-family .access-route li{align-items:flex-start;gap:8px}.checkout-family .access-panel{max-width:620px}}
@media(max-width:520px){.checkout-family main[data-view=lookup]{width:calc(100% - 32px);margin:24px auto}.checkout-family .access-layout{gap:22px;margin:0 auto 24px}.checkout-family .access-intro h1{font-size:29px;line-height:1.15;max-width:20ch}.checkout-family .access-route{grid-template-columns:1fr;gap:9px;margin:18px 0 0;font-size:14px}.checkout-family .access-route li{align-items:center}.checkout-family .access-route span{width:26px;height:26px}.checkout-family .access-panel{padding:22px 18px}.checkout-family .access-panel h2{font-size:20px;margin-bottom:18px}.checkout-family .access-panel input[name=code]::placeholder{font-size:12px}.checkout-family main[data-view=recover],.checkout-family main[data-view=recover-result]{width:calc(100% - 32px);padding:24px 20px}.checkout-family header{height:66px}}



.checkout-family header{height:auto;min-height:76px;padding:12px 24px;background:#fff;border:0;border-bottom:1px solid #e2e8f0;border-radius:0;color:#162d49;box-sizing:border-box}
.checkout-family .brand{display:flex;align-items:center;gap:12px;color:#162d49;min-width:0}
.checkout-family .brand img{width:42px;height:42px;object-fit:contain;border-radius:50%;flex:none}
.checkout-family .brand .brand-label{display:grid;gap:4px;min-width:0;line-height:1.2}
.checkout-family .brand-label strong{font-size:14px;font-weight:700;overflow-wrap:anywhere}
.checkout-family .brand-label small{font-size:12px;font-weight:400;color:#5f7085}
.checkout-family .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex:none}
.checkout-family .header-help,.checkout-family header .back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 2px;color:#075fc8;font-size:14px;text-decoration:none}
.checkout-family header .back[hidden]{display:none}
@media(max-width:520px){.checkout-family header{min-height:68px;padding:10px 12px}.checkout-family .brand{gap:9px}.checkout-family .brand img{width:36px;height:36px}.checkout-family .brand-label strong{font-size:12px}.checkout-family .brand-label small{font-size:11px}.checkout-family .header-actions{gap:10px}.checkout-family .header-help,.checkout-family header .back{font-size:12px}}

/* Compact account rows keep every pending installment in the same list. */
.checkout-family main h1[tabindex="-1"]:focus{outline:none}
.checkout-family .account-selection .due-row{min-height:44px;padding:5px 0}
.checkout-family .account-selection #advance-concepts{display:block}
.checkout-family .account-selection .account-dues{max-height:none;overflow:visible}
.checkout-family .account-selection .selection-summary{align-self:start}
.checkout-family .account-summary .account-balance>p:last-child{margin-bottom:0}
.checkout-family #access-form [name=otp]::placeholder{color:#8a99ad;opacity:1}
@media(max-width:600px){.checkout-family .account-selection .due-row{min-height:52px;padding:6px 0}.checkout-family .account-selection .due-name strong,.checkout-family .account-selection .due-amount{font-size:14px}.checkout-family .account-selection .ledger-state{font-size:10px}.checkout-family .account-selection .selection-summary{padding:18px}.checkout-family #access-form [name=otp]{letter-spacing:clamp(9px,3vw,16px)}}

/* Only the current card/verification/review attempt gets a server-based clock. */
.checkout-family .attempt-clock{display:inline-flex;align-items:center;gap:6px;min-width:64px;color:#52677e;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.checkout-family .attempt-clock img{width:17px;height:17px;flex:none}
.checkout-family .attempt-clock[data-expiring=true]{color:#a22935}
.checkout-family .header-actions:has(.attempt-clock){gap:12px}
.checkout-family main[data-view=expiry-unconfirmed]{max-width:580px}
@media(max-width:520px){.checkout-family .header-actions:has(.attempt-clock){gap:8px;flex-wrap:wrap;max-width:155px}.checkout-family .attempt-clock{font-size:11px;min-width:59px;gap:5px}.checkout-family .attempt-clock img{width:15px;height:15px}}
