/* Shared by the in-app model dialogs and the standalone ensemble report. */
.model-report-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(.8rem, 3vw, 2.2rem);
  color: #17263a;
  font: 16px/1.55 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.model-report-page .report-section {
  min-width: 0;
  background: #fff;
  border: 1px solid #d6e1e8;
  border-radius: 14px;
  margin: 1rem 0;
  padding: clamp(1rem, 3vw, 2rem);
}
.model-report-page .report-heading {
  margin: .3em 0 .55em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.model-report-page .report-visual {
  max-width: 100%;
  margin: .8rem 0;
  overflow: auto;
  border: 1px solid #d6e1e8;
  border-radius: 10px;
  background: #fff;
}
.model-report-page .report-visual :is(img, svg) {
  display: block;
  width: 100%;
  min-width: 46rem;
  max-width: none;
  height: auto;
}
.model-report-page .diagram-help { font-size: .875rem; color: #485b6e; margin: .4rem 0; }
.model-report-page .report-curves {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,19rem),1fr));
  gap: .8rem;
}
.report-curves figure { margin: 0; }
.report-curves img { width: 100%; height: auto; }
.model-report-page .split-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.split-table :is(td,th) { text-align: left; vertical-align: top; padding: .5rem .3rem; border-bottom: 1px solid #dce4ea; }
@media (max-width: 480px) {
  .model-report-page .split-table { font-size: .85rem; }
}
