/* Scoped corrections for the analytics case; the approved homepage is untouched. */
.ledger-redesign .contents h2 {
  font-size: clamp(26px, 2.1vw, 32px);
  font-style: normal;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}
.ledger-redesign .contents,
.ledger-redesign .exhibit,
.ledger-redesign .report-head > div { min-width: 0; }

.ledger-redesign .mix-layout {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
}
.ledger-redesign #mix-donut { width: 180px; height: 180px; }
/* The reveal mask uses ::before; the permanent center sits above that mask. */
.ledger-redesign #mix-donut::after {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--paper);
  pointer-events: none;
  z-index: 2;
}
.ledger-redesign #mix-value {
  color: #20382d;
  font: 750 36px/1.1 CaseBricolage, Arial, sans-serif;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.ledger-redesign #mix-value .num-visual {
  font: inherit;
  color: inherit;
  max-width: none;
  margin: 0;
  text-align: center;
}
.ledger-redesign #mix-label {
  max-width: 112px;
  margin: 7px auto 0;
  color: #344c40;
  font: 500 13px/1.25 CaseBricolage, Arial, sans-serif;
}
.ledger-redesign #mix-legend { gap: 18px; min-width: 0; }
.ledger-redesign #mix-legend li {
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.4;
  color: #24362d;
}
.ledger-redesign #mix-legend i { width: 9px; height: 9px; }
.ledger-redesign #mix-legend strong { font-weight: 700; }

.ledger-redesign .report-head h2 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}
.ledger-redesign #close-report {
  display: grid;
  place-items: center;
  padding: 0;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
.ledger-redesign #close-report svg { display: block; width: 20px; height: 20px; }

@media (max-width: 650px) {
  .ledger-redesign .mix-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 25px;
  }
  .ledger-redesign #mix-legend { width: 100%; max-width: 440px; }
}
