:root {
  color-scheme: light;
  --auth-ink: #10213a;
  --auth-muted: #5b7089;
  --auth-line: rgba(194, 210, 231, 0.78);
  --auth-blue: #0e61dd;
  --auth-blue-deep: #0b4fb7;
  --auth-surface: rgba(255, 255, 255, 0.92);
  --auth-shadow: 0 28px 80px rgba(20, 54, 99, 0.13);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f4f8fe;
}

body.beta-auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  color: var(--auth-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(66, 153, 255, 0.16), transparent 27rem),
    radial-gradient(circle at 92% 88%, rgba(82, 207, 177, 0.13), transparent 29rem),
    linear-gradient(145deg, #f9fcff 0%, #eef5ff 52%, #f8fbff 100%);
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.beta-auth-layout {
  width: min(1120px, 100%);
  min-height: min(760px, calc(100dvh - 150px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.78fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--auth-shadow), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(145%);
}

.beta-auth-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  min-width: 0;
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(226, 241, 255, 0.92), rgba(241, 249, 255, 0.8)),
    #edf6ff;
  border-right: 1px solid rgba(190, 211, 236, 0.62);
}

.beta-auth-intro::before,
.beta-auth-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.beta-auth-intro::before {
  width: 30rem;
  height: 30rem;
  top: -17rem;
  right: -13rem;
  background: rgba(40, 142, 255, 0.17);
  filter: blur(2px);
}

.beta-auth-intro::after {
  width: 23rem;
  height: 23rem;
  bottom: -12rem;
  left: -10rem;
  background: rgba(50, 196, 160, 0.12);
}

.beta-auth-brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.beta-auth-brand img {
  display: block;
  width: min(280px, 78%);
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.beta-auth-brand > span {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #0c66ca;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(130, 180, 235, 0.42);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beta-auth-intro-copy {
  max-width: 32rem;
}

.beta-auth-intro-copy h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.65rem, 5.5vw, 5.4rem);
  font-weight: 620;
  line-height: 0.97;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.beta-auth-intro-copy p {
  max-width: 35rem;
  margin: 24px 0 0;
  color: #536b89;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 460;
  line-height: 1.65;
}

.beta-auth-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(42, 93, 151, 0.12);
}

.beta-auth-preview-orb {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #268cff, #1467e9);
  box-shadow: 0 12px 28px rgba(26, 112, 229, 0.24);
}

.beta-auth-preview svg,
.beta-auth-card svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beta-auth-preview div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.beta-auth-preview strong {
  font-size: 0.94rem;
  font-weight: 610;
}

.beta-auth-preview div span {
  color: var(--auth-muted);
  font-size: 0.8rem;
}

.beta-auth-preview-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16805d;
  font-size: 0.75rem;
  font-weight: 750;
}

.beta-auth-preview-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21bd86;
  box-shadow: 0 0 0 4px rgba(33, 189, 134, 0.13);
}

.beta-auth-card {
  align-self: stretch;
  align-content: safe center;
  width: 100%;
  height: 100%;
  max-height: min(760px, calc(100dvh - 150px));
  overflow: auto;
  scrollbar-width: thin;
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
}

.beta-auth-card-heading {
  display: grid;
  gap: 7px;
}

.beta-auth-card-heading h2,
.beta-auth-panel-copy h3 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.beta-auth-card-heading p,
.beta-auth-panel-copy p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.beta-auth-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 6px;
  border-radius: 19px;
  background: #edf3fa;
  border: 1px solid #dce7f3;
}

.beta-auth-tab {
  min-width: 0;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  color: #687a91;
  background: transparent;
  font-size: 0.83rem;
  font-weight: 590;
  line-height: 1.15;
  cursor: pointer;
  transition: 160ms ease;
  transition-property: color, background, box-shadow, transform;
}

.beta-auth-tab__icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #607891;
  background: rgba(255, 255, 255, 0.56);
  transition: 160ms ease;
  transition-property: color, background, box-shadow;
}

.beta-auth-tab__icon .beta-fa-icon {
  width: 14px;
  min-width: 14px;
  height: 14px;
  flex-basis: 14px;
  margin: 0;
  font-size: 0.76rem;
}

.beta-auth-tab__label {
  min-width: 0;
}

.beta-auth-tab:hover {
  color: #243c5c;
}

.beta-auth-tab.is-active {
  color: #123761;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 74, 124, 0.11);
}

.beta-auth-tab.is-active .beta-auth-tab__icon {
  color: #0e61dd;
  background: #e9f2ff;
  box-shadow: inset 0 0 0 1px rgba(14, 97, 221, 0.08);
}

.beta-auth-tab:focus-visible,
.beta-auth-link-button:focus-visible,
.beta-auth-secondary:focus-visible,
.beta-auth-reveal:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.23);
  outline-offset: 2px;
}

.beta-auth-panel {
  display: grid;
  gap: 15px;
  animation: beta-auth-enter 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.beta-auth-panel[hidden] {
  display: none;
}

.beta-auth-panel-copy {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

.beta-auth-panel-copy h3 {
  font-size: 1.35rem;
}

.beta-auth-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beta-auth-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #2e4564;
  font-size: 0.79rem;
  font-weight: 600;
}

.beta-auth-input {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 16px;
  color: #7085a1;
  background: #f8fbff;
  border: 1px solid var(--auth-line);
  transition: 160ms ease;
  transition-property: border-color, box-shadow, background;
}

.beta-auth-input:focus-within {
  color: var(--auth-blue);
  background: #fff;
  border-color: rgba(22, 119, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.09);
}

.beta-auth-input > svg {
  width: 19px;
  height: 19px;
}

.beta-auth-input input,
.beta-auth-input select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  color: #132844;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 500;
}

.beta-auth-input select {
  min-height: 52px;
  appearance: none;
  cursor: pointer;
}

.beta-auth-input select:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.beta-auth-input input::placeholder {
  color: #93a3b8;
  font-weight: 500;
}

.beta-auth-reveal {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #72869f;
  background: transparent;
  cursor: pointer;
}

.beta-auth-reveal:hover {
  color: #155fae;
  background: #eaf3ff;
}

.beta-auth-primary,
.beta-auth-secondary {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  font-size: 0.94rem;
  font-weight: 630;
  cursor: pointer;
  transition: 170ms ease;
  transition-property: transform, box-shadow, background, opacity;
}

.beta-auth-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(145deg, var(--auth-blue), var(--auth-blue-deep));
  box-shadow: 0 15px 30px rgba(18, 103, 222, 0.23);
}

.beta-auth-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(18, 103, 222, 0.28);
}

.beta-auth-primary svg {
  width: 18px;
  height: 18px;
}

.beta-auth-primary:disabled,
.beta-auth-secondary:disabled {
  cursor: wait;
  opacity: 0.58;
}

.beta-auth-primary[aria-busy="true"]::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: beta-auth-spin 700ms linear infinite;
}

.beta-auth-primary[aria-busy="true"] svg {
  display: none;
}

.beta-auth-secondary {
  border: 1px solid var(--auth-line);
  color: #244568;
  background: #fff;
}

.beta-auth-link-button {
  width: fit-content;
  justify-self: center;
  border: 0;
  padding: 3px 6px;
  color: #3970aa;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.beta-auth-link-button:hover {
  color: #155fae;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beta-auth-course-picker {
  min-width: 0;
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--auth-line);
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(244, 249, 255, 0.96), rgba(250, 253, 255, 0.98)),
    #f7fbff;
  transition: 160ms ease;
  transition-property: border-color, box-shadow, background;
}

.beta-auth-course-picker.is-valid {
  border-color: rgba(42, 168, 126, 0.34);
  background:
    linear-gradient(145deg, rgba(243, 252, 249, 0.96), rgba(249, 253, 255, 0.98)),
    #f6fcfa;
}

.beta-auth-course-picker__identity {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.beta-auth-course-picker__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0d65d9;
  background: #e8f2ff;
  box-shadow: inset 0 0 0 1px rgba(31, 111, 216, 0.08);
}

.beta-auth-course-picker__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.beta-auth-course-picker__copy strong {
  color: #203b5d;
  font-size: 0.84rem;
  font-weight: 720;
}

.beta-auth-course-picker__copy > span {
  overflow: hidden;
  color: #6a8099;
  font-size: 0.74rem;
  font-weight: 520;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beta-auth-course-picker__open {
  min-height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(14, 97, 221, 0.18);
  border-radius: 15px;
  color: #0b58c3;
  background: #fff;
  box-shadow: 0 9px 22px rgba(40, 91, 153, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
  transition-property: border-color, background, box-shadow, transform;
}

.beta-auth-course-picker__open:hover:not(:disabled) {
  border-color: rgba(14, 97, 221, 0.36);
  background: #fafdff;
  box-shadow: 0 12px 27px rgba(40, 91, 153, 0.12);
  transform: translateY(-1px);
}

.beta-auth-course-picker__open:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 2px;
}

.beta-auth-course-picker__open:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.beta-auth-course-picker__status {
  min-height: 17px;
  color: #6f839a;
  font-size: 0.72rem;
  font-weight: 620;
  line-height: 1.35;
}

.beta-auth-course-picker__status[data-valid="true"] {
  color: #167052;
}

.beta-auth-course-fieldset {
  min-width: 0;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #2e4564;
}

.beta-auth-course-fieldset legend {
  margin: 0 0 7px;
  padding: 0;
  color: #2e4564;
  font-size: 0.79rem;
  font-weight: 650;
}

.beta-auth-course-fieldset > p {
  margin: -3px 0 0;
  color: #71839a;
  font-size: 0.75rem;
  font-weight: 520;
  line-height: 1.45;
}

.beta-auth-course-options {
  min-width: 0;
  max-height: 250px;
  display: grid;
  gap: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px;
  scrollbar-width: thin;
}

.beta-auth-course-option {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  color: #284361;
  background: #f8fbff;
  cursor: pointer;
  transition: 150ms ease;
  transition-property: border-color, background, box-shadow, opacity;
}

.beta-auth-course-option:hover {
  border-color: #b8d2f0;
  background: #f4f9ff;
}

.beta-auth-course-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.beta-auth-course-check {
  width: 22px;
  height: 22px;
  border: 1.5px solid #9fb2c9;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(30, 65, 105, 0.05);
}

.beta-auth-course-option > input:checked + .beta-auth-course-check {
  border-color: var(--auth-blue);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    var(--auth-blue);
}

.beta-auth-course-option > input:checked ~ .beta-auth-course-copy strong {
  color: #0b54b8;
}

.beta-auth-course-option > input:focus-visible + .beta-auth-course-check {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 2px;
}

.beta-auth-course-option > input:disabled ~ * {
  opacity: 0.48;
}

.beta-auth-course-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.beta-auth-course-copy strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
  font-weight: 680;
  line-height: 1.35;
}

.beta-auth-course-copy small {
  overflow-wrap: anywhere;
  color: #75889f;
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1.4;
}

.beta-auth-course-counter {
  min-height: 18px;
  color: #667d96;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: end;
}

.beta-auth-course-counter[data-valid="true"] {
  color: #167052;
}

.beta-auth-photo {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  min-height: 70px;
  border-radius: 18px;
  color: #294464;
  background: #f7faff;
  border: 1px solid var(--auth-line);
  cursor: pointer;
}

.beta-auth-photo:focus-within {
  border-color: rgba(22, 119, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.09);
}

.beta-auth-photo-preview {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  color: #2e79ce;
  background: #e8f3ff;
}

.beta-auth-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beta-auth-photo-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.beta-auth-photo-copy strong {
  font-size: 0.84rem;
}

.beta-auth-photo-copy strong small {
  color: #74879f;
  font-weight: 650;
}

.beta-auth-photo-copy > span {
  overflow: hidden;
  color: #788ba3;
  font-size: 0.72rem;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beta-auth-photo-action {
  color: #1268c7;
  font-size: 0.77rem;
  font-weight: 760;
}

.beta-auth-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.beta-auth-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border-radius: 17px;
  color: #284361;
  background: #f8fbff;
  border: 1px solid var(--auth-line);
  cursor: pointer;
}

.beta-auth-choice > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.beta-auth-check {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: #fff;
  border: 1.5px solid #9fb2c9;
  box-shadow: inset 0 1px 1px rgba(30, 65, 105, 0.05);
}

.beta-auth-choice > input:checked + .beta-auth-check {
  border-color: var(--auth-blue);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    var(--auth-blue);
}

.beta-auth-choice > input:focus-visible + .beta-auth-check {
  outline: 3px solid rgba(22, 119, 255, 0.2);
  outline-offset: 2px;
}

.beta-auth-choice > span:last-child {
  display: grid;
  gap: 4px;
}

.beta-auth-choice strong {
  font-size: 0.81rem;
  line-height: 1.38;
}

.beta-auth-choice small {
  color: #71839a;
  font-size: 0.72rem;
  font-weight: 540;
  line-height: 1.46;
}

.beta-auth-choice a {
  color: #2769ad;
  font-weight: 720;
}

.beta-auth-guest-note {
  margin: -3px 0 0;
  color: #75869c;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.beta-auth-feedback {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  color: #36516f;
  background: #eef5fd;
  border: 1px solid #d5e3f4;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.beta-auth-feedback:not(:empty) {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.beta-auth-feedback[data-tone="error"] {
  color: #a13b37;
  background: #fff3f2;
  border-color: #f2cbc8;
}

.beta-auth-feedback[data-tone="success"] {
  color: #167052;
  background: #eefaf5;
  border-color: #cbe9dc;
}

.beta-auth-footer {
  width: min(1120px, 100%);
  margin: 12px auto 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #6d8098;
  font-size: 0.92rem;
  font-weight: 420;
  line-height: 1.45;
  text-align: center;
}

.beta-auth-footer__main,
.beta-auth-footer__links,
.beta-auth-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-auth-footer__main {
  flex-wrap: wrap;
  gap: 3px 13px;
}

.beta-auth-footer__brand,
.beta-auth-footer__links a {
  color: #526b87;
  text-decoration: none;
  text-underline-offset: 3px;
}

.beta-auth-footer__brand {
  font-weight: 540;
}

.beta-auth-footer__brand span {
  color: #7c8da2;
  font-weight: 400;
}

.beta-auth-footer__links {
  flex-wrap: wrap;
  gap: 3px 11px;
}

.beta-auth-footer__brand:hover,
.beta-auth-footer__links a:hover {
  color: #168bd2;
  text-decoration: underline;
}

.beta-auth-footer__brand:focus-visible,
.beta-auth-footer__links a:focus-visible,
.beta-auth-footer__social a:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.23);
  outline-offset: 2px;
  border-radius: 7px;
}

.beta-auth-footer__social {
  gap: 5px;
}

.beta-auth-footer__social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #53677e;
  text-decoration: none;
}

.beta-auth-footer__social img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(1) brightness(0.55);
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.beta-auth-footer__social a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(50%) sepia(86%) saturate(980%)
    hue-rotate(162deg) brightness(91%) contrast(91%);
  transform: translateY(-1px);
}

body.beta-auth-legal-open {
  overflow: hidden;
}

body.beta-auth-registration-course-open {
  overflow: hidden;
}

.beta-auth-registration-course-layer {
  position: fixed;
  z-index: 9150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(7, 22, 42, 0.68);
  backdrop-filter: blur(14px) saturate(115%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.beta-auth-registration-course-layer[hidden] {
  display: none !important;
}

.beta-auth-registration-course-layer.is-open {
  opacity: 1;
}

.beta-auth-registration-course-dialog {
  position: relative;
  width: min(100%, 900px);
  max-height: min(820px, calc(100dvh - 34px));
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 16px;
  overflow: hidden;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 29px;
  outline: 0;
  background: #fff;
  box-shadow: 0 34px 110px rgba(2, 17, 37, 0.38);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.beta-auth-registration-course-layer.is-open .beta-auth-registration-course-dialog {
  transform: translateY(0) scale(1);
}

.beta-auth-registration-course-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: max(18px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d7e3f0;
  border-radius: 14px;
  color: #405a76;
  background: #f2f7fd;
  font-size: 1.05rem;
  cursor: pointer;
}

.beta-auth-registration-course-close:hover {
  color: #173f68;
  border-color: #bed3eb;
  background: #e8f2fd;
}

.beta-auth-registration-course-close:focus-visible,
.beta-auth-registration-course-cancel:focus-visible,
.beta-auth-registration-course-save:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 2px;
}

.beta-auth-registration-course-header {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding-right: 58px;
}

.beta-auth-registration-course-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #268cff, #1467e9);
  box-shadow: 0 13px 28px rgba(26, 112, 229, 0.24);
}

.beta-auth-registration-course-header > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.beta-auth-registration-course-eyebrow {
  color: var(--auth-blue);
  font-size: 0.69rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beta-auth-registration-course-header h2,
.beta-auth-registration-course-header p {
  margin: 0;
}

.beta-auth-registration-course-header h2 {
  color: var(--auth-ink);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 690;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.beta-auth-registration-course-header p {
  color: var(--auth-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.beta-auth-registration-course-guide {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d7e5f5;
  border-radius: 14px;
  color: #365574;
  background: #eef6ff;
  font-size: 0.79rem;
  font-weight: 610;
  line-height: 1.45;
}

.beta-auth-registration-course-guide .beta-fa-icon {
  color: #1267d6;
}

.beta-auth-registration-course-fieldset {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.beta-auth-registration-course-options {
  max-height: none;
  min-height: 0;
  grid-auto-rows: max-content;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  overflow: auto;
  padding: 3px 4px 8px;
}

.beta-auth-registration-course-options .beta-auth-course-option {
  align-items: start;
  min-height: 94px;
  padding: 14px;
}

.beta-auth-registration-course-message {
  min-height: 20px;
  color: #627b96;
  font-size: 0.75rem;
  font-weight: 630;
  line-height: 1.4;
}

.beta-auth-registration-course-message.is-error {
  color: #a13b37;
}

.beta-auth-registration-course-message.is-valid {
  color: #167052;
}

.beta-auth-registration-course-footer {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #e0e9f4;
}

.beta-auth-registration-course-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.beta-auth-registration-course-cancel {
  min-height: 52px;
  min-width: 116px;
  padding: 0 18px;
  border: 1px solid #cad9ea;
  border-radius: 16px;
  color: #365471;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 680;
  cursor: pointer;
}

.beta-auth-registration-course-cancel:hover {
  border-color: #aec7e2;
  background: #f7fbff;
}

.beta-auth-registration-course-save {
  min-width: min(260px, 55vw);
  padding-inline: 22px;
}

body.beta-auth-course-review-open {
  overflow: hidden;
}

.beta-auth-course-review-layer {
  position: fixed;
  z-index: 9200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 32px);
  background: rgba(7, 22, 42, 0.7);
  backdrop-filter: blur(14px) saturate(115%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.beta-auth-course-review-layer[hidden] {
  display: none !important;
}

.beta-auth-course-review-layer.is-open {
  opacity: 1;
}

.beta-auth-course-review-dialog {
  position: relative;
  width: min(100%, 660px);
  max-height: min(780px, calc(100dvh - 32px));
  display: grid;
  gap: 20px;
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  outline: 0;
  background: #fff;
  box-shadow: 0 34px 110px rgba(2, 17, 37, 0.38);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.beta-auth-course-review-layer.is-open .beta-auth-course-review-dialog {
  transform: translateY(0) scale(1);
}

.beta-auth-course-review-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 15px;
  padding-top: 0;
  padding-right: 52px;
}

.beta-auth-course-review-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #268cff, #1467e9);
  box-shadow: 0 13px 28px rgba(26, 112, 229, 0.24);
}

.beta-auth-course-review-icon i {
  font-size: 1.25rem;
}

.beta-auth-course-review-header > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.beta-auth-course-review-eyebrow {
  color: var(--auth-blue);
  font-size: 0.69rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beta-auth-course-review-header h2,
.beta-auth-course-review-header p {
  margin: 0;
}

.beta-auth-course-review-header h2 {
  color: var(--auth-ink);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 690;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.beta-auth-course-review-header p {
  color: var(--auth-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.beta-auth-course-review-form {
  display: grid;
  gap: 14px;
}

.beta-auth-course-review-status {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #d5e3f4;
  border-radius: 14px;
  color: #36516f;
  background: #eef5fd;
  font-size: 0.8rem;
  font-weight: 630;
  line-height: 1.45;
}

.beta-auth-course-review-status.is-error {
  color: #a13b37;
  border-color: #f2cbc8;
  background: #fff3f2;
}

.beta-auth-course-review-status.is-success {
  color: #167052;
  border-color: #cbe9dc;
  background: #eefaf5;
}

.beta-auth-course-review-retry {
  width: fit-content;
  min-height: 42px;
  justify-self: center;
  padding: 0 17px;
  border: 1px solid #bed3ec;
  border-radius: 13px;
  color: #155fae;
  background: #f3f8fe;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.beta-auth-course-review-retry[hidden] {
  display: none;
}

.beta-auth-course-review-retry:focus-visible,
.beta-auth-course-review-logout button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 2px;
}

.beta-auth-course-review-fieldset {
  min-height: 0;
}

.beta-auth-course-review-fieldset .beta-auth-course-options {
  max-height: min(320px, 38dvh);
}

.beta-auth-course-review-fieldset:disabled {
  opacity: 0.64;
}

.beta-auth-course-review-submit {
  width: 100%;
}

.beta-auth-course-review-logout {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: max(14px, env(safe-area-inset-right));
  left: auto;
  margin: 0;
}

.beta-auth-page .beta-auth-course-review-logout > button[type="submit"] {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  display: grid;
  place-items: center;
  gap: 0;
  border: 1px solid #dce2e8;
  border-radius: 50%;
  padding: 0;
  color: #536170;
  background: #eef1f4;
  box-shadow: none;
  font-size: 1.05rem;
  cursor: pointer;
}

.beta-auth-page .beta-auth-course-review-logout > button[type="submit"]:hover {
  color: #34414e;
  border-color: #cbd3db;
  background: #e3e7eb;
  box-shadow: none;
}

.beta-auth-legal-layer {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 32px);
  background: rgba(7, 22, 42, 0.64);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.beta-auth-legal-layer[hidden] {
  display: none !important;
}

.beta-auth-legal-layer.is-open {
  opacity: 1;
}

.beta-auth-legal-dialog {
  width: min(100%, 920px);
  height: min(860px, calc(100dvh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(2, 17, 37, 0.34);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.beta-auth-legal-layer.is-open .beta-auth-legal-dialog {
  transform: translateY(0) scale(1);
}

.beta-auth-legal-dialog__header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  border-bottom: 1px solid var(--auth-line);
}

.beta-auth-legal-dialog__header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.beta-auth-legal-dialog__header span {
  color: var(--auth-blue);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beta-auth-legal-dialog__header h2 {
  margin: 0;
  overflow: hidden;
  color: var(--auth-ink);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beta-auth-legal-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d5e2f2;
  border-radius: 13px;
  color: #17304d;
  background: #f2f7fd;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.beta-auth-legal-close:hover {
  color: var(--auth-blue-deep);
  border-color: #b8d4f4;
  background: #eaf4ff;
}

.beta-auth-legal-close:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.24);
  outline-offset: 2px;
}

.beta-auth-legal-close i {
  font-size: 1.08rem;
}

.beta-auth-legal-dialog__body {
  width: 100%;
  min-height: 0;
  overflow: auto;
  padding: clamp(14px, 2.8vw, 24px);
  color: #3e5875;
  background: #f5f8fc;
  outline: 0;
}

.beta-auth-legal-document {
  width: min(100%, 840px);
  min-width: 0;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.58;
}

.beta-auth-legal-document :where(h1, h2, h3, h4) {
  margin: 1.2em 0 0.5em;
  color: var(--auth-ink);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.beta-auth-legal-document > :first-child {
  margin-top: 0;
}

.beta-auth-legal-document :where(p, ul, ol, dl, blockquote) {
  margin: 0 0 0.82em;
}

.beta-auth-legal-document :where(ul, ol) {
  padding-inline-start: 1.35rem;
}

.beta-auth-legal-document li + li {
  margin-top: 0.3em;
}

.beta-auth-legal-document strong {
  color: #243c58;
  font-weight: 720;
}

.beta-auth-legal-document a {
  color: var(--auth-blue-deep);
  font-weight: 570;
  text-underline-offset: 0.16em;
}

.beta-auth-legal-document .legal-content {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.beta-auth-legal-document .legal-section {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #d9e4f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 52, 84, 0.055);
}

.beta-auth-legal-document .legal-section > :first-child {
  margin-top: 0;
}

.beta-auth-legal-document .legal-section > :last-child {
  margin-bottom: 0;
}

.beta-auth-legal-document .legal-badge,
.beta-auth-legal-document .legal-meta {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 5px 9px;
  border: 1px solid #cfe0f4;
  border-radius: 999px;
  color: #356186;
  background: #edf5ff;
  font-size: 0.72rem;
  font-weight: 680;
  line-height: 1.2;
}

.beta-auth-legal-document .legal-callout {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-inline-start: 3px solid var(--auth-blue);
  border-radius: 0 11px 11px 0;
  background: #f1f7ff;
}

.beta-auth-legal-document .legal-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  border: 1px solid #d4e0ed;
  border-radius: 13px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.beta-auth-legal-document table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #334f6d;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.42;
}

.beta-auth-legal-document :where(th, td) {
  min-width: 110px;
  padding: 10px 12px;
  border-block-end: 1px solid #dce6f1;
  border-inline-end: 1px solid #dce6f1;
  vertical-align: top;
  text-align: start;
  overflow-wrap: anywhere;
}

.beta-auth-legal-document tr:last-child td { border-block-end: 0; }
.beta-auth-legal-document :where(th, td):last-child { border-inline-end: 0; }

.beta-auth-legal-document th {
  color: #203a56;
  background: #edf4fc;
  font-weight: 720;
}

.beta-auth-legal-document tbody tr:nth-child(even) td {
  background: #f9fbfe;
}

.beta-auth-legal-document code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  color: #224d72;
  background: #edf4fb;
  font-size: 0.86em;
}

.beta-auth-legal-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #607790;
  font-size: 0.94rem;
  font-weight: 500;
  text-align: center;
}

.beta-auth-legal-state--error {
  color: #a33b39;
}

.beta-auth-legal-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #dce9f8;
  border-top-color: var(--auth-blue);
  border-radius: 50%;
  animation: beta-auth-spin 750ms linear infinite;
}

@keyframes beta-auth-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes beta-auth-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
  body.beta-auth-page {
    display: block;
    padding-inline: max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-left));
  }

  .beta-auth-layout {
    max-width: 620px;
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .beta-auth-intro {
    min-height: auto;
    gap: 24px;
    padding: 26px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(190, 211, 236, 0.62);
  }

  .beta-auth-brand img {
    width: 225px;
  }

  .beta-auth-intro-copy h1 {
    max-width: 15ch;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .beta-auth-intro-copy p {
    margin-top: 13px;
  }

  .beta-auth-preview {
    display: none;
  }

  .beta-auth-card {
    max-height: none;
    padding: 28px;
    overflow: visible;
  }
}

@media (max-width: 540px) {
  body.beta-auth-page {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .beta-auth-layout {
    border-radius: 24px;
  }

  .beta-auth-intro {
    padding: 20px;
  }

  .beta-auth-brand img {
    width: 190px;
  }

  .beta-auth-brand > span {
    display: none;
  }

  .beta-auth-intro-copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
    line-height: 0.98;
  }

  .beta-auth-intro-copy p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .beta-auth-card {
    gap: 18px;
    padding: 24px 18px;
  }

  .beta-auth-feedback {
    padding: 13px 14px;
    border-radius: 13px;
  }

  .beta-auth-card-heading h2 {
    font-size: 1.75rem;
  }

  .beta-auth-field-grid {
    grid-template-columns: 1fr;
  }

  .beta-auth-tabs {
    overflow-x: auto;
  }

  .beta-auth-photo {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .beta-auth-photo-action {
    display: none;
  }

  .beta-auth-footer {
    padding-inline: 8px;
    text-align: center;
  }

  .beta-auth-course-picker__copy > span {
    white-space: normal;
  }

  .beta-auth-registration-course-layer {
    align-items: end;
    padding: 0;
  }

  .beta-auth-registration-course-dialog {
    width: 100%;
    max-height: 100dvh;
    gap: 13px;
    padding: 20px 16px max(16px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 25px 25px 0 0;
  }

  .beta-auth-registration-course-close {
    top: 14px;
    right: max(14px, env(safe-area-inset-right));
  }

  .beta-auth-registration-course-header {
    gap: 11px;
    padding-right: 48px;
  }

  .beta-auth-registration-course-icon {
    width: 45px;
    height: 45px;
    border-radius: 15px;
  }

  .beta-auth-registration-course-header h2 {
    font-size: 1.45rem;
  }

  .beta-auth-registration-course-header p {
    font-size: 0.79rem;
  }

  .beta-auth-registration-course-options {
    grid-template-columns: 1fr;
  }

  .beta-auth-registration-course-options .beta-auth-course-option {
    min-height: 94px;
  }

  .beta-auth-registration-course-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }

  .beta-auth-registration-course-cancel,
  .beta-auth-registration-course-save {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .beta-auth-course-review-layer {
    align-items: end;
    padding: 0;
  }

  .beta-auth-course-review-dialog {
    width: 100%;
    max-height: 100dvh;
    gap: 17px;
    padding: 22px 17px max(18px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 25px 25px 0 0;
  }

  .beta-auth-course-review-header {
    gap: 12px;
    padding-top: 0;
    padding-right: 48px;
  }

  .beta-auth-course-review-logout {
    top: 12px;
    right: max(12px, env(safe-area-inset-right));
    left: auto;
  }

  .beta-auth-course-review-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .beta-auth-course-review-fieldset .beta-auth-course-options {
    max-height: min(330px, 42dvh);
  }

  .beta-auth-legal-layer {
    padding: 0;
  }

  .beta-auth-legal-dialog {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .beta-auth-legal-dialog__header {
    min-height: 62px;
    padding-inline: 14px 10px;
  }

  .beta-auth-legal-dialog__body {
    padding: 12px;
  }

  .beta-auth-legal-document {
    font-size: 0.88rem;
  }

  .beta-auth-legal-document .legal-section {
    padding: 14px;
    border-radius: 14px;
  }

  .beta-auth-legal-document table {
    min-width: 620px;
  }
}

.beta-auth-completion-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background:
    radial-gradient(circle at 12% 12%, rgba(67, 174, 255, .18), transparent 34%),
    radial-gradient(circle at 88% 85%, rgba(95, 86, 225, .14), transparent 38%),
    #f4f8ff;
}

.beta-auth-completion {
  width: min(100%, 560px);
  display: grid;
  gap: 18px;
}

.beta-auth-completion__brand {
  width: min(260px, 62vw);
  display: block;
  margin-inline: auto;
}

.beta-auth-completion__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.beta-auth-completion__card {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: clamp(26px, 6vw, 46px);
  border: 1px solid rgba(182, 203, 229, .8);
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 70px rgba(30, 73, 127, .16);
  text-align: center;
}

.beta-auth-completion__card.is-success {
  border-color: rgba(124, 193, 157, .72);
  background: rgba(252, 255, 253, .97);
  box-shadow: 0 28px 70px rgba(24, 105, 70, .14);
}

.beta-auth-completion__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  background: linear-gradient(145deg, #e8f2ff, #eef0ff);
  color: #1769dc;
}

.beta-auth-completion__card.is-success .beta-auth-completion__icon {
  background: #dcf7e8;
  color: #0f7142;
}

.beta-auth-completion__card.is-warning .beta-auth-completion__icon {
  background: #fff1e5;
  color: #b55415;
}

.beta-auth-completion__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.beta-auth-completion__icon [data-beta-reset-success-icon] {
  display: none;
}

.beta-auth-completion__card.is-success .beta-auth-completion__icon [data-beta-reset-default-icon] {
  display: none;
}

.beta-auth-completion__card.is-success .beta-auth-completion__icon [data-beta-reset-success-icon] {
  display: block;
}

.beta-auth-completion__eyebrow {
  color: #0d5fca;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.beta-auth-completion__card.is-success .beta-auth-completion__eyebrow,
.beta-auth-completion__card.is-success h1 {
  color: #0d633c;
}

.beta-auth-completion__card h1,
.beta-auth-completion__card p {
  margin: 0;
}

.beta-auth-completion__card h1 {
  color: #10233d;
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  letter-spacing: -.04em;
}

.beta-auth-completion__card > p,
.beta-auth-completion__success p {
  color: #5b7189;
  font-size: .94rem;
  line-height: 1.58;
}

.beta-auth-completion__action {
  min-width: min(100%, 270px);
  margin-top: 4px;
  text-decoration: none;
}

.beta-auth-completion__form {
  width: 100%;
  display: grid;
  gap: 13px;
  margin-top: 5px;
  text-align: left;
}

.beta-auth-completion__form[hidden] {
  display: none;
}

.beta-auth-completion .beta-auth-field {
  color: #203b5b;
  font-weight: 700;
}

.beta-auth-completion .beta-auth-input {
  color: #4d6784;
  background: #f7faff;
  border-color: #b9cbe0;
}

.beta-auth-completion .beta-auth-input > svg,
.beta-auth-completion .beta-auth-primary svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.beta-auth-completion__success {
  width: min(100%, 410px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: 2px;
}

.beta-auth-completion__success[hidden] {
  display: none;
}

.beta-auth-completion__success:focus {
  outline: none;
}

.beta-auth-completion__success strong {
  color: #0f7142;
  font-size: 1.12rem;
}

.beta-auth-completion__success p {
  color: #405d74;
  font-weight: 600;
}

@media (max-width: 520px) {
  .beta-auth-completion-page {
    align-items: start;
    padding: 20px 12px;
  }

  .beta-auth-completion__card {
    padding: 25px 18px;
    border-radius: 24px;
  }
}

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

.beta-fa-icon {
  width: 1em;
  height: 1em;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: currentColor;
  font-size: 1em;
  line-height: 1;
  text-align: center;
}

.beta-auth :where(button, input) {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.beta-auth-input > .beta-fa-icon,
.beta-auth-reveal .beta-fa-icon {
  width: 20px;
  font-size: 1rem;
}

.beta-auth-preview-orb .beta-fa-icon,
.beta-auth-photo-preview .beta-fa-icon {
  font-size: 1.35rem;
}

.beta-auth-primary .beta-fa-icon {
  font-size: 0.92rem;
}
