.layout-report .screen-content { padding-bottom: 100px; }

/* ── 入场编排 anim-seq ── */
@keyframes reportFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes insightGlowDraw {
  from { width: 0; opacity: 0.45; filter: blur(1px); }
  to { width: calc(var(--level, 3) * 20%); opacity: 1; filter: blur(0); }
}

.report-shell .anim-seq-1 { animation: reportFadeUp 0.55s var(--ease-soft) 0.05s both; }
.report-shell .anim-seq-2 { animation: reportFadeUp 0.55s var(--ease-soft) 0.12s both; }
.report-shell .anim-seq-3 { animation: reportFadeUp 0.55s var(--ease-soft) 0.28s both; }
.report-shell .anim-seq-4 { animation: reportFadeUp 0.65s var(--ease-soft) 0.38s both; }
.report-shell .anim-seq-5 { animation: reportFadeUp 0.5s var(--ease-soft) 0.5s both; }
.report-shell .anim-seq-6 { animation: reportFadeUp 0.5s var(--ease-soft) 0.6s both; }
.report-shell .anim-seq-7 { animation: reportFadeUp 0.5s var(--ease-soft) 0.72s both; }
.report-shell .anim-seq-8 { animation: reportFadeUp 0.5s var(--ease-soft) 0.84s both; }

.report-shell.is-glow-ready .insight-glow-fill {
  animation: insightGlowDraw 0.75s var(--ease-soft) both;
  animation-delay: calc(0.2s + var(--i, 0) * 55ms);
}

.report-shell .anim-delay-worth {
  animation-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .report-shell [class*="anim-seq"],
  .report-shell.is-glow-ready .insight-glow-fill {
    animation: none;
  }
}

/* ── 页面节奏 ── */
.report-shell {
  --report-section-gap: 22px;
}

.report-shell .insight-stack {
  margin-bottom: var(--report-section-gap);
}

/* ── Meta · 单行刊头 ── */
.report-meta {
  margin-bottom: var(--report-section-gap, 22px);
  padding-bottom: 13px;
  border-bottom: none;
  background: linear-gradient(var(--border-subtle), var(--border-subtle)) left bottom / 100% 1px no-repeat;
}

.report-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  min-width: 0;
}

.report-meta-name {
  flex-shrink: 0;
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand);
  line-height: 1.2;
}

.report-meta-context {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.report-meta-dot {
  font-size: 10px;
  line-height: 1;
  color: var(--text-tertiary);
  opacity: 0.45;
  user-select: none;
}

.report-meta-date {
  font-family: var(--font-family-data);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.report-meta-scene {
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: rgba(212, 165, 116, 0.12);
  color: #9a7340;
  font-family: var(--font-family-base);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Spark section ── */
.spark-section-head {
  margin-top: 2px;
  margin-bottom: 12px;
}

.spark-section-head .section-title { margin: 0 0 5px; }

.spark-section-head .section-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

.section-icon {
  display: inline-block;
  font-size: 13px;
  margin-right: 2px;
  vertical-align: -0.05em;
}

.section-icon--spark { color: var(--spark); }
.section-icon--grow { color: var(--grow); }

.report-shell .section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.report-shell .section-title--notice {
  margin-bottom: 10px;
}

.spark-card--hero {
  position: relative;
  margin-bottom: 10px;
  padding: 14px 14px 14px 18px;
  border-left-width: 4px;
  box-shadow:
    var(--shadow-glow),
    0 2px 12px rgba(212, 165, 116, 0.1);
  overflow: hidden;
}

.report-shell .spark-card,
.report-shell .notice-card {
  transition:
    box-shadow 0.28s var(--ease-soft),
    transform 0.2s var(--ease-soft),
    border-color 0.28s ease;
}

@media (hover: hover) {
  .report-shell .context-clip-trigger:hover {
    transform: translateY(-1px);
  }

  .report-shell .spark-card:hover {
    box-shadow:
      var(--shadow-glow),
      0 4px 18px rgba(212, 165, 116, 0.14);
  }

  .report-shell .notice-card:hover {
    box-shadow: 0 4px 16px rgba(107, 144, 128, 0.12);
  }
}

.report-shell .context-clip-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-light), var(--shadow-glow);
}

.report-shell .notice-card.context-clip-trigger:focus-visible {
  box-shadow: 0 0 0 2px rgba(107, 144, 128, 0.45), var(--shadow-card);
}

.insight-card--worth:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(123, 167, 188, 0.45),
    0 6px 24px rgba(123, 167, 188, 0.1);
}

.spark-card--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 0% 50%, rgba(242, 204, 143, 0.18), transparent 55%);
  pointer-events: none;
}

.spark-card--hero .quote {
  font-size: 16px;
  line-height: 1.55;
}

.spark-card--hero .desc {
  font-size: 12px;
  line-height: 1.4;
}

.spark-card--hero.is-dim-linked,
.spark-card.is-dim-linked {
  box-shadow: 0 0 0 2px var(--spark), var(--shadow-glow);
}

.notice-card.is-dim-linked {
  box-shadow: 0 0 0 2px var(--notice), var(--shadow-card);
}

/* ── 观察区 · 双卡同族 ── */
.insight-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-stack .insight-card.insight-card--lux {
  margin-bottom: 0;
}

.insight-card.insight-card--lux {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(253, 246, 236, 0.55) 100%);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 16px rgba(44, 54, 57, 0.04),
    0 8px 32px rgba(196, 112, 75, 0.06);
}

.insight-card--lux::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 100% -20%, rgba(232, 168, 124, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(107, 144, 128, 0.05), transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

.insight-card-head {
  position: relative;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(212, 165, 116, 0.14);
}

.insight-card-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
}

.insight-card-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ── 自我价值感 · 同族副卡 ── */
.insight-card--worth {
  border-color: rgba(123, 167, 188, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 14px rgba(44, 54, 57, 0.035),
    0 6px 24px rgba(123, 167, 188, 0.07);
  transition:
    transform 0.22s var(--ease-soft),
    box-shadow 0.22s var(--ease-soft);
}

@media (hover: hover) {
  .insight-card--worth:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      0 4px 18px rgba(44, 54, 57, 0.04),
      0 8px 28px rgba(123, 167, 188, 0.12);
  }

  .insight-card--worth:hover .insight-worth-nav {
    gap: 6px;
  }
}

.insight-card--worth::before {
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(123, 167, 188, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(107, 144, 128, 0.04), transparent 50%);
}

.insight-card--worth::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, rgba(123, 167, 188, 0.35), var(--worth));
  pointer-events: none;
}

.insight-card--worth:active {
  transform: scale(0.992);
}

.insight-card--worth .insight-card-head {
  border-bottom: none;
  padding-bottom: 6px;
}

.insight-worth-nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--worth);
  letter-spacing: 0.02em;
  transition: gap 0.2s var(--ease-soft);
}

.insight-worth-nav i {
  font-size: 9px;
  opacity: 0.8;
}

.insight-worth-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0;
  padding: 0 18px 14px;
}

.insight-worth-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.insight-worth-stat dt {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
}

.insight-worth-stat dd {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.insight-worth-stat dd.is-rise {
  color: var(--grow);
}

.insight-worth-stat dd.is-ease {
  color: var(--worth);
}

.insight-worth-stat dd.is-watch {
  color: #9a7340;
}

.insight-lattice {
  position: relative;
}

.insight-lattice-more {
  border-top: 1px solid rgba(212, 165, 116, 0.1);
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition:
    opacity 0.32s var(--ease-soft),
    max-height 0.38s var(--ease-soft);
}

.insight-lattice-more.is-revealed {
  opacity: 1;
  max-height: 120px;
}

@media (prefers-reduced-motion: reduce) {
  .insight-lattice-more {
    transition: none;
  }
}

.insight-row {
  display: grid;
  grid-template-columns: minmax(4.8em, 5.4em) 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 18px;
  border: none;
  border-bottom: 1px solid rgba(44, 54, 57, 0.045);
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-soft),
    padding-left 0.25s var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}

.insight-lattice-primary .insight-row:last-child,
.insight-lattice-more .insight-row:last-child {
  border-bottom: none;
}

@media (hover: hover) {
  .insight-row:hover {
    background: rgba(253, 246, 236, 0.65);
    padding-left: 20px;
  }
}

.insight-row:active {
  background: rgba(253, 246, 236, 0.85);
}

.insight-row.is-dim-active {
  background: linear-gradient(90deg, rgba(253, 246, 236, 0.95) 0%, rgba(253, 246, 236, 0.2) 100%);
  padding-left: 20px;
}

.insight-row.is-dim-active .insight-row-label {
  color: var(--brand);
}

.insight-row.is-dim-active .insight-glow-fill {
  box-shadow: 0 0 12px var(--spark-glow);
}

.insight-row:focus-visible {
  outline: none;
  background: rgba(253, 246, 236, 0.75);
  box-shadow: inset 3px 0 0 var(--brand-light);
}

.insight-card--lux .insight-expand-btn:focus-visible {
  outline: none;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand-light);
}

.insight-row-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.insight-row-track {
  position: relative;
  height: 2px;
  border-radius: var(--radius-full);
  background: rgba(232, 223, 212, 0.75);
  overflow: visible;
}

.insight-row-track::after {
  content: "";
  position: absolute;
  inset: -3px 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.08), transparent);
  pointer-events: none;
}

.insight-glow-fill {
  display: block;
  height: 100%;
  width: calc(var(--level, 3) * 20%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(232, 201, 154, 0.55) 0%, var(--spark) 55%, var(--brand-light) 100%);
  box-shadow: 0 0 10px rgba(212, 165, 116, 0.35);
  transition: box-shadow 0.25s var(--ease-soft);
}

.insight-row-hint {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  white-space: nowrap;
  text-align: right;
}

.insight-card-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(212, 165, 116, 0.12);
  background: rgba(255, 252, 248, 0.55);
}

.insight-card--lux .insight-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin: 0;
  padding: 8px 18px 6px;
  border: none;
  border-top: 1px solid rgba(44, 54, 57, 0.04);
  border-bottom: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.insight-card--lux .insight-expand-btn:hover {
  color: var(--brand);
  background: rgba(253, 246, 236, 0.4);
}

.insight-card--lux .insight-expand-btn i {
  font-size: 9px;
  transition: transform 0.25s var(--ease-soft);
}

.insight-card--lux .insight-expand-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.insight-card--lux .insight-trend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--grow);
  letter-spacing: 0.02em;
  border-top: none;
}

.insight-card--lux .insight-trend i {
  font-size: 10px;
  opacity: 0.85;
}

/* ── Section rhythm ── */
.report-section-divider {
  height: 1px;
  margin: 26px 0 22px;
  background: linear-gradient(90deg, transparent, var(--divider) 15%, var(--divider) 85%, transparent);
  opacity: 0.85;
}

.section-title--notice { margin-top: 0; }

.section-title { margin: 20px 0 12px; }

.worth-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--worth);
  text-decoration: none;
  margin-bottom: 24px;
  font-weight: 500;
}

.report-cta-spacer { height: 72px; }

.report-cta-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(251, 247, 242, 0.88) 28%, rgba(251, 247, 242, 0.97) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 15;
}

.report-cta-bar .btn-primary {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease-soft), box-shadow 0.2s ease;
}

.report-cta-bar .btn-primary:active {
  transform: scale(0.985);
}

.report-cta-bar .btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.35);
}

.context-replay--full .context-replay-play {
  background: var(--worth);
}

.context-replay--full .context-replay-progress-fill {
  background: linear-gradient(90deg, var(--worth), var(--brand));
}

.context-clip-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: none;
  font: inherit;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.context-clip-trigger:active { transform: scale(0.985); }

.context-clip-trigger.is-active {
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-glow);
}

.notice-card.context-clip-trigger.is-active {
  box-shadow: 0 0 0 2px var(--notice), var(--shadow-card);
}

.context-clip-main { flex: 1; min-width: 0; }

.quote-speaker {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.quote-speaker.tag-child {
  background: rgba(196, 112, 75, 0.12);
  color: var(--brand);
}

.quote-speaker.tag-parent {
  background: rgba(139, 157, 175, 0.15);
  color: #8B9DAF;
}

.context-clip-main .quote,
.context-clip-main .desc { margin: 0; }

.context-clip-main .quote { margin-bottom: 6px; }

.context-clip-hint {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.62);
  padding: 6px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 165, 116, 0.12);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.context-clip-hint i {
  font-size: 9px;
  opacity: 0.85;
}

@media (hover: hover) {
  .context-clip-trigger:hover .context-clip-hint {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(212, 165, 116, 0.22);
  }
}

.notice-card .context-clip-hint {
  color: var(--notice);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(107, 144, 128, 0.14);
}

@media (hover: hover) {
  .notice-card.context-clip-trigger:hover .context-clip-hint {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(107, 144, 128, 0.22);
  }
}

body.context-replay-open .layout-report .screen-content {
  overflow: hidden;
}

body.context-replay-open.context-replay--peek .layout-report .screen-content {
  padding-bottom: 228px;
}

body.context-replay-open.context-replay--expanded .layout-report .screen-content {
  padding-bottom: 88px;
}

.context-replay-backdrop {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: rgba(38, 32, 28, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.28s ease;
}

body.context-replay--expanded .context-replay-backdrop.is-visible {
  background: rgba(38, 32, 28, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body.context-replay-open .top-header-shell {
  opacity: 0.88;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.context-replay-backdrop.is-hidden {
  display: none;
}

.context-replay-backdrop.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.xiaoxia-replay-presence {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: default;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.36s var(--ease-soft),
    padding 0.36s var(--ease-soft);
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.context-replay-backdrop .xiaoxia-replay-presence {
  position: absolute;
  left: 50%;
  top: calc(50% - 106px);
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 48px);
}

.context-replay--expanded .xiaoxia-replay-presence {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  margin: auto -16px 0;
  width: calc(100% + 32px);
  padding: 14px 16px 8px;
  border-top: none;
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(253, 246, 236, 0) 0%,
    rgba(253, 246, 236, 0.85) 18%,
    var(--spark-bg) 100%
  );
}

.context-replay--expanded .xiaoxia-replay-figure-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 168, 124, 0.28) 0%,
    rgba(253, 246, 236, 0.55) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: -1;
}

.context-replay--expanded .xiaoxia-replay-figure-wrap {
  width: 96px;
}

.context-replay--expanded .xiaoxia-replay-figure {
  width: 96px;
  filter:
    drop-shadow(0 6px 18px rgba(196, 112, 75, 0.18))
    drop-shadow(0 2px 8px rgba(44, 54, 57, 0.1));
}

.xiaoxia-replay-presence.is-listen-active .xiaoxia-replay-copy,
.xiaoxia-replay-presence.is-chat-ready {
  pointer-events: auto;
  cursor: pointer;
}

.xiaoxia-replay-presence.is-listen-active .xiaoxia-replay-copy:active {
  opacity: 0.88;
}

.xiaoxia-replay-presence.is-listen-active [data-mode="listen"].is-visible::after,
.xiaoxia-replay-presence.is-chat-ready [data-mode="chat"].is-visible::after {
  content: ' ›';
  opacity: 0.82;
}

.xiaoxia-replay-presence.is-chat-ready:active .xiaoxia-replay-figure-wrap {
  transform: scale(0.97);
  transition: transform 0.15s var(--ease-soft);
}

.xiaoxia-replay-presence.is-chat-ready .xiaoxia-replay-figure-wrap {
  transition: transform 0.15s var(--ease-soft);
}

.xiaoxia-replay-presence.is-chat-ready .xiaoxia-replay-figure-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--spark-glow) 0%, transparent 70%);
  animation: xiaoxiaChatGlow 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

body.stranger-sheet-open .xiaoxia-replay-presence {
  opacity: 0;
  pointer-events: none;
}

.context-replay--expanded .xiaoxia-replay-caption {
  color: var(--text-primary);
}

.context-replay--expanded .xiaoxia-replay-tagline {
  color: var(--text-secondary);
}

.context-replay--expanded .xiaoxia-replay-whisper {
  color: var(--text-secondary);
}

.context-replay--expanded .xiaoxia-replay-copy {
  margin-top: 8px;
}

.xiaoxia-replay-figure-wrap {
  position: relative;
  width: 148px;
  flex-shrink: 0;
}

.xiaoxia-replay-figure {
  position: relative;
  width: 148px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  animation: xiaoxiaPresenceBreathe 4.2s ease-in-out infinite;
}

.xiaoxia-replay-figure-wrap.is-sprout .baymax-body {
  animation: baymaxBodySprout 2s var(--ease-soft) forwards;
}

.xiaoxia-replay-figure-wrap.is-wilt .baymax-body {
  animation: baymaxBodyWilt 2.2s ease-in forwards;
}

.baymax-eyes--smile,
.baymax-eyes--regret,
.baymax-mouth--smile,
.baymax-mouth--regret {
  opacity: 0;
}

.xiaoxia-replay-figure-wrap.is-sprout .baymax-eyes--default,
.xiaoxia-replay-figure-wrap.is-sprout .baymax-mouth--default {
  opacity: 0;
}

.xiaoxia-replay-figure-wrap.is-sprout .baymax-eyes--smile,
.xiaoxia-replay-figure-wrap.is-sprout .baymax-mouth--smile {
  opacity: 1;
}

.xiaoxia-replay-figure-wrap.is-wilt .baymax-eyes--default,
.xiaoxia-replay-figure-wrap.is-wilt .baymax-mouth--default {
  opacity: 0;
}

.xiaoxia-replay-figure-wrap.is-wilt .baymax-eyes--regret,
.xiaoxia-replay-figure-wrap.is-wilt .baymax-mouth--regret {
  opacity: 1;
}

.baymax-eyes,
.baymax-mouth {
  transition: opacity 0.35s var(--ease-soft);
}

.xiaoxia-body-fx {
  position: absolute;
  left: 50%;
  top: 63.5%;
  width: 72%;
  height: 64%;
  transform: translate(-50%, -50%);
  border-radius: 46% / 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.xiaoxia-body-fx.is-active {
  opacity: 1;
  visibility: visible;
}

.xiaoxia-replay-copy {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.xiaoxia-replay-caption-stack {
  position: relative;
  height: 22px;
  width: 100%;
}

.xiaoxia-replay-caption-stack .xiaoxia-replay-caption {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.xiaoxia-replay-caption-stack .xiaoxia-replay-caption.is-visible {
  opacity: 1;
}

.xiaoxia-replay-caption {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 252, 248, 0.96);
  letter-spacing: 0.02em;
}

.xiaoxia-replay-tagline {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 240, 225, 0.72);
  letter-spacing: 0.04em;
}

.xiaoxia-replay-whisper {
  margin: 10px 0 0;
  padding: 0 8px;
  max-width: 272px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 252, 248, 0.86);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s var(--ease-soft), transform 0.55s var(--ease-soft);
  pointer-events: none;
}

.xiaoxia-replay-whisper.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.xiaoxia-replay-copy.has-whisper {
  gap: 6px;
}

@keyframes xiaoxiaPresenceBreathe {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.012) translateY(-2px); }
}

@keyframes xiaoxiaPresenceChatFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.018) translateY(-4px); }
}

@keyframes xiaoxiaChatGlow {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.context-replay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 26;
  pointer-events: none;
}

.context-replay.is-hidden { display: none; }

.context-replay-sheet {
  pointer-events: auto;
  position: relative;
  background: var(--surface-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 24px rgba(44, 54, 57, 0.12);
  padding: 0 16px 12px;
  display: flex;
  flex-direction: column;
  height: var(--sheet-height, 212px);
  max-height: calc(100% - 52px);
  transition: height 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: height;
}

.context-replay--peek .context-replay-sheet {
  overflow: hidden;
}

.context-replay--expanded .context-replay-sheet {
  overflow: hidden;
}

.context-replay--expanded .context-replay-sheet {
  height: var(--sheet-height-expanded);
}

.context-replay-grab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 6px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.context-replay-grab:active { cursor: grabbing; }

.context-replay-handle {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--border-default);
}

.context-replay-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.context-replay--peek .context-replay-sub { display: none; }

.context-replay--expanded .context-replay-sub { display: block; }

.context-replay-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.context-replay-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.context-replay-demo-note {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--worth);
  line-height: 1.4;
}

.context-replay-demo-note.is-hidden {
  display: none;
}

.context-replay-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--surface-muted);
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.context-replay-player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.context-replay-peek-line {
  flex-shrink: 0;
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  min-height: 52px;
  transition: background 0.2s ease;
}

.context-replay-peek-line.is-speaking {
  background: var(--spark-bg);
}

.context-replay--notice .context-replay-peek-line.is-speaking {
  background: var(--notice-bg);
}

.context-replay--full .context-replay-peek-line.is-speaking {
  background: var(--worth-bg);
}

.context-replay-peek-line .tag-child,
.context-replay-peek-line .tag-parent {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.context-replay-peek-line .tag-child { background: rgba(196, 112, 75, 0.12); color: var(--brand); }
.context-replay-peek-line .tag-parent { background: rgba(139, 157, 175, 0.15); color: #8B9DAF; }

.context-replay-peek-line p {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.context-replay-peek-line .context-line-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.context-replay-peek-line .context-line-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.context-replay-peek-line .context-line-badge--spark {
  background: rgba(212, 168, 83, 0.2);
  color: #9a7340;
}

.context-replay-peek-line .context-line-badge--notice {
  background: rgba(212, 132, 124, 0.18);
  color: #a8655d;
}

.context-replay--expanded .context-replay-peek-line { display: none; }

.context-replay-transcript {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  display: none;
}

.context-replay--expanded .context-replay-transcript {
  display: block;
  scroll-behavior: smooth;
}

.context-replay-play {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--brand);
  color: var(--brand-on);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 14px;
}

.context-replay-track { flex: 1; min-width: 0; }

.context-replay-progress {
  position: relative;
  height: 6px;
  margin-top: 8px;
  border-radius: var(--radius-full);
  background: var(--border-default);
  cursor: pointer;
  overflow: visible;
}

.context-replay-progress-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.context-replay-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(44, 54, 57, 0.18);
  padding: 0;
}

.context-replay-marker--spark {
  background: var(--spark);
  color: #fff;
}

.context-replay-marker--notice {
  background: var(--notice);
  color: #fff;
}

.context-replay-marker:active {
  transform: translate(-50%, -50%) scale(0.92);
}

.context-replay-marker.is-active {
  box-shadow: 0 0 0 2px var(--brand), 0 1px 6px rgba(44, 54, 57, 0.2);
  transform: translate(-50%, -50%) scale(1.08);
}

.context-replay-marker--notice.is-active {
  box-shadow: 0 0 0 2px var(--notice), 0 1px 6px rgba(44, 54, 57, 0.2);
}

.context-replay-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--worth), var(--brand));
  width: 0;
  transition: width 0.1s linear;
}

.context-replay-times {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.context-line {
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 8px;
  opacity: 0.45;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.context-line.is-past {
  opacity: 0.32;
}

.context-line.is-speaking {
  opacity: 1;
  background: var(--spark-bg);
  transform: scale(1.01);
}

.context-line-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.context-line-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.context-line-badge--spark {
  background: rgba(212, 168, 83, 0.2);
  color: #9a7340;
}

.context-line-badge--notice {
  background: rgba(212, 132, 124, 0.18);
  color: #a8655d;
}

.context-line.is-mark-spark {
  border-left: 3px solid var(--spark);
  padding-left: 9px;
  background: rgba(255, 248, 235, 0.7);
}

.context-line.is-mark-notice {
  border-left: 3px solid var(--notice);
  padding-left: 9px;
  background: rgba(251, 240, 238, 0.75);
}

.context-line.is-mark-spark.is-speaking {
  background: var(--spark-bg);
  box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.25);
}

.context-line.is-mark-notice.is-speaking {
  background: var(--notice-bg);
  box-shadow: 0 0 0 1px rgba(212, 132, 124, 0.22);
}

.context-replay--notice .context-replay-progress-fill {
  background: linear-gradient(90deg, var(--notice), var(--grow));
}

.context-replay--notice .context-line.is-speaking {
  background: var(--notice-bg);
}

.context-replay--notice .context-replay-play {
  background: var(--notice);
  color: #fff;
}

.context-line .tag-child,
.context-line .tag-parent {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 0;
}

.context-line .tag-child { background: rgba(196, 112, 75, 0.12); color: var(--brand); }
.context-line .tag-parent { background: rgba(139, 157, 175, 0.15); color: #8B9DAF; }

.tag-stranger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 0;
  border: 1px dashed rgba(139, 115, 85, 0.45);
  background: rgba(245, 237, 228, 0.9);
  color: #8B7355;
  cursor: pointer;
  font-family: inherit;
}

.tag-stranger:active {
  transform: scale(0.96);
}

.tag-stranger i {
  font-size: 9px;
  opacity: 0.85;
}

.context-replay-peek-line .tag-stranger {
  margin-bottom: 0;
}

.stranger-sheet-backdrop.is-hidden,
.stranger-sheet.is-hidden {
  display: none;
}

.stranger-sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(44, 54, 57, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.stranger-sheet-backdrop:not(.is-hidden) {
  opacity: 1;
  pointer-events: auto;
}

.stranger-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: var(--surface-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 8px 20px 28px;
  box-shadow: 0 -8px 32px rgba(44, 54, 57, 0.15);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.stranger-sheet:not(.is-hidden) {
  transform: translateY(0);
}

.stranger-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--border-default);
  margin: 0 auto 14px;
}

.stranger-sheet-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.stranger-sheet-sub {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.45;
}

.stranger-sheet-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.stranger-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.stranger-option:active {
  transform: scale(0.985);
}

.stranger-option-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.stranger-option-hint {
  font-size: 11px;
  color: var(--text-tertiary);
}

.stranger-sheet-enroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  margin-bottom: 8px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--brand-on);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.stranger-sheet-cancel {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  color: var(--text-tertiary);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.assign-toast {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(12px);
  z-index: 50;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(44, 54, 57, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.assign-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.stranger-sheet-open .context-replay-sheet {
  pointer-events: none;
}

.context-line p {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
}

.context-line-text {
  cursor: pointer;
  border-radius: 6px;
  margin: 0 -4px;
  padding: 2px 4px;
  transition: background 0.15s ease;
}

.context-line-text:hover {
  background: rgba(196, 112, 75, 0.06);
}

.context-line-text:active {
  background: rgba(196, 112, 75, 0.12);
}

body.context-replay-open .report-cta-bar {
  opacity: 0;
  pointer-events: none;
}

.replay-fx {
  pointer-events: none;
}

.replay-fx-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.6);
}

.replay-fx-inner {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.replay-fx-icon {
  font-size: 34px;
  color: var(--grow);
  transform: scale(0);
  opacity: 0;
}

.replay-fx-petal {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
}

.replay-fx--sprout.is-active .replay-fx-glow {
  background: radial-gradient(circle, rgba(107, 144, 128, 0.5) 0%, transparent 72%);
  animation: fxGlowSprout 2s var(--ease-soft) forwards;
}

.replay-fx--sprout.is-active .replay-fx-icon {
  animation: fxSproutGrow 2s var(--ease-soft) forwards;
  filter: drop-shadow(0 2px 8px rgba(107, 144, 128, 0.4));
}

.replay-fx--sprout.is-active .replay-fx-petal {
  background: var(--grow);
  animation: fxPetalRiseBody 1.6s var(--ease-soft) forwards;
}

.replay-fx--sprout.is-active .replay-fx-petal--1 { top: 14px; left: 10px; animation-delay: 0.35s; }
.replay-fx--sprout.is-active .replay-fx-petal--2 { top: 6px; right: 10px; animation-delay: 0.5s; }
.replay-fx--sprout.is-active .replay-fx-petal--3 { bottom: 12px; left: 22px; animation-delay: 0.65s; }

.replay-fx--wilt.is-active .replay-fx-glow {
  background: radial-gradient(circle, rgba(139, 115, 85, 0.38) 0%, transparent 72%);
  animation: fxGlowWilt 2.2s ease-in forwards;
}

.replay-fx--wilt.is-active .replay-fx-icon {
  animation: fxSproutWilt 2.2s ease-in forwards;
  filter: drop-shadow(0 2px 6px rgba(139, 115, 85, 0.3));
}

.replay-fx--wilt.is-active .replay-fx-petal {
  background: #a08060;
  animation: fxPetalFallBody 1.8s ease-in forwards;
}

.replay-fx--wilt.is-active .replay-fx-petal--1 { top: 16px; left: 14px; animation-delay: 0.2s; }
.replay-fx--wilt.is-active .replay-fx-petal--2 { top: 10px; right: 12px; animation-delay: 0.35s; }
.replay-fx--wilt.is-active .replay-fx-petal--3 { top: 22px; left: 26px; animation-delay: 0.5s; }

@keyframes baymaxBodySprout {
  0% { fill: #F5F6F8; }
  35% { fill: #E8F2EC; }
  100% { fill: #F5F6F8; }
}

@keyframes baymaxBodyWilt {
  0% { fill: #F5F6F8; }
  40% { fill: #E8E0D8; }
  100% { fill: #F5F6F8; }
}

@keyframes fxPetalRiseBody {
  0% { opacity: 0; transform: translateY(8px) scale(0); }
  40% { opacity: 0.9; transform: translateY(-4px) scale(1); }
  100% { opacity: 0; transform: translateY(-14px) scale(0.4); }
}

@keyframes fxPetalFallBody {
  0% { opacity: 0.8; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(18px) rotate(100deg) scale(0.5); }
}

@keyframes fxGlowSprout {
  0% { opacity: 0; transform: scale(0.5); }
  30% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes fxSproutGrow {
  0% { transform: scale(0) translateY(24px) rotate(-8deg); opacity: 0; color: #8a9f6e; }
  35% { transform: scale(0.55) translateY(8px) rotate(-4deg); opacity: 0.85; color: #7fa88f; }
  55% { transform: scale(1.15) translateY(-4px) rotate(0deg); opacity: 1; color: var(--grow); }
  100% { transform: scale(1) translateY(-10px) rotate(2deg); opacity: 0; color: var(--grow); }
}

@keyframes fxGlowWilt {
  0% { opacity: 0; transform: scale(0.8); }
  25% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.9); }
}

@keyframes fxSproutWilt {
  0% { transform: scale(1.05) rotate(0deg); opacity: 1; color: var(--grow); filter: drop-shadow(0 4px 10px rgba(107, 144, 128, 0.3)); }
  40% { transform: scale(1) rotate(12deg); color: #8f9a7a; }
  70% { transform: scale(0.85) rotate(28deg) translateY(10px); color: #a08060; filter: grayscale(0.45); }
  100% { transform: scale(0.55) rotate(42deg) translateY(28px); opacity: 0; color: #8B7355; filter: grayscale(0.75); }
}

.report-status-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary, #6b6560);
  background: rgba(255, 248, 240, 0.92);
  border: 1px solid rgba(210, 180, 140, 0.35);
}

.report-shell--insufficient .spark-section-head,
.report-shell--insufficient #spark-cards,
.report-shell--insufficient .report-section-divider,
.report-shell--insufficient .section-title--notice,
.report-shell--insufficient #notice-cards,
.report-shell--insufficient .insight-card--worth,
.report-shell--insufficient #insight-expand,
.report-shell--insufficient #insight-more {
  display: none !important;
}

.insight-card--insufficient .insight-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, rgba(255, 244, 232, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
}

.insight-card-alert-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  color: #b86a3d;
  background: rgba(193, 127, 89, 0.12);
}

.insight-card-title--alert {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #8f4f2c;
}

.insight-card--insufficient .insight-lattice-primary {
  padding: 0 18px 18px;
}

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

.report-insufficient-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-insufficient-reason {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-primary, #2c2825);
}

.report-insufficient-hint-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(248, 244, 238, 0.92);
  border: 1px solid rgba(210, 180, 140, 0.22);
}

.report-insufficient-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary, #6b6560);
}

.report-insufficient-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-insufficient-rerecord,
.report-insufficient-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.report-insufficient-rerecord {
  border: none;
  color: #fff;
  background: var(--brand, #c17f59);
  box-shadow: 0 4px 14px rgba(193, 127, 89, 0.22);
}

.report-insufficient-retry {
  border: 1px solid rgba(193, 127, 89, 0.32);
  color: var(--brand, #c17f59);
  background: rgba(255, 255, 255, 0.82);
}

.report-insufficient-retry:disabled {
  opacity: 0.55;
  cursor: wait;
}

.report-retry-btn {
  display: block;
  margin: 0 0 16px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--brand, #c17f59);
  cursor: pointer;
}

.report-retry-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.report-shell.is-report-loading #spark-cards,
.report-shell.is-report-loading #notice-cards,
.report-shell.is-report-loading .insight-lattice-primary,
.report-shell.is-report-loading .insight-lattice-more {
  visibility: hidden;
}

.insight-insufficient-note {
  margin: 0;
  padding: 4px 2px 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary, #6b6560);
}

.insight-card--insufficient .insight-card-foot {
  display: none;
}

.context-replay-empty {
  margin: 0;
  padding: 12px 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary, #6b6560);
  text-align: center;
}

#full-recording-open.is-disabled,
#full-recording-open:disabled {
  opacity: 0.45;
  pointer-events: none;
}
