/* Built by scripts/build-styles-r197.js; layout source: auth-r197.css. */
/* Shared public auth design. Both palettes use the same layout and components.
   Scoped selectors intentionally replace the retained compatibility cascade. */
html[data-theme] body.auth-body {
  --auth-page: #f8faff;
  --auth-surface: #fff;
  --auth-inset: #f5f7fb;
  --auth-input: #fff;
  --auth-text: #182438;
  --auth-muted: #5e6c80;
  --auth-placeholder: #748196;
  --auth-border: #dfe5ef;
  --auth-accent: #235cdb;
  --auth-accent-hover: #194bbb;
  --auth-accent-soft: #eaf0fe;
  --auth-visual: #edf3fe;
  --auth-visual-text: #213e6b;
  --auth-visual-muted: #526c90;
  --auth-shadow: 0 10px 36px rgb(31 57 101 / 5%);
  --art-grass: #a5c8b5;
  --art-earth-light: #9eb5ba;
  --art-earth: #7f9aa8;
  --art-water: #82b9ed;
  --art-leaf-top: #83b8a3;
  --art-leaf: #6d9f8b;
  --art-leaf-dark: #588b7c;
  --art-cloud: #fff;
  --art-cloud-side: #dde8f7;
  --art-shadow: #dce6f5;
  color: var(--auth-text);
  background: var(--auth-page) !important;
}
html[data-theme="dark"] body.auth-body {
  --auth-page: #090a12;
  --auth-surface: #101121;
  --auth-inset: #151728;
  --auth-input: #0c0d17;
  --auth-text: #e8eaf4;
  --auth-muted: #a5abc2;
  --auth-placeholder: #939bb4;
  --auth-border: #2b3049;
  --auth-accent: #8daeff;
  --auth-accent-hover: #b1c7ff;
  --auth-accent-soft: #1b2644;
  --auth-visual: #111b30;
  --auth-visual-text: #edf2ff;
  --auth-visual-muted: #a7b8d5;
  --auth-shadow: 0 12px 36px rgb(0 0 0 / 12%);
  --art-grass: #718eab;
  --art-earth-light: #485e7e;
  --art-earth: #344964;
  --art-water: #5982b6;
  --art-leaf-top: #80a0b5;
  --art-leaf: #628298;
  --art-leaf-dark: #48677e;
  --art-cloud: #829abe;
  --art-cloud-side: #5b749c;
  --art-shadow: #0c1425;
}
html[data-theme] body.auth-body .auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
  background: linear-gradient(to right, var(--auth-visual) 50%, var(--auth-surface) 50%) !important;
}
html[data-theme] body.auth-body .auth-visual {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 700px;
  height: 100svh;
  margin: 0;
  padding: 36px clamp(32px, 5vw, 80px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: var(--auth-visual-text);
  background: var(--auth-visual) !important;
  box-shadow: none;
}
html[data-theme] body.auth-body .auth-visual::after { display: none; }
html[data-theme] body.auth-body :is(.auth-brand, .auth-mobile-brand) {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--auth-visual-text);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.7px;
}
html[data-theme] body.auth-body :is(.auth-brand, .auth-mobile-brand) .brand-mark:not(.brand-mark-image) {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #2e65df;
  box-shadow: none;
}
html[data-theme] body.auth-body :is(.auth-brand, .auth-mobile-brand) .brand-mark svg { width: 23px; height: 23px; }
html[data-theme] body.auth-body :is(.auth-brand > span:last-child > span, .auth-mobile-brand strong > span) { color: var(--auth-accent); }
html[data-theme] body.auth-body .auth-copy { max-width: 450px; margin: auto 0 0; padding-top: 64px; }
html[data-theme] body.auth-body .eyebrow { color: var(--auth-accent); font-size: 10px; font-weight: 750; letter-spacing: .14em; }
html[data-theme] body.auth-body .auth-copy .eyebrow { color: var(--auth-visual-muted); }
html[data-theme] body.auth-body .auth-copy h2 {
  margin: 19px 0 20px;
  color: var(--auth-visual-text);
  font-size: clamp(34px, 3.35vw, 54px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.045em;
}
html[data-theme] body.auth-body .auth-copy p { max-width: 370px; color: var(--auth-visual-muted); font-size: 14px; line-height: 1.8; }
html[data-theme] body.auth-body .auth-artwork { width: min(100%, 470px); margin: 20px auto 8px; }
html[data-theme] body.auth-body .auth-artwork svg { width: 100%; height: auto; overflow: visible; }
html[data-theme] body.auth-body .auth-feature-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: auto; }
html[data-theme] body.auth-body .auth-feature-list span {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--auth-visual-muted) 20%, transparent);
  border-radius: 7px;
  color: var(--auth-visual-muted);
  background: color-mix(in srgb, var(--auth-visual) 70%, transparent);
  font-size: 10px;
  font-weight: 500;
}
html[data-theme] body.auth-body .auth-visual-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 36px; color: var(--auth-visual-muted); font-size: 10px; font-weight: 400; letter-spacing: 0; }
html[data-theme] body.auth-body .auth-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 100svh;
  padding: 96px clamp(24px, 4vw, 64px) 56px !important;
  border-left: 1px solid var(--auth-border);
  background: var(--auth-surface) !important;
}
html[data-theme] body.auth-body .auth-topbar { position: absolute; top: 28px; right: 32px; left: 32px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
html[data-theme] body.auth-body .auth-mobile-brand { display: none; color: var(--auth-text); }
html[data-theme] body.auth-body .auth-theme-toggle {
  position: static;
  width: auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--auth-border);
  border-radius: 9px;
  color: var(--auth-muted);
  background: var(--auth-surface) !important;
  box-shadow: none;
  font-size: 11px;
}
html[data-theme] body.auth-body .auth-theme-toggle > span { display: inline; }
html[data-theme] body.auth-body .auth-theme-toggle:hover { color: var(--auth-text); border-color: var(--auth-accent); }
html[data-theme] body.auth-body .auth-form-wrap {
  width: min(100%, 464px);
  min-width: 0;
  margin: 0;
  padding: 32px;
  border: 0;
  border-radius: 0;
  color: var(--auth-text);
  background: transparent !important;
  box-shadow: none;
}
html[data-theme] body.auth-body .auth-form-wrap h1 { margin: 10px 0 0; color: var(--auth-text); font-size: clamp(26px, 2.4vw, 32px); font-weight: 650; line-height: 1.18; letter-spacing: -.04em; overflow-wrap: anywhere; }
html[data-theme] body.auth-body .auth-form-wrap :is(h2, h3, strong, label) { color: var(--auth-text); }
html[data-theme] body.auth-body .auth-intro { margin: 13px 0 26px; color: var(--auth-muted) !important; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
html[data-theme] body.auth-body .auth-form { display: grid; gap: 16px; }
html[data-theme] body.auth-body .auth-form .field { display: grid; gap: 8px; min-width: 0; margin: 0; }
html[data-theme] body.auth-body .auth-form .field > :is(span, .auth-input-label) { color: var(--auth-text) !important; font-size: 12px; font-weight: 600; }
html[data-theme] body.auth-body .auth-form .field :is(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--auth-border) !important;
  border-radius: 9px;
  color: var(--auth-text) !important;
  background: var(--auth-input) !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
html[data-theme] body.auth-body .auth-form .field input::placeholder { color: var(--auth-placeholder) !important; opacity: 1; }
html[data-theme] body.auth-body .auth-form .field input:hover { border-color: color-mix(in srgb, var(--auth-accent) 40%, var(--auth-border)) !important; }
html[data-theme] body.auth-body .auth-form .field input:focus {
  border-color: var(--auth-accent) !important;
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-accent) 15%, transparent) !important;
}
html[data-theme] body.auth-body .auth-password-control { position: relative; display: block; }
html[data-theme] body.auth-body .auth-password-control input { padding-right: 50px !important; }
html[data-theme] body.auth-body .auth-password-toggle { position: absolute; inset: 4px 4px 4px auto; display: grid; place-items: center; width: 38px; padding: 0; border: 0; border-radius: 6px; color: var(--auth-muted); background: transparent; cursor: pointer; }
html[data-theme] body.auth-body .auth-password-toggle:hover { color: var(--auth-accent); background: var(--auth-inset); }
html[data-theme] body.auth-body .auth-password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme] body.auth-body .auth-password-toggle[aria-pressed="true"] .auth-eye-slash { display: none; }
html[data-theme] body.auth-body :is(a, button):focus-visible { outline: 2px solid var(--auth-accent); outline-offset: 3px; }
html[data-theme] body.auth-body .auth-input-hint { margin: -8px 0 0; color: var(--auth-muted); font-size: 11px; line-height: 1.65; }
html[data-theme] body.auth-body .auth-field-link { margin: -4px 0 0; text-align: right; }
html[data-theme] body.auth-body :is(.auth-field-link a, .auth-switch a, .verify-help a, .verify-resend-button, .legal-consent-copy a) { color: var(--auth-accent) !important; font-size: inherit; font-weight: 600; }
html[data-theme] body.auth-body .auth-field-link a { font-size: 12px; }
html[data-theme] body.auth-body :is(.auth-switch a, .auth-field-link a, .verify-help a, .legal-consent-copy a):hover { text-decoration: underline; text-underline-offset: 3px; }
html[data-theme] body.auth-body .button { min-height: 46px; border-radius: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0; box-shadow: none; }
html[data-theme] body.auth-body .button-primary { color: #fff !important; border: 1px solid #2e65df !important; background: #2e65df !important; }
html[data-theme] body.auth-body .button-primary:hover { border-color: #2454c1 !important; background: #2454c1 !important; transform: none; }
html[data-theme] body.auth-body .button-google { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--auth-text) !important; border: 1px solid var(--auth-border) !important; background: var(--auth-surface) !important; }
html[data-theme] body.auth-body .button-google:hover { background: var(--auth-inset) !important; border-color: var(--auth-accent) !important; }
html[data-theme] body.auth-body .button-google .google-mark { width: 18px; height: 18px; flex: 0 0 18px; }
html[data-theme] body.auth-body .auth-divider { margin: 22px 0; gap: 14px; color: var(--auth-muted) !important; font-size: 11px; text-transform: none; letter-spacing: 0; }
html[data-theme] body.auth-body .auth-divider::before, html[data-theme] body.auth-body .auth-divider::after { background: var(--auth-border) !important; }
html[data-theme] body.auth-body .google-auth-note { margin: 10px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--auth-muted) !important; background: transparent !important; font-size: 11px; line-height: 1.6; text-align: center; }
html[data-theme] body.auth-body .auth-switch { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--auth-border); color: var(--auth-muted) !important; font-size: 12px; line-height: 1.75; text-align: center; }
html[data-theme] body.auth-body :is(.verify-code-card, .login-2fa-card) { padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none; }
html[data-theme] body.auth-body .verify-code-heading { padding: 14px; margin-bottom: 22px; border: 1px solid var(--auth-border); border-radius: 10px; background: var(--auth-inset); }
html[data-theme] body.auth-body .verify-code-heading strong { font-size: 12px; font-weight: 600; }
html[data-theme] body.auth-body .verify-code-heading small { color: var(--auth-muted) !important; font-size: 11px; line-height: 1.6; }
html[data-theme] body.auth-body .verify-code-icon { color: var(--auth-accent); background: var(--auth-accent-soft) !important; border: 0; border-radius: 9px; }
html[data-theme] body.auth-body .verify-code-field input { min-height: 58px !important; font-size: 24px !important; font-weight: 600; letter-spacing: .35em; padding-left: calc(14px + .35em) !important; background: var(--auth-inset) !important; }
html[data-theme] body.auth-body .verify-resend-row { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 8px 12px; margin-top: 20px; padding-top: 16px; border-color: var(--auth-border) !important; }
html[data-theme] body.auth-body .verify-resend-row > span { flex: 1 1 140px; color: var(--auth-muted) !important; font-size: 11px; }
html[data-theme] body.auth-body .verify-resend-button { font-size: 11px; min-height: 36px; white-space: normal; text-align: left; }
html[data-theme] body.auth-body .verify-resend-button:disabled { color: var(--auth-muted) !important; opacity: .7; cursor: default; }
html[data-theme] body.auth-body .verify-help { margin: 22px 0 0; color: var(--auth-muted) !important; font-size: 11px; line-height: 1.75; }
html[data-theme] body.auth-body :is(.password-assist, .legal-consent-option, .trusted-device-option) { padding: 13px 14px; border: 1px solid var(--auth-border) !important; border-radius: 9px; color: var(--auth-text) !important; background: var(--auth-inset) !important; box-shadow: none; }
html[data-theme] body.auth-body .password-assist[hidden] { display: none; }
html[data-theme] body.auth-body .password-strength-head { font-size: 11px; }
html[data-theme] body.auth-body .password-requirements span { font-size: 11px; line-height: 1.6; }
html[data-theme] body.auth-body .password-match { min-height: 0; font-size: 11px; line-height: 1.5; }
html[data-theme] body.auth-body .password-match:empty { display: none; }
html[data-theme] body.auth-body .password-strength-track { background: var(--auth-border) !important; }
html[data-theme] body.auth-body :is(.legal-consent-copy, .trusted-device-copy) strong { color: var(--auth-text) !important; font-size: 11px; font-weight: 400; line-height: 1.65; }
html[data-theme] body.auth-body :is(.legal-consent-copy, .trusted-device-copy) small { color: var(--auth-muted) !important; font-size: 10px; line-height: 1.6; }
html[data-theme] body.auth-body .notice { margin: 0 0 20px; padding: 12px 14px; border-radius: 9px !important; font-size: 12px; line-height: 1.65; }
html[data-theme] body.auth-body .turnstile-wrap { min-width: 0; margin: 0; }
@media (min-width: 981px) and (max-height: 800px) {
  html[data-theme] body.auth-body .auth-visual { min-height: 600px; }
  html[data-theme] body.auth-body .auth-copy { padding-top: 40px; }
  html[data-theme] body.auth-body .auth-artwork { width: 340px; max-width: 100%; margin-top: 0; }
}
@media (max-width: 980px) {
  html[data-theme] body.auth-body .auth-shell { grid-template-columns: minmax(0, 1fr); }
  html[data-theme] body.auth-body .auth-visual { display: none; }
  html[data-theme] body.auth-body .auth-mobile-brand { display: flex; margin: 0; }
  html[data-theme] body.auth-body .auth-topbar { justify-content: space-between; }
  html[data-theme] body.auth-body .auth-main { padding: 110px 24px 40px !important; border-left: 0; }
}
@media (max-width: 540px) {
  html[data-theme] body.auth-body .auth-topbar { top: 22px; right: 20px; left: 20px; }
  html[data-theme] body.auth-body .auth-mobile-brand { font-size: 17px; gap: 8px; }
  html[data-theme] body.auth-body .auth-theme-toggle { width: 38px; padding: 0; }
  html[data-theme] body.auth-body .auth-theme-toggle > span { display: none; }
  html[data-theme] body.auth-body .auth-main { padding: 100px 24px 36px !important; align-items: flex-start; }
  html[data-theme] body.auth-body .auth-form-wrap { padding: 0; border-radius: 0; }
  html[data-theme] body.auth-body .auth-form .field input { font-size: 16px; }
  html[data-theme] body.auth-body .auth-form-wrap h1 { font-size: 28px; }
  html[data-theme] body.auth-body .auth-intro { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] body.auth-body :is(input, button, a) { transition: none !important; }
}
/* Longer account-creation forms use a slightly more compact rhythm. */
html[data-theme] body.auth-signup-body .auth-form-wrap { padding: 28px 32px; }
html[data-theme] body.auth-signup-body .auth-form { gap: 14px; }
html[data-theme] body.auth-signup-body .auth-intro { margin-bottom: 22px; }
html[data-theme] body.auth-signup-body .auth-divider { margin: 18px 0; }
html[data-theme] body.auth-signup-body .auth-switch { margin-top: 20px; padding-top: 18px; }
@media (max-width: 540px) {
  html[data-theme] body.auth-signup-body .auth-form-wrap { padding: 0; }
}
html[data-theme] body.auth-body .verify-resend-row { background: transparent !important; box-shadow: none !important; }
html[data-theme] body.auth-body .auth-form .verify-code-field input:not([type="hidden"]) { background: var(--auth-inset) !important; }
html[data-theme] body.auth-body :is(.password-assist, .legal-consent-option, .trusted-device-option) { box-shadow: none !important; }
html[data-theme] body.auth-body .turnstile-wrap { justify-content: center; overflow: visible; }
