:root{color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:#171717;background:#f5f5f7;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
[hidden]{display:none!important}
a{color:inherit;text-underline-offset:3px}
button,input,select{font:inherit;color:inherit}
button,a,input{touch-action:manipulation}
button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;gap:8px;padding:12px 18px;border:1px solid #171717;border-radius:12px;background:#171717;color:#fff;font-weight:700;text-align:center;text-decoration:none;cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
.secondary{background:#fff;color:#171717;border-color:#d4d4d8}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #62626a;outline-offset:3px}
.account-header{background:#171717;color:#fff}
.header-inner{max-width:1000px;min-height:76px;margin:auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{font-size:1.25rem;font-weight:850;letter-spacing:.08em;text-decoration:none}
.header-inner>span{font-size:.88rem;color:#d8d8dd}
.account-shell{max-width:820px;margin:32px auto;padding:0 24px 60px}
.recovery-shell{max-width:650px}
.panel{padding:28px;border:1px solid #dedee3;border-radius:18px;background:#fff;margin:0 0 20px;box-shadow:0 4px 18px #12121205}
h1{font-size:clamp(1.65rem,5vw,2.15rem);line-height:1.15;margin:0 0 16px;letter-spacing:-.025em}
h2{font-size:1.2rem;line-height:1.3;margin:0 0 14px}
p{line-height:1.6;margin:0 0 16px;overflow-wrap:anywhere}
.muted,.help{color:#606069}
.help{font-size:.9rem}
.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:#62626a;margin-bottom:10px}
.stack{display:grid;gap:18px}
.field{display:grid;gap:8px;font-weight:650}
input{width:100%;min-width:0;min-height:50px;border:1px solid #bfbfc7;border-radius:10px;padding:11px 13px;background:#fff;line-height:1.4;font-size:16px}
.actions,.account-tabs,.link-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.actions{margin-top:8px}
.actions>*{flex:1}
.account-tabs{margin-bottom:24px}
.account-tabs button{flex:1;font-size:.9rem;padding:10px 12px}
.account-tabs button[aria-pressed=true]{background:#171717;color:#fff;border-color:#171717}
.link-row{margin-top:20px;font-size:.93rem}
.feedback{padding:16px 18px;border:1px solid #c8c8cf;border-radius:12px;background:#eeeef2;color:#25252b;margin-bottom:20px}
.feedback[data-tone=error]{border:2px solid #33333a;background:#fff}
.catalog-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.catalog-item{display:flex;align-items:center;gap:14px;border:1px solid #dedee3;border-radius:14px;padding:16px;min-width:0}
.catalog-logo{width:52px;height:52px;object-fit:contain;border:1px solid #e2e2e7;border-radius:10px;background:#fff;flex:none}
.catalog-placeholder{display:grid;place-items:center;font-weight:800;background:#eeeef2}
.catalog-info{min-width:0;flex:1}
.catalog-info strong{display:block;overflow-wrap:anywhere}
.catalog-info p{margin:4px 0 0;font-size:.85rem}
.catalog-item .actions{margin:0;flex-shrink:0}
.catalog-item .button,.catalog-item button{padding:10px 14px;font-size:.9rem}
.empty{padding:22px;border:1px dashed #c9c9d0;border-radius:12px;background:#fafafa}
.empty p:last-child,.panel>p:last-child{margin-bottom:0}
@media(max-width:600px){.header-inner{padding:16px 18px}.header-inner>span{font-size:.8rem}.account-shell{margin-top:22px;padding:0 16px 36px}.panel{padding:22px 18px}.catalog-item{flex-wrap:wrap}.catalog-item .actions{width:100%}.catalog-item .actions>*{flex:1}.account-tabs{gap:8px}.account-tabs button{flex-basis:calc(50% - 4px)}.actions{align-items:stretch}.link-row{gap:16px}}

/* Keep the full platform name and stock subtitle readable on narrow screens. */
.account-header .brand{display:flex;flex-direction:column;min-width:0;letter-spacing:.025em;overflow-wrap:anywhere}
.account-header .brand small{display:block;font-size:.7rem;font-weight:600;letter-spacing:0;line-height:1.45;color:#d8d8dd;max-width:32ch;margin-top:3px}
@media(max-width:600px){.account-header .header-inner{flex-wrap:wrap;gap:10px}.account-header .brand{font-size:1.05rem}.account-header .header-inner>span{margin-left:auto}}

.legal-consent{display:grid;gap:1rem;margin:1rem 0}.legal-consent label{display:flex;align-items:flex-start;gap:.7rem;font-size:1rem;line-height:1.6}.legal-consent input[type=checkbox]{width:1.2rem;min-width:1.2rem;height:1.2rem;min-height:1.2rem;padding:0;flex:none;margin:.3rem 0 0;accent-color:#171717}.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;padding:1.5rem;font-size:.875rem}.legal-links a,.legal-consent a{text-decoration:underline;color:inherit}.legal-page{max-width:900px;margin:auto;padding:1rem}.legal-page h2{font-size:1.2rem;margin-top:1.8rem}.legal-page p{font-size:1rem;line-height:1.75;overflow-wrap:anywhere}
