/* Sign-in chooser. Loaded only on the login page. */

.au {
  padding: 48px 0 72px;
}

.au-card {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0, 58, 93, 0.07);
}

.au-side,
.au-main {
  min-width: 0;
}

.au-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 24px;
  background: var(--navy-5);
  border-right: 1px solid var(--line);
}

.nu-main .au-side h2 {
  margin: 0 0 14px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gray);
}

.au-p {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.au-p:hover {
  background: #fff;
}

.au-p.on {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(0, 58, 93, 0.06);
}

.au-p:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.au-ic,
.au-ml-ic {
  display: grid;
  place-items: center;
  color: var(--navy);
}

.au-ic {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.au-p.on .au-ic {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.au-ic svg,
.au-ml-ic svg,
.au-eyebrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.au-ml-ic svg,
.au-eyebrow svg {
  width: 18px;
  height: 18px;
}

.au-p b {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.au-p small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gray);
}

.au-chev {
  width: 8px;
  height: 8px;
  border-top: 1.7px solid var(--gray-2);
  border-right: 1.7px solid var(--gray-2);
  transform: rotate(45deg);
  opacity: 0;
}

.au-p.on .au-chev {
  opacity: 1;
  border-color: var(--navy);
}

.au-main {
  display: flex;
  flex-direction: column;
  padding: 48px 56px 40px;
}

.au-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.au-panel[hidden] {
  display: none !important;
}

.au-eyebrow {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--cyan);
}

.nu-main .au-main h1 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  color: var(--ink);
}

.au-lead {
  max-width: 46ch;
  margin: 0 0 28px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray);
  text-wrap: pretty;
}

.au-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.au-methods form {
  margin: 0;
}

.au-g {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.au-g:hover {
  border-color: var(--navy-80);
  box-shadow: 0 2px 8px rgba(0, 58, 93, 0.08);
}

.au-g svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.au-hint {
  margin: -2px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray);
  text-align: center;
}

.au-hint b {
  font-weight: 600;
  color: var(--ink);
}

.au-alert {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #8a1f1f;
  background: #fdecec;
  border-radius: 10px;
}

.au-ml-t {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-2);
}

.au-ml {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.au-ml li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.au-ml li + li {
  border-top: 1px solid var(--line-soft);
}

.au-ml-ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background: var(--navy-5);
  border-radius: 8px;
}

.au-ml b {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.au-ml small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gray);
}

.au-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--navy);
  border-radius: 10px;
  transition: background 0.15s;
}

.au-btn:hover,
.au-btn:focus {
  color: #fff;
  text-decoration: none;
  background: var(--navy-80);
}

.au-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: translateY(1px) rotate(45deg);
}

@media (max-width: 820px) {
  .au {
    padding: 28px 0 48px;
  }

  .au-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .au-side {
    flex-direction: row;
    gap: 8px;
    padding: 16px 14px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .au-side h2,
  .au-p small,
  .au-chev {
    display: none;
  }

  .au-p {
    flex: 0 0 auto;
    grid-template-columns: 32px auto;
    padding: 10px 12px;
  }

  .au-ic {
    width: 32px;
    height: 32px;
  }

  .au-ic svg {
    width: 16px;
    height: 16px;
  }

  .au-main {
    padding: 32px 22px 28px;
  }

  .nu-main .au-main h1 {
    font-size: 28px;
  }
}
