.credit-guide {
  background: #faf7f2;
  border-bottom: 1px solid var(--line);
}
.credit-guide h2 { max-width: 23ch; }
.credit-guide-intro { max-width: 72ch; margin-top: 16px; color: var(--body); }
.credit-guide a { color: var(--purple); font-weight: 700; text-underline-offset: .18em; }
.credit-guide-links { display: flex; gap: 8px 24px; flex-wrap: wrap; margin: 13px 0 0; font-size: .92rem; }
.report-spread {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
  margin-top: 36px;
}
.report-paper {
  margin: 0 6px 6px 0;
  background: #fff;
  border: 1px solid #d6c9ce;
  border-top: 5px solid var(--purple);
  border-radius: 3px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 5px 5px 0 #e1d8de;
}
.report-paper figcaption { font: 750 1.85rem/1 var(--display); color: var(--deep); }
.report-paper figcaption span { display: block; margin-top: 7px; font: 600 .85rem/1.4 var(--sans); color: var(--body); }
.report-fields { margin: 20px 0; }
.report-fields > div { display: flex; gap: 12px; justify-content: space-between; padding-block: 7px; border-bottom: 1px solid var(--line); }
.report-fields dt { color: var(--body); }
.report-fields dd { margin: 0; text-align: right; font-weight: 750; }
.report-paper h3 { font: 750 .94rem/1.4 var(--sans); }
.payment-history { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 14px; }
.payment-history li { padding: 8px 4px; background: #eaf2ec; border-top: 3px solid #56725c; text-align: center; }
.payment-history li.payment-late { background: #fff1ce; border-color: #a17522; }
.payment-history span,.payment-history strong { display: block; line-height: 1.45; }
.payment-history span { color: #443f43; font-size: .79rem; }
.payment-history strong { font-size: .92rem; }
.report-paper > p,.credit-decisions p,.credit-timeline p { color: var(--body); font-size: .96rem; }
.credit-decisions > h3,.credit-timeline > h3,.credit-usage h3 { font: 750 clamp(1.9rem, 3vw, 2.75rem)/1.03 var(--display); }
.credit-decisions > h3 { margin: 3px 0 18px; }
.credit-decisions details { border-block-start: 1px solid #cfc3d4; }
.credit-decisions details:last-child { border-bottom: 1px solid #cfc3d4; }
.credit-decisions summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 14px 1px; font-weight: 750; }
.credit-decisions summary::-webkit-details-marker { display: none; }
.credit-decisions summary::after { content: "+"; color: var(--purple); font-size: 1.35rem; line-height: 1; }
.credit-decisions details[open] summary::after { content: "−"; }
.credit-decisions details[open] summary { color: var(--purple); }
.credit-decisions details a { display: inline-block; margin: 8px 0 16px; font-size: .88rem; }
.credit-timeline { margin-top: clamp(36px, 5vw, 62px); }
.credit-timeline ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 25px 0 10px; padding: 0; list-style: none; }
.credit-timeline li { position: relative; padding: 18px 24px 3px 0; border-top: 2px solid #b3a1bd; }
.credit-timeline li:last-child { border-color: transparent; }
.credit-timeline li::before { position: absolute; content: ""; width: 13px; height: 13px; background: var(--gold); border: 2px solid var(--purple); border-radius: 50%; left: 0; top: -8px; }
.credit-timeline li strong { display: block; line-height: 1.3; }
.credit-timeline p { margin-top: 7px; }
.credit-timeline > a { font-size: .89rem; }
.credit-usage {
  margin: clamp(32px, 5vw, 56px) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(22px, 4vw, 42px);
  align-items: center;
  color: #fff;
  border-radius: 16px;
  background: #241235;
}
.credit-usage h3 { max-width: 22ch; }
.credit-usage figcaption p { margin-top: 12px; color: #eadfed; font-size: .94rem; line-height: 1.56; }
.credit-usage a { color: var(--gold-light); }
.usage-demo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
.usage-ring {
  --share: 40%;
  width: clamp(96px, 10vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) var(--share), #634b70 var(--share));
}
.usage-ring span { display: grid; place-items: center; width: 77%; height: 77%; border-radius: 50%; background: #241235; color: #ffdb82; font: 750 2.1rem/1 var(--display); }
.usage-equation { font-variant-numeric: tabular-nums; font-weight: 750; line-height: 1.4; }
.usage-control { margin-top: 10px; }
.usage-control label,.usage-scale { font-size: .83rem; color: #eadfed; }
.usage-control input { width: 100%; min-width: 0; height: 26px; margin: 2px 0; display: block; cursor: pointer; accent-color: var(--gold); }
.usage-control input:focus-visible { outline-color: var(--gold-light); }
.usage-scale { display: flex; justify-content: space-between; line-height: 1; }
@media (max-width: 880px) {
  .credit-usage { grid-template-columns: 1fr; }
  .usage-demo { max-width: 480px; }
}
@media (max-width: 700px) {
  .credit-guide { overflow-wrap: anywhere; }
  .report-spread,.credit-timeline ol { grid-template-columns: minmax(0, 1fr); }
  .report-spread { gap: 25px; }
  .credit-timeline li { padding: 0 0 18px 22px; border: 0; border-left: 2px solid #b3a1bd; margin-left: 6px; }
  .credit-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .credit-timeline li::before { top: 2px; left: -7px; }
  .credit-timeline > a { display: inline-block; margin: 6px 0 0 28px; }
}
@media (max-width: 380px) {
  .usage-demo { grid-template-columns: 1fr; }
}
