/* Email-only account access and user-owned licences. */
[hidden] { display: none !important; }
.auth-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.auth-main { flex: 1; width: min(100%,530px); margin: 0 auto; padding: 140px 24px 80px; }
.auth-card { padding: 34px; border: 1px solid #ffffff17; border-radius: 18px; background: #0e131bea; box-shadow: 0 20px 70px #0003; }
.auth-card .eyebrow { font-size: 9px; margin-bottom: 20px; }
.auth-card h1 { font-size: clamp(28px,4vw,35px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.auth-intro { color: var(--ink-mute); font-size: 13px; line-height: 1.7; margin-top: 12px; }
.auth-modes { display: flex; gap: 5px; background: #090d13; border: 1px solid #ffffff0b; border-radius: 10px; padding: 5px; margin: 26px 0; }
.auth-modes button { flex: 1; padding: 10px 7px; border: 0; border-radius: 6px; color: #77879d; background: transparent; font-size: 12px; }
.auth-modes button[aria-pressed="true"] { background: #1a2330; color: #d6e2f3; }
.auth-field + .auth-field { margin-top: 20px; }
.auth-field label { display: block; margin-bottom: 9px; color: #b6c4d8; font-size: 12px; }
.auth-field input { display: block; width: 100%; min-width: 0; height: 46px; padding: 11px 13px; border: 1px solid #ffffff1c; border-radius: 8px; background: #0a0e15; color: #edf3fb; font: 14px var(--sans); }
.auth-field input:focus { outline: 2px solid #a9c8f075; outline-offset: 1px; border-color: #a9c8f0; }
.auth-password { position: relative; }
.auth-password input { padding-right: 65px; }
.auth-password button { position: absolute; right: 7px; top: 5px; padding: 10px; background: transparent; border: 0; color: #8fa5c2; font-size: 10px; }
.auth-field p { color: #65768d; font-size: 10px; line-height: 1.6; margin-top: 8px; }
.auth-submit { display: flex; justify-content: center; width: 100%; min-height: 46px; margin-top: 26px; border-radius: 9px; }
.auth-submit:disabled { opacity: .5; cursor: wait; }
.account-error { color: #efb1b6; font-size: 12px; line-height: 1.7; padding: 12px 14px; margin-top: 18px; border: 1px solid #efb1b620; border-radius: 8px; background: #efb1b608; }
.account-error:empty { display: none; }
.auth-account-email { color: #98acc7; overflow-wrap: anywhere; font-size: 14px; margin-top: 16px; }
.auth-dashboard-actions, .keys-signin-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.auth-dashboard-actions { justify-content: flex-start; }
.auth-page footer { position: relative; z-index: 1; }
.auth-card button:focus-visible, .account-key button:focus-visible, .keys-account-bar button:focus-visible { outline: 2px solid #b2d0fa; outline-offset: 4px; }
.keys-account-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.keys-account-bar > span { color: #8fa6c4; font-size: 12px; overflow-wrap: anywhere; min-width: 0; }
.keys-account-bar button { flex: none; }
.keys-loading { padding: 32px; text-align: center; color: #71849e; font-size: 13px; }
.account-key { padding: 26px; border: 1px solid #ffffff17; border-radius: 14px; background: #0f151f; }
.account-key + .account-key { margin-top: 16px; }
.account-key-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-key-heading h2 { font-size: 18px; font-weight: 500; }
.account-key-status { font-size: 10px; color: #9fbfe7; text-transform: capitalize; }
.account-key-value { display: block; color: #b8cde9; margin-top: 24px; padding: 14px; border-radius: 8px; background: #090e16; font: 13px var(--mono); overflow-wrap: anywhere; }
.account-key-actions { display: flex; gap: 8px; margin-top: 16px; }
.account-key-expiry { color: #6b7f9a; font-size: 10px; line-height: 1.6; margin-top: 16px; }
@media (max-width:600px) { .auth-main { padding: 120px 20px 64px; } .auth-card { padding: 26px 22px; } .keys-account-bar { gap: 12px; } }

.keys-signin-actions .btn-white { margin-top: 0; }
.account-key-meta { color: #8ca6c7; font-size: 11px; margin-top: 10px; }
