.auth-page { background: #fff; color: #111; min-height: 100vh; }
.auth-header { height: 90px; padding: 26px 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.auth-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: 1.1px; color: #111; }
.auth-wordmark svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.auth-back { font-size: 12px; color: #707070; display: flex; gap: 12px; align-items: center; }
.auth-back:hover { color: #111; }
.auth-main { min-height: calc(100vh - 160px); display: flex; justify-content: center; padding: 62px 24px 70px; }
.auth-content { width: min(100%, 420px); }
.auth-eyebrow { text-align: center; margin: 0 0 21px; color: #777; font-size: 9px; letter-spacing: 2px; }
.auth-content h1 { text-align: center; font-size: 42px; font-weight: 500; letter-spacing: -1.5px; line-height: 1.17; margin: 0; }
.auth-intro { text-align: center; color: #757575; font-size: 13px; line-height: 1.8; margin: 20px 0 29px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-label { font-size: 11px; color: #5e5e5e; line-height: 1.5; }
.auth-form > .auth-label { margin-bottom: -6px; }
.auth-form input { width: 100%; min-width: 0; height: 47px; border: 1px solid #e3e3e3; background: #fff; border-radius: 8px; padding: 0 14px; font-size: 14px; color: #111; outline: none; }
.auth-form input::placeholder { color: #a0a0a0; font-size: 13px; }
.auth-form input:focus { border-color: #333; box-shadow: 0 0 0 3px #00000006; }
.auth-form input[readonly] { background: #fafafa; color: #666; }
.auth-primary { width: 100%; min-height: 46px; border: 1px solid #111; border-radius: 8px; color: #fff; background: #111; padding: 10px 16px; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.auth-primary:hover { background: #303030; border-color: #303030; }
.auth-divider { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 10px; color: #888; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; width: 100%; height: 1px; background: #eee; }
.auth-social-buttons { display: flex; flex-direction: column; gap: 12px; }
.auth-social { width: 100%; min-height: 46px; border: 1px solid #e4e4e4; border-radius: 8px; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; padding: 10px 16px; }
.auth-social svg { width: 17px; height: 17px; }
.auth-social:hover { background: #f7f7f7; border-color: #bdbdbd; }
.auth-agreement { margin-top: 26px; display: flex; align-items: flex-start; justify-content: center; gap: 9px; font-size: 11px; line-height: 1.9; color: #888; }
.auth-agreement input { margin: 3px 0 0; width: 14px; height: 14px; flex-shrink: 0; accent-color: #111; cursor: pointer; }
.auth-agreement a, .auth-cookie-note a { color: #444; text-decoration: underline; text-underline-offset: 3px; }
.auth-demo-note { font-size: 10px; text-align: center; color: #969696; line-height: 1.8; margin: 14px -5px 0; }
.auth-demo-note strong { font-weight: 500; color: #666; }
.auth-cookie-note { font-size: 10px; text-align: center; color: #969696; line-height: 1.9; margin: 10px 0 0; }
.auth-error { color: #111; font-size: 11px; line-height: 1.7; text-align: center; min-height: 0; margin: 10px 0 0; }
.auth-error:empty { display: none; }
.auth-error:not(:empty)::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; height: 13px; width: 13px; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; margin-right: 6px; }
.auth-code-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.auth-link-button { border: 0; padding: 0; background: transparent; color: #6e6e6e; font-size: 11px; line-height: 1.8; text-decoration: none; }
.auth-link-button:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.auth-code-note { font-size: 11px; line-height: 1.7; color: #777; margin: 9px 0 0; }
.auth-resend { display: block; margin: 3px auto 0; padding: 4px 0; }
.auth-social-panel h2 { font-size: 18px; font-weight: 500; line-height: 1.4; margin: 0 0 12px; }
.auth-panel-note { font-size: 12px; color: #777; line-height: 1.8; margin: 0 0 20px; }
.auth-session { font-size: 11px; color: #777; padding: 12px 14px; line-height: 1.8; background: #f6f6f6; border-radius: 8px; margin: 0 0 20px; overflow-wrap: anywhere; }
.auth-session a { text-decoration: underline; color: #111; margin-left: 8px; text-underline-offset: 3px; }
.auth-footer { min-height: 70px; padding: 20px 38px; color: #aaa; font-size: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-page [hidden] { display: none !important; }
.legal-main { max-width: 780px; margin: 0 auto; min-height: calc(100vh - 160px); padding: 70px 28px 100px; }
.legal-main h1 { font-size: clamp(30px, 5vw, 43px); font-weight: 500; letter-spacing: -1px; margin: 15px 0 25px; }
.legal-eyebrow { color: #999; font-size: 10px; letter-spacing: 1.7px; margin: 0; }
.legal-notice { border: 1px solid #e6e6e6; background: #f7f7f7; padding: 20px 22px; border-radius: 9px; font-size: 13px; line-height: 1.9; color: #555; margin-bottom: 32px; }
.legal-copy h2 { font-size: 16px; line-height: 1.6; font-weight: 500; margin: 28px 0 10px; }
.legal-copy p { font-size: 13px; line-height: 2; color: #777; margin: 12px 0; }
.legal-copy ul { color: #777; font-size: 13px; line-height: 2; padding-left: 21px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px 25px; border-top: 1px solid #eee; margin-top: 40px; padding-top: 25px; font-size: 12px; }
.legal-links a { color: #555; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .auth-header { height: 76px; padding: 20px 23px; }
  .auth-wordmark { font-size: 21px; gap: 7px; }
  .auth-wordmark svg { width: 30px; height: 30px; }
  .auth-back { font-size: 11px; gap: 7px; }
  .auth-main { min-height: calc(100vh - 140px); padding: 43px 25px 55px; }
  .auth-content h1 { font-size: 38px; }
  .auth-intro { font-size: 12px; margin-bottom: 27px; }
  .auth-form input, .auth-primary, .auth-social { min-height: 48px; }
  .auth-footer { padding: 18px 24px; min-height: 64px; }
  .auth-agreement { font-size: 10px; gap: 8px; }
  .auth-demo-note { font-size: 9px; }
  .legal-main { padding: 45px 24px 70px; }
  .legal-notice { padding: 17px; font-size: 12px; }
}
