/* R18: reimbursement scope cleanup + print readability */

#reimbursementStandardization .reimbursement-paper-only {
  grid-template-columns: minmax(0, 1fr) !important;
}

#reimbursementStandardization .reimbursement-paper-only > .card {
  max-width: none;
}

/* Slightly stronger on-screen contrast without changing the established identity. */
.sectionHead h2,
.card h3,
.card h4,
.dataTable th,
.statusScore,
.axisX {
  color: #073f2f;
}

.card,
.dataTable th,
.dataTable td,
.pathCard,
.causeCard,
.whyStep,
.wasteCard,
.kaizenStep,
.pdsaCard {
  border-color: #bdd0c6;
}

.dataTable th {
  background: #deebe4;
}

@media print {
  :root {
    --g950: #063629;
    --g900: #073f2f;
    --g800: #0b553d;
    --g700: #126846;
    --g600: #177750;
    --g100: #e4eee8;
    --g050: #f7faf8;
    --gray950: #111714;
    --gray800: #26322c;
    --gray700: #3f4c45;
    --gray500: #64716a;
    --gray300: #8da99b;
    --gray200: #baccc2;
    --gray100: #ffffff;
    --white: #ffffff;
    --shadow: none;
  }

  html,
  body {
    background: #ffffff !important;
    color: #111714 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body,
  p,
  li,
  td,
  .muted,
  .fish-item,
  .whyStep,
  .pathCard,
  .causeCard,
  .wasteCard,
  .pdsaCard,
  .kaizenStep {
    color: #111714 !important;
  }

  .sectionHead {
    border-bottom-color: #0b553d !important;
  }

  .sectionHead h2,
  .card h3,
  .card h4,
  .dataTable th,
  .axisX,
  .statusScore,
  .fish-title {
    color: #063629 !important;
  }

  .card,
  .pathCard,
  .causeCard,
  .whyStep,
  .wasteCard,
  .pdsaCard,
  .kaizenStep,
  .matrix div,
  .driver div,
  .arch div,
  .benefits div,
  .roadmap div,
  .sipoc div,
  .legend span,
  .projectMeta > div,
  .dataTable {
    background: #ffffff !important;
    border-color: #789989 !important;
    box-shadow: none !important;
  }

  .dataTable th {
    background: #d7e6de !important;
    border-color: #789989 !important;
    font-weight: 900 !important;
  }

  .dataTable td {
    background: #ffffff !important;
    border-color: #8aa699 !important;
  }

  .callout,
  .methodIntro,
  .reviewNote,
  .controlAssurance {
    background: #f4f8f5 !important;
    border-color: #7f9f90 !important;
    color: #17231d !important;
  }

  .sectionNo,
  .chip.green,
  .statusTag.current,
  .statusTag.reduced {
    background: #e0ece5 !important;
    color: #073f2f !important;
    border-color: #789989 !important;
  }

  .chip.amber,
  .statusTag.verify,
  .statusTag.planned,
  .statusTag.shifted {
    background: #fff4cf !important;
    color: #614600 !important;
    border-color: #b9942d !important;
  }

  .chip.red,
  .statusTag.residual,
  .statusTag.newgap,
  .claimRed {
    color: #861720 !important;
    border-color: #b55f66 !important;
  }

  .heroMain,
  .sidebar,
  .fish-head,
  .effectHead {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .heroMain {
    background: #0b553d !important;
    color: #ffffff !important;
  }

  .heroMain h2,
  .heroMain p,
  .heroMain * {
    color: #ffffff !important;
  }

  .fish-line,
  .fish-spine {
    stroke: #0b553d !important;
  }

  .fish-head {
    fill: #0b553d !important;
  }

  .fish-head-text {
    fill: #ffffff !important;
  }

  a,
  .sourceLink {
    color: #073f2f !important;
    text-decoration: underline;
  }

  #reimbursementStandardization .reimbursement-paper-only {
    grid-template-columns: 1fr !important;
  }
}
