/* Report Visual V1 — presentation only. Keep all report fields and business behavior unchanged. */
:root {
  --report-v1-ink: #142844;
  --report-v1-text: #303c4b;
  --report-v1-muted: #718095;
  --report-v1-line: #e6e9ed;
  --report-v1-wash: #f4f6f9;
  --report-v1-accent: #ae9569;
  --report-v1-paper: #ffffff;
}

/* Simulation reports: current/archived V6/V5 and legacy reports */
.report-box,
#homePage .history-report-rendered.report-box {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(20px, 3.6vw, 38px);
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  background: #f7f8f8;
  color: var(--report-v1-text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  box-shadow: 0 16px 48px rgba(20, 40, 68, 0.055);
  overflow-wrap: anywhere;
}
.report-box > .report-v5-brand-heading {
  margin: 0 0 23px;
  padding: 30px 27px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(125deg, #162b48 0%, #263e60 100%);
  text-align: left;
  box-shadow: 0 16px 38px rgba(20, 40, 68, 0.13);
}
.report-box > .report-v5-brand-heading span:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  color: #d5bb92;
}
.report-box > .report-v5-brand-heading span:last-child {
  display: block;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 740;
  letter-spacing: .01em;
  line-height: 1.42;
  color: #ffffff;
}
.report-box .report-section {
  margin: 19px 0 0;
  padding: 22px clamp(17px, 2.8vw, 29px);
  border: 1px solid var(--report-v1-line);
  border-radius: 15px;
  background: var(--report-v1-paper);
  box-shadow: 0 12px 36px rgba(20,40,68,.028);
}
.report-box .report-section > h4:first-child {
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e9edf1;
  color: var(--report-v1-ink) !important;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 760;
}
.report-box .report-section > p,
.report-box .report-item p {
  margin: 8px 0 11px;
  font-size: 14px;
  line-height: 1.94;
  color: var(--report-v1-text);
  white-space: pre-wrap;
}
.report-box .report-section > ul,
.report-box .report-section > ol {
  margin: 12px 0;
  padding-left: 23px;
  color: var(--report-v1-text);
}
.report-box .report-section > li,
.report-box .report-section li { line-height: 1.95; }
.report-box .report-item {
  padding: 17px 19px;
  border: 1px solid #e9edf1;
  border-radius: 11px;
  background: #fafbfc;
  box-shadow: none;
}
.report-box .report-v5-question-card {
  margin: 22px 0;
  padding: 25px clamp(16px, 2.8vw, 30px);
  border: 1px solid #e4e8ee;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(20,40,68,.035);
}
.report-box .report-v5-question-card > h4:first-child {
  margin: 0 0 18px;
  padding: 0 0 15px;
  border-bottom: 1px solid #e9edf1;
  color: var(--report-v1-ink);
  font-size: 18px;
  line-height: 1.55;
}
.report-box .report-v5-title {
  margin: 18px 0 7px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.6;
  color: #66758a;
}
.report-box .report-v5-question-card > .report-v5-title:first-of-type + p {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.83;
  color: var(--report-v1-ink);
}
.report-box .report-v5-question-card > p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--report-v1-text);
  white-space: pre-wrap;
}
.report-box .high-score-answer,
.report-box .report-v5-offer-answer,
.report-box .report-critical-answer {
  margin: 11px 0 16px;
  padding: 19px 22px;
  border: 1px solid #e5eaf0;
  border-left: 3px solid var(--report-v1-accent);
  border-radius: 10px;
  background: #f5f7fa;
  color: #263b53;
  font-size: 15px;
  line-height: 1.96;
  white-space: pre-wrap;
}
.report-box .report-v6-offer-title { margin-top: 22px; color: #455b75; font-size: 13px; }
.report-box .report-v6-original-answer {
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid var(--report-v1-line);
}
.report-box .report-v6-original-answer summary { color: #526982; font-size: 13px; }
.report-box .report-v6-original-answer p {
  padding: 16px 19px;
  background: #f7f9fa;
  color: #596a7e;
  line-height: 1.9;
}
.report-box .report-v5-lock-block { background: #fbfaf8; border-color: #eadfcc; }
.report-box .report-v5-label { background: #f3f0e9; color: #705d3d; }
.report-box .report-critical-section .report-item,
.report-box .report-critical-formula { border-left-color: #cba58e; }

/* Recent transcript reading: identical messages, less visual noise */
#homePage .history-conversation-item {
  margin: 0;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid #e9edf1;
  border-radius: 0;
  background: #ffffff;
  line-height: 1.9;
  font-size: 14px;
  color: #334154;
}
#homePage .history-conversation-item strong { color: #61718a; }

/* Targeted preparation: same palette, preserve streaming updates and follow-ups */
#targetedPrepPage .targeted-prep-results { background: #f5f6f6; }
#targetedPrepPage .targeted-prep-results-header {
  border-bottom: 1px solid #e4e8ed;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 28px rgba(20,40,68,.05);
}
#targetedPrepPage .targeted-prep-results-identity h2 { color: var(--report-v1-ink); }
#targetedPrepPage .targeted-prep-results-body {
  max-width: 1160px;
  margin-inline: auto;
}
#targetedPrepPage .targeted-prep-result-meta,
#targetedPrepPage .targeted-prep-workbench-note {
  border-color: var(--report-v1-line);
  background: #ffffff;
  box-shadow: none;
}
#targetedPrepPage .targeted-prep-result-meta-grid dd { color: var(--report-v1-ink); }
#targetedPrepPage .targeted-prep-result-list { gap: 22px; }
#targetedPrepPage .targeted-prep-result-card {
  border: 1px solid #e4e8ee;
  border-radius: 17px;
  background: #ffffff;
  color: var(--report-v1-text);
  box-shadow: 0 16px 48px rgba(20,40,68,.045);
}
#targetedPrepPage .targeted-prep-result-card > header {
  padding: 20px 28px;
  border-bottom-color: #e8edf1;
  background: #fbfcfd;
}
#targetedPrepPage .targeted-prep-result-card > header strong {
  color: var(--report-v1-ink);
  font-size: 16px;
  font-weight: 760;
}
#targetedPrepPage .targeted-prep-result-card section {
  margin: 0 28px;
  padding: 20px 0;
  border-top-color: #edf0f2;
}
#targetedPrepPage .targeted-prep-result-card h3,
#targetedPrepPage .targeted-prep-followup h4 {
  margin-bottom: 10px;
  font-size: 13px;
  color: #67778b;
  font-weight: 740;
}
#targetedPrepPage .targeted-prep-result-question p {
  color: var(--report-v1-ink);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  font-weight: 700;
}
#targetedPrepPage .targeted-prep-result-card p,
#targetedPrepPage .targeted-prep-result-card li { color: #344154; line-height: 1.96; }
#targetedPrepPage .targeted-prep-result-answer {
  margin: 8px 23px 16px !important;
  padding: 21px 23px !important;
  border: 1px solid #e5eaf0 !important;
  border-left: 3px solid var(--report-v1-accent) !important;
  border-radius: 10px;
  background: #f5f7fa;
}
#targetedPrepPage .targeted-prep-result-answer p { color: #263b53; font-size: 15px; }
#targetedPrepPage .targeted-prep-followup {
  border-color: #e4e9ee;
  border-radius: 11px;
  background: #fafbfc;
}
#targetedPrepPage .targeted-prep-followup summary { color: #304963; font-size: 14px; line-height: 1.7; }
#targetedPrepPage .resume-risk-panel {
  border-color: #e4e8ee;
  background: #ffffff;
  box-shadow: 0 12px 38px rgba(20,40,68,.035);
}
#targetedPrepPage .targeted-prep-answer-disclaimer,
#targetedPrepPage .targeted-prep-material-gap {
  border-color: #eadfca !important;
  background: #fdfaf4;
}
@media (max-width: 640px) {
  .report-box,#homePage .history-report-rendered.report-box { padding: 16px; border-radius: 13px; }
  .report-box > .report-v5-brand-heading { padding: 23px 20px; }
  .report-box .report-section { padding: 17px 15px; }
  .report-box .report-v5-question-card { padding: 20px 16px; }
  .report-box .high-score-answer,.report-box .report-v5-offer-answer { padding: 16px; }
  #targetedPrepPage .targeted-prep-result-card > header { padding: 15px 18px; }
  #targetedPrepPage .targeted-prep-result-card section { margin: 0 17px; }
  #targetedPrepPage .targeted-prep-result-answer { margin: 5px 13px 14px !important; padding: 18px 15px !important; }
}
@media print {
  .report-box,.report-box .report-section,.report-box .report-v5-question-card,
  #targetedPrepPage .targeted-prep-result-card { box-shadow: none; }
  .report-box .report-v5-question-card { break-inside: avoid-page; }
}
