:root {
  --auth-ink: #14243b;
  --auth-muted: #71839a;
  --auth-line: #d8e3ec;
  --auth-red: #dd4c52;
  --auth-red-deep: #be373d;
  --auth-blue: #2996d3;
  --auth-font: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.workspace-auth-page,
.workspace-auth-page button,
.workspace-auth-page input { font-family: var(--auth-font); }

.workspace-auth-page {
  min-height: 100vh;
  background: radial-gradient(circle at 84% 16%,rgba(41,150,211,.09),transparent 28%),linear-gradient(180deg,#f7fafc 0,#eef4f8 100%);
  color: var(--auth-ink);
}

.workspace-auth-page > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
.workspace-auth-page .user-header,
.workspace-auth-page .support-overlay { display: none !important; }

.auth-workspace-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(24px,4vw,58px);
  border-bottom: 1px solid rgba(210,222,232,.92);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
}

.auth-workspace-brand {
  color: var(--auth-blue);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}
.auth-workspace-brand span { color: #ef4f52; }
.auth-workspace-section { padding-left: 18px; border-left: 1px solid #dbe4ec; color: #687b91; font-size: 11px; font-weight: 700; }

.auth-login-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(430px,1.2fr) minmax(400px,460px);
  align-items: center;
  gap: clamp(48px,6vw,86px);
  width: min(1180px,calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 78px;
}

.auth-login-context { max-width: 640px; }
.auth-login-kicker { margin: 0; color: var(--auth-red-deep); font-size: 10px; font-weight: 800; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }
.auth-login-context h1 { max-width: 640px; margin: 0 0 17px; color: var(--auth-ink); font-size: clamp(38px,4.2vw,56px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; }
.auth-login-context > p { max-width: 460px; margin: 0; color: var(--auth-muted); font-size: 14px; line-height: 1.65; }
.auth-login-context__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.auth-login-context__meta span { padding: 7px 11px; border: 1px solid #d6e3ec; border-radius: 999px; background: rgba(255,255,255,.65); color: #60768d; font-size: 10px; font-weight: 700; }

.auth-login-card.card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(210,222,232,.96);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 64px rgba(31,61,86,.12);
}
.auth-login-title { margin: 8px 0 0; color: var(--auth-ink); font-size: 28px; line-height: 1.12; letter-spacing: -.035em; }
.auth-login-intro { margin: 8px 0 25px; color: var(--auth-muted); font-size: 12px; line-height: 1.55; }

.auth-login-card .signup-tabs { gap: 3px; margin-bottom: 23px; padding: 4px; border: 1px solid #e2e9ef; border-radius: 12px; background: #f1f5f8; }
.auth-login-card .signup-tab { min-height: 39px; border-radius: 9px; color: #66798e; font-size: 11px; font-weight: 700; }
.auth-login-card .signup-tab[aria-selected="true"] { color: var(--auth-ink); background: #fff; box-shadow: 0 3px 10px rgba(29,57,82,.09); }
.auth-login-card .signup-tab:focus-visible { outline: 3px solid rgba(41,150,211,.18); outline-offset: 1px; }
.auth-login-card .signup-panel-intro { margin-bottom: 18px; color: #687c92; font-size: 12px; line-height: 1.55; }

.auth-login-card .form-group { margin-bottom: 16px; }
.auth-login-card .form-label { margin-bottom: 7px; color: #52677d; font-size: 10px; font-weight: 750; }
.auth-login-card .form-input { min-height: 44px; padding: 0 13px; border: 1px solid #d5e0e9; border-radius: 11px; color: var(--auth-ink); font-size: 12px; }
.auth-login-card .form-input:focus { border-color: var(--auth-blue); box-shadow: 0 0 0 3px rgba(41,150,211,.11); }
.auth-login-card .form-input.error { border-color: #e2686d; }

.auth-login-card .btn { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 11px; font-size: 11px; font-weight: 800; line-height: 1.2; }
.auth-login-card .btn-primary { background: var(--auth-red); color: #fff; box-shadow: 0 9px 20px rgba(217,77,82,.18); }
.auth-login-card .btn-primary:hover { transform: none; background: var(--auth-red-deep); box-shadow: 0 9px 20px rgba(217,77,82,.22); }
.auth-login-card .social-btn { min-height: 43px; border-width: 1px; border-radius: 11px; font-size: 11px; font-weight: 750; }
.auth-login-card .social-btn:hover { transform: none; }

.auth-login-error { margin-bottom: 16px; }
.auth-login-captcha { margin: 2px 0 20px; }
.auth-login-secondary { display: inline-block; margin-top: 13px; color: #647a91; font-size: 10px; font-weight: 700; text-decoration: none; }
.auth-login-secondary:hover { color: var(--auth-blue); }
.auth-login-signup { margin: 24px 0 0; color: var(--auth-muted); font-size: 11px; text-align: center; }
.auth-login-signup a { color: var(--auth-blue); font-weight: 750; text-decoration: none; }
.auth-login-signup a:hover { text-decoration: underline; }
.auth-login-card .form-help { color: var(--auth-muted); font-size: 10px; }

.auth-complete-page { margin: 0; background: var(--auth-ink); color: white; }
.auth-complete { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.auth-complete-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--auth-red); font-size: 30px; }
.auth-complete h1 { margin: 18px 0 4px; }
.auth-complete p { color: #bcc8d6; }
.auth-complete a { color: white; }

@media (max-width: 960px) {
  .auth-login-shell { grid-template-columns: 1fr; gap: 32px; width: min(560px,calc(100% - 32px)); padding-top: 40px; }
  .auth-login-context { text-align: center; }
  .auth-login-context h1 { font-size: clamp(36px,9vw,52px); }
  .auth-login-context > p { margin-inline: auto; }
  .auth-login-context__meta { justify-content: center; }
}

@media (max-width: 560px) {
  .auth-workspace-topbar { min-height: 58px; padding: 0 18px; }
  .auth-login-shell { min-height: calc(100vh - 58px); width: min(100% - 24px,480px); padding: 30px 0 46px; }
  .auth-login-context__meta { display: none; }
  .auth-login-card.card { padding: 26px 20px; border-radius: 17px; }
  .auth-login-title { font-size: 25px; }
}
