.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
}

body.dashboard-mode .auth-shell {
  display: block;
}

.auth-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  padding: 36px;
  background: linear-gradient(135deg, #141d27, #132b38);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand.compact {
  align-items: flex-start;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-accent);
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.account-identity {
  display: grid;
  gap: 3px;
  min-width: 190px;
}

.account-identity strong,
.account-identity span {
  display: block;
}

.account-identity strong {
  color: #ffffff;
  font-size: 14px;
}

.account-identity span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--section-label);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.16;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.hero-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-steps article {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-steps span {
  display: block;
  margin-bottom: 26px;
  color: var(--brand-accent);
  font-weight: 800;
}

.hero-steps strong {
  display: block;
  margin-bottom: 8px;
}

.hero-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.auth-panel {
  align-self: center;
  width: min(760px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-heading {
  margin-bottom: 18px;
}

