:root {
  --font:
    "Manrope", "Terminal Dosis", "Space Grotesk", ui-sans-serif, system-ui,
    -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Segoe UI Emoji";
}

body {
  font-family: var(--font);
}

.report-wrapper {
  width: 210mm;
  margin: 0 auto;
}

.report-page {
  background: #fff;
  color: #000;

  width: 210mm;
  height: 297mm;

  padding: 2.1rem 3rem 3rem 3rem;

  margin: 0 auto;

  box-sizing: border-box;

  position: relative;

  page-break-after: always;
  break-after: page;
}

/* .section-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
} */

.section-content {
  display: block;
}

.report-atomic-comment-block {
  break-inside: avoid;
  page-break-inside: avoid;
}

.flex {
  display: flex;
}

.report-header {
  display: flex;
  justify-content: space-between;
}

.indicator-percentile-section {
  display: flex;
  justify-content: space-between;
}

.report-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-top: 1px solid #ddd;
}

.percentile {
  font-size: 24px;
  font-weight: bold;
}

.summary {
  font-size: 14px;
  margin-bottom: 1rem;
}

.metric-description {
  font-style: italic;
  font-size: 14px;
}

.sentence-title {
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

.sentence-container p {
  border-left: 3px solid black;
  padding-left: 10px;
  margin-bottom: 8px;
}

.pt-report-1 {
  padding-top: 2.65rem;
}

.mt-report-sentence {
  margin-top: -50px;
}

.footer-note {
  font-size: 11px;
  text-align: left;
}

.report-footer {
  margin-top: 20px;
}

.r-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.r-row.nowrap {
  flex-wrap: nowrap;
}

.r-col {
  display: flex;
  flex-direction: column;
  min-width: 0; /* important so long text wraps */
}

/* simple “column sizes” like col-5/col-7 (approx) */
.r-col-5 {
  flex: 0 0 41.666%;
  max-width: 41.666%;
}
.r-col-7 {
  flex: 0 0 58.333%;
  max-width: 58.333%;
}
.r-col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.r-gap-16 {
  gap: 16px;
}
.r-gap-24 {
  gap: 24px;
}

.r-align-end {
  align-items: flex-end;
}
.r-align-center {
  align-items: center;
}

.r-pb-8 {
  padding-bottom: 8px;
}
.r-pb-16 {
  padding-bottom: 16px;
}
.r-pt-16 {
  padding-top: 16px;
}
.r-pt-24 {
  padding-top: 24px;
}

@media print {
  html,
  body {
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .report-wrapper {
    background: #fff;
  }

  .report-page {
    margin: 0;
    box-shadow: none;
    border: none;

    page-break-after: always;
    break-after: page;
  }

  .report-atomic-section,
  .report-atomic-comment-block,
  .report-section-header {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

.light-gray {
  background-color: #e8e8e8 !important;
}

.dechefr-report-grey {
  color: #5c5c5c;
}

.dechefr-report-light-grey {
  color: #868e96;
}

.display-none {
  display: none;
}

.w-9 {
  max-width: 9.1rem;
}

.w-11 {
  max-width: 11.5rem;
}

.mt-d-r-s {
  margin-top: 0.2rem !important;
}

.mt-d-grs-info {
  margin-top: 0.1rem !important;
}

.pl-d-r-s {
  padding-left: 0.1rem !important;
}

.r-h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.16rem;
  line-height: 1.13em;
  letter-spacing: -0.01em;
}

.r-h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.13em;
  letter-spacing: -0.01em;
}

.r-h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.03rem;
  line-height: 1.14em;
  letter-spacing: -0.01em;
}

.r-h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.24em;
  letter-spacing: -0.01em;
}

.r-h-eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  line-height: 1.5em;
  letter-spacing: 0.09em;
}

.r-h-eyebrow-s-bold {
  font-weight: 700;
}

.r-h-eyebrow-s {
  font-weight: 500;
}

.r-h-eyebrow-xs {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  line-height: 1.5em;
  letter-spacing: 0.09em;
}

.r-text-m-bold {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1.38em;
  letter-spacing: 0em;
}

.r-text-m {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.38em;
  letter-spacing: 0em;
}

.r-text-s-bold {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.66rem;
  line-height: 1.36em;
  letter-spacing: 0em;
}

.r-text-s {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  line-height: 1.36em;
  letter-spacing: 0em;
}

.r-info-text-m {
  font-family: "Piazzolla", sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.43em;
  letter-spacing: 0em;
  font-style: italic;
}

.r-num-xl {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 3.09rem;
  line-height: 1.18em;
  letter-spacing: 0em;
}

.r-num-l {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.21em;
  letter-spacing: 0em;
}

.r-num-m {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.69rem;
  line-height: 1.22em;
  letter-spacing: 0em;
}

.r-tag {
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  line-height: 1.33em;
  letter-spacing: 0em;
  border-radius: 1rem;
  padding: 0.4em 0.5em !important;
  /* 
    background-color: #000000;
    font-weight: 800;
    */
  border: 1px solid #000;
  color: #000;
  display: inline-block;
}

.r-d7-l {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.5em;
  letter-spacing: 0.02em;
}

.r-d7-s {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1.5em;
  letter-spacing: 0.02em;
}

.badge-black {
  background-color: #000000;
  color: #fff;
}

/* GRS info */
#report-grs-chart .highcharts-label {
  top: 27px !important;
}

/* Digital 7 score */
.box {
  width: 2rem;
  height: 1.75rem;
  display: table;
  text-align: center;
  background-color: #e8e8e8;
}

.box > .dig-7-score {
  display: table-cell;
  vertical-align: middle;
}

.case-dig-7-score-box {
  background-color: #c4183c !important;
  color: #fff;
}

.box-underline {
  background-color: #c4183c;
  height: 4px;
}

.report-dig-7-items-panel {
  padding-top: 0.5rem;
}

.report-header {
  border-top: #000000 solid 0.25rem;
}

.report-pdf-footer {
  position: fixed;
  padding-bottom: 3.3rem;
  bottom: 0;
}

#report-text-readability-panel {
  border-right: #000000 solid 0.016rem;
}

.semi-bold-top-border {
  border-top: #000000 solid 0.125rem;
}

.thin-top-border {
  border-top: #000000 solid 0.016rem;
}

.thin-bottom-border {
  border-bottom: #000000 solid 0.016rem;
}

.semi-bold-bottom-border {
  border-bottom: #000000 solid 0.125rem;
}

.d7-tag {
  margin-top: -0.1rem;
}

.d7-l-tag {
  margin-top: -0.4rem;
}

.d7-s-tag {
  margin-top: -0.3rem;
}

.m-t-indicator {
  margin-top: 0.1rem;
}

/* Percentile */

.pie-percentile {
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  position: relative;
  display: inline-grid;
  border-radius: 50%;
}

.pdf-pie-percentile {
  border: 1px solid #000;
}

.text-line-through {
  text-decoration: line-through;
}

.sentence-border-left {
  border-left: 5px solid #333 !important;
}

.btn-dechefr-report {
  color: #fff;
  border-color: #284059;
  background-color: #284059;
  box-shadow: none;
}

.pt-report-1 {
  padding-top: 2.65rem;
}

.pt-report-2 {
  padding-top: 1.3rem;
}

.mr-neg-1 {
  margin-right: -1.1rem;
}

.mr-neg-2 {
  margin-right: -0.8rem;
}

.font-size-s {
  font-size: 1rem;
}

.loader-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgb(255, 254, 254);
  animation: bounce 0.6s infinite alternate;
  vertical-align: middle;
}

#synopsis-analyst-comment-box {
  outline: none;
  width: 700px;
}

@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-6px);
    opacity: 0.5;
  }
}
