.auth-entry-page { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; min-height:100dvh; }
.auth-panel { position:relative; isolation:isolate; overflow:hidden; min-width:0; min-height:100dvh; padding:28px clamp(32px,3vw,64px) 28px max(32px,calc(50vw - 560px)); display:flex; flex-direction:column; justify-content:space-between; background:#6334c3; color:#fff; }
.auth-panel::before,.auth-panel::after { content:""; position:absolute; z-index:-1; width:110%; height:75%; right:-55%; bottom:-20%; transform:rotate(38deg); background:#6d3ed0; pointer-events:none; }
.auth-panel::after { right:-75%; bottom:-5%; background:#7547d7; }
.auth-panel-brand { align-self:flex-start; color:#fff; font-size:18px; font-weight:700; letter-spacing:-.04em; text-decoration:none; }
.auth-panel-brand:hover { color:#fff; }
.auth-panel-brand:focus-visible { outline-color:#fff; }
.auth-panel-copy { max-width:520px; padding:80px 0; }
.auth-panel-copy h2 { font-size:clamp(36px,3.8vw,60px); line-height:1.08; letter-spacing:-.045em; font-weight:650; margin:0 0 28px; }
.auth-panel-copy h2 span { display:block; }
.auth-panel-copy>p:not(.eyebrow) { max-width:360px; color:#eee6ff; font-size:17px; line-height:1.6; }
.auth-panel-copy>p.auth-panel-note { margin-top:32px; font-size:14px; }
.auth-panel-rule { display:block; width:48px; height:2px; background:#d3bfff; }
.auth-entry-main { min-width:0; display:flex; align-items:center; }
.auth-entry-page .auth-card { width:min(480px,calc(100% - 96px)); max-width:none; margin:0 0 0 clamp(32px,4.2vw,86px); padding:48px 0; border:0; border-radius:0; box-shadow:none; background:none; }
.auth-entry-page .auth-card h1 { font-size:28px; font-weight:600; letter-spacing:-.035em; margin-bottom:30px; }
.auth-entry-page .field { gap:8px; }
.auth-entry-page .field-label { font-size:13px; font-weight:500; }
.auth-entry-page .input { min-height:46px; padding:11px 13px; background:#16141b; border-color:#3b3548; }
.auth-entry-page .input:focus { border-color:var(--accent-text); }
.auth-entry-page .password-field { position:relative; display:block; }
.auth-entry-page .password-field .input { width:100%; padding-right:72px; }
.auth-entry-page .password-toggle { position:absolute; right:7px; top:50%; transform:translateY(-50%); min-height:32px; }
.auth-entry-page .field-hint { font-size:11px; }
.auth-entry-page .auth-card .button-primary { min-height:46px; }
.auth-entry-page .auth-links { margin-top:24px; justify-content:center; text-align:center; gap:6px; font-size:12.5px; }
.auth-entry-page .auth-links a { text-decoration:none; }
.auth-entry-page .auth-links a:hover { text-decoration:underline; }
.auth-legal { margin-top:32px; color:var(--text-3); font-size:11px; line-height:1.7; text-align:center; }
.auth-legal-links { display:flex; justify-content:center; flex-wrap:wrap; gap:4px 10px; }
.auth-legal>p { margin-bottom:6px; }
.auth-check { display:flex; align-items:flex-start; gap:10px; margin:4px 0 6px; font-size:12.5px; line-height:1.6; color:var(--text-2); cursor:pointer; }
.auth-check input { appearance:none; flex:none; width:16px; height:16px; margin:2px 0 0; border:1px solid #51475f; border-radius:4px; background:#16141b; cursor:pointer; }
.auth-check input:checked { background:var(--accent); border-color:var(--accent); }
.auth-check input:checked::after { content:""; display:block; width:4px; height:8px; margin:1px 0 0 5px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.auth-check input:focus-visible { outline:2px solid var(--accent-text); outline-offset:3px; }
.auth-legal a { color:var(--text-3); text-decoration:none; }
.auth-legal a:hover { color:var(--text); text-decoration:underline; }
@media (max-width:800px) {
  .auth-entry-page { grid-template-columns:minmax(0,1fr); align-content:start; }
  .auth-panel { min-height:0; padding:24px; }
  .auth-panel-copy { padding:36px 0 8px; max-width:500px; }
  .auth-panel-copy h2 { font-size:34px; margin-bottom:14px; }
  .auth-panel-copy h2 span { display:inline; }
  .auth-panel-copy>p:not(.eyebrow) { font-size:14px; max-width:none; }
  .auth-panel-copy>p.auth-panel-note { margin-top:12px; }
  .auth-panel-rule { display:none; }
  .auth-entry-page .auth-card { width:100%; max-width:480px; margin:0 auto; padding:36px 24px 48px; }
}
@media (prefers-reduced-motion:reduce) {
  .auth-entry-page *,.auth-entry-page *::before,.auth-entry-page *::after { transition:none; }
}
