/* Shared identity for reports in the tool, account, and printable view. */
#rp-paper, .member-report-view {
  min-inline-size: 0;
}
#rp-paper .rp-document {
  box-sizing: border-box;
  max-inline-size: 100%;
  color: #193b40;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
#rp-paper .rp-head, #rp-paper .rp-running {
  background: #143e42;
  color: #fff;
  border-block-end-color: #d2ad62;
}
#rp-paper .rp-head b, #rp-paper .rp-running b { color: #f2d392; }
#rp-paper .rp-head img, #rp-paper .rp-running img { object-fit: contain; }
#rp-paper .rp-kpis > div {
  background: linear-gradient(145deg, #1d5c57, #13383e);
  color: #fff;
  border: 1px solid #476c68;
  border-block-start: 3px solid #d1ab60;
}
#rp-paper .rp-kpis > div small { color: #eef5f2; }
#rp-paper .rp-kpis > div strong { color: #fff; }
#rp-paper .rp-kpis strong.rp-critical { color: #ffb7bb !important; }
#rp-paper .rp-kpis strong.rp-positive { color: #c5f1da !important; }
#rp-paper .rp-section h2 {
  border-inline-start: 3px solid #d2ad62;
  background: #143e42;
  color: #fff;
}
#rp-paper .rp-chart { break-inside: avoid; }
#rp-paper .rp-track i { background: #176b64; }
#rp-paper .member-report-text { white-space: pre-wrap; overflow-wrap: anywhere; }
#rp-paper .moeen-report-text-copy {
  position: absolute;
  inset-inline-end: 200vw;
  inline-size: 800px;
  pointer-events: none;
}
.member-report-view {
  margin-block: 1.2rem;
  padding-block-end: .5rem;
}
.member-report-actions, .member-report-print > nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  color: #244c4d;
  padding: .75rem;
}
.member-report-actions p { margin-block: 0; }
.member-report-actions a, .member-report-print > nav :is(a,button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  border-radius: 8px;
  padding: .35rem .8rem;
  color: #153a3b;
}
.member-report-actions a, .member-report-print > nav button {
  border: 1px solid #c4a150;
  background: #efd28b;
  color: #2c240f;
  cursor: pointer;
}
.member-report-print {
  margin: 0;
  background: #edf3f0;
  font: 1rem/1.65 Tahoma, Arial, sans-serif;
}
.member-report-print * { box-sizing: border-box; }
@media screen and (max-width: 600px) {
  #rp-paper .rp-document { padding-inline: .65rem; }
  #rp-paper .rp-head { margin-inline: -.65rem; }
  #rp-paper .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rp-paper .rp-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rp-paper .rp-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #rp-paper .rp-bar b { grid-column: 1 / -1; }
}
@media print {
  .member-report-print, .member-layout:has(.member-report-view) {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .member-report-print > nav,
  .member-layout:has(.member-report-view) > :not(main),
  .member-layout:has(.member-report-view) #main > :not(.member-report-view),
  .member-report-actions {
    display: none !important;
  }
  .member-layout:has(.member-report-view) #main,
  .member-report-view {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .member-report-paper .rp-document {
    width: auto !important;
    max-width: none !important;
    padding-inline: 0 !important;
    margin: 0;
    box-shadow: none;
  }
}
