/* Mounted by IngestionDashboard. All selectors are intentionally namespaced. */
.ingestion-dashboard {
  margin: 2rem 0 0;
  color: #172033;
}

.ingestion-dashboard *,
.ingestion-dashboard *::before,
.ingestion-dashboard *::after {
  box-sizing: border-box;
}

.ingestion-dashboard__surface {
  border: 1px solid #d9e1ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(22 37 66 / 6%);
  overflow: hidden;
}

.ingestion-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 1.75rem 1.3rem;
  border-top: 5px solid #2463c7;
  background: linear-gradient(130deg, #f7fbff 0%, #fff 58%);
}

.ingestion-dashboard__eyebrow {
  margin: 0 0 0.5rem;
  color: #285ca8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ingestion-dashboard__header h2,
.ingestion-dashboard__table-section h3,
.ingestion-dashboard__chart-card h3 {
  margin: 0;
  color: #11203b;
  letter-spacing: -0.02em;
}

.ingestion-dashboard__header h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.ingestion-dashboard__description {
  max-width: 48rem;
  margin: 0.6rem 0 0;
  color: #4d5d78;
  line-height: 1.65;
}

.ingestion-dashboard__protocol-note {
  max-width: 56rem;
  margin: 0.7rem 0 0;
  color: #52667f;
  font-size: 0.82rem;
  line-height: 1.55;
}

.ingestion-dashboard__controls {
  display: grid;
  flex: 0 0 min(18rem, 100%);
  gap: 0.4rem;
}

.ingestion-dashboard__controls label {
  color: #41526f;
  font-size: 0.82rem;
  font-weight: 700;
}

.ingestion-dashboard__select {
  width: 100%;
  min-height: 2.65rem;
  padding: 0 2.1rem 0 0.8rem;
  border: 1px solid #b9c8dd;
  border-radius: 9px;
  color: #15233c;
  background: #fff;
  font: inherit;
}

.ingestion-dashboard__select:focus-visible,
.ingestion-dashboard__table-wrap:focus-visible,
.ingestion-dashboard__source-link:focus-visible,
.ingestion-dashboard__notice a:focus-visible {
  outline: 3px solid rgb(41 117 222 / 35%);
  outline-offset: 2px;
}

.ingestion-dashboard__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid #e0e7f0;
  background: #f9fbfe;
}

.ingestion-dashboard__benchmark-meta {
  display: grid;
  grid-template-columns: auto minmax(15rem, 1fr) minmax(15rem, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid #e0e7f0;
  background: #fff;
}

.ingestion-dashboard__benchmark-meta p {
  margin: 0.25rem 0 0;
  color: #3c4e68;
  line-height: 1.5;
}

.ingestion-dashboard__meta-label {
  color: #66758c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ingestion-dashboard__subset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.38rem;
}

.ingestion-dashboard__subset-list span {
  padding: 0.16rem 0.42rem;
  border: 1px solid #d6e0ec;
  border-radius: 999px;
  color: #4c5e77;
  background: #f7f9fc;
  font-size: 0.75rem;
  line-height: 1.25;
}

.ingestion-dashboard__summary > div {
  min-width: 0;
  padding: 1rem 1.75rem;
  border-right: 1px solid #e0e7f0;
}

.ingestion-dashboard__summary > div:last-child {
  border-right: 0;
}

.ingestion-dashboard__summary dt {
  color: #66758c;
  font-size: 0.78rem;
}

.ingestion-dashboard__summary dd {
  margin: 0.25rem 0 0;
  color: #152949;
  font-size: 1.45rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.ingestion-dashboard__notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  margin: 1.25rem 1.75rem 0;
  padding: 1rem;
  border: 1px solid #eed9a2;
  border-radius: 12px;
  color: #5b4612;
  background: #fff9e9;
}

.ingestion-dashboard__notice.is-pending {
  border-color: #bbd3f4;
  color: #1b477e;
  background: #f1f7ff;
}

.ingestion-dashboard__notice.is-gated {
  border-color: #e7d59e;
  color: #6d5514;
  background: #fff9e8;
}

.ingestion-dashboard__notice.is-measured {
  border-color: #b9dcc7;
  color: #145a38;
  background: #edf9f1;
}

.ingestion-dashboard__notice-mark {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #a67609;
  font-weight: 800;
  font-family: Georgia, serif;
}

.ingestion-dashboard__notice.is-pending .ingestion-dashboard__notice-mark {
  background: #2c73d2;
}

.ingestion-dashboard__notice.is-gated .ingestion-dashboard__notice-mark {
  background: #a67609;
}

.ingestion-dashboard__notice.is-measured .ingestion-dashboard__notice-mark {
  background: #1c7a49;
}

.ingestion-dashboard__notice strong {
  display: block;
}

.ingestion-dashboard__notice p {
  margin: 0.25rem 0 0;
  line-height: 1.55;
}

.ingestion-dashboard__notice a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #5e480d;
  font-size: 0.88rem;
  font-weight: 700;
}

.ingestion-dashboard__notice.is-pending a {
  color: #1b5dab;
}

.ingestion-dashboard__notice.is-gated a {
  color: #6d5514;
}

.ingestion-dashboard__notice.is-measured a {
  color: #145a38;
}

.ingestion-dashboard__visual-row {
  padding: 1.25rem 1.75rem;
}

.ingestion-dashboard__metric-overview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.ingestion-dashboard__metric-overview-header h3 {
  font-size: 1rem;
}

.ingestion-dashboard__metric-overview-header p {
  margin: 0;
  color: #68768b;
  font-size: 0.84rem;
}

.ingestion-dashboard__metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.ingestion-dashboard__chart-card {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid #e0e7f0;
  border-radius: 13px;
  background: #fff;
}

.ingestion-dashboard__chart-card h3 {
  font-size: 1rem;
}

.ingestion-dashboard__chart-card figcaption p {
  margin: 0.35rem 0 0;
  color: #68768b;
  font-size: 0.86rem;
}

.ingestion-dashboard__chart-empty {
  display: grid;
  min-height: 7rem;
  margin: 0.9rem 0 0;
  place-items: center;
  border: 1px dashed #c9d6e7;
  border-radius: 9px;
  color: #697890;
  background: #fbfcff;
  text-align: center;
}

.ingestion-dashboard__metric-models {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.ingestion-dashboard__metric-model {
  min-width: 0;
  padding-top: 0.75rem;
  border-top: 1px solid #edf1f6;
}

.ingestion-dashboard__metric-model:first-child {
  padding-top: 0;
  border-top: 0;
}

.ingestion-dashboard__metric-model-name {
  display: block;
  overflow: hidden;
  color: #24334c;
  font-size: 0.78rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ingestion-dashboard__metric-series {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.ingestion-dashboard__metric-bar-row {
  display: grid;
  grid-template-columns: 3.3rem minmax(5rem, 1fr) 4.8rem;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ingestion-dashboard__metric-key,
.ingestion-dashboard__metric-value {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.ingestion-dashboard__metric-key {
  color: #5c6c83;
  font-weight: 700;
}

.ingestion-dashboard__metric-value {
  color: #24334c;
  text-align: right;
}

.ingestion-dashboard__metric-track {
  display: block;
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf0f7;
}

.ingestion-dashboard__metric-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2c73d2;
}

.ingestion-dashboard__metric-fill.tone-precision { background: #245fb2; }
.ingestion-dashboard__metric-fill.tone-recall { background: #178268; }
.ingestion-dashboard__metric-fill.tone-f1 { background: #6941c6; }
.ingestion-dashboard__metric-fill.tone-leakage { background: #c25a32; }
.ingestion-dashboard__metric-fill.tone-p50 { background: #2e78a6; }
.ingestion-dashboard__metric-fill.tone-p95 { background: #7855a8; }
.ingestion-dashboard__metric-fill.tone-memory { background: #397a4f; }
.ingestion-dashboard__metric-fill.tone-disk { background: #9a6b20; }

.ingestion-dashboard__table-section {
  padding: 0 1.75rem 1.75rem;
}

.ingestion-dashboard__table-section h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.ingestion-dashboard__table-wrap {
  overflow: auto;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
  background: #fff;
}

.ingestion-dashboard__table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.ingestion-dashboard__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ingestion-dashboard__table th,
.ingestion-dashboard__table td {
  padding: 0.8rem;
  border-bottom: 1px solid #e6edf5;
  vertical-align: top;
  text-align: left;
}

.ingestion-dashboard__table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #45566f;
  background: #f6f9fc;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
}

.ingestion-dashboard__table tbody tr:last-child td {
  border-bottom: 0;
}

.ingestion-dashboard__table tbody tr:hover {
  background: #f9fbff;
}

.ingestion-dashboard__model {
  min-width: 14rem;
}

.ingestion-dashboard__model strong,
.ingestion-dashboard__model span,
.ingestion-dashboard__model a,
.ingestion-dashboard__scope span,
.ingestion-dashboard__metadata span,
.ingestion-dashboard__overlap small {
  display: block;
}

.ingestion-dashboard__model strong {
  color: #172b4b;
  line-height: 1.35;
}

.ingestion-dashboard__repo,
.ingestion-dashboard__scope small,
.ingestion-dashboard__metadata small,
.ingestion-dashboard__overlap small {
  margin-top: 0.25rem;
  color: #68778d;
  line-height: 1.35;
}

.ingestion-dashboard__source-link {
  margin-top: 0.45rem;
  color: #1b5dab;
  font-size: 0.8rem;
  font-weight: 700;
}

.ingestion-dashboard__scope,
.ingestion-dashboard__metadata,
.ingestion-dashboard__labels {
  min-width: 10rem;
}

.ingestion-dashboard__overlap {
  min-width: 13rem;
}

.ingestion-dashboard__result {
  min-width: 7.25rem;
  color: #536278;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ingestion-dashboard__result.is-measured {
  color: #114a30;
  font-weight: 700;
}

.ingestion-dashboard__result > strong {
  display: block;
  margin-top: 0.2rem;
  color: #0b3a25;
}

.ingestion-dashboard__result small {
  display: block;
  margin-top: 0.2rem;
  color: #607087;
  font-size: 0.72rem;
  font-weight: 600;
}

.ingestion-dashboard__pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: normal;
}

.ingestion-dashboard__pill.is-measured,
.ingestion-dashboard__pill.is-assessed {
  border-color: #b9dcc7;
  color: #145a38;
  background: #edf9f1;
}

.ingestion-dashboard__pill.is-unavailable,
.ingestion-dashboard__pill.is-gated,
.ingestion-dashboard__pill.is-unassessed {
  border-color: #e7d59e;
  color: #6d5514;
  background: #fff9e8;
}

.ingestion-dashboard__pill.is-declared-overlap {
  border-color: #ebbec0;
  color: #8a2430;
  background: #fff3f3;
}

.ingestion-dashboard__pill.is-not-disclosed {
  border-color: #cbd7e6;
  color: #4b5d78;
  background: #f5f8fb;
}

.ingestion-dashboard__pill.is-pending,
.ingestion-dashboard__pill.is-not-applicable {
  border-color: #cdd8e7;
  color: #4f617a;
  background: #f3f6fa;
}

.ingestion-dashboard__loading,
.ingestion-dashboard__error {
  padding: 1.25rem 1.5rem;
}

.ingestion-dashboard__loading {
  color: #50617b;
}

.ingestion-dashboard__error {
  border-color: #e6bec3;
  color: #8a2331;
  background: #fff7f8;
}

@media (max-width: 760px) {
  .ingestion-dashboard {
    margin-top: 1.25rem;
  }

  .ingestion-dashboard__header {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
  }

  .ingestion-dashboard__controls {
    width: 100%;
  }

  .ingestion-dashboard__summary {
    grid-template-columns: 1fr;
  }

  .ingestion-dashboard__benchmark-meta {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem 1.25rem;
  }

  .ingestion-dashboard__summary > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.8rem 1.25rem;
    border-right: 0;
    border-bottom: 1px solid #e0e7f0;
  }

  .ingestion-dashboard__summary > div:last-child {
    border-bottom: 0;
  }

  .ingestion-dashboard__summary dd {
    margin: 0;
  }

  .ingestion-dashboard__notice,
  .ingestion-dashboard__visual-row,
  .ingestion-dashboard__table-section {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .ingestion-dashboard__visual-row,
  .ingestion-dashboard__table-section {
    padding-left: 0;
    padding-right: 0;
  }

  .ingestion-dashboard__metric-overview-header {
    display: block;
  }

  .ingestion-dashboard__metric-overview-header p {
    margin-top: 0.3rem;
  }

  .ingestion-dashboard__metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ingestion-dashboard *,
  .ingestion-dashboard *::before,
  .ingestion-dashboard *::after {
    scroll-behavior: auto !important;
  }
}

/* Compact, editorial landing-page presentation. */
.ingestion-dashboard {
  margin: 0 0 2rem;
  color: #111;
}

.ingestion-dashboard__surface {
  overflow: visible;
  border: 0;
  border-top: 1px solid #cfcfcf;
  border-radius: 0;
  box-shadow: none;
}

.ingestion-dashboard__header {
  align-items: end;
  gap: 2rem;
  padding: 1.15rem 0 0.9rem;
  border-top: 0;
  background: transparent;
}

.ingestion-dashboard__eyebrow {
  margin-bottom: 0.3rem;
  color: #555;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.ingestion-dashboard__header h2 {
  color: #111;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.ingestion-dashboard__description {
  max-width: 44rem;
  margin-top: 0.35rem;
  color: #595959;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ingestion-dashboard__controls {
  flex-basis: 19rem;
}

.ingestion-dashboard__controls label {
  color: #5b5b5b;
  font-size: 0.72rem;
}

.ingestion-dashboard__select {
  min-height: 2.4rem;
  border-color: #c8c8c8;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 0.82rem;
}

.ingestion-dashboard__benchmark-meta {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-block: 1px solid #e2e2e2;
  background: transparent;
}

.ingestion-dashboard__benchmark-meta p {
  margin: 0;
  overflow: hidden;
  color: #4e4e4e;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ingestion-dashboard__benchmark-meta .ingestion-dashboard__meta-label {
  display: none;
}

.ingestion-dashboard__subset-list {
  flex-wrap: nowrap;
  margin: 0;
}

.ingestion-dashboard__subset-list span {
  border-color: #ddd;
  color: #5e5e5e;
  background: #f7f7f5;
  font-size: 0.68rem;
}

.ingestion-dashboard__visual-row {
  padding: 1rem 0 0.85rem;
}

.ingestion-dashboard__metric-overview-header {
  margin-bottom: 0.65rem;
}

.ingestion-dashboard__metric-overview-header h3 {
  color: #111;
  font-size: 0.86rem;
}

.ingestion-dashboard__metric-overview-header p {
  color: #686868;
  font-size: 0.72rem;
}

.ingestion-dashboard__metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.ingestion-dashboard__chart-card {
  min-width: 0;
  padding: 0.9rem;
  border: 0;
  border-radius: 8px;
  background: #f4f4f1;
}

.ingestion-dashboard__chart-card h3 {
  color: #111;
  font-size: 0.9rem;
  font-weight: 650;
}

.ingestion-dashboard__chart-card figcaption p {
  min-height: 2.1em;
  margin-top: 0.2rem;
  color: #686868;
  font-size: 0.7rem;
  line-height: 1.35;
}

.ingestion-dashboard__metric-models {
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.ingestion-dashboard__metric-model {
  padding-top: 0.45rem;
  border-color: #deded9;
}

.ingestion-dashboard__metric-model-name {
  color: #262626;
  font-size: 0.68rem;
}

.ingestion-dashboard__metric-series {
  gap: 0.18rem;
  margin-top: 0.3rem;
}

.ingestion-dashboard__metric-bar-row {
  grid-template-columns: 2.25rem minmax(2.5rem, 1fr) 3.6rem;
  gap: 0.32rem;
}

.ingestion-dashboard__metric-key,
.ingestion-dashboard__metric-value {
  font-size: 0.66rem;
}

.ingestion-dashboard__metric-track {
  height: 0.38rem;
  background: #deded9;
}

.ingestion-dashboard__metric-fill,
.ingestion-dashboard__metric-fill.tone-precision,
.ingestion-dashboard__metric-fill.tone-recall,
.ingestion-dashboard__metric-fill.tone-f1,
.ingestion-dashboard__metric-fill.tone-p50,
.ingestion-dashboard__metric-fill.tone-p95,
.ingestion-dashboard__metric-fill.tone-memory,
.ingestion-dashboard__metric-fill.tone-disk {
  background: #111;
}

.ingestion-dashboard__metric-fill.tone-recall,
.ingestion-dashboard__metric-fill.tone-p95,
.ingestion-dashboard__metric-fill.tone-disk {
  background: #777;
}

.ingestion-dashboard__metric-fill.tone-leakage {
  background: #9b3f2a;
}

.ingestion-dashboard__notice {
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0;
  border: 0;
  border-top: 1px solid #e2e2e2;
  border-radius: 0;
  color: #4a4a4a;
  background: transparent;
  font-size: 0.72rem;
}

.ingestion-dashboard__notice-mark,
.ingestion-dashboard__notice.is-pending .ingestion-dashboard__notice-mark,
.ingestion-dashboard__notice.is-gated .ingestion-dashboard__notice-mark,
.ingestion-dashboard__notice.is-measured .ingestion-dashboard__notice-mark {
  width: 1.15rem;
  height: 1.15rem;
  background: #111;
  font-size: 0.68rem;
}

.ingestion-dashboard__notice strong {
  display: inline;
  color: #222;
}

.ingestion-dashboard__notice p {
  display: inline;
  margin: 0 0 0 0.35rem;
}

.ingestion-dashboard__notice a,
.ingestion-dashboard__notice.is-pending a,
.ingestion-dashboard__notice.is-gated a,
.ingestion-dashboard__notice.is-measured a {
  display: inline;
  margin: 0 0 0 0.5rem;
  color: #111;
}

.ingestion-dashboard__details {
  border-top: 1px solid #e2e2e2;
}

.ingestion-dashboard__details summary {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  color: #222;
  cursor: pointer;
  list-style: none;
}

.ingestion-dashboard__details summary::-webkit-details-marker {
  display: none;
}

.ingestion-dashboard__details summary::after {
  content: "+";
  color: #555;
  font-size: 1.15rem;
}

.ingestion-dashboard__details[open] summary::after {
  content: "−";
}

.ingestion-dashboard__details summary strong {
  font-size: 0.8rem;
}

.ingestion-dashboard__details summary span {
  margin-left: auto;
  color: #707070;
  font-size: 0.7rem;
}

.ingestion-dashboard__details-body {
  padding: 0 0 1rem;
}

.ingestion-dashboard__details-body .ingestion-dashboard__protocol-note {
  max-width: none;
  margin: 0 0 0.7rem;
  color: #666;
  font-size: 0.72rem;
}

.ingestion-dashboard__table-wrap {
  border-radius: 6px;
}

@media (max-width: 1120px) {
  .ingestion-dashboard__metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ingestion-dashboard {
    margin-top: 0;
  }

  .ingestion-dashboard__header {
    padding-inline: 0;
  }

  .ingestion-dashboard__benchmark-meta {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .ingestion-dashboard__benchmark-meta p {
    white-space: normal;
  }

  .ingestion-dashboard__subset-list {
    flex-wrap: wrap;
  }

  .ingestion-dashboard__notice,
  .ingestion-dashboard__visual-row {
    margin-inline: 0;
  }

  .ingestion-dashboard__metric-grid {
    grid-template-columns: 1fr;
  }

  .ingestion-dashboard__chart-card figcaption p {
    min-height: 0;
  }

  .ingestion-dashboard__details summary span {
    display: none;
  }
}

/* OpenAI-inspired performance composition: one dominant chart, quiet support rows. */
.ingestion-dashboard__surface {
  border-top-color: #0d0d0d;
}

.ingestion-dashboard__header {
  align-items: end;
  padding: 3rem 0 1.4rem;
}

.ingestion-dashboard__eyebrow {
  color: #696969;
  font-weight: 620;
}

.ingestion-dashboard__header h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.065em;
}

.ingestion-dashboard__description {
  max-width: 40rem;
  margin-top: 0.8rem;
  color: #5a5a5a;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ingestion-dashboard__controls {
  flex-basis: 21rem;
}

.ingestion-dashboard__select {
  min-height: 2.8rem;
  padding-inline: 1rem 2.4rem;
  border-color: #d0d0cc;
  background: #f7f7f5;
  font-size: 0.8rem;
}

.ingestion-dashboard__benchmark-meta {
  padding: 0.8rem 0;
  border-color: #e2e2df;
}

.ingestion-dashboard__visual-row {
  padding: 2rem 0 1.1rem;
}

.ingestion-dashboard__metric-overview-header {
  margin-bottom: 1.2rem;
}

.ingestion-dashboard__metric-overview-header h3 {
  font-size: 1rem;
  font-weight: 620;
}

.ingestion-dashboard__metric-grid {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(3, auto);
  gap: 0 2.25rem;
}

.ingestion-dashboard__chart-card {
  padding: 1.15rem 0;
  border: 0;
  border-top: 1px solid #dededb;
  border-radius: 0;
  background: transparent;
}

.ingestion-dashboard__chart-card:first-child {
  grid-row: 1 / span 3;
  padding: 2rem;
  border: 0;
  border-radius: 20px;
  background: #f7f7f5;
}

.ingestion-dashboard__chart-card:first-child h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -0.035em;
}

.ingestion-dashboard__chart-card:first-child figcaption p {
  min-height: 0;
  margin-top: 0.45rem;
  font-size: 0.78rem;
}

.ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-models {
  gap: 1.35rem;
  margin-top: 1.6rem;
}

.ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-model {
  padding-top: 1.15rem;
}

.ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-model-name {
  font-size: 0.84rem;
}

.ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-series {
  gap: 0.58rem;
  margin-top: 0.75rem;
}

.ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-bar-row {
  grid-template-columns: 2.5rem minmax(8rem, 1fr) 4.3rem;
  gap: 0.65rem;
}

.ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-track {
  height: 0.62rem;
  border-radius: 999px;
}

.ingestion-dashboard__chart-card:not(:first-child) h3 {
  font-size: 0.9rem;
  font-weight: 620;
}

.ingestion-dashboard__chart-card:not(:first-child) figcaption p {
  min-height: 0;
}

.ingestion-dashboard__metric-track {
  border-radius: 999px;
  background: #e2e2df;
}

.ingestion-dashboard__metric-fill,
.ingestion-dashboard__metric-fill.tone-precision,
.ingestion-dashboard__metric-fill.tone-f1,
.ingestion-dashboard__metric-fill.tone-p50,
.ingestion-dashboard__metric-fill.tone-memory {
  border-radius: 999px;
  background: #0d0d0d;
}

.ingestion-dashboard__metric-fill.tone-recall,
.ingestion-dashboard__metric-fill.tone-p95,
.ingestion-dashboard__metric-fill.tone-disk {
  border-radius: 999px;
  background: #777;
}

.ingestion-dashboard__notice {
  padding: 0.85rem 0;
}

.ingestion-dashboard__details summary {
  min-height: 3.4rem;
}

@media (max-width: 980px) {
  .ingestion-dashboard__metric-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.8rem;
  }

  .ingestion-dashboard__chart-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .ingestion-dashboard__header {
    align-items: stretch;
    padding-top: 2.2rem;
  }

  .ingestion-dashboard__header h2 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .ingestion-dashboard__chart-card:first-child {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .ingestion-dashboard__chart-card:first-child .ingestion-dashboard__metric-bar-row {
    grid-template-columns: 2.25rem minmax(4rem, 1fr) 3.7rem;
    gap: 0.4rem;
  }
}

/* Result-clarity layer: consistent per-model tones, explicit ranking, leader callouts. */
.ingestion-dashboard__metric-fill.tone-model-0 { background: #245fb2; }
.ingestion-dashboard__metric-fill.tone-model-1 { background: #178268; }
.ingestion-dashboard__metric-fill.tone-model-2 { background: #6941c6; }
.ingestion-dashboard__metric-fill.tone-model-3 { background: #b25a09; }
.ingestion-dashboard__metric-fill.is-secondary { opacity: 0.45; }

.ingestion-dashboard__metric-model-heading {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.ingestion-dashboard__metric-model-heading .ingestion-dashboard__metric-model-name {
  flex: 1 1 auto;
  min-width: 0;
}

.ingestion-dashboard__metric-model.is-best {
  margin-inline: -0.55rem;
  padding: 0.55rem 0.55rem 0.6rem;
  border-top-color: transparent;
  border-radius: 8px;
}

.ingestion-dashboard__metric-model.is-best.tone-model-0-soft { background: rgba(36, 95, 178, 0.08); }
.ingestion-dashboard__metric-model.is-best.tone-model-1-soft { background: rgba(23, 130, 104, 0.08); }
.ingestion-dashboard__metric-model.is-best.tone-model-2-soft { background: rgba(105, 65, 198, 0.08); }
.ingestion-dashboard__metric-model.is-best.tone-model-3-soft { background: rgba(178, 90, 9, 0.08); }

.ingestion-dashboard__best-chip {
  flex: none;
  padding: 0.05rem 0.4rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.is-best.tone-model-0-soft .ingestion-dashboard__best-chip { color: #245fb2; }
.is-best.tone-model-1-soft .ingestion-dashboard__best-chip { color: #178268; }
.is-best.tone-model-2-soft .ingestion-dashboard__best-chip { color: #6941c6; }
.is-best.tone-model-3-soft .ingestion-dashboard__best-chip { color: #b25a09; }

.is-best.tone-model-0-soft .ingestion-dashboard__metric-value { color: #1d4f96; }
.is-best.tone-model-1-soft .ingestion-dashboard__metric-value { color: #146d57; }
.is-best.tone-model-2-soft .ingestion-dashboard__metric-value { color: #5836a8; }
.is-best.tone-model-3-soft .ingestion-dashboard__metric-value { color: #964c08; }

.ingestion-dashboard__chart-leader {
  margin: 0.45rem 0 0;
  color: #333;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.ingestion-dashboard__chart-leader strong {
  font-weight: 700;
}

.ingestion-dashboard__metric-footnote {
  margin: 0.28rem 0 0;
  color: #7a7a72;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
}

.ingestion-dashboard__takeaway {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e2df;
}

.ingestion-dashboard__takeaway h4 {
  margin: 0 0 0.6rem;
  color: #555;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.ingestion-dashboard__takeaway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.ingestion-dashboard__takeaway-cell {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  background: #fafaf8;
}

.ingestion-dashboard__takeaway-label {
  color: #6a6a64;
  font-size: 0.66rem;
  font-weight: 600;
}

.ingestion-dashboard__takeaway-cell strong {
  overflow: hidden;
  color: #161616;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ingestion-dashboard__takeaway-value {
  color: #444;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .ingestion-dashboard__takeaway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
