.report-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

.report-sheet {
  width: 100%; max-width: 500px; max-height: 92vh;
  overflow-y: auto; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
}

/* ── Exportable card ────────────────────────── */
.report-card {
  background: #0e0e18;
  padding: 24px 22px 20px;
  flex: 1;
}

.report-brand {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}

/* Header block */
.rpt-header { margin-bottom: 22px; }
.rpt-archetype-label {
  font-size: 26px; font-weight: 900; color: var(--accent);
  letter-spacing: -0.5px; margin-bottom: 4px;
}
.rpt-archetype-desc {
  font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; line-height: 1.45;
}
.rpt-confidence {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.rpt-confidence span { color: #30d158; }

/* Section label */
.report-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

/* Summary text */
.rpt-summary {
  font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}

/* ── Personality Snapshot ───────────────────── */
.rpt-snapshot { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 4px; }
.rpt-radar-wrap { flex-shrink: 0; }
.report-radar { width: 160px; height: 160px; }
.rpt-trait-list { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.rpt-trait-row {}
.rpt-trait-head {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 600; color: var(--text);
  margin-bottom: 3px;
}
.rpt-score { color: var(--accent); }
.report-bar-track {
  height: 4px; border-radius: 99px;
  background: rgba(255,255,255,0.07);
}
.report-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.5));
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}
.report-trait-desc {
  font-size: 10px; color: rgba(255,255,255,0.35);
  margin-top: 2px; line-height: 1.4;
}

/* ── Thinking Style spectrums ───────────────── */
.rpt-spectrums { display: flex; flex-direction: column; gap: 12px; }
.rpt-spectrum {}
.rpt-spectrum-labels {
  display: flex; justify-content: space-between;
  font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 5px;
}
.rpt-spectrum-labels span:nth-child(2) {
  color: rgba(255,255,255,0.2); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.rpt-spectrum-track {
  height: 4px; border-radius: 99px;
  background: rgba(255,255,255,0.08); position: relative;
}
.rpt-spectrum-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid #0e0e18;
  transition: left 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* ── Emotional Profile ──────────────────────── */
.rpt-emotion-row { }
.report-tone-badge {
  display: inline-block; padding: 4px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  text-transform: capitalize;
}

/* ── Values & Motivations ───────────────────── */
.rpt-values-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.rpt-value-chip {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500;
}
.rpt-rank {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(0,132,255,0.18); color: var(--accent);
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.rpt-drivers { display: flex; flex-wrap: wrap; gap: 6px; }
.rpt-driver-chip {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px; padding: 4px 11px; font-size: 12px; color: rgba(255,255,255,0.55);
}

/* ── Topics ─────────────────────────────────── */
.report-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.report-topic {
  padding: 4px 11px; border-radius: 99px; font-size: 12px;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.09);
}

/* ── Strengths ──────────────────────────────── */
.rpt-strengths { display: flex; flex-direction: column; gap: 6px; }
.rpt-strength-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.rpt-strength-n {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(48,209,88,0.15); color: #30d158;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── Growth Areas ───────────────────────────── */
.rpt-growth { display: flex; flex-direction: column; gap: 6px; }
.rpt-growth-item {
  font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4;
  padding: 8px 12px; background: rgba(255,255,255,0.03);
  border-radius: 8px; border-left: 2px solid rgba(255,159,10,0.4);
}
.rpt-contra { border-left-color: rgba(238,42,123,0.4); }
.rpt-contra-label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 6px; margin-bottom: 2px;
}

/* ── Evidence ───────────────────────────────── */
.rpt-evidence { display: flex; flex-direction: column; gap: 10px; }
.rpt-evidence-item {
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border-left: 2px solid rgba(0,132,255,0.35);
}
.rpt-quote {
  font-size: 13px; color: rgba(255,255,255,0.75);
  font-style: italic; line-height: 1.5; margin-bottom: 5px;
}
.rpt-insight {
  font-size: 11px; color: rgba(255,255,255,0.35); line-height: 1.4;
}

/* ── Share Card ─────────────────────────────── */
.rpt-share-card {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,132,255,0.15) 0%, rgba(238,42,123,0.1) 100%);
  border: 1px solid rgba(0,132,255,0.2);
  text-align: center;
}
.rpt-share-archetype {
  font-size: 16px; font-weight: 800; color: var(--accent); margin-bottom: 6px;
}
.rpt-share-line {
  font-size: 13px; color: rgba(255,255,255,0.7);
  font-style: italic; line-height: 1.5; margin-bottom: 8px;
}
.rpt-share-traits {
  font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.03em;
}

.report-date {
  font-size: 10px; color: rgba(255,255,255,0.18);
  text-align: right; margin-top: 16px;
}

/* ── Actions ────────────────────────────────── */
.report-actions {
  padding: 14px 20px 18px;
  display: flex; gap: 8px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.report-btn {
  flex: 1; padding: 11px; border-radius: 10px;
  font-size: 13px; font-weight: 700; cursor: pointer; border: none;
}
.report-btn-primary { background: var(--accent); color: var(--bg); }
.report-btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); }

/* ── Generate / Loading / Locked ────────────── */
.report-generate-pane {
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
}
.report-generate-pane h3 { font-size: 17px; font-weight: 700; }
.report-generate-pane p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.report-snippets {
  width: 100%; padding: 10px 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 13px;
  resize: vertical; min-height: 72px; font-family: inherit;
  box-sizing: border-box;
}
.report-locked {
  padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.report-locked-icon { font-size: 36px; }
.report-locked h3 { font-size: 16px; font-weight: 700; }
.report-locked p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; max-width: 260px; }
.report-loading {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 48px 24px;
}
.report-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  animation: rspin 0.8s linear infinite;
}
@keyframes rspin { to { transform: rotate(360deg); } }
.report-loading p { font-size: 13px; color: rgba(255,255,255,0.45); }
