:root {
  --auth-bg: #05070d;
  --auth-bg-deep: #03050a;
  --auth-surface: #080c16;
  --auth-surface-strong: #10182a;
  --auth-blue: #2379ff;
  --auth-blue-soft: #6ea2ff;
  --auth-cyan: #ff0877;
  --auth-text: #f9fbff;
  --auth-muted: #c0ccd6;
  --auth-muted-dark: #8499a8;
  --auth-line: rgba(113, 143, 189, 0.22);
  --auth-line-strong: rgba(113, 143, 189, 0.65);
  --auth-danger: #ff7d8e;
  --auth-warning: #f7c46c;
  --auth-success: #69e2bd;
  --auth-font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
html[data-chat-theme="light"],
html[data-chat-theme="dark"] {
  min-width: 320px;
  min-height: 100%;
  color-scheme: dark !important;
  background: var(--auth-bg);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.auth-body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--auth-text);
  background:
    radial-gradient(circle at 84% 12%, rgba(35, 121, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 72%, rgba(255, 8, 119, 0.075), transparent 30rem),
    var(--auth-bg);
  font-family: var(--auth-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.auth-body button,
.auth-body input { font: inherit; }
.auth-body img,
.auth-body svg { display: block; max-width: 100%; }
.auth-body a { color: inherit; }

.auth-grid {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 121, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 121, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
  pointer-events: none;
}

.auth-grid::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(35, 121, 255, 0.04) 47%, transparent 70%);
  content: "";
}

.auth-glow {
  position: fixed;
  z-index: 0;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
}
.auth-glow-one { top: -17rem; right: 8%; background: var(--auth-blue); }
.auth-glow-two { bottom: -24rem; left: 6%; background: var(--auth-cyan); }

.auth-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
}

.auth-skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #00142c;
  background: var(--auth-cyan);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.auth-skip-link:focus { transform: translateY(0); }

.auth-topbar {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(100%, 1380px);
  min-height: 88px;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) max(30px, env(safe-area-inset-right)) 12px max(30px, env(safe-area-inset-left));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.auth-brand {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.auth-brand img { width: 146px; height: auto; }
.auth-brand-signature {
  padding-left: 12px;
  border-left: 1px solid var(--auth-line);
  color: var(--auth-muted-dark);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.auth-brand-signature strong { color: var(--auth-blue-soft); font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }

.auth-topbar-actions { display: flex; align-items: center; gap: 20px; }

.auth-back-home {
  display: inline-flex;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  color: var(--auth-muted);
  background: rgba(6, 18, 41, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.auth-back-home svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.auth-back-home:hover {
  border-color: var(--auth-line-strong);
  color: var(--auth-text);
  background: rgba(10, 29, 61, 0.82);
}

.auth-translate { min-width: 30px; min-height: 26px; isolation: isolate; }
.auth-translate .response-language-selector {
  min-height: 38px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--auth-line);
  border-radius: 9px;
  color: var(--auth-text);
  background: rgba(6, 18, 41, 0.86);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.auth-translate .response-language-selector:focus-visible {
  outline: 3px solid rgba(35, 121, 255, 0.45);
  outline-offset: 2px;
}

.auth-main {
  display: grid;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 22px 44px 36px;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
}

.auth-context { width: min(100%, 590px); padding: 28px 0; }
.auth-eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 10px;
  color: var(--auth-blue-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}
.auth-eyebrow > span { position: relative; width: 22px; height: 1px; background: var(--auth-cyan); }
.auth-eyebrow > span::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--auth-cyan);
  box-shadow: 0 0 12px var(--auth-cyan);
  content: "";
}

.auth-context-title {
  max-width: 560px;
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(2.55rem, 4.1vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.99;
}
.auth-context-title em { color: var(--auth-cyan); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.auth-context-lead {
  max-width: 530px;
  margin: 24px 0 30px;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.auth-regulatory-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(16, 24, 42, 0.94), rgba(3, 5, 10, 0.97));
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.27);
}
.auth-regulatory-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 8, 119, 0.075), transparent);
  content: "";
  animation: auth-scan 8s ease-in-out infinite;
  pointer-events: none;
}
.auth-regulatory-head {
  display: flex;
  min-height: 43px;
  padding: 0 16px;
  border-bottom: 1px solid var(--auth-line);
  align-items: center;
  justify-content: space-between;
  color: var(--auth-muted-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}
.auth-regulatory-head small { display: flex; align-items: center; gap: 7px; color: var(--auth-cyan); font-size: inherit; }
.auth-regulatory-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--auth-cyan);
  box-shadow: 0 0 10px var(--auth-cyan);
  animation: auth-status 2.4s ease-in-out infinite;
}

.auth-regulatory-query {
  display: flex;
  padding: 17px;
  border-bottom: 1px solid var(--auth-line);
  align-items: center;
  gap: 13px;
}
.auth-query-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(35, 121, 255, 0.3);
  border-radius: 10px;
  place-items: center;
  color: var(--auth-blue-soft);
  background: rgba(35, 121, 255, 0.08);
  font-size: 1.25rem;
}
.auth-regulatory-query div { display: grid; gap: 2px; }
.auth-regulatory-query small,
.auth-regulatory-result small {
  color: var(--auth-muted-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}
.auth-regulatory-query strong { color: #dcecff; font-size: 0.83rem; font-weight: 600; }

.auth-regulatory-flow { display: grid; padding: 15px 17px; gap: 8px; }
.auth-regulatory-flow > div {
  display: grid;
  min-height: 29px;
  grid-template-columns: 27px 1fr 56px;
  align-items: center;
  color: #9eb3cc;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
}
.auth-regulatory-flow span { color: #4e6887; }
.auth-regulatory-flow p { margin: 0; letter-spacing: 0.06em; }
.auth-regulatory-flow i { height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255, 8, 119, 0.12); }
.auth-regulatory-flow i::after {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--auth-blue), var(--auth-cyan));
  box-shadow: 0 0 8px rgba(255, 8, 119, 0.55);
  content: "";
}
.auth-regulatory-flow > div:nth-child(2) i::after { width: 88%; }
.auth-regulatory-flow > div:nth-child(3) i::after { width: 100%; }

.auth-regulatory-result {
  display: grid;
  margin: 0 17px 17px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 8, 119, 0.18);
  border-radius: 8px;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(255, 8, 119, 0.045);
}
.auth-regulatory-result > span { color: var(--auth-cyan); }
.auth-regulatory-result svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.auth-regulatory-result p { display: grid; margin: 0; gap: 1px; }
.auth-regulatory-result strong { color: #dcecff; font-size: 0.7rem; font-weight: 600; }
.auth-regulatory-result b {
  color: var(--auth-cyan);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}

.auth-assurances { display: flex; margin-top: 19px; flex-wrap: wrap; gap: 18px; color: var(--auth-muted-dark); font-size: 0.69rem; font-weight: 700; }
.auth-assurances span { display: inline-flex; align-items: center; gap: 7px; }
.auth-assurances svg { width: 15px; color: var(--auth-cyan); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.auth-panel { display: flex; width: 100%; justify-content: center; }
.auth-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 510px);
  padding: 32px;
  border: 1px solid var(--auth-line-strong);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(35, 121, 255, 0.11), transparent 40%), rgba(8, 12, 22, 0.94);
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}
.auth-card--wide { width: min(100%, 560px); }
.auth-card::before {
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 8, 119, 0.82), transparent);
  content: "";
}
.auth-card-status {
  display: flex;
  margin-bottom: 21px;
  align-items: center;
  gap: 8px;
  color: var(--auth-cyan);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.auth-card-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--auth-cyan); box-shadow: 0 0 10px rgba(255, 8, 119, 0.82); }
.auth-card-header { margin-bottom: 25px; }
.auth-card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 17px;
  border: 1px solid rgba(35, 121, 255, 0.34);
  border-radius: 8px;
  place-items: center;
  color: var(--auth-blue-soft);
  background: linear-gradient(145deg, rgba(35, 121, 255, 0.12), rgba(255, 8, 119, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.auth-card-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.auth-card-kicker {
  margin: 0 0 7px;
  color: var(--auth-blue-soft) !important;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.auth-card-header h1 { margin: 0; color: var(--auth-text); font-size: clamp(1.75rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.13; }
.auth-card-header > p:last-child { margin: 9px 0 0; color: var(--auth-muted); font-size: 0.95rem; line-height: 1.65; }

.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }
.auth-field > label { color: #cbd9eb; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
.auth-control {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 49px;
  border: 1px solid rgba(128, 178, 235, 0.22);
  border-radius: 11px;
  align-items: center;
  background: rgba(2, 9, 24, 0.58);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.auth-control:hover { border-color: rgba(128, 178, 235, 0.36); }
.auth-control:focus-within { border-color: rgba(255, 8, 119, 0.66); background: rgba(3, 5, 10, 0.82); box-shadow: 0 0 0 3px rgba(255, 8, 119, 0.09); }
.has-error .auth-control { border-color: rgba(255, 125, 142, 0.55); }
.auth-control-icon { display: grid; width: 44px; height: 48px; flex: 0 0 44px; place-items: center; color: #6684a9; transition: color 160ms ease; }
.auth-control:focus-within .auth-control-icon { color: var(--auth-cyan); }
.auth-control-icon svg,
.auth-password-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.auth-input { width: 100%; min-width: 0; height: 47px; padding: 0 14px 0 0; border: 0; outline: 0; color: var(--auth-text); background: transparent; font-size: 0.91rem; }
.auth-js .auth-control:has(.auth-password-toggle) .auth-input { padding-right: 2px; }
.auth-input::placeholder { color: #617693; opacity: 1; }
.auth-input[name="codigo"] {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus { -webkit-text-fill-color: var(--auth-text); transition: background-color 9999s ease-out 0s; caret-color: var(--auth-text); }

.auth-password-toggle { display: none; width: 43px; height: 43px; margin-right: 3px; flex: 0 0 43px; border: 0; border-radius: 9px; place-items: center; color: #7088a8; background: transparent; cursor: pointer; }
.auth-js .auth-password-toggle { display: grid; }
.auth-password-toggle:hover,
.auth-password-toggle.is-revealing { color: var(--auth-cyan); background: rgba(255, 8, 119, 0.06); }

.auth-field-error { display: flex; align-items: flex-start; gap: 7px; color: #ff9dac; font-size: 0.72rem; line-height: 1.45; }
.auth-field-error span { margin-top: 2px; flex: 0 0 auto; }
.auth-field-error svg { width: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.auth-field-error p { margin: 0; }

.auth-primary-button,
.login-button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #2379ff;
  border-radius: 8px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #05070d;
  background: #2379ff;
  box-shadow: 0 15px 32px rgba(35, 121, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}
.auth-primary-button svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.auth-primary-button:hover,
.login-button:hover { border-color: #6ea2ff; background: #6ea2ff; filter: none; transform: translateY(-1px); box-shadow: 0 18px 38px rgba(35, 121, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2); }

.auth-google-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(128, 178, 235, 0.24);
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #dce9f8;
  background: rgba(9, 26, 54, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.auth-google-button:hover { border-color: rgba(128, 178, 235, 0.48); background: rgba(14, 37, 73, 0.78); transform: translateY(-1px); }
.auth-google-button svg { width: 18px; }
.auth-google-mark path:nth-child(1) { fill: #4285f4; }
.auth-google-mark path:nth-child(2) { fill: #34a853; }
.auth-google-mark path:nth-child(3) { fill: #fbbc05; }
.auth-google-mark path:nth-child(4) { fill: #ea4335; }

.auth-sso-discovery { display: grid; padding: 14px; border: 1px solid rgba(91, 163, 239, .28); border-radius: 13px; gap: 11px; background: rgba(28, 91, 158, .1); }
.auth-sso-discovery > header { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; }
.auth-sso-discovery > header > div { display: grid; min-width: 0; gap: 2px; }
.auth-sso-discovery header strong { color: #eaf4ff; font-size: .79rem; }
.auth-sso-discovery header small { color: #8fa6c2; font-size: .68rem; line-height: 1.42; }
.auth-sso-icon { display: grid; width: 34px; height: 34px; border: 1px solid rgba(35, 121, 255, .24); border-radius: 8px; place-items: center; color: var(--auth-blue-soft); background: rgba(35, 121, 255, .08); }
.auth-sso-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.auth-sso-control { display: grid; min-height: 46px; border: 1px solid var(--auth-line); border-radius: 11px; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; background: rgba(2, 9, 24, .5); overflow: hidden; }
.auth-sso-control .auth-control-icon { position: static; display: grid; width: 36px; height: 100%; place-items: center; }
.auth-sso-input { width: 100%; min-width: 0; height: 44px; padding: 0 8px 0 0; border: 0; outline: 0; color: var(--auth-text); background: transparent; font-size: .78rem; }
.auth-sso-input::placeholder { color: #667f9f; }
.auth-sso-control button { display: inline-flex; min-height: 36px; margin-right: 5px; padding: 0 10px; border: 1px solid rgba(116, 189, 249, .25); border-radius: 8px; align-items: center; gap: 7px; color: #fff; background: #176cc1; font-size: .7rem; font-weight: 780; cursor: pointer; }
.auth-sso-control button:disabled { opacity: .62; cursor: progress; }
.auth-sso-control button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.auth-sso-message { margin: 0; color: #8299b7; font-size: .67rem; line-height: 1.45; }
.auth-sso-message.is-error { color: #ff9dac; }
.auth-sso-message.is-success { color: #80dabb; }
.auth-sso-providers { display: grid; gap: 7px; }
.auth-sso-provider { display: grid; min-height: 52px; padding: 7px 10px; border: 1px solid rgba(115, 181, 242, .22); border-radius: 10px; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 9px; color: #e8f3ff; background: rgba(5, 20, 44, .72); text-decoration: none; transition: 150ms ease; }
.auth-sso-provider:hover { border-color: rgba(121, 192, 255, .5); color: #fff; background: rgba(24, 74, 131, .44); transform: translateY(-1px); }
.auth-sso-provider > span:nth-child(2) { display: grid; min-width: 0; gap: 1px; }
.auth-sso-provider strong, .auth-sso-provider small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-sso-provider strong { font-size: .75rem; }
.auth-sso-provider small { color: #839ab7; font-size: .64rem; }
.auth-sso-provider > i { color: var(--auth-blue-soft); font-size: .68rem; }
.auth-sso-provider-mark { display: grid; width: 28px; height: 28px; border-radius: 8px; place-items: center; background: #fff; font-size: 1rem; font-weight: 850; }
.auth-sso-provider-mark.is-google { color: #4285f4; }
.auth-sso-provider-mark.is-entra { grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); align-content: center; justify-content: center; gap: 2px; }
.auth-sso-provider-mark.is-entra i:nth-child(1) { background: #f25022; }
.auth-sso-provider-mark.is-entra i:nth-child(2) { background: #7fba00; }
.auth-sso-provider-mark.is-entra i:nth-child(3) { background: #00a4ef; }
.auth-sso-provider-mark.is-entra i:nth-child(4) { background: #ffb900; }

.auth-divider { display: flex; align-items: center; gap: 12px; color: #657b98; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.auth-divider::before,
.auth-divider::after { height: 1px; flex: 1; background: var(--auth-line); content: ""; }

.auth-alerts { display: grid; gap: 9px; }
.auth-alert {
  display: grid;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid rgba(35, 121, 255, 0.22);
  border-radius: 10px;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 9px;
  color: #bcd8f6;
  background: rgba(35, 121, 255, 0.07);
  font-size: 0.74rem;
  line-height: 1.48;
}
.auth-alert-icon { margin-top: 1px; color: var(--auth-blue-soft); }
.auth-alert svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.auth-alert--success { border-color: rgba(105, 226, 189, 0.24); color: #b8ecd9; background: rgba(105, 226, 189, 0.07); }
.auth-alert--success .auth-alert-icon { color: var(--auth-success); }
.auth-alert--warning { border-color: rgba(247, 196, 108, 0.26); color: #f2dba8; background: rgba(247, 196, 108, 0.07); }
.auth-alert--warning .auth-alert-icon { color: var(--auth-warning); }
.auth-alert--danger { border-color: rgba(255, 125, 142, 0.28); color: #ffc0c9; background: rgba(255, 125, 142, 0.07); }
.auth-alert--danger .auth-alert-icon { color: var(--auth-danger); }

.auth-notice {
  display: grid;
  padding: 11px 12px;
  border: 1px solid rgba(35, 121, 255, 0.22);
  border-radius: 10px;
  grid-template-columns: 19px 1fr;
  align-items: flex-start;
  gap: 9px;
  color: #b9d6f3;
  background: rgba(35, 121, 255, 0.06);
  font-size: 0.73rem;
  line-height: 1.5;
}
.auth-notice > span { color: var(--auth-blue-soft); }
.auth-notice svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.auth-help-row { display: flex; margin-top: -3px; align-items: center; justify-content: space-between; gap: 16px; color: var(--auth-muted-dark); font-size: 0.8rem; }
.auth-help-row p { margin: 0; }
.auth-inline-link,
.auth-secondary-links a,
.auth-choice a,
.auth-resend a,
.auth-card-note a { color: var(--auth-blue-soft); font-weight: 700; text-decoration: none; text-underline-offset: 3px; }
.auth-inline-link:hover,
.auth-secondary-links a:hover,
.auth-choice a:hover,
.auth-resend a:hover,
.auth-card-note a:hover { color: var(--auth-cyan); text-decoration: underline; }
.auth-card-note { margin: -1px 0 0; color: var(--auth-muted-dark); font-size: 0.78rem; line-height: 1.55; }

.auth-secondary-links { display: flex; margin: 21px 0 0; padding-top: 18px; border-top: 1px solid var(--auth-line); align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 19px; color: var(--auth-muted-dark); font-size: 0.82rem; }
.auth-secondary-links span { color: #46617e; }

.auth-choice-list { display: grid; gap: 11px; }
.auth-choice { display: grid; grid-template-columns: 18px 1fr; align-items: flex-start; gap: 10px; color: #b4c5da; font-size: 0.8rem; line-height: 1.5; cursor: pointer; }
.auth-choice input { width: 16px; height: 16px; margin: 2px 0 0; border-radius: 4px; accent-color: var(--auth-cyan); }
.auth-choice-error { margin: 2px 0 0 28px; color: #ff9dac; font-size: 0.7rem; }

.auth-email-badge { display: flex; min-height: 44px; padding: 9px 12px; border: 1px solid var(--auth-line); border-radius: 10px; align-items: center; gap: 10px; color: #c7d9ed; background: rgba(2, 9, 24, 0.45); font-size: 0.77rem; overflow-wrap: anywhere; }
.auth-email-badge > span { color: var(--auth-cyan); }
.auth-email-badge svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.auth-resend { display: grid; margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--auth-line); justify-items: center; gap: 7px; color: var(--auth-muted-dark); font-size: 0.72rem; text-align: center; }
.auth-js .auth-resend:not(.is-ready) [data-auth-resend-link][aria-disabled="true"] { color: #58708e; cursor: not-allowed; pointer-events: none; }
.auth-resend.is-ready .auth-resend-wait { display: none; }

.auth-footer {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(100%, 1320px);
  min-height: 61px;
  margin: 0 auto;
  padding: 12px max(44px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
  border-top: 1px solid rgba(128, 178, 235, 0.1);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #607592;
  font-size: 0.68rem;
}
.auth-footer a { color: #8197b4; font-weight: 700; text-decoration: none; }
.auth-footer a:hover { color: var(--auth-cyan); }
.auth-footer nav { display: flex; gap: 18px; }
.auth-body :focus-visible { outline: 2px solid var(--auth-cyan); outline-offset: 3px; }

/* PredictAI family geometry: precise edges, restrained depth and a clear
   blue/pink hierarchy. Authentication stays fixed in this dark identity. */
.auth-back-home,
.auth-regulatory-card,
.auth-query-symbol,
.auth-regulatory-result,
.auth-card,
.auth-card-icon,
.auth-control,
.auth-primary-button,
.login-button,
.auth-google-button,
.auth-sso-discovery,
.auth-sso-control,
.auth-sso-control button,
.auth-sso-provider,
.auth-alert,
.auth-notice,
.auth-email-badge { border-radius: 2px; }
.auth-context-title { font-weight: 500; }
.auth-card {
  background:
    linear-gradient(140deg, rgba(35, 121, 255, 0.1), transparent 38%),
    rgba(8, 12, 22, 0.96);
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.035);
}
.auth-card::after {
  position: absolute;
  right: -7rem;
  bottom: -7rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(35, 121, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(35, 121, 255, 0.012);
  content: "";
  pointer-events: none;
}
.auth-card > * { position: relative; z-index: 1; }
.auth-primary-button,
.login-button { box-shadow: 0 15px 32px rgba(35, 121, 255, 0.2), inset 0 -2px var(--auth-cyan); }
.auth-primary-button svg { color: var(--auth-cyan); }
.auth-regulatory-head small { color: var(--auth-success); }
.auth-regulatory-head i { background: var(--auth-success); box-shadow: 0 0 10px var(--auth-success); }

html,
body,
html.translated-ltr,
html.translated-rtl,
html.translated-ltr body,
html.translated-rtl body { top: 0 !important; }
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-menu-frame.skiptranslate,
#goog-gt-tt,
.goog-tooltip,
.goog-te-balloon-frame { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
#gt-mordadam-43217984,
#gt-mordadam-43217984 * { transform: none; }

@keyframes auth-scan {
  0%, 18% { transform: translateX(0); opacity: 0; }
  38%, 62% { opacity: 1; }
  82%, 100% { transform: translateX(620%); opacity: 0; }
}
@keyframes auth-status {
  0%, 100% { opacity: 0.55; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
}

@media (min-width: 1600px) and (min-height: 900px) {
  .auth-topbar { width: min(100%, 1480px); }
  .auth-main {
    width: min(100%, 1440px);
    padding-inline: 56px;
    grid-template-columns: minmax(0, 1.08fr) minmax(510px, 0.92fr);
    gap: clamp(72px, 8vw, 132px);
  }
  .auth-card { max-width: 540px; padding: 38px; }
  .auth-card--wide { max-width: 590px; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .auth-main { align-items: start; padding-top: 12px; }
  .auth-context { padding-top: 18px; }
  .auth-context-title { font-size: clamp(2.45rem, 4vw, 3.8rem); }
  .auth-regulatory-card { max-height: 320px; overflow: hidden; }
  .auth-card { margin-bottom: 24px; }
}

@media (max-width: 1120px) {
  .auth-main { padding-inline: 34px; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: 48px; }
  .auth-context-title { font-size: clamp(2.45rem, 4.6vw, 3.7rem); }
  .auth-regulatory-card { max-width: 500px; }
}

@media (max-width: 900px) {
  .auth-main { display: flex; padding: 26px 26px 42px; align-items: center; justify-content: center; }
  .auth-context { display: none; }
  .auth-panel { max-width: 580px; }
  .auth-card { width: 100%; }
}

@media (max-width: 600px) {
  .auth-topbar { min-height: 74px; padding: max(17px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left)); }
  .auth-brand img { width: 124px; }
  .auth-brand-signature { display: none; }
  .auth-back-home { width: 40px; padding: 0; justify-content: center; font-size: 0; }
  .auth-back-home svg { width: 17px; }
  .auth-topbar-actions { gap: 10px; }
  .auth-translate { transform: scale(0.9); transform-origin: right center; }
  .auth-main { padding: 16px 12px 30px; }
  .auth-card { padding: 25px 20px 22px; border-radius: 2px; }
  .auth-card-header { margin-bottom: 22px; }
  .auth-card-status { margin-bottom: 18px; }
  .auth-card-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .auth-card-header h1 { font-size: 1.72rem; }
  .auth-card-header > p:last-child { font-size: 0.82rem; }
  .auth-help-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .auth-footer { min-height: 75px; padding: 14px max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (max-width: 370px) {
  .auth-card { padding-inline: 17px; }
  .auth-topbar { padding-inline: 14px; }
  .auth-brand img { width: 113px; }
  .auth-sso-control { grid-template-columns: 34px minmax(0, 1fr); padding-bottom: 5px; }
  .auth-sso-control button { min-height: 36px; margin: 0 5px; grid-column: 1 / -1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .auth-card { background: #051025; backdrop-filter: none; }
}
