body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--ui-bg);
}
.auth-page-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.auth-page-skip {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 6px;
  background: var(--ui-action);
  color: var(--ui-on-accent);
  transform: translateY(-180%);
}
.auth-page-skip:focus { transform: none; }

.auth-page-shell {
  display: grid;
  grid-template-areas: "tools form";
  grid-template-columns: minmax(0, 470px) minmax(0, 460px);
  justify-content: center;
  align-items: start;
  column-gap: clamp(40px, 5vw, 120px);
  /* Give all desktop form views the same inset even when their contents differ in height. */
  padding-block: max(clamp(44px, 7dvh, 72px), calc((100dvh - 800px) / 2)) 48px;
}
.auth-page-main { grid-area: form; min-width: 0; }
.auth-tools { grid-area: tools; min-width: 0; }
.auth-tools h2 {
  margin: 0;
  color: var(--ui-text);
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.auth-tools ul {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ui-border);
  list-style: none;
}
.auth-tools li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}
.auth-tool-icon {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 7px;
  border-radius: var(--ui-radius-public-control);
  color: var(--ui-accent-text);
  background: color-mix(in srgb, var(--ui-action) 7%, var(--ui-bg));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-tools strong {
  display: block;
  color: var(--ui-text);
  font-size: 15px;
  font-weight: 630;
  line-height: 1.35;
}
.auth-tools p { margin: 3px 0 0; color: var(--ui-muted); font-size: 13.5px; line-height: 1.45; }

@media (max-width: 860px) {
  .auth-page-shell {
    grid-template-areas: "form";
    grid-template-columns: minmax(0, 460px);
    padding-block: 38px 36px;
  }
  .auth-tools { display: none; }
}

@media (max-width: 540px) {
  .auth-page-shell { padding-block: 30px 32px; }
}
