/* ── Design Tokens (extends base.css) ─────────────────────────── */

:root {
  --insights-blue: var(--blue-accent);
  --insights-navy: var(--navy-deep);
  --insights-cream: var(--cream);
  --insights-border: var(--border-dark);
  --insights-muted: var(--text-muted);
  --insights-danger: var(--danger);
  --insights-success: var(--success);
}

/* ── Layout ───────────────────────────────────────────────────── */

.insights-page {
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.insights-page__title {
  font-size: 1.75rem;
  color: var(--insights-navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.insights-page__subtitle {
  font-size: 1rem;
  color: var(--insights-muted);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ── Steps (shared) ───────────────────────────────────────────── */

.hidden {
  display: none;
}

/* Alpine: keep x-show'd sections hidden until Alpine initializes */
[x-cloak] {
  display: none !important;
}

/* ── Upload Step ──────────────────────────────────────────────── */

.upload-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-step__source-label,
.upload-step__source-selector,
.export-guide,
.upload-step__drop-zone,
.upload-step__privacy-note {
  animation: consent-rise .5s ease backwards;
}

.upload-step__source-label,
.upload-step__source-selector { animation-delay: .05s; }
.export-guide { animation-delay: .1s; }
.upload-step__drop-zone { animation-delay: .15s; }
.upload-step__privacy-note { animation-delay: .25s; }

.upload-step .insights-page__subtitle {
  margin-bottom: 1.25rem;
}

.export-guide {
  width: 100%;
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.export-guide__summary {
  text-align: center;
  color: var(--insights-muted);
  font-size: 0.95rem;
}

.export-guide__summary:hover {
  color: var(--insights-navy);
  text-decoration: underline;
}

.export-guide__summary:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.export-guide__panel {
  margin-top: 0.85rem;
  padding: 1.15rem 1.25rem 1.25rem;
  background-color: var(--insights-cream);
  border: 1px solid var(--insights-border);
  border-radius: 0.5rem;
}

.export-guide__platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
  border: 1px solid var(--insights-border);
  border-radius: 0.35rem;
  overflow: hidden;
  background-color: var(--warm-white);
}

.export-guide__platform {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background-color: transparent;
  color: var(--insights-muted);
  cursor: pointer;
}

.export-guide__platform + .export-guide__platform {
  border-left: 1px solid var(--insights-border);
}

.export-guide__platform[aria-pressed="true"] {
  background-color: var(--warm-white);
  color: var(--insights-navy);
  box-shadow: inset 0 -2px 0 var(--insights-navy);
}

.export-guide__platform:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: -2px;
}

.export-guide__steps {
  margin: 0;
  padding-left: 1.6rem;
  color: var(--insights-navy);
}

.export-guide__steps li {
  margin: 0 0 0.55rem;
  line-height: 1.45;
}

.export-guide__steps li:last-child {
  margin-bottom: 0;
}

.export-guide__steps li::marker {
  color: var(--insights-navy);
  font-size: 1.05rem;
}

.export-guide__note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--insights-muted);
  line-height: 1.5;
}

.upload-step__drop-zone {
  width: 100%;
  max-width: 34rem;
  border: 1.5px dashed var(--insights-blue);
  border-radius: 0.5rem;
  padding: 2.75rem 1.5rem 2.5rem;
  text-align: center;
  cursor: pointer;
  background-color: var(--warm-white);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.upload-step__drop-zone:hover,
.upload-step__drop-zone--drag-over {
  background-color: var(--insights-cream);
  border-color: var(--blue-light);
}

.upload-step__drop-zone--drag-over {
  box-shadow: 0 0 0 5px rgba(58, 123, 213, .12);
}

.upload-step__drop-zone:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.upload-step__drop-zone-glyph {
  display: block;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--insights-blue);
  margin-bottom: .65rem;
}

/* ── Privacy Note ─────────────────────────────────────────────── */

.upload-step__privacy-note {
  width: 100%;
  max-width: 32rem;
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--insights-border);
  font-size: 0.82rem;
  color: var(--insights-muted);
  line-height: 1.55;
  text-align: center;
}

.upload-step__privacy-note em {
  color: var(--insights-navy);
}

.upload-step__drop-zone-text {
  font-size: 1.05rem;
  color: var(--insights-navy);
  margin: 0;
}

.upload-step__drop-zone-hint {
  font-size: 0.82rem;
  color: var(--insights-muted);
  opacity: 0.8;
  margin: 0.5rem 0 0;
}

/* ── Loading State ────────────────────────────────────────────── */

.upload-step__spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--insights-border);
  border-top-color: var(--insights-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.upload-step__loading-text {
  font-size: 0.95rem;
  color: var(--insights-muted);
}

/* ── Progress Bar ─────────────────────────────────────────────── */

.progress-bar {
  width: 100%;
  max-width: 32rem;
  margin-top: 1.5rem;
}

.progress-bar__track {
  width: 100%;
  height: 0.5rem;
  background-color: var(--insights-border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  width: 0%;
  background-color: var(--insights-blue);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-bar__text {
  font-size: 0.85rem;
  color: var(--insights-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* ── File Size Warning ────────────────────────────────────────── */

.file-size-warning {
  width: 100%;
  max-width: 32rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--insights-cream);
  border: 1px solid var(--insights-border);
  border-radius: 0.25rem;
  font-size: 0.9rem;
  color: var(--insights-muted);
  text-align: center;
}

/* ── Error State ──────────────────────────────────────────────── */

.upload-step__error-card {
  width: 100%;
  max-width: 32rem;
  padding: 1.5rem;
  background-color: var(--warm-white);
  border: 1px solid var(--insights-danger);
  border-radius: 0.25rem;
}

.upload-step__error-text {
  color: var(--insights-danger);
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}

.upload-step__error-text::before {
  content: '⚠ ';
}

.btn-try-again {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  color: var(--insights-danger);
  background-color: transparent;
  border: 1px solid var(--insights-danger);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-try-again:hover {
  background-color: var(--insights-danger);
  color: var(--warm-white);
}

.btn-try-again:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

/* ── Summary Step ─────────────────────────────────────────────── */

.summary-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#summary-content { animation: consent-rise .5s ease .05s backwards; }
.summary-step .participant-editor { animation: consent-rise .5s ease .15s backwards; }
.summary-step__continue,
.summary-step__hint { animation: consent-rise .5s ease .25s backwards; }

.summary-card {
  width: 100%;
  max-width: 36rem;
  border: 1px solid var(--insights-border);
  border-radius: 0.5rem;
  padding: 1.4rem 1.75rem;
  background-color: var(--warm-white);
}

.summary-card__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.6rem 1.5rem;
  margin: 0;
}

.summary-card__label {
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--insights-muted);
}

.summary-card__value {
  margin: 0;
  font-size: 1.15rem;
  color: var(--insights-navy);
}

@media (min-width: 640px) {
  /* Stat strip: labels above values, one column per stat */
  .summary-card__grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: auto auto;
    gap: 0.3rem 2rem;
  }

  .summary-card__label { grid-row: 1; }

  .summary-card__value {
    grid-row: 2;
    font-size: 1.25rem;
  }
}

.summary-step__continue {
  margin-top: 1.75rem;
}

.summary-step__hint {
  font-size: 0.75rem;
  color: var(--insights-muted);
  text-align: center;
  margin: 0.75rem 0 0;
}

/* ── Generate Button ──────────────────────────────────────────── */

.btn-generate {
  display: block;
  width: 100%;
  max-width: 32rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--warm-white);
  background-color: var(--insights-navy);
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-generate:hover:not(:disabled) {
  background-color: var(--blue-accent);
}

.btn-generate:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.btn-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Shared wizard buttons ────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  color: var(--warm-white);
  background-color: var(--insights-navy);
  border: 1.5px solid var(--insights-navy);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--blue-accent);
  border-color: var(--blue-accent);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

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

.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  color: var(--insights-navy);
  background-color: transparent;
  border: 1.5px solid var(--insights-border);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--insights-blue);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

/* ── Generate Spinner Overlay ─────────────────────────────────── */

.generate-spinner-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 26, 48, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.generate-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.generate-spinner::before {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--insights-border);
  border-top-color: var(--warm-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.generate-spinner-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--warm-white);
}

/* ── Insights Step ────────────────────────────────────────────── */

.insights-step {
  display: flex;
  flex-direction: column;
}

.insights-step > .step-kicker,
.insights-step > .insights-page__title {
  align-self: center;
}

/* Shared editorial section heading (hairlines either side, small caps) */
.insights-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .78rem;
  font-weight: bold;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 2.25rem 0 1.25rem;
}

.insights-heading::before,
.insights-heading::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--insights-border);
}

/* ── Success Toast ────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.75rem 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  color: var(--warm-white);
  background-color: var(--insights-success);
  border-radius: 0.25rem;
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 48rem) {
  .insights-page {
    padding: 1.5rem 1rem;
  }

  .insight-card__chart {
    height: 12rem;
  }
}

@media (min-width: 48rem) {
  .insights-page {
    padding-top: 3rem;
  }
}

/* ── Reduced Motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .upload-step__spinner,
  .toast,
  .quote-card--loading::after,
  .quote-card--loading .loading-skeleton,
  .quotes-semantic-progress.indeterminate .quotes-semantic-progress__fill {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .quote-card--exiting,
  .quote-card--entering {
    transition: none;
    transform: none;
  }

  .quotes-cards {
    transition: none;
  }
}

/* ── Insights Layout ────────────────────────────────────────────
 *
 * CSS Grid (not multi-column). Multi-column rebalances whenever a
 * card’s height changes — opening “Show per-participant …” details
 * would reshuffle cards into the other column. Grid keeps placement
 * stable; expand only grows that card.
 */

#insights-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  #insights-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



/* ── Insight Cards (quiet editorial frames) ──────────────────── */

.insight-card {
  border: 1px solid var(--insights-border);
  border-radius: 0.15rem;
  padding: 1.2rem 1.25rem 1.15rem;
  margin-bottom: 0;
  background-color: var(--warm-white);
  box-shadow: none;
  transition: border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.insight-card:hover {
  border-color: rgba(11, 26, 48, 0.22);
}

.insight-card__heading {
  font-size: 1.05rem;
  color: var(--insights-navy);
  margin: 0 0 0.35rem;
  font-weight: normal;
  letter-spacing: -0.01em;
}

.insight-card__description {
  font-size: 0.9rem;
  color: var(--insights-muted);
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

/* Make charts a bit more compact in grid cards */
.insight-card__chart {
  height: 180px;
  width: 100%;
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  /* JS may resize this box per row count; clip drift rather than leak */
  overflow: hidden;
}

/* Annotation under trimmed row charts ("Showing top 26 of 50") */
.insight-card__chart-note {
  font-size: 0.75rem;
  color: var(--insights-muted);
  margin: 0.45rem 0 0;
  text-align: center;
}

/* Per-sender sub sections inside cards */
.insight-card--sender {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--insights-border);
}

.insight-card--sender__heading {
  font-size: 0.9rem;
  color: var(--insights-navy);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.insight-card--sender__chart {
  height: 130px;
}

/* Compact stats tables when they appear inside cards */
.stats-table {
  margin-top: 0.75rem;
}

.stats-table__heading {
  font-size: 0.9rem;
}

/* Make the details/summary for "more info" nice and low-profile */
.insight-card details {
  margin-top: 0.5rem;
  border-top: 1px dashed var(--insights-border);
  padding-top: 0.4rem;
}

.insight-card details summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--insights-blue);
  user-select: none;
  outline: none;
  padding: 0.1rem 0;
  line-height: 1.1;
}

.insight-card details summary:hover {
  text-decoration: underline;
}

.insight-card details[open] summary {
  margin-bottom: 0.5rem;
}

/* Slightly tighter tables inside expanded details */
.insight-card .stats-table__table {
  font-size: 0.85rem;
}

.insight-card .stats-table__th,
.insight-card .stats-table__td {
  padding: 0.4rem 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .insight-card__chart {
    height: 160px;
  }
}

/* ── Punchy Highlight Cards (magazine figures) ───────────────── */

.insight-card--punchy {
  align-items: flex-start;
  text-align: left;
  padding: 1rem 0.35rem 1.15rem;
  background: transparent;
  border-color: transparent;
  border-bottom: 1px solid var(--insights-border);
  border-radius: 0;
  /* Even row bottoms: number + label + optional 2-line caption */
  min-height: 8.25rem;
  height: 100%;
  box-sizing: border-box;
}

.insight-card--punchy:hover {
  border-color: transparent;
  border-bottom-color: rgba(11, 26, 48, 0.28);
}

.insight-card--punchy .insight-card__heading {
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 0.5rem 0 0.2rem;
  order: 2;
}

.insight-card--punchy .insight-card__header {
  display: contents;
}

.insight-card--punchy .insight-card__description {
  font-size: 0.78rem;
  margin-bottom: 0;
  color: var(--insights-muted);
  order: 3;
  line-height: 1.35;
  /* Cap caption height so uneven copy doesn't break the grid rhythm */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.punchy-stat {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.3rem;
  line-height: 1;
  order: 1;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--insights-border);
  width: 100%;
  min-height: 2.6rem;
}

.punchy-stat__number {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: normal;
  color: var(--insights-navy);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  /* Long words (most-used word) shouldn't blow the column */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.punchy-stat__unit {
  font-size: 0.82rem;
  font-weight: normal;
  color: var(--insights-muted);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* ── Highlights Wrapper (Punchy cards + Standout Quotes) ───── */

#highlights-wrapper {
  margin-bottom: 1.5rem;
}

/*
 * Shared magazine figure grid (headlines + personas).
 * Always 2 cols on small screens; from 40rem up, data-cols (2–5)
 * is chosen so the count divides evenly.
 */
.figure-grid,
#punchy-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 0;
  align-items: stretch;
  margin-bottom: 0.75rem;
}

@media (min-width: 40rem) {
  .figure-grid,
  #punchy-cards {
    column-gap: 1.35rem;
  }

  .figure-grid[data-cols="3"],
  #punchy-cards[data-cols="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figure-grid[data-cols="4"],
  #punchy-cards[data-cols="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .figure-grid[data-cols="5"],
  #punchy-cards[data-cols="5"],
  .figure-grid:not([data-cols]),
  #punchy-cards:not([data-cols]) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ── Quote Highlights (for printed gifts) ───────────────────── */

.quotes-section {
  margin-top: 1rem;
}

.quotes-section--lens {
  --lens-accent: var(--insights-navy);
  --lens-soft: rgba(11, 26, 48, 0.04);
  margin-top: 1.5rem;
  padding: 1rem 1rem 0.25rem;
  border: 1px solid var(--insights-border);
  border-left: 4px solid var(--lens-accent);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, var(--lens-soft), transparent 70%);
}

.quotes-section--lens[data-lens="romantic"] {
  --lens-accent: var(--lens-romantic);
  --lens-soft: var(--lens-romantic-soft);
}

.quotes-section--lens[data-lens="friend_group"] {
  --lens-accent: var(--lens-friends);
  --lens-soft: var(--lens-friends-soft);
}

.quotes-section--lens[data-lens="work_group"] {
  --lens-accent: var(--lens-work);
  --lens-soft: var(--lens-work-soft);
}

.quotes-section__heading {
  margin: 1.25rem 0 0.75rem;
}

.quotes-section--lens .quotes-section__heading {
  margin-top: 0.15rem;
}

.quotes-section__empty {
  font-size: 0.85rem;
  color: var(--insights-muted);
  margin: 0.5rem 0 0;
  line-height: 1.45;
}

.quotes-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: .78rem;
  font-weight: bold;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 0;
}

.quotes-section__title::before,
.quotes-section__title::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--insights-border);
}

/* Main-flow CTA under the quote cards */
.quotes-find-more {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin: 1.35rem auto 0.5rem;
  padding: 0.7rem 1.4rem;
  text-align: center;
}

/* Milestones — separate from Standout; hard timeline rules only */
.specialty-quotes-section {
  margin-top: 2.25rem;
  padding-top: 0.25rem;
}

.specialty-quotes-section__heading {
  margin: 0 0 1rem;
}

.specialty-quotes-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 0 0 0.4rem;
}

.specialty-quotes-section__title::before,
.specialty-quotes-section__title::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--insights-border);
}

.specialty-quotes-section__lede {
  margin: 0;
  font-size: 0.85rem;
  color: var(--insights-muted);
  line-height: 1.45;
  text-align: center;
}

.specialty-quotes-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.specialty-quote {
  padding: 1rem 0.9rem 0.85rem;
  border: 1px solid var(--insights-border);
  border-radius: 0.4rem;
  background: linear-gradient(180deg, rgba(11, 26, 48, 0.03), transparent 80%);
}

.specialty-quote__kind {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 0 0 0.3rem;
}

.specialty-quote__blurb {
  font-size: 0.8rem;
  color: var(--insights-muted);
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.specialty-quote__meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--insights-muted);
  margin-top: 0.35rem;
}

.quote-card--specialty {
  border-bottom: none;
  padding: 0.15rem 0 0;
}

.quote-card--specialty .quote-card__text {
  font-size: 1.05rem;
}

/* Pull quotes — print convention, not tinted status cards */
.quote-card {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--insights-border);
  border-radius: 0;
  padding: 1.15rem 0.25rem 1.15rem 0;
  margin-bottom: 0;
  box-shadow: none;
}

.quote-card::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.75rem;
  line-height: 0.7;
  color: var(--insights-navy);
  opacity: 0.18;
  margin-bottom: 0.35rem;
  pointer-events: none;
}

.quote-card__text {
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--insights-navy);
  font-style: italic;
  margin-bottom: 0.55rem;
}

.quote-card__attribution {
  font-size: 0.78rem;
  color: var(--insights-muted);
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.04em;
}

.quote-card__attribution::before {
  content: "—\00a0";
}

.quote-card__context {
  font-size: 0.72rem;
  color: var(--insights-muted);
  margin-top: 0.25rem;
  line-height: 1.35;
  opacity: 0.85;
}

/* Loading state for quote cards */
.quote-card--loading {
  background: transparent;
  border-style: solid;
  position: relative;
  overflow: hidden;
}

.quote-card--loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  animation: quote-shimmer 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes quote-shimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* ── Quote loading skeleton ──────────────────────────────────── */

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.quote-card--loading .loading-skeleton {
  background: linear-gradient(90deg, rgba(11, 26, 48, 0.06) 25%, rgba(11, 26, 48, 0.1) 50%, rgba(11, 26, 48, 0.06) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.quote-card--loading .quote-card__text.loading-skeleton {
  height: 1.15em;
  border-radius: 2px;
  margin-bottom: 0.65rem;
  width: 92%;
}

.quote-card--loading .quote-card__attribution.loading-skeleton {
  height: 0.65em;
  border-radius: 2px;
  margin-bottom: 0.35rem;
  width: 38%;
}

.quote-card--loading .quote-card__context.loading-skeleton {
  height: 0.55em;
  border-radius: 2px;
  width: 65%;
}

/* ── Personas Section ───────────────────────────────────────── */

.personas-section {
  margin: 1.25rem 0 0.5rem;
}

.personas-section__title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 2.25rem 0 0.35rem;
}

.personas-section__title::before,
.personas-section__title::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--insights-border);
}

.personas-section__subtitle {
  font-size: 0.82rem;
  color: var(--insights-muted);
  text-align: center;
  margin: 0 0 1rem;
}

/* Wider cells than headlines — badges need room to read as badges */
.personas-grid.figure-grid {
  gap: 0.85rem 1rem;
  margin-bottom: 0.5rem;
}

.personas-grid.figure-grid[data-cols="3"],
.personas-grid.figure-grid[data-cols="4"],
.personas-grid.figure-grid[data-cols="5"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 40rem) {
  .personas-grid.figure-grid[data-cols="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personas-grid.figure-grid[data-cols="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Cap personas at 3 cols even if data-cols says 4/5 */
  .personas-grid.figure-grid[data-cols="4"],
  .personas-grid.figure-grid[data-cols="5"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.persona-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid var(--insights-border);
  border-radius: 0.2rem;
  background: var(--warm-white);
  height: 100%;
  box-sizing: border-box;
}

/* Person — clear but not billboard-sized */
.persona-card__name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--insights-navy);
}

/*
 * Merit badge: solid navy chip with a recessed icon mark.
 * Sans on the label so it reads as a stamped award, not body copy.
 */
.persona-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.28rem 0.7rem 0.28rem 0.28rem;
  border: none;
  border-radius: 999px;
  background: var(--insights-navy);
  color: var(--warm-white);
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(11, 26, 48, 0.12);
}

.persona-card__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  line-height: 1;
}

.persona-card__badge-label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--warm-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.1rem;
}

.persona-card__reason {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--insights-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Loading dot animation */
.quotes-section__title .quotes-loading-dots {
  display: inline-flex;
  gap: 1px;
  margin-left: 4px;
  font-size: 1.1em;
  letter-spacing: 1px;
}

.quotes-section__title .quotes-loading-dots span {
  animation: quote-dot-bounce 1.2s infinite;
  display: inline-block;
}

.quotes-section__title .quotes-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.quotes-section__title .quotes-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes quote-dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}

/* ── Dismiss button (✕) in top-right corner ─────────────────── */

.quote-card__dismiss {
  position: absolute;
  top: 0;
  right: -0.35rem;
  /* ≥44px touch target; icon stays visually light */
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--insights-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, color 0.15s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.quote-card__dismiss:hover,
.quote-card__dismiss:focus-visible {
  color: var(--insights-navy);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .quote-card__dismiss {
    width: 1.75rem;
    height: 1.75rem;
    top: 0.25rem;
    right: 0;
    opacity: 0.45;
  }
}

/* Exit animation for a card being dismissed */
.quote-card--exiting {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Enter animation for a newly inserted replacement card */
.quote-card--entering {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional: keep the cards container from collapsing during animations */
.quotes-cards {
  min-height: 60px;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

/* Current cut dimmed while MiniLM / explore pass still polishing */
.quotes-section--refining .quotes-cards {
  opacity: 0.58;
  filter: grayscale(0.28);
  /* Don't dismiss / interact with cards that are about to be replaced */
  pointer-events: none;
}

.quotes-section--refining .quote-card__text {
  color: var(--insights-muted);
}

.quotes-section--refining .quote-card::before {
  opacity: 0.12;
}

.quotes-section--refining .quotes-find-more:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* ── Semantic analysis progress (while computing global + local distinctiveness) ── */
.quotes-semantic-progress {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.75rem;
  color: var(--insights-muted);
}

.quotes-semantic-progress__label {
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.quotes-semantic-progress__bar {
  height: 3px;
  background: var(--insights-border);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

/* Thicker track on phones so the Again! pass is obvious */
@media (max-width: 48rem) {
  .quotes-semantic-progress__bar {
    height: 5px;
    border-radius: 1px;
  }

  .quotes-semantic-progress__label {
    font-size: 0.8rem;
  }

  .quotes-semantic-progress__text {
    font-size: 0.75rem;
  }
}

.quotes-semantic-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--insights-navy);
  transition: width 0.2s linear;
  border-radius: 0;
}

.quotes-semantic-progress__text {
  font-size: 0.68rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

/* Indeterminate animation for the pre-rendered "Starting..." state */
.quotes-semantic-progress.indeterminate .quotes-semantic-progress__fill {
  width: 40%;
  background: var(--insights-navy);
  opacity: 0.55;
  animation: semantic-progress-indeterminate 1.2s linear infinite;
}

@keyframes semantic-progress-indeterminate {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

/* ── Gift / Mug Link in Quote Cards ─────────────────────────── */

.quote-card__gift {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--insights-border);
  font-size: 0.75rem;
  color: var(--insights-muted);
}

.quote-card__mug-link {
  color: var(--insights-blue);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}

.quote-card__mug-link:hover {
  color: var(--insights-navy);
}

/* ── Gift Modal ─────────────────────────────────────────────── */





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















/* ── Participant Editor ─────────────────────────────────────── */

.participant-editor {
  width: 100%;
  max-width: 36rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: var(--warm-white);
  border: 1px solid var(--insights-border);
  border-radius: 0.5rem;
}

.participant-editor__header {
  margin-bottom: 0.75rem;
}

.participant-editor__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--insights-navy);
  margin: 0 0 0.25rem;
}

.participant-editor__hint {
  font-size: 0.8rem;
  color: var(--insights-muted);
  margin: 0;
}

/* ── Wizard Steps ─────────────────── */

.consent-step {
  max-width: 44rem;
  margin: 0 auto;
}

.step-kicker {
  text-align: center;
  font-size: .72rem;
  font-weight: bold;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--insights-blue);
  margin: .5rem 0 .85rem;
  animation: consent-rise .5s ease backwards;
}

/* "How it works" — editorial numbered columns */

.how-it-works__heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .78rem;
  font-weight: bold;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--insights-muted);
  margin: 2.75rem 0 1.5rem;
}

.how-it-works__heading::before,
.how-it-works__heading::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--insights-border);
}

.how-steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.how-step {
  border-top: 2px solid var(--insights-navy);
  padding-top: .9rem;
  animation: consent-rise .55s ease backwards;
}

.how-step:nth-child(1) { animation-delay: .05s; }
.how-step:nth-child(2) { animation-delay: .15s; }
.how-step:nth-child(3) { animation-delay: .25s; }

.how-step__num {
  display: block;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--insights-blue);
  margin-bottom: .45rem;
}

.how-step__title {
  font-size: 1rem;
  color: var(--insights-navy);
  margin: 0 0 .35rem;
}

.how-step__text {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--insights-muted);
  margin: 0;
}

/* ── Lens section (results step) ─────────────────────────────── */

.lens-section {
  max-width: 32rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.lens-section__copy {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--insights-muted);
}

.lens-picker {
  display: inline-flex;
  padding: 0.15rem;
  border: 1px solid var(--insights-border);
  border-radius: 999px;
  background: var(--warm-white, #fff);
  gap: 0.1rem;
}

.lens-picker__option {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--insights-muted);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lens-picker__option:hover {
  color: var(--insights-navy);
}

.lens-picker__option:focus-visible {
  outline: 2px solid var(--insights-blue);
  outline-offset: 2px;
}

.lens-picker__option.is-active {
  background: var(--insights-navy);
  color: #fff;
}

/* ── Lens-specific content (panels, chips, cards) ─────────────── */

:root {
  --lens-romantic: #b54a6a;
  --lens-friends: #2f6f4e;
  --lens-work: #3d4f66;
  --lens-romantic-soft: rgba(181, 74, 106, 0.08);
  --lens-friends-soft: rgba(47, 111, 78, 0.08);
  --lens-work-soft: rgba(61, 79, 102, 0.1);
}

.lens-host:empty {
  display: none;
}

.lens-host:not(:empty) {
  margin: 1.75rem 0 2rem;
}

.lens-panel {
  --lens-accent: var(--insights-navy);
  --lens-soft: rgba(11, 26, 48, 0.05);
  border: 1px solid var(--insights-border);
  border-left: 4px solid var(--lens-accent);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, var(--lens-soft), var(--warm-white, #fff) 42%);
  padding: 1.15rem 1.15rem 1.25rem;
}

.lens-panel[data-lens="romantic"] {
  --lens-accent: var(--lens-romantic);
  --lens-soft: var(--lens-romantic-soft);
}

.lens-panel[data-lens="friend_group"] {
  --lens-accent: var(--lens-friends);
  --lens-soft: var(--lens-friends-soft);
}

.lens-panel[data-lens="work_group"] {
  --lens-accent: var(--lens-work);
  --lens-soft: var(--lens-work-soft);
}

.lens-panel__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.lens-panel__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--insights-navy);
  line-height: 1.25;
}

.lens-panel__copy {
  margin: 0;
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--insights-muted);
}

.lens-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--lens-accent, var(--insights-navy));
  line-height: 1.2;
}

.lens-chip[data-lens="romantic"],
.lens-panel[data-lens="romantic"] .lens-chip,
.insight-card--lens[data-lens="romantic"] .lens-chip {
  background: var(--lens-romantic);
}

.lens-chip[data-lens="friend_group"],
.lens-panel[data-lens="friend_group"] .lens-chip,
.insight-card--lens[data-lens="friend_group"] .lens-chip {
  background: var(--lens-friends);
}

.lens-chip[data-lens="work_group"],
.lens-panel[data-lens="work_group"] .lens-chip,
.insight-card--lens[data-lens="work_group"] .lens-chip {
  background: var(--lens-work);
}

.lens-chip--dense {
  font-size: 0.62rem;
  padding: 0.16rem 0.5rem;
  letter-spacing: 0.05em;
}

.lens-punchy-grid {
  margin: 0;
}

.insight-card--lens {
  position: relative;
  border-color: color-mix(in srgb, var(--lens-accent, var(--insights-border)) 35%, var(--insights-border));
}

.insight-card--lens[data-lens="romantic"] {
  --lens-accent: var(--lens-romantic);
}

.insight-card--lens[data-lens="friend_group"] {
  --lens-accent: var(--lens-friends);
}

.insight-card--lens[data-lens="work_group"] {
  --lens-accent: var(--lens-work);
}

.insight-card--lens > .lens-chip {
  margin-bottom: 0.45rem;
}

.lens-deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .lens-deep-dive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lens-rank-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lens-rank-list__item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(11, 26, 48, 0.06);
}

.lens-rank-list__item:last-child {
  border-bottom: none;
}

.lens-rank-list__name {
  color: var(--insights-navy);
  font-weight: 500;
}

.lens-rank-list__value {
  color: var(--insights-muted);
  white-space: nowrap;
}

/*
 * Lens personas share the same layout as universal cards (name → badge → reason).
 * Differentiation is colour only: soft wash + accent border + tinted merit badge.
 * No floating lens-chip — that made mixed grids look uneven.
 */
.persona-card--lens {
  border-color: color-mix(in srgb, var(--lens-accent, var(--insights-border)) 45%, var(--insights-border));
  background: linear-gradient(
    165deg,
    var(--lens-soft, transparent) 0%,
    var(--warm-white, #fff) 48%
  );
  box-shadow: inset 3px 0 0 0 var(--lens-accent, var(--insights-navy));
}

.persona-card--lens[data-lens="romantic"] {
  --lens-accent: var(--lens-romantic);
  --lens-soft: var(--lens-romantic-soft);
}

.persona-card--lens[data-lens="friend_group"] {
  --lens-accent: var(--lens-friends);
  --lens-soft: var(--lens-friends-soft);
}

.persona-card--lens[data-lens="work_group"] {
  --lens-accent: var(--lens-work);
  --lens-soft: var(--lens-work-soft);
}

.persona-card__badge--lens {
  background: var(--lens-accent, var(--insights-navy));
}














.btn-small {
  font-size: .72rem;
  padding: .15rem .45rem;
  border: 1px solid var(--insights-border);
  background: #fff;
  border-radius: .25rem;
  cursor: pointer;
}

.btn-small--danger {
  border-color: #c66;
  color: #a33;
}

/* ── Merch Configurator Modal (extends gift modal styles) ─────── */








.form-label {
  display: block;
  font-size: .78rem;
  color: var(--insights-muted);
  margin-bottom: .2rem;
}

.form-input {
  width: 100%;
  padding: .35rem .5rem;
  border: 1px solid var(--insights-border);
  border-radius: .25rem;
  font-size: .9rem;
}




.participant-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.participant-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid var(--insights-border);
  border-radius: 0.375rem;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.participant-row--excluded {
  opacity: 0.6;
  background: #f8f8f6;
}

.participant-row__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.participant-name-input {
  flex: 1;
  padding: 0.35rem 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  border: 1px solid var(--insights-border);
  border-radius: 0.25rem;
  background: white;
}

.participant-name-input:focus {
  outline: none;
  border-color: var(--insights-blue);
}

.participant-name-input:disabled {
  background: #f0f0ee;
  color: #666;
  cursor: not-allowed;
}

.participant-exclude-btn {
  padding: 0.35rem 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  color: var(--insights-muted);
  border: 1px solid var(--insights-border);
  border-radius: 0.25rem;
  background: white;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.participant-exclude-btn:hover {
  background: #f8f4f0;
}

.participant-exclude-btn.is-excluded {
  background: #e8e4df;
  border-color: #c8b8a8;
  color: #5c4a3a;
}

.participant-row__meta {
  font-size: 0.75rem;
  color: var(--insights-muted);
  font-style: italic;
  padding-left: 0.1rem;
}

.participant-editor__summary {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: #5c4a3a;
  background-color: #f4ede4;
  border: 1px solid #d9c9b8;
  border-radius: 0.375rem;
  line-height: 1.3;
}
