:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
.identity-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 75% 10%,#16344f 0%,#0a1323 58%,#060c16 100%);padding:24px;box-sizing:border-box;color:#eaf4ff}
.identity-card{box-sizing:border-box;width:min(100%,430px);border:1px solid #31445c;background:#101f31;padding:36px;border-radius:18px;box-shadow:0 20px 80px #0006}
.identity-brand{font-size:23px;font-weight:800;letter-spacing:.01em}.identity-tag{font-size:10px;letter-spacing:.17em;color:#72b8d6;margin-top:6px}.identity-card h1{font-size:28px;margin:32px 0 10px}.identity-intro,.identity-footnote{line-height:1.6;color:#b8c9dc;font-size:14px}.identity-card form{display:flex;flex-direction:column;margin-top:24px}.identity-card label{font-weight:650;font-size:13px;margin:13px 0 8px}.identity-card input{font:inherit;font-size:16px;border-radius:9px;border:1px solid #426078;color:white;background:#0a1727;padding:12px;min-width:0}.identity-card input:focus-visible,.identity-card button:focus-visible{outline:2px solid #63c8fa;outline-offset:2px}.identity-primary{border:0;border-radius:9px;background:#37a8df;color:#052034;font-weight:750;font-size:15px;padding:13px;margin-top:12px;cursor:pointer}.identity-link{background:none;border:0;color:#8ddcff;text-decoration:underline;cursor:pointer;padding:12px;font:inherit}.identity-message{min-height:22px;margin:13px 0 0;font-size:13px;color:#9ee3cd;line-height:1.5}.identity-message.is-error{color:#ffadad}.identity-help{color:#b8c9dc;font-size:12px;margin-top:8px}.identity-footnote{margin:28px 0 0;border-top:1px solid #304155;padding-top:18px}.identity-card button:disabled{opacity:.6;cursor:wait}.identity-account{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #3a6c8b;border-radius:12px;background:#0b2135;color:#e8f6ff;box-shadow:0 8px 32px #0008;font:13px system-ui,sans-serif}.identity-user{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-account button{background:#194561;color:white;border:1px solid #5c9bbd;padding:7px 11px;border-radius:7px;cursor:pointer}
@media(max-width:500px){.identity-card{padding:24px}.identity-account{max-width:100%}.identity-user{max-width:120px}}

/* Account controls are part of the header, never a floating overlay on error messages. */
.topbar .identity-account{position:static;flex-shrink:1;min-width:0;padding:5px 8px;box-shadow:none;border-radius:8px}
.topbar .identity-user{max-width:140px}
@media(max-width:630px){.topbar .identity-account{max-width:100%;margin-left:auto}.topbar .identity-user{max-width:140px}}
