:root {
  color-scheme: dark;
  --bg: #101014;
  --line: #303038;
  --pink: #eac7d9;
  --muted: #94949f;
  --text: #f2f1f4;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.login-header { height: 76px; display: flex; align-items: center; padding: 0 clamp(24px, 4vw, 64px); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; letter-spacing: -.3px; }
.brand span { color: var(--muted); margin-left: -4px; font-weight: 450; }
.login-main { min-height: calc(100svh - 152px); padding: 48px 24px; display: grid; place-items: center; }
.login-card { width: 100%; max-width: 360px; }
h1 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.7px; }
.intro { margin: 10px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.intro strong { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.login-form { display: flex; flex-direction: column; gap: 10px; }
.login-form label { color: #d1cfd6; font-size: 12px; font-weight: 500; }
.login-form input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #37363e; border-radius: 7px; background: #19191e; color: var(--text); font-size: 14px; outline: none; }
.login-form input:focus { border-color: #d6b2c5; box-shadow: 0 0 0 1px #d6b2c5; }
.login-form input::placeholder { color: #6f6d79; }
.primary, .secondary { min-height: 46px; padding: 12px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 600; }
.primary { display: flex; align-items: center; justify-content: center; background: var(--pink); color: #241a20; }
.primary:hover { background: #f0d3e1; }
.secondary { background: #242129; border-color: #3d3540; color: var(--pink); }
.login-form .primary { margin-top: 8px; }
.login-form .code-input { font-size: 21px; font-variant-numeric: tabular-nums; letter-spacing: 8px; text-align: center; padding-left: 22px; }
.resend-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.text-button { border: 0; padding: 2px 0; background: none; color: var(--muted); font-size: 12px; }
.text-button:hover { color: var(--text); }
.text-link { color: var(--pink); font-size: 12px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bot-help { margin: -8px 0 24px; padding-left: 12px; border-left: 2px solid #51414a; }
.bot-help p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 7px; }
.bot-help[hidden] { display: none; }
.error-message { border-left: 2px solid #be768c; padding: 9px 12px; background: #21191e; color: #edb9c9; font-size: 12px; line-height: 1.6; margin-bottom: 22px; }
.small-note { margin: 19px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.verified-account { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.verified-account strong { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.verified-account div > span { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.check-icon { color: #afcbbb; font-size: 16px; }
.waiting-pill { color: var(--muted); margin-left: auto; font-size: 11px; }
.signout-form { margin-top: 24px; }
.access-main { place-items: start center; padding-top: 54px; }
.access-card { max-width: 860px; }
.access-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.access-links { display: flex; align-items: center; gap: 20px; }
.access-empty { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.account-row { display: flex; align-items: center; gap: 15px; padding: 19px 0; border-top: 1px solid var(--line); }
.account-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #27232b; color: var(--pink); font-size: 13px; }
img.account-avatar { display: block; object-fit: cover; }
.account-identity { flex: 1; min-width: 0; }
.account-identity strong { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.account-identity > span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.account-status { font-size: 11px; color: #d1b998; background: #28231e; padding: 6px 9px; border-radius: 5px; white-space: nowrap; }
.account-status.approved { color: #afcbbb; background: #1d2924; }
.account-status.admin { color: var(--pink); background: #2c232b; }
.compact { min-height: 34px; padding: 8px 11px; font-size: 11px; }
@media (max-width: 550px) {
  .login-header { height: 68px; padding: 0 24px; }
  .login-main { min-height: calc(100svh - 136px); padding: 32px 28px; }
  .access-main { padding: 32px 24px; }
  .access-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .account-row { flex-wrap: wrap; gap: 12px; }
  .account-identity { flex-basis: calc(100% - 52px); }
  .account-status { margin-left: 48px; }
}
