/* AutoSchools V2.0.52 — invite-first registration entry. Existing design tokens only. */
.registration-entry,
.student-join-shell {
  display: grid;
  gap: 14px;
  width: 100%;
}
.registration-entry-hero,
.student-join-hero {
  padding: 20px;
  border-radius: 24px;
}
.registration-entry-hero h2,
.student-join-hero h2 {
  margin: 5px 0 8px;
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.registration-entry-hero > p:last-child,
.student-join-hero > p:last-child {
  margin: 0;
  max-width: 38rem;
  color: var(--text-secondary, rgba(255,255,255,.68));
  line-height: 1.55;
}
.registration-role-grid {
  display: grid;
  gap: 12px;
}
.registration-role-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  border-radius: 22px;
  background: var(--card, rgba(20,25,35,.68));
  box-shadow: var(--shadow-card, 0 16px 42px rgba(0,0,0,.16));
}
.registration-role-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--surface-strong, rgba(255,255,255,.08));
  border: 1px solid var(--border, rgba(255,255,255,.12));
}
.registration-role-icon svg {
  width: 25px;
  height: 25px;
}
.registration-role-copy h3 {
  margin: 2px 0 6px;
  font-size: 18px;
}
.registration-role-copy p {
  margin: 0;
  color: var(--text-secondary, rgba(255,255,255,.66));
  line-height: 1.45;
  font-size: 13px;
}
.registration-role-action {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: space-between;
  display: flex;
  align-items: center;
  gap: 10px;
}
.registration-role-action svg,
.registration-network-link svg,
.registration-catalog-link svg,
.student-join-card .button svg,
.student-join-preview .button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.registration-network-link,
.registration-catalog-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: transparent;
  color: inherit;
  text-align: left;
}
.registration-network-link {
  margin-top: -5px;
}
.registration-network-link span,
.registration-catalog-link span {
  flex: 1;
  font-size: 13px;
  font-weight: 650;
}
.student-join-hero .registration-role-icon {
  margin-bottom: 14px;
}
.student-join-card,
.student-join-preview {
  display: grid;
  gap: 14px;
}
.student-join-code {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.student-join-card .button,
.student-join-preview .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.registration-context-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.registration-context-row > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-strong, rgba(255,255,255,.08));
}
.registration-context-row svg {
  width: 21px;
  height: 21px;
}
.registration-context-row small,
.registration-context-row strong {
  display: block;
}
.registration-context-row small {
  color: var(--text-secondary, rgba(255,255,255,.62));
  margin-bottom: 2px;
}
.registration-divider {
  height: 1px;
  background: var(--border, rgba(255,255,255,.1));
}
.registration-consent {
  align-items: flex-start;
}
html.registration-entry-active #role-bottom-nav {
  display: none !important;
}
html.registration-entry-active .app-shell,
html.registration-entry-active main {
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}
@media (min-width: 720px) {
  .registration-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .registration-role-grid .registration-role-card:last-child {
    grid-column: 1 / -1;
  }
}
.student-invite-manager {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: var(--surface-strong, rgba(255,255,255,.045));
}
.student-invite-code {
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
}
.student-invite-link-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}
.student-invite-link-row svg {
  width: 20px;
  height: 20px;
}
.student-invite-link-row code {
  overflow-wrap: anywhere;
  font-size: 11px;
  color: var(--text-secondary, rgba(255,255,255,.68));
}
.student-invite-manager .button,
.student-invite-manager .tiny-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.student-invite-manager .button svg,
.student-invite-manager .tiny-button svg {
  width: 16px;
  height: 16px;
}
