/* Step two: direct choices and a live, literal-name summary. */
body.reskin2-skin.dashboard-page #create-list-form .wizard-person-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  min-width: 0;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-age-control {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: none;
}
#create-list-form .wizard-age-track {
  position: relative;
  padding-top: 64px;
  min-width: 0;
}
body.reskin2-skin.dashboard-page #create-list-form #wizard-age-value {
  position: absolute;
  top: 0;
  left: clamp(44px, var(--age-bubble-left, 0%), calc(100% - 44px));
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 88px;
  min-height: 48px;
  margin: 0;
  padding: 8px;
  border-radius: 16px;
  color: var(--r2-primary);
  background: var(--r2-yellow-soft);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  transition: left 120ms ease-out;
}
#create-list-form #wizard-age-value::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: calc(50% - 8px);
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: var(--r2-yellow-soft);
}
body.reskin2-skin.dashboard-page #create-list-form #wizard-age {
  width: 100%;
}
#create-list-form .wizard-age-limits {
  display: flex;
  justify-content: space-between;
  color: var(--r2-muted);
  font-size: .875rem;
}
body.reskin2-skin.dashboard-page #create-list-form #wizard-interest-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-interest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 128px;
  padding: 16px 8px;
  border: 2px solid var(--r2-border) !important;
  border-radius: var(--r2-radius);
  color: var(--r2-ink) !important;
  background: var(--r2-surface) !important;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
#create-list-form .wizard-interest-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  pointer-events: none;
}
#create-list-form .wizard-interest-card img[src*="sports-primary"] { clip-path: inset(0 0 0 8px); }
#create-list-form .wizard-interest-card img:is([src*="science-primary"], [src*="forest-primary"]) { clip-path: inset(12px 0 0 12px); }
#create-list-form .wizard-interest-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--r2-surface);
  background: var(--r2-primary);
  line-height: 24px;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-interest-card.is-active {
  border-color: var(--r2-primary) !important;
  background: var(--r2-primary-soft) !important;
  transform: translateY(-2px);
}
#create-list-form .wizard-interest-card.is-active .wizard-interest-check { display: block; }
#create-list-form .wizard-interest-card:focus-visible,
#create-list-form .wizard-selected-interests button:focus-visible {
  outline: 2px solid var(--r2-primary);
  outline-offset: 4px;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-person-note {
  padding: 0;
  margin: 16px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-person-note > summary {
  display: list-item;
  min-height: 44px;
  padding: 12px 0;
  color: var(--r2-primary);
  font-weight: 700;
  cursor: pointer;
}
#create-list-form .wizard-person-note > summary::after { content: none !important; }
#create-list-form .wizard-custom-interest-entry {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}
#create-list-form .wizard-selected-interests,
#create-list-form #wizard-person-summary-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-selected-interests button {
  width: auto;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--r2-border-strong);
  border-radius: var(--r2-radius-sm);
  color: var(--r2-primary);
  background: var(--r2-primary-soft);
  font: inherit;
  overflow-wrap: anywhere;
  cursor: pointer;
}
body.reskin2-skin.dashboard-page #create-list-form .wizard-person-summary {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--r2-border);
  border-radius: var(--r2-radius);
  color: var(--r2-ink);
  background: var(--r2-surface);
  box-shadow: var(--r2-shadow-sm);
  overflow-wrap: anywhere;
}
#create-list-form .wizard-person-summary img { width: 80px; height: 80px; object-fit: contain; }
#create-list-form .wizard-person-summary :is(h2, p) { margin: 0; }
#create-list-form .wizard-person-summary h2 { font-size: 1rem; }
#create-list-form #wizard-person-summary-name { font-size: 1.5rem; white-space: pre-wrap; }
#create-list-form #wizard-person-summary-occasion { color: var(--r2-muted); font-size: .875rem; }
#create-list-form #wizard-person-summary-interests span {
  max-width: 100%;
  padding: 8px 12px;
  border-radius: var(--r2-radius-sm);
  background: var(--r2-primary-soft);
  font-size: .875rem;
}
#create-list-form :is(#wizard-interest-prompt, #wizard-person-summary-empty) { line-height: 1.5; }
#create-list-form :is(#wizard-interest-prompt, #wizard-selected-interests, #wizard-person-summary-age, #wizard-person-summary-empty)[hidden] { display: none !important; }
html[data-theme="dark"] body.reskin2-skin #create-list-form .wizard-person-summary,
html[data-theme="dark"] body.reskin2-skin #create-list-form .wizard-quick-essential {
  color: var(--reskin2-dark-text);
  border-color: var(--reskin2-dark-line);
  background: var(--reskin2-dark-surface);
}
html[data-theme="dark"] body.reskin2-skin #create-list-form .wizard-interest-card {
  color: var(--reskin2-dark-text) !important;
  border-color: var(--reskin2-dark-line) !important;
  background: var(--reskin2-dark-surface) !important;
}
html[data-theme="dark"] body.reskin2-skin #create-list-form .wizard-interest-card.is-active {
  border-color: var(--reskin2-dark-accent) !important;
  background: var(--reskin2-dark-surface-soft) !important;
}
html[data-theme="dark"] body.reskin2-skin #create-list-form .wizard-interest-card .wizard-interest-check {
  color: var(--reskin2-dark-bg) !important;
  background: var(--reskin2-dark-accent);
}
html[data-theme="dark"] body.reskin2-skin #create-list-form :is(.wizard-person-note > summary, .wizard-selected-interests button) {
  color: var(--reskin2-dark-text);
}
html[data-theme="dark"] body.reskin2-skin #create-list-form :is(#wizard-person-summary-interests span, .wizard-selected-interests button) {
  background: var(--reskin2-dark-surface-soft);
}
html[data-theme="dark"] body.reskin2-skin #create-list-form :is(.wizard-interest-card, .wizard-selected-interests button):focus-visible {
  outline-color: var(--reskin2-dark-accent);
}
@media (min-width: 640px) {
  body.reskin2-skin.dashboard-page #create-list-form #wizard-interest-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  body.reskin2-skin.dashboard-page #create-list-form[data-active-wizard-step="1"] {
    width: min(1040px, calc(100vw - 48px)) !important;
    max-width: 1040px !important;
  }
  body.reskin2-skin.dashboard-page #create-list-form[data-active-wizard-step="1"] .reskin2-wizard-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.reskin2-skin.dashboard-page #create-list-form[data-active-wizard-step="1"] .reskin2-wizard-main {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.reskin2-skin.dashboard-page #create-list-form .wizard-person-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  body.reskin2-skin.dashboard-page #create-list-form .wizard-person-summary { position: sticky; top: 96px; }
}
@media (min-width: 1200px) {
  body.reskin2-skin.dashboard-page #create-list-form #wizard-interest-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  #create-list-form :is(.wizard-interest-card, #wizard-age-value) { transition: none !important; }
}
