body.auth-page { min-height:100vh; background:#f4f5f7; }
.auth-layout { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr); }
.auth-story { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; padding:42px clamp(32px,6vw,86px) 54px; background:radial-gradient(circle at 18% 22%,rgba(200,149,50,.22),transparent 28%),linear-gradient(140deg,#0c1016,#191d26 62%,#2a200f); color:white; }
.auth-story::before { content:""; position:absolute; inset:0; opacity:.16; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(to bottom,black,transparent); }
.auth-story>* { position:relative; z-index:1; }
.auth-story .brand-lockup { color:white; }
.auth-story .brand-mark { background:rgba(255,255,255,.06); border-color:rgba(230,202,134,.45); }
.auth-story .brand-copy span { color:#b1bac8; }
.auth-story-copy { max-width:730px; }
.auth-story-copy p:first-child { color:var(--gold-300); font-size:17px; font-weight:900; letter-spacing:.15em; }
.auth-story-copy h1 { margin:14px 0 20px; font-size:clamp(42px,5vw,72px); line-height:1.03; letter-spacing:-.045em; }
.auth-story-copy>p:last-child { color:#c5ccd6; font-size:19px; line-height:1.65; }
.auth-principles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.auth-principles article { padding:16px; border:1px solid rgba(255,255,255,.1); border-radius:13px; background:rgba(255,255,255,.04); }
.auth-principles strong { color:var(--gold-300); font-size:17px; }
.auth-principles span { display:block; margin-top:9px; color:#aeb7c5; font-size:17px; line-height:1.45; }
.auth-stage { display:grid; place-items:center; padding:40px clamp(20px,5vw,72px); background:white; }
.auth-card { width:min(520px,100%); }
.auth-card-header { margin-bottom:28px; }
.auth-card-header p { margin:0 0 8px; color:var(--gold-700); font-size:17px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.auth-card-header h2 { margin:0; font-size:34px; letter-spacing:-.025em; }
.auth-card-header span { display:block; margin-top:10px; color:var(--ink-600); line-height:1.55; }
.auth-form { display:grid; gap:17px; }
.auth-options { display:flex; justify-content:space-between; align-items:center; gap:14px; font-size:17px; }
.auth-options label { display:flex; align-items:center; gap:8px; color:var(--ink-700); }
.auth-options a,.auth-footer a,.auth-inline-link { color:var(--gold-700); font-weight:800; text-decoration:none; }
.auth-submit { width:100%; margin-top:4px; min-height:50px; }
.auth-footer { margin-top:24px; padding-top:20px; border-top:1px solid var(--ink-200); color:var(--ink-600); text-align:center; }
.password-wrap { position:relative; }
.password-wrap input { padding-right:76px; }
.password-toggle { position:absolute; right:7px; top:50%; transform:translateY(-50%); min-height:34px; padding:0 9px; border:0; background:var(--ink-100); color:var(--ink-700); font-size:17px; font-weight:800; cursor:pointer; }
.contact-tabs { display:grid; grid-template-columns:1fr 1fr; padding:4px; border:1px solid var(--ink-200); border-radius:11px; background:var(--ink-100); }
.contact-tab { min-height:38px; border:0; background:transparent; color:var(--ink-600); font-weight:800; cursor:pointer; }
.contact-tab[aria-selected="true"] { background:white; color:var(--ink-950); box-shadow:var(--shadow-sm); }
.password-guidance { padding:12px 13px; border-radius:11px; background:var(--gold-100); color:var(--gold-700); font-size:17px; line-height:1.5; }
.auth-development-token { margin-top:14px; padding:13px; border:1px dashed var(--gold-500); border-radius:10px; background:#fffaf0; word-break:break-all; }
.auth-development-token strong { display:block; margin-bottom:5px; }
.auth-trust-note { display:flex; gap:9px; margin-top:18px; color:var(--ink-500); font-size:17px; line-height:1.5; }
.auth-trust-note::before { content:""; width:8px; height:8px; margin-top:5px; flex:0 0 auto; border-radius:50%; background:var(--gold-500); }
@media(max-width:980px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:380px}.auth-principles{display:none}.auth-stage{padding-top:52px;padding-bottom:70px}}
@media(max-width:560px){.auth-story{padding:28px 20px 42px;min-height:320px}.auth-story-copy h1{font-size:40px}.auth-stage{padding:36px 18px}.auth-options{align-items:flex-start;flex-direction:column}.field-row{grid-template-columns:1fr}}
.verification-context { margin:0 0 18px; padding:14px 15px; border:1px solid var(--ink-200); border-radius:12px; background:var(--ink-100); color:var(--ink-700); font-size:17px; line-height:1.55; }
.verification-context[data-tone="development"] { border-color:var(--gold-500); background:#fffaf0; color:var(--gold-700); }
.auth-development-token code { display:block; margin:10px 0 12px; font-size:28px; font-weight:900; letter-spacing:.13em; color:var(--ink-950); word-break:normal; }
.development-code-actions { display:flex; flex-wrap:wrap; gap:9px; }
.button-compact { min-height:36px; padding:7px 12px; font-size:17px; }
.verification-code-input { font-size:22px; font-weight:800; letter-spacing:.12em; font-variant-numeric:tabular-nums; }
.auth-trust-note[data-tone="warning"] { padding:12px; border:1px solid #b6473f; border-radius:10px; background:#fff5f3; color:#8b2e27; }
