/* i-Ready, IXL Diagnostic and ALEKS PPL score charts: additions on top of tools.css (same tokens, light and dark). */
.ch-nl { display: none; }
.ch-updated { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.tl-mount--chart:not(.is-ready) { min-height: 760px; }
@media (max-width: 999px) { .tl-mount--chart:not(.is-ready) { min-height: 1180px; } }

.ch-big + .ch-big { margin-top: 16px; }
.ch-pct { margin-top: 6px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--text); }
.tl-results .tl-sub { margin-top: 10px; }
.ch-schools { display: grid; gap: 10px; margin-top: 14px; }
.ch-school { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.ch-school-h { font: 700 16px/1.3 var(--sans); color: var(--text); margin-bottom: 8px; }
.ch-school .tl-headlabel { margin-top: 2px; }
.ch-school .tl-list { margin-top: 6px; }
.ch-school a { color: var(--text-2); text-decoration-color: var(--coral-2); text-underline-offset: 3px; }

/* results tables: keep the caption full width when a narrow screen stacks the rows */
.tl-mount--chart .tl-table caption { display: block; width: 100%; }

/* static charts in the article */
.ch-tablewrap { margin-top: 18px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ch-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.nu-prose .ch-table th, .nu-prose .ch-table td { padding: 9px 12px; white-space: nowrap; }
.nu-prose .ch-table thead th { white-space: normal; vertical-align: bottom; }
.nu-prose .ch-table tbody th { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text); font-weight: 600; }
.ch-table caption { text-align: left; padding: 12px 12px 4px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); caption-side: top; }
.ch-table tr[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
.ch-note { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.ch-faq h3 { font-size: clamp(20px, 2vw, 24px); }
.ch-sources { margin-top: 12px; padding-left: 1.2em; display: grid; gap: 8px; }
.ch-sources li { line-height: 1.5; }

@media (max-width: 559px) {
  .nu-prose .ch-table th, .nu-prose .ch-table td { padding: 8px; font-size: 14px; }
  .ch-table--stack, .ch-table--stack tbody, .ch-table--stack tr, .ch-table--stack th, .ch-table--stack td { display: block; width: 100%; }
  .ch-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ch-table--stack caption { display: block; }
  .ch-table--stack tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .ch-table--stack tr:last-child { border-bottom: 0; }
  .nu-prose .ch-table--stack th, .nu-prose .ch-table--stack td { border: 0; padding: 2px 12px; }
  .nu-prose .ch-table--stack td::before { content: attr(data-label) ': '; font-weight: 700; color: var(--text-2); }
}
@media print { .ch-schools a { text-decoration: none; } }
