.auth-shell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.auth-panel {
  width: min(100%, 520px);
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.auth-panel h1 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.08;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 28px;
  padding: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.auth-tab {
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.auth-tab:hover {
  color: var(--text);
}

.auth-tab:focus-visible {
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

.auth-tab.is-active {
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(25, 31, 45, 0.08);
  color: var(--accent-dark);
}

.auth-copy {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

.auth-form textarea {
  resize: vertical;
}

.profile-panel {
  width: min(100%, 680px);
}

.verification-panel {
  width: min(100%, 720px);
}

.profile-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.profile-list div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.profile-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.panel-actions-split {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.form-hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-hint {
  margin: -2px 0 0;
}

.verification-choice-screen {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.verification-flow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.verification-flow-header .eyebrow {
  margin-bottom: 6px;
}

.verification-flow-header h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
}

.verification-option {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.verification-option:hover,
.verification-option.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.verification-option:hover {
  transform: translateY(-1px);
}

.verification-option span {
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 800;
}

.verification-option strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .auth-panel {
    padding: 24px;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-status-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .verification-flow-header {
    flex-direction: column;
  }
}
