:root { color-scheme: light; --ink:#17243b; --muted:#5e6b7f; --line:#dce3ed; --blue:#234dd4; --blue-dark:#193aa7; --surface:#fff; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:#f5f7fb; font-synthesis:none; }
* { box-sizing:border-box; }
body { margin:0; min-width:280px; font-size:16px; line-height:1.6; }
a { color:var(--blue); text-underline-offset:3px; }
a:hover { color:var(--blue-dark); }
button,input,select,textarea { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #315fe9; outline-offset:4px; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:10; background:white; padding:12px 20px; border:2px solid var(--blue); border-radius:8px; }
.skip-link:focus { top:12px; }
.site-header { max-width:1160px; margin:auto; padding:24px 32px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; font-weight:750; letter-spacing:-.03em; font-size:21px; }
.brand-mark { display:grid; place-items:center; width:36px; height:36px; background:var(--ink); color:white; border-radius:10px; font-size:21px; }
.brand-divider { height:22px; width:1px; background:#ccd5e2; }
.brand-product { font-size:16px; font-weight:500; letter-spacing:0; color:var(--muted); }
.preview-badge { padding:4px 10px; background:#edf1f9; border:1px solid var(--line); border-radius:999px; color:#526078; font-size:12px; font-weight:600; white-space:nowrap; }
.page-shell { padding:24px 24px 48px; }
main { width:100%; max-width:1000px; margin:0 auto; padding:36px; background:var(--surface); border:1px solid var(--line); border-radius:18px; box-shadow:0 8px 32px #17243b06; }
main.auth-panel { max-width:490px; padding:36px 40px; }
main.recovery-panel { max-width:660px; }
h1 { margin:0 0 12px; font-size:30px; line-height:1.2; font-weight:720; letter-spacing:-.035em; }
h2 { margin:30px 0 10px; font-size:20px; line-height:1.35; letter-spacing:-.015em; }
p { margin:0 0 18px; }
p.lead { color:var(--muted); margin-bottom:26px; }
.eyebrow { color:var(--blue); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:14px; }
label { display:inline-block; font-size:14px; font-weight:600; margin-bottom:7px; }
input:not([type=checkbox]):not([type=hidden]),select,textarea { width:100%; min-height:46px; padding:10px 13px; color:var(--ink); background:#fff; border:1px solid #7d8ca2; border-radius:8px; box-shadow:0 1px 2px #17243b04; }
input[autocomplete=one-time-code] { font-size:25px; font-weight:600; letter-spacing:.24em; text-align:center; }
input[type=checkbox] { width:17px; height:17px; accent-color:var(--blue); vertical-align:middle; margin-right:6px; }
input[disabled] { opacity:1; }
button,.button-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; background:var(--blue); color:white; border:1px solid var(--blue); border-radius:8px; font-size:14px; font-weight:650; cursor:pointer; text-decoration:none; line-height:1.5; }
button:hover,.button-link:hover { background:var(--blue-dark); color:white; }
.auth-panel form > button { width:100%; }
form > input:not([type=hidden]) + button { margin-top:12px; }
button.secondary,[data-suggest-password],[data-toggle-password] { background:white; color:var(--ink); border-color:#7d8ca2; }
button.secondary:hover,[data-suggest-password]:hover,[data-toggle-password]:hover { background:#f0f4fa; }
[hidden] { display:none !important; }
fieldset { border:1px solid var(--line); border-radius:10px; margin:18px 0; padding:16px; }
legend { padding:0 6px; font-size:14px; font-weight:650; }
fieldset p,fieldset label { font-size:13px; }
fieldset p:last-child { margin:10px 0 0; color:var(--muted); }
p[role=alert] { padding:13px 15px; border:1px solid #efb9b9; background:#fff4f4; color:#8c2525; border-radius:9px; font-size:14px; }
p[role=status]:not(:empty) { padding:13px 15px; border:1px solid #c8d4ef; background:#f3f6ff; color:#34466e; border-radius:9px; font-size:14px; }
.form-footer { text-align:center; margin-top:20px; font-size:14px; }
.helper-note { color:var(--muted); font-size:13px; }
.test-notice { margin-top:24px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.site-footer { max-width:1000px; margin:0 auto 28px; padding:0 24px; text-align:center; color:var(--muted); font-size:12px; }
.site-footer p { margin-bottom:6px; }
nav[aria-label="Account security"] ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:0; list-style:none; gap:12px; margin:24px 0; }
nav[aria-label="Account security"] a { display:block; padding:17px 18px; border:1px solid var(--line); border-radius:10px; text-decoration:none; color:var(--ink); font-weight:600; }
nav[aria-label="Account security"] a:hover { border-color:#95abe9; background:#f5f7ff; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; margin:20px 0; }
caption { text-align:left; font-weight:650; margin-bottom:12px; }
th,td { padding:13px 10px; border-bottom:1px solid var(--line); vertical-align:top; overflow-wrap:anywhere; }
th { background:#f6f8fb; color:#526078; font-size:12px; }
td form { margin:0; }
td button { font-size:12px; padding:8px 10px; }
@media (max-width:680px) { .site-header { padding:20px; } .page-shell { padding:8px 14px 30px; } main,main.auth-panel { padding:26px 22px; border-radius:14px; } h1 { font-size:27px; } nav[aria-label="Account security"] ul { grid-template-columns:1fr; } table { display:block; overflow-x:auto; } th,td { min-width:108px; } .brand-product { font-size:14px; } }
@media (prefers-reduced-motion:no-preference) { a,button,input { transition:background-color .12s,border-color .12s; } }

main.account-panel { max-width:900px; }
.account-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:24px; margin:24px 0; }
.account-card { padding:24px; border:1px solid var(--line); border-radius:12px; min-width:0; }
.account-card h2 { margin-top:0; }
.account-card dl { margin:0 0 24px; }
.account-card dt { color:var(--muted); font-size:13px; margin-top:12px; }
.account-card dd { margin:0; overflow-wrap:anywhere; }

.table-scroll { overflow-x:auto; margin-bottom:24px; }
.table-scroll table { min-width:640px; }

main { overflow-wrap:anywhere; }
.account-security-card { grid-column:1 / -1; }
button,.button-link { max-width:100%; }
@media (max-width:380px) {
    .site-header { flex-wrap:wrap; gap:12px; padding:16px 18px; }
    .brand { gap:8px; font-size:20px; }
    .preview-badge { font-size:11px; }
}
