.heeps-onboard {
  max-width: 720px;
  margin: 1.5rem auto;
  padding: 1.25rem;
  background: #fff8f3;
  border-radius: 20px;
  border: 1px solid #f0d9c8;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #3a2a24;
}

.heeps-lead {
  color: #6b4f44;
  line-height: 1.5;
}

.heeps-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 1rem 0;
}

.heeps-card {
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 8px rgba(90, 50, 30, 0.08);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.heeps-card:hover {
  transform: translateY(-2px);
}

.heeps-card.selected {
  border-color: #e07a5f;
}

.heeps-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #f3e6de;
}

.heeps-card span {
  display: block;
  padding: 8px;
  font-size: 0.85rem;
  text-align: center;
}

.heeps-btn {
  background: #e07a5f;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  cursor: pointer;
}

.heeps-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.heeps-status {
  min-height: 1.4em;
  color: #6b4f44;
}

.heeps-done img,
#heeps-result img {
  border-radius: 24px;
  max-width: 100%;
  height: auto;
}

.heeps-onboard label {
  display: block;
  font-size: 0.9rem;
  color: #6b4f44;
}

.heeps-onboard input[type="text"],
.heeps-onboard textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e5cfc3;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: #3a2a24;
}

.heeps-onboard h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.15rem;
}

.heeps-summary {
  min-height: 1.4em;
  font-weight: 650;
  color: #3a2a24;
}

.heeps-note {
  color: #6b4f44;
  line-height: 1.45;
}

.heeps-dots {
  display: flex;
  gap: 6px;
  margin: 0.75rem 0 1rem;
}

.heeps-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5cfc3;
}

.heeps-dots span.on {
  width: 18px;
  background: #e07a5f;
}

.heeps-choices,
.heeps-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}

.heeps-choice,
button.heeps-card {
  font: inherit;
  color: inherit;
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.heeps-choice {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 2px solid #f0d9c8;
  background: #fff;
}

.heeps-choice i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(58, 42, 36, 0.12);
}

.heeps-choice.selected,
button.heeps-card.selected {
  border-color: #e07a5f;
  background: #fff1ea;
}

.heeps-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.heeps-btn.ghost {
  background: transparent;
  color: #9a5a48;
  border: 1px solid #e5cfc3;
}

.heeps-avatar {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border-radius: 24px;
  margin: 0.5rem 0 1rem;
}

button.heeps-card {
  padding: 0;
  appearance: none;
}

.heeps-creator-summary {
  font-weight: 650;
  color: #1a1033;
  background: #fff;
  border: 1px solid #f0d9c8;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  min-height: 1.4em;
}

.heeps-creator-dots {
  display: flex;
  gap: 0.35rem;
  margin: 0.75rem 0 1rem;
}

.heeps-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #e5cfc3;
}

.heeps-dot.on { background: #ff6b4a; }
.heeps-dot.done { background: #f5b942; }

.heeps-step-title {
  margin: 0 0 0.75rem;
  font-family: Nunito, system-ui, sans-serif;
  color: #1a1033;
}

.heeps-progress {
  margin: 0.35rem 0 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #9a5a48;
}

.heeps-group {
  margin: 0.35rem 0 0.85rem;
}

.heeps-group-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 750;
  color: #6b4f44;
}

.heeps-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin: 0.5rem 0 1rem;
}

.heeps-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0.7rem 0.45rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(90, 50, 30, 0.08);
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.heeps-swatch.selected {
  border-color: #ff6b4a;
}

.heeps-swatch-chip {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 16, 51, 0.15);
}

.heeps-creator-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.heeps-btn.ghost {
  background: transparent;
  color: #6b4f44;
  border: 1px solid #e5cfc3;
}

.heeps-vibe-panel {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5cfc3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.heeps-creator-progress {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a5a44;
  margin: 0.35rem 0 0.15rem;
}
.heeps-creator-summary {
  min-height: 1.4em;
  font-weight: 650;
  color: #3a2a24;
  line-height: 1.4;
}
.heeps-surprise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}
.heeps-dice {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
}
.heeps-group {
  margin: 0.75rem 0 1rem;
}
.heeps-group-label {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  color: #6b4f44;
}
.heeps-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.55rem;
}
.heeps-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0.55rem 0.4rem;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 2px 8px rgba(90, 50, 30, 0.08);
}
.heeps-swatch.selected {
  border-color: #e07a5f;
}
.heeps-swatch-chip {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
}
.heeps-btn.ghost {
  background: transparent;
  color: #e07a5f;
  border: 1px solid #e07a5f;
}
.heeps-creator-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.heeps-creator-dots {
  display: flex;
  gap: 0.35rem;
  margin: 0.5rem 0 0.75rem;
}
.heeps-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #e5cfc3;
}
.heeps-dot.on { background: #e07a5f; }
.heeps-dot.done { background: #c9956b; }
.heeps-vibe-panel { margin-top: 1rem; }
