/* The One Records: server-rendered sign-in pages. One centred composition (wordmark above a
   panel, over the studio photograph) for every screen; forms, endpoints and CSRF are untouched. */
body.auth-page { background:linear-gradient(180deg,rgba(6,9,7,.35),rgba(8,11,9,.72)),#101712 url('/static/themes/theonerecords/img/studio.webp') center/cover no-repeat fixed; font-size:15px; }
.backdrop { display:none; }
a { color:var(--primary-text); font-weight:500; }
.tor-stage { flex:1; display:grid; place-items:center; padding:clamp(16px,3vh,40px) 16px; }
.tor-shell { display:grid; justify-items:center; gap:clamp(18px,3.5vh,40px); width:min(100%,500px); }
.tor-logo { display:block; width:min(48%,160px); }
.tor-logo img { display:block; width:100%; height:auto; aspect-ratio:888/480; object-fit:contain; }
.tor-shell .page { width:100%; padding:0; align-items:stretch; }
.tor-shell .topbar { display:none; }
.tor-shell .topbar:not(:empty) { display:flex; max-width:none; }
.card, .tor-shell .page>.card { max-width:none; padding:clamp(22px,6vw,42px); background:var(--surface); border-radius:var(--radius); box-shadow:var(--shadow); }
.card__header { text-align:center; margin-bottom:26px; }
.card__header h1 { font-size:clamp(26px,4vw,32px); font-weight:750; letter-spacing:-.04em; }
.card__header p { color:var(--muted); margin-top:6px; }
.card__footer { color:var(--muted); }
.tor-shell .footer { padding:0 0 8px; flex-wrap:wrap; }
.footer a, .lang summary { color:var(--muted); min-height:44px; display:inline-flex; align-items:center; }
.label { color:var(--text); font-size:13px; font-weight:500; }
.input { min-height:46px; padding:10px 18px; border-radius:999px; background:var(--control-bg); border-color:var(--line); }
.input:hover { border-color:var(--control); }
.input:focus { border-color:var(--primary); background:var(--control-bg); box-shadow:0 0 0 3px var(--tint-medium); }
.pw .input { padding-right:76px; }
.pw__toggle { right:8px; min-height:36px; border-radius:999px; }
.pw:focus-within { outline:0; }
select.input { padding-right:40px; }
.input--code, .otp-plain { border-radius:var(--radius-sm); }
.otp__box { background:var(--control-bg); border-radius:var(--radius-sm); border-color:var(--line); }
.otp__box:focus { border-color:var(--primary); box-shadow:0 0 0 3px var(--tint-medium); }
.checkbox input:checked::after { border-color:var(--on-accent); }
.btn { min-height:46px; border-radius:999px; font-weight:600; font-size:15px; }
.btn--primary { background:var(--accent-surface); color:var(--primary-text); border-color:var(--accent-border); box-shadow:none; }
.btn--primary:hover { background:#16241a; border-color:var(--primary); }
.btn--primary:active { background:#0d150f; }
.btn--ghost { border-color:var(--line); }
.btn--ghost:hover { border-color:var(--control); background:var(--hover); }
.btn--danger { border-color:#7a3340; }
.btn--sm { min-height:36px; border-radius:999px; }
.btn.is-busy::after { border-color:rgba(160,229,168,.35); border-top-color:var(--primary-text); }
.alert { border-radius:14px; }
.alert--error { color:var(--danger); border-color:#6b2f3a; }
.alert--success { color:var(--text); }
.client, .client__logo { border-radius:14px; }
.client__logo { color:var(--primary-text); }
.icon-circle { color:var(--primary-text); }
.lang__menu { background:var(--surface-2); border-radius:14px; }
.passkey-login .divider { color:var(--text-subtle); }
@media (max-width:480px) { .card, .tor-shell .page>.card { padding:24px 18px; border-radius:18px; } .tor-stage { align-items:start; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
