/* wizard.css | split from styles.css (cascade-preserving; see index.html link order) */
/* ── 12. Wizard layout ─────────────────────────────────────────── */

.page-create {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

.wizard-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247,244,242,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
}

.wizard-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.wizard-progress-track {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wizard-progress-segment {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line-md);
  transition: background 260ms ease;
}
.wizard-progress-segment.is-active {
  background: var(--coral);
}

.wizard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
}

.wizard-step {
  display: none;
  flex-direction: column;
  flex: 1;
}

.wizard-step.is-active {
  display: flex;
}

.step-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 180px;
  gap: 32px;
}

@media (max-width: 640px) {
  .step-inner { padding: 32px 16px calc(160px + env(safe-area-inset-bottom)); }
}

/* Step 7 reveal: keep padding-top at the default (48px) so the step-copy
   eyebrow/title align with every other step. Only the footer clearance
   and inter-row gap are tightened. */
[data-step="generating"] .step-inner {
  /* Reclaim the 120px wizard-footer clearance — the footer is hidden on
     this step, so we don't need the buffer. */
  max-width: var(--container-w);
  padding-bottom: 32px;
  gap: 20px;
}

.step-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--coral);
}

.step-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.step-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* Inline sign-in link inside the results subline. Same font size as the
   surrounding subline, but bold + thicker underline + chevron for weight. */
.subline-signin-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--coral);
  cursor: pointer;
}
.subline-signin-link:hover { color: var(--coral-hover); opacity: 1; }
.subline-signin-link span {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Anonymous-preview image friction. Blocks drag, text-select, and the
   iOS/Safari long-press image preview menu. Real protection is the
   server-side watermark; this just discourages the casual save path. */
.gallery-card-img.is-protected,
.is-anonymous .moment-detail-image {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

/* Wizard sticky footer */
.wizard-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 0 calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(247,244,242,1) 60%, rgba(247,244,242,0));
}

/* Mirror .wizard-bar-inner so Back / Next align with the progress bar's
   left and right edges. */
.wizard-footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.wizard-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

@media (max-width: 640px) {
  .wizard-footer-inner { padding: 0 16px; }
}

/* ── 13. Type card grid ────────────────────────────────────────── */

.type-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--sh-xs);
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
  cursor: pointer;
}
.type-card:hover {
  border-color: rgba(255,90,110,0.25);
  box-shadow: var(--sh-sm);
}
.type-card.is-selected {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: 0 0 0 1px var(--coral), var(--sh-sm);
}
.type-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,90,110,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
}
.type-card-icon svg { width: 18px; height: 18px; }
.type-card strong { font-size: 16px; font-weight: 650; letter-spacing: -0.015em; }
.type-card small { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ── 14. Context inputs ────────────────────────────────────────── */

.context-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.context-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
}
.context-field + .context-field {
  border-top: 1px solid var(--line);
}

.context-field-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--muted);
}
.context-field-icon svg { width: 16px; height: 16px; }

.context-field-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.context-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  padding: 0;
  outline: none;
  line-height: 1.45;
}
.context-input::placeholder { color: var(--faint); }

/* ── 15. Story screen ──────────────────────────────────────────── */

.story-input-panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.story-mode-toggle {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--stone);
}
.story-mode-btn {
  flex: 1;
  height: 34px;
  /* Inner radius = panel radius (22px) − padding (6px) so the active pill's
     corners nest cleanly against the panel's outer curve. */
  border-radius: 16px;
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
  transition: all 120ms ease;
}
.story-mode-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  box-shadow: var(--sh-xs);
}
.story-mode-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Mic button area. Locked to a stable height across pre/recording/done
   states; mic+ring vertically centered. The Cancel link's slot is reserved
   via `visibility: hidden` (not `display: none`) so the mic doesn't shift
   between pre-recording (no cancel) and recording (cancel visible). */
.story-mic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 24px;
  min-height: 300px;
}

/* Idle and post-transcribe state: confident filled CTA + tight helper. */
.story-record-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Quiet ghost-style CTA — pale coral surface with a coral icon. The
   button is an inviting affordance rather than a hero. No shadow. */
.voice-hero-mic {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--coral-soft);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, transform 80ms ease;
}
.voice-hero-mic:hover { background: rgba(255,90,110,0.14); }
.voice-hero-mic:active { transform: scale(0.97); }
.voice-hero-mic.is-done .voice-hero-icon-mic  { display: none; }
.voice-hero-mic.is-done .voice-hero-icon-done { display: block; }

.voice-hero-mic.is-transcribing { cursor: progress; }
.voice-hero-mic.is-transcribing .voice-hero-icon-mic { opacity: 0.45; }
.voice-hero-mic.is-transcribing::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--coral);
  border-right-color: rgba(255,90,110,0.35);
  animation: mic-spin 0.85s linear infinite;
  pointer-events: none;
}
@keyframes mic-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .voice-hero-mic.is-transcribing::after { animation: none; border-top-color: rgba(255,90,110,0.5); }
}

.voice-hero-mic-icon { width: 24px; height: 24px; }
.voice-hero-icon-mic  { display: block; }
.voice-hero-icon-done { display: none; }

.voice-hero-helper {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  max-width: 280px;
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0;
}

/* Active recording state: waveform + countdown + 3 controls, kept tight
   so the cluster reads as one unit instead of three separated widgets.
   Per-element margins rather than a single parent gap so we can tune the
   waveform→countdown distance independently of countdown→controls. */
.story-record-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Waveform sits on the page background — no card chrome. */
.story-waveform {
  display: block;
  width: 480px;
  max-width: 100%;
  height: 72px;
  background: transparent;
}

.story-countdown {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: color 240ms ease;
}
.story-countdown.is-urgent { color: var(--coral); }
.story-record-active.is-paused .story-countdown { color: var(--faint); }
.story-record-active.is-paused .story-waveform  { opacity: 0.45; transition: opacity 200ms ease; }

/* Compact control cluster — narrow, centered. Grid keeps the Pause
   button exactly on the centerline regardless of the secondaries' text
   widths (Start over is wider than Done, so flex `space-between` would
   pull Pause off-center). */
.story-record-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 320px;
  margin-top: 16px;
}
.story-record-controls > :first-child { justify-self: end; }
.story-record-controls > :last-child  { justify-self: start; }

/* Secondary actions (Start over, Done): inline icon + label, no container,
   no fixed footprint. Reads as a text action with a small leading glyph. */
.record-ctl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: var(--r-sm);
  transition: color 160ms ease;
}
.record-ctl:hover { color: var(--ink); }
.record-ctl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.record-ctl-label { color: inherit; }

/* Primary (Pause/Resume) — single filled coral circle, no shadow, no
   label below. The icon (pause / play) carries the meaning; aria-label
   covers a11y. Sized to read as the anchor without overpowering. */
.record-ctl-primary {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  flex-shrink: 0;
  justify-content: center;
  transition: background 160ms ease, transform 80ms ease;
}
.record-ctl-primary:hover {
  color: white;
  background: var(--coral-hover);
}
.record-ctl-primary:active { transform: scale(0.97); }

/* Pause/Resume icon swap based on the parent is-paused flag. */
.record-ctl-icon-pause { display: block; }
.record-ctl-icon-play  { display: none; }
.story-record-active.is-paused .record-ctl-icon-pause { display: none; }
.story-record-active.is-paused .record-ctl-icon-play  { display: block; }

.story-text-wrap {
  padding: 16px 18px 18px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.story-text-input {
  width: 100%;
  flex: 1;
  min-height: 140px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  resize: none;
  outline: none;
  line-height: 1.6;
}
.story-text-input::placeholder { color: var(--faint); }

/* ── 16. Review screen ─────────────────────────────────────────── */

.result-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.review-memory-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
}
.review-title-sep { color: var(--faint); }
.review-title-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  padding: 0;
  letter-spacing: -0.01em;
}
.review-title-input::placeholder { color: var(--faint); font-weight: 400; }

.review-starring-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-starring-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.review-chips-wrap {
  /* Skip the wrapper box so chips become flex children of .review-starring-row
     and can share a row with the CHARACTERS label, wrapping naturally as needed. */
  display: contents;
}
.review-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,90,110,0.08);
  color: var(--coral);
  font-size: 13px;
  font-weight: 550;
}
.review-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  color: rgba(255,90,110,0.55);
  background: transparent;
  transition: background 100ms, color 100ms;
}
.review-chip-x:hover {
  background: rgba(255,90,110,0.15);
  color: var(--coral);
}
.review-chip-add {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1.5px dashed var(--line-md);
  transition: all 120ms;
}
.review-chip-add:hover { border-color: var(--coral); color: var(--coral); }
.review-chip-input {
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  width: 120px;
}

.moments-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Per-moment cast picker. Compact name chips matching the starring row's
   visual language. The "Add" trigger spawns a popover (positioned by JS)
   listing starring names not yet in this moment's cast. */
.moment-cast-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.moment-cast-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
/* The engine wasn't sure who's in this beat (an unresolved "we"/"they") — pull the label out of
   faint so the storyteller's eye lands on it and confirms. No box; just emphasis + the changed copy. */
.moment-cast-row.is-uncertain .moment-cast-label {
  color: var(--ink-2);
}
.moment-cast-chips {
  /* Skip the wrapper box so chips become flex children of .moment-cast-row
     and can share a row with the WHO'S HERE label, wrapping naturally as needed. */
  display: contents;
}
.moment-cast-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(255,90,110,0.08);
  color: var(--coral);
  font-size: 12px;
  font-weight: 550;
}
.moment-cast-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  color: rgba(255,90,110,0.55);
  background: transparent;
  transition: background 100ms, color 100ms;
}
.moment-cast-chip-x:hover {
  background: rgba(255,90,110,0.15);
  color: var(--coral);
}
.moment-cast-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1.5px dashed var(--line-md);
  transition: all 120ms;
}
.moment-cast-add:hover:not(:disabled) {
  border-color: var(--coral);
  color: var(--coral);
}
.moment-cast-add:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.moment-cast-popover {
  position: absolute;
  z-index: 30;
  min-width: 140px;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
}
.moment-cast-popover-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  transition: background 100ms;
}
.moment-cast-popover-item:hover {
  background: rgba(255,90,110,0.08);
  color: var(--coral);
}

/* Moment cards */
.memory-card {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--sh-xs);
}
.moment-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.moment-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
}
.moment-title-input {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.015em;
  outline: none;
  padding: 0;
  margin-bottom: 8px;
}
.moment-details-input {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  outline: none;
  resize: none;
  padding: 0;
}

/* ── 17. People screen ─────────────────────────────────────────── */

.people-all-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Wrapper divs must be transparent to the grid so .person-slot children flow in directly */
#personSlots,
#petSlot {
  display: contents;
}

.person-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative; /* anchors the remove button */
}

.person-add-card {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  border: 2px dashed var(--line-md);
  background: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 120ms, background 120ms;
}
.person-add-card:hover {
  border-color: var(--coral);
  background: var(--coral-soft);
}
.person-add-plus { color: var(--muted); }
.person-add-plus svg { width: 24px; height: 24px; }

.person-filled-card {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-sm);
}
.person-avatar-wrap {
  width: 100%;
  height: 100%;
  display: block;
}
.person-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-slot-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(17,17,17,0.3));
  pointer-events: none;
}

/* Camera overlay — appears on hover to signal "click to replace" */
.person-slot-replace {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,17,17,0.38);
  color: #fff;
  opacity: 0;
  transition: opacity 140ms;
  pointer-events: none;
}
.person-avatar-wrap:hover .person-slot-replace { opacity: 1; }

/* Remove (×) button — top-right corner of the slot */
.person-slot-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 120ms;
}
.person-slot-remove:hover { background: #dc2626; }
.person-slot-name {
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Photo-check note: shown under a slot whose photo needs another look. */
.person-slot.has-issue .person-avatar-img {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.person-slot-issue {
  font-size: 12px;
  line-height: 1.35;
  color: var(--coral-hover);
  text-align: center;
  width: 100%;
}

/* Pet slot */
.person-slot.is-pet .person-add-card {
  border-style: dashed;
  border-color: rgba(127,169,201,0.35);
}

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

/* ── 18. Style screen ──────────────────────────────────────────── */

.style-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-helper {
  font-size: 13px;
  color: var(--muted);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  /* Match .step-inner's 800px cap so the style picker doesn't appear
     narrower than the rest of the wizard. */
  width: calc(100vw - 48px);
  max-width: 800px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.style-card {
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 160ms, box-shadow 160ms;
}
.style-card:hover { border-color: rgba(255,90,110,0.3); }
.style-card.is-selected {
  border-color: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
}
.style-card-preview { width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.style-card-preview > svg, .style-card-preview > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.style-card-label {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.style-card-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.option-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-chip {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all 120ms;
}
.option-chip:hover { border-color: rgba(255,90,110,0.3); }
.option-chip[aria-pressed="true"],
.option-chip.is-selected {
  border-color: var(--coral);
  background: var(--coral-soft);
  color: var(--coral);
  font-weight: 600;
}
