.expert-onboarding {
  min-height: 100vh;
  overflow-y: auto;
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--ds-gold-50)) 100%);
  color: hsl(var(--foreground));
}

.eo-topbar,
.eo-progress-shell,
.eo-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 20;
  background: hsl(var(--background) / 0.94);
  backdrop-filter: blur(20px);
}

.eo-topbar {
  top: 0;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid hsl(var(--border));
}

.eo-brand,
.eo-title,
.eo-summary-name,
.eo-avatar {
  font-family: 'Geist', sans-serif;
}

.eo-brand {
  font-size: 20px;
  font-weight: 700;
}

.eo-save-state {
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.eo-progress-shell {
  top: 64px;
  padding: 14px 40px 12px;
  border-bottom: 1px solid hsl(var(--border));
}

.eo-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.eo-progress-head span,
.eo-eyebrow,
.eo-card-title,
.eo-avatar-title {
  color: hsl(var(--ds-gold-main));
}

.eo-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: hsl(var(--border));
  overflow: hidden;
}

.eo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, hsl(var(--ds-gold-500)) 0%, hsl(var(--ds-gold-main)) 50%, hsl(var(--ds-gold-300)) 100%);
}

.eo-dots {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.eo-dot {
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 999px;
  background: hsl(var(--border));
  cursor: pointer;
}

.eo-dot.active {
  width: 24px;
  background: hsl(var(--ds-gold-main));
}

.eo-dot.done {
  background: hsl(var(--ds-gold-300));
}

/* Namespaced under .expert-onboarding to avoid collision with the
   unrelated .eo-main rule defined in expert-opportunities.css, which
   would otherwise leak (CSS injected globally) and zero-out the top
   padding needed to clear the fixed header (64px) + progress bar (75px). */
.expert-onboarding .eo-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 148px 20px 120px;
}

.eo-panel {
  max-width: 720px;
  margin: 0 auto;
  display: none;
}

.eo-panel.active {
  display: block;
  animation: eoFade 0.28s ease;
}

@keyframes eoFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.eo-eyebrow {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eo-title {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 700;
}

.eo-desc,
.eo-avatar-sub,
.eo-field span,
.eo-card-block span,
.eo-mission-card span,
.eo-summary-role,
.eo-summary-metrics {
  color: hsl(var(--muted-foreground));
}

.eo-desc {
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 1.65;
}

.eo-hero-card,
.eo-card-block,
.eo-form-box,
.eo-ai-review,
.eo-summary-card,
.eo-quote-card,
.eo-mission-card,
.eo-gallery-row {
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  background: hsl(var(--card));
  box-shadow: 0 20px 40px hsl(var(--ds-gold-700) / 0.05);
}

.eo-hero-card,
.eo-form-box,
.eo-ai-review,
.eo-card-block,
.eo-summary-card,
.eo-quote-card {
  padding: 22px;
}

.eo-cover-preview {
  height: 118px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, hsl(var(--ds-gold-700)) 0%, hsl(var(--ds-gold-main)) 52%, hsl(var(--ds-gold-200)) 100%);
  position: relative;
  overflow: hidden;
}

.eo-cover-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 35%, hsl(var(--background) / 0.18), transparent 30%), radial-gradient(circle at 70% 25%, hsl(var(--background) / 0.14), transparent 34%);
}

.eo-cover-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: hsl(var(--background) / 0.16);
  color: hsl(var(--background));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eo-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.eo-avatar {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--ds-gold-100)) 0%, hsl(var(--ds-gold-300)) 100%);
  font-size: 26px;
  font-weight: 700;
  color: hsl(var(--ds-gold-700));
}

.eo-grid {
  display: grid;
  gap: 14px;
}

.eo-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.eo-field span,
.eo-card-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eo-field input,
.eo-field textarea,
.eo-field select,
.eo-inline-input {
  width: 100%;
  border: 1.5px solid hsl(var(--border));
  border-radius: 12px;
  padding: 13px 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 14px;
}

.eo-field textarea {
  min-height: 96px;
  resize: vertical;
}

.eo-toggle-card,
.eo-upload-card,
.eo-option-card,
.eo-pill,
.eo-primary,
.eo-secondary,
.eo-ghost,
.eo-add-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.eo-toggle-card,
.eo-upload-card,
.eo-option-card,
.eo-gallery-row,
.eo-card-block {
  width: 100%;
}

.eo-toggle-card {
  margin-top: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 18px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  text-align: left;
}

.eo-toggle-card strong,
.eo-upload-card strong,
.eo-mission-card strong,
.eo-gallery-row strong,
.eo-quote-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.eo-toggle-card span,
.eo-upload-card span,
.eo-gallery-row span,
.eo-mission-card span,
.eo-quote-card span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.eo-switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: hsl(var(--border));
}

.eo-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: hsl(var(--background));
  transition: transform 0.2s ease;
}

.eo-switch.on {
  background: hsl(var(--ds-gold-main));
}

.eo-switch.on::after {
  transform: translateX(18px);
}

.eo-upload-card {
  padding: 22px;
  text-align: left;
  border-radius: 18px;
  background: hsl(var(--card));
  border: 2px dashed hsl(var(--border));
}

.eo-upload-card.selected,
.eo-option-card.selected,
.eo-pill.selected {
  border-color: hsl(var(--ds-gold-main));
  background: hsl(var(--ds-gold-50));
}

.eo-upload-card em {
  display: inline-flex;
  margin-top: 14px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: hsl(var(--ds-gold-main));
}

.eo-ai-review {
  margin-top: 16px;
}

.eo-ai-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eo-ai-list {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.eo-option-grid,
.eo-pill-wrap,
.eo-inline-actions,
.eo-summary-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eo-option-card,
.eo-pill {
  padding: 12px 14px;
  border-radius: 14px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  font-size: 13px;
  font-weight: 600;
}

.eo-counter {
  margin-top: 14px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
}

.eo-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eo-mission-card,
.eo-gallery-row {
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.eo-mission-card p,
.eo-quote-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.eo-mission-card button {
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 22px;
}

.eo-add-btn,
.eo-primary,
.eo-secondary,
.eo-ghost {
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.eo-add-btn,
.eo-secondary {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.eo-primary {
  background: linear-gradient(135deg, hsl(var(--ds-gold-500)) 0%, hsl(var(--ds-gold-main)) 55%, hsl(var(--ds-gold-300)) 100%);
  color: hsl(var(--background));
}

.eo-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.eo-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.eo-tip-box {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: hsl(var(--ds-gold-50));
  border: 1px solid hsl(var(--ds-gold-100));
  font-size: 13px;
  line-height: 1.65;
}

.eo-quote-card {
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--ds-gold-50)) 100%);
}

.eo-success-shell {
  text-align: center;
}

.eo-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--ds-green-200)) 0%, hsl(var(--ds-green-500)) 100%);
  color: hsl(var(--background));
  font-size: 28px;
  font-weight: 800;
}

.eo-summary-card {
  margin: 24px auto 0;
  max-width: 560px;
}

.eo-summary-role {
  margin-bottom: 16px;
}

.eo-pill-wrap.compact {
  justify-content: center;
  margin-bottom: 16px;
}

.eo-inline-actions.center {
  justify-content: center;
  margin-top: 22px;
}

.eo-bottom-bar {
  bottom: 0;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid hsl(var(--border));
}

@media (max-width: 768px) {
  .eo-topbar,
  .eo-progress-shell,
  .eo-bottom-bar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .expert-onboarding .eo-main {
    padding: 148px 16px 112px;
  }

  .eo-grid.two {
    grid-template-columns: 1fr;
  }

  .eo-bottom-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .eo-inline-actions {
    width: 100%;
  }

  .eo-primary,
  .eo-secondary,
  .eo-ghost,
  .eo-add-btn {
    width: 100%;
  }
}