.report-page {
  --font-size-base: 16px;
  --foreground: var(--ink);
  --muted: #edf4f6;
  --muted-foreground: #446071;
  --accent: #d9f3ee;
  --accent-foreground: #103b40;
  --border: var(--line);
  background: var(--paper);
}
.report-shell { width: min(100% - 32px, 840px); margin: 0 auto; padding-block: 24px 56px; }
.report-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 22px; color: var(--teal); font-size: .9rem; }
.report-back:hover { text-decoration: underline; }
.report-page h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); }
.report-page h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.report-page #close-force-elcidia .cf-intro { padding-inline-end: 0; }
.report-page .nav-pills, .report-page .viz-controls, .report-page .viz-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.report-page .nav-pills { justify-content: flex-start; border-bottom: 1px solid var(--line); padding-block: 6px 12px; }
.report-page .nav-link, .report-page .btn {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--night);
  cursor: pointer;
  font-size: .9rem;
}
.report-page .nav-link.active, .report-page .btn-primary, .report-page .btn[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.report-page .viz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 10px; }
.report-page .card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: clamp(12px, 3vw, 20px); }
.report-page .viz-stat-value { font: 400 2.4rem/1.1 var(--display-font); color: var(--night); }
.report-page .text-small { font-size: .84rem; }
.report-page .text-muted { color: var(--muted-foreground); }
.report-page hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0; }
.report-findings { display: grid; gap: 8px; }
.report-findings details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.report-findings summary { padding: 11px 14px; cursor: pointer; font-weight: 500; }
.report-findings details p { padding: 0 14px 14px; }
.report-source { display: inline-block; color: var(--teal); text-decoration: underline; text-underline-offset: .18em; }
.report-page .cf-messages {
  min-block-size: 9rem;
  max-block-size: min(47svh, 26rem);
  align-content: start;
  overflow-y: auto;
  padding: 4px;
}
.cf-composer { display: grid; gap: 5px; }
.cf-composer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.cf-composer input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #a6bbc4;
  border-radius: 10px;
  font: inherit;
  color: inherit;
}
.cf-chat-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cf-chat-footer .cf-outcome:not(:empty) { color: var(--teal); }
