:root { color-scheme: dark; font-family: "Courier New", Courier, monospace; background: #090909; color: #eee; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
header { max-width: 1200px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #292929; font-size: 13px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px Arial, sans-serif; letter-spacing: -1px; }
.brand img { width: 42px; height: 42px; }
main { max-width: 480px; padding: 72px 24px; margin: 0 auto; }
.eyebrow { color: #999; font-size: 11px; letter-spacing: 2px; }
h1 { margin: 24px 0 16px; font-size: clamp(36px, 8vw, 48px); letter-spacing: -3px; }
#description { color: #aaa; font-size: 14px; line-height: 1.7; }
.tabs { display: flex; border-bottom: 1px solid #444; margin: 32px 0; }
button, input { font: inherit; border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.tabs button { flex: 1; padding: 14px; border: 0; border-bottom: 2px solid transparent; color: #999; background: transparent; cursor: pointer; }
.tabs button[aria-pressed="true"] { color: #fff; border-bottom-color: #fff; }
label { display: block; font-size: 13px; margin: 24px 0; }
input { display: block; width: 100%; margin-top: 12px; padding: 16px; background: #111; border: 1px solid #444; color: #fff; font-size: 16px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.primary { display: flex; align-items: center; justify-content: center; width: 100%; border: 0; background: #eee; color: #090909; padding: 18px 20px; margin-top: 28px; font-weight: 700; font-size: 14px; cursor: pointer; clip-path: polygon(0 8px,8px 8px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 8px) calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 8px),0 calc(100% - 8px)); }
.primary:hover { background: #bbb; }
.primary:focus-visible { clip-path: none; }
button:disabled { opacity: .5; cursor: wait; }
.hint, #message { font-size: 13px; line-height: 1.7; }
.hint { color: #999; }
#message { overflow-wrap: anywhere; }
#message.error { color: #ffafaf; }
.help { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.help button, .text-button { border: 0; background: none; padding: 0; color: #aaa; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.back { display: block; margin-top: 48px; font-size: 12px; color: #999; }
#profile { line-height: 1.8; overflow-wrap: anywhere; }
#signout { display: block; margin: 24px auto; }
[hidden] { display: none !important; }
@media(max-width:480px) { main { padding-top: 48px; } }
.security { margin-top: 40px; padding-top: 24px; border-top: 1px solid #333; }
.security h2 { font-size: 19px; line-height: 1.5; letter-spacing: -.7px; }
.security h3 { font-size: 16px; }
.security-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-block: 24px; }
#security-form, #recovery-codes { margin-top: 24px; }
#qr-code { display: block; max-width: 100%; height: auto; background: #fff; padding: 8px; margin-block: 24px; image-rendering: pixelated; }
#setup-key { display: block; padding: 16px; background: #161616; font-size: 14px; overflow-wrap: anywhere; user-select: all; }
#recovery-list { list-style: none; padding: 16px; background: #161616; font-size: 14px; line-height: 2.2; user-select: all; }
.cancel { display: block; margin: 24px auto; }

.policy-link { text-decoration: underline; text-underline-offset: 4px; }
