:root { --ws-report-flag: #8a5a00; --ws-report-solid: #7c9fae; --ws-report-developing: #3f6272; --ws-report-shaky: #173a48; }
html.dark { --ws-report-flag: #e7ad4f; --ws-report-solid: #3f6272; --ws-report-developing: #7c9fae; --ws-report-shaky: #bcd2dc; }

.rp { min-width: 0; max-width: 100%; color: var(--rp-ink); font-size: 15px; line-height: 1.55; overflow-wrap: break-word; }
.rp *, .rp *::before, .rp *::after { box-sizing: border-box; }
.rp .rp-title, .rp .rp-h, .rp .rp-num {
  font-family: var(--rp-display); font-weight: 700; letter-spacing: -0.02em; color: var(--rp-ink);
}
.rp .rp-title { margin: 0 0 2px; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }
.rp .rp-h { margin: 34px 0 4px; font-size: 21px; line-height: 1.25; }
.rp p { margin: 0 0 10px; }
.rp .rp-sub { margin: 0 0 14px; font-size: 14px; color: var(--rp-muted); }
.rp .rp-card { padding: 14px 16px; border: 1px solid var(--rp-line); border-radius: 16px; background: var(--rp-card); }
.rp .rp-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 12px; }
.rp .rp-strip > .rp-card { flex: 1 1 128px; min-width: 0; }  /* tiles share the row; a last odd one takes the rest */
.rp .rp-strip > .rp-wide { flex: 1 1 100%; }
.rp .rp-stat { display: flex; flex-direction: column; gap: 2px; }
.rp .rp-num { font-size: 30px; line-height: 1.05; }
.rp .rp-stat span { font-size: 13.5px; line-height: 1.35; color: var(--rp-muted); }
.rp .rp-stat .rp-what { font-weight: 700; color: var(--rp-ink); }
.rp .rp-wide { grid-column: 1 / -1; }
.rp .rp-label { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rp-muted); }
.rp .rp-wide ol { margin: 6px 0 0; padding-left: 1.4em; }
.rp .rp-wide li { margin: 2px 0; color: var(--rp-ink); }
.rp .rp-wide li span { color: var(--rp-muted); }
.rp .rp-caveat {
  margin: 0 0 6px; padding: 12px 16px 6px; border: 1px solid var(--rp-note-line); border-radius: 16px;
  background: var(--rp-note-bg); font-size: 14px;
}
.rp .rp-caveat p { margin: 0; color: var(--rp-ink); }
.rp .rp-caveat summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--rp-link);
}
.rp .rp-caveat summary::-webkit-details-marker { display: none; }
.rp .rp-caveat summary::after {  /* a flex summary loses the browser's triangle: this chevron, as on the app's "More" */
  content: ""; flex: none; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease;
}
.rp .rp-caveat details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.rp .rp-caveat summary:focus-visible { outline: 2px solid var(--rp-link); outline-offset: 2px; border-radius: 4px; }
.rp .rp-caveat ul { margin: 0 0 8px; padding-left: 1.2em; }
.rp .rp-caveat li { margin: 5px 0; color: var(--rp-ink); }
.rp .rp-fold { margin: 10px 0 0; }
.rp .rp-fold > summary {  /* each section, shut: a card with its heading, its gist, and a chevron that turns on open */
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px;
  padding: 14px 46px 14px 18px; border: 1px solid var(--rp-line); border-radius: 16px; background: var(--rp-card);
  cursor: pointer; list-style: none;
}
.rp .rp-fold > summary::-webkit-details-marker { display: none; }
.rp .rp-fold > summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--rp-muted);
  border-bottom: 2px solid var(--rp-muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease;
}
.rp .rp-fold[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.rp .rp-fold > summary:hover { border-color: var(--rp-link); }
.rp .rp-fold > summary:focus-visible { outline: 2px solid var(--rp-link); outline-offset: 2px; }
.rp .rp-fold > summary .rp-h { margin: 0; font-size: 18px; }
.rp .rp-gist { font-size: 14px; color: var(--rp-muted); }
.rp .rp-fold[open] > summary { margin-bottom: 14px; }
.rp .rp-fold-body { padding: 0 2px 10px; }
.rp .rp-fold-body > .rp-strip:first-child { margin-top: 0; }
.rp .rp-more { margin: 4px 0 0; }
.rp .rp-more > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 8px; cursor: pointer;
  list-style: none; font-size: 14px; font-weight: 700; color: var(--rp-link);
}
.rp .rp-more > summary::-webkit-details-marker { display: none; }
.rp .rp-more > summary::after {
  content: ""; flex: none; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease;
}
.rp .rp-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.rp .rp-more > summary:focus-visible { outline: 2px solid var(--rp-link); outline-offset: 2px; border-radius: 4px; }
.rp .rp-cohort { margin-top: -10px; font-weight: 700; color: var(--rp-ink); }
.rp .rp-empty-class { margin: 4px 0 6px; padding-bottom: 12px; }
.rp .rp-rows { margin: 0; padding: 0; list-style: none; }
.rp .rp-row {  /* the simple view: an outcome's name, its bar, and how many get it, on one line */
  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 7.5em; align-items: center; gap: 4px 14px;
  padding: 7px 0; border-bottom: 1px solid var(--rp-line); font-size: 14px;
}
.rp .rp-row:last-child { border-bottom: 0; }
.rp .rp-row-name { color: var(--rp-ink); font-weight: 600; }
.rp .rp-row-n { color: var(--rp-muted); font-size: 13px; text-align: right; }
.rp .rp-row .rp-bar { margin: 0; border-radius: 5px; }
.rp .rp-row .rp-one { box-shadow: inset 0 0 0 1px var(--rp-line); }  /* how far along out of the whole way */
.rp .rp-one i { border-radius: 5px; }
.rp .rp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rp .rp-student { border-bottom: 1px solid var(--rp-line); }
.rp .rp-student:last-child { border-bottom: 0; }
.rp .rp-student > summary {
  display: flex; align-items: baseline; gap: 2px 14px; padding: 10px 2px; cursor: pointer; list-style: none;
}
.rp .rp-student > summary .rp-who { flex: none; }
.rp .rp-student > summary .rp-gist { min-width: 0; }
.rp .rp-student > summary::-webkit-details-marker { display: none; }
.rp .rp-student > summary::before {
  content: ""; flex: none; align-self: center; width: 6px; height: 6px; border-right: 2px solid var(--rp-muted);
  border-bottom: 2px solid var(--rp-muted); transform: rotate(-45deg); transition: transform 0.15s ease;
}
.rp .rp-student[open] > summary::before { transform: rotate(45deg); }
.rp .rp-student > summary:hover .rp-who { color: var(--rp-link); }
.rp .rp-student > summary:focus-visible { outline: 2px solid var(--rp-link); outline-offset: 2px; border-radius: 6px; }
.rp .rp-student .rp-rows { margin: 0 0 10px 18px; }
.rp .rp-student .rp-sub { margin: 0 0 12px 18px; }
.rp .rp-legend {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 12px; padding: 0; list-style: none; font-size: 13.5px;
}
.rp .rp-legend li { display: flex; align-items: center; color: var(--rp-ink); }
.rp .rp-legend li span { margin-left: 5px; color: var(--rp-muted); }
.rp .rp-sw {
  flex: none; display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 3px; vertical-align: -1px;
}
.rp .solid { background: var(--rp-solid); }
.rp .developing { background: var(--rp-developing); }
.rp .shaky { background: var(--rp-shaky); }
.rp .unknown { background: transparent; border: 1.5px dashed var(--rp-empty); }
.rp .rp-outcome { margin-bottom: 10px; }
.rp .rp-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 14px; }
.rp .rp-top b { font-size: 15px; font-weight: 700; color: var(--rp-ink); }
.rp .rp-top span { font-size: 13.5px; color: var(--rp-muted); }
.rp .rp-bar { display: flex; gap: 2px; height: 14px; margin: 10px 0 8px; }
.rp .rp-bar i { display: block; min-width: 6px; border-radius: 2px; }
.rp .rp-bar i:first-child { border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
.rp .rp-bar i:last-child { border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
.rp .rp-counts {
  display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px;
  color: var(--rp-muted);
}
.rp .rp-counts li { display: flex; align-items: center; }
.rp .rp-counts .rp-sw { width: 10px; height: 10px; margin-right: 6px; }
.rp .rp-counts b { margin-right: 4px; color: var(--rp-ink); }
.rp .rp-note { margin-top: 6px; font-size: 13px; color: var(--rp-flag); }
.rp .rp-person { margin-bottom: 10px; font-size: 14px; color: var(--rp-muted); }
.rp .rp-who { font-family: var(--rp-mono); font-weight: 700; color: var(--rp-ink); }
.rp .rp-evidence { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.4; color: var(--rp-muted); }
.rp .rp-evidence li { margin: 4px 0; }
.rp .rp-stamp { font-family: var(--rp-mono); font-size: 12.5px; color: var(--rp-ink); }
.rp .rp-scroll { overflow-x: auto; border: 1px solid var(--rp-line); border-radius: 16px; background: var(--rp-card); }
.rp table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.rp th, .rp td {
  padding: 8px 10px; border-bottom: 1px solid var(--rp-line); background: var(--rp-card); color: var(--rp-ink);
  text-align: left; vertical-align: middle; white-space: nowrap;
}
.rp tbody tr:last-child td { border-bottom: 0; }
.rp th {
  min-width: 8.5em; max-width: 12em; vertical-align: bottom; white-space: normal; font-size: 11.5px; font-weight: 700;
  line-height: 1.3; color: var(--rp-muted);
}
.rp th:first-child, .rp td:first-child {
  position: sticky; left: 0; z-index: 1; min-width: 0; border-right: 1px solid var(--rp-line);
}
.rp td:first-child { font-family: var(--rp-mono); font-weight: 700; }
.rp .rp-chip { display: inline-flex; align-items: center; }
.rp .rp-chip.is-unknown { color: var(--rp-muted); }
.rp .rp-chip .rp-sw { width: 10px; height: 10px; margin-right: 6px; }
.rp .rp-n { margin-left: 5px; font-size: 12px; color: var(--rp-muted); }
.rp .rp-warm { margin-left: 5px; font-size: 12px; color: var(--rp-flag); }
.rp .rp-list { margin: 0; padding-left: 1.2em; }
.rp .rp-list li { margin: 6px 0; color: var(--rp-ink); }
.rp .rp-foot {
  margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--rp-line); font-size: 12.5px; color: var(--rp-muted);
}
@media (max-width: 640px) {
  .rp .rp-strip > .rp-stat { flex-basis: 40%; }  /* two tiles to a row; a wide card keeps its own */
  .rp .rp-num { font-size: 25px; }
  .rp .rp-legend { flex-direction: column; }
  .rp .rp-card { padding: 12px 14px; }
  .rp .rp-h { margin-top: 28px; font-size: 19px; }
  .rp .rp-fold > summary { padding: 12px 40px 12px 14px; }
  .rp .rp-row { grid-template-columns: minmax(0, 1fr) auto; }  /* the name and count on a line, the bar under them */
  .rp.rp-simple .rp-legend { flex-direction: row; }  /* its four short words fit a row */
  .rp.rp-simple .rp-strip > .rp-stat { flex-basis: 28%; }  /* and its three numbers */
  .rp .rp-row .rp-bar { grid-column: 1 / -1; grid-row: 2; }
  .rp .rp-fold > summary .rp-h { font-size: 17px; }
}
@media print {  /* the bars and swatches are colour: keep it on paper */
  .rp .rp-bar, .rp .rp-bar i, .rp .rp-sw { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) {
  .rp .rp-caveat summary::after, .rp .rp-fold > summary::after, .rp .rp-more > summary::after,
  .rp .rp-student > summary::before { transition: none; }
}


.rp section { scroll-margin-top: 72px; }
.rp .ih-sample { margin: 0 0 14px; padding-bottom: 12px; border-width: 2px; }
.rp .ih-table th { min-width: 6.5em; }
.rp .ih-table td.ih-name { font-family: inherit; font-weight: 700; white-space: normal; min-width: 12em; }
.rp .ih-table .ih-num { text-align: right; font-variant-numeric: tabular-nums; }
.rp .ih-table th:not(:first-child) { text-align: right; }
.rp .ih-l0 { background: color-mix(in srgb, var(--rp-link) 28%, var(--rp-card)); }
.rp .ih-l1 { background: color-mix(in srgb, var(--rp-link) 46%, var(--rp-card)); }
.rp .ih-l2 { background: color-mix(in srgb, var(--rp-link) 64%, var(--rp-card)); }
.rp .ih-l3 { background: color-mix(in srgb, var(--rp-link) 82%, var(--rp-card)); }
.rp .ih-l4 { background: var(--rp-link); }
.rp .ih-quiet { margin: 6px 0 0; font-size: 13px; color: var(--rp-muted); }
.rp .ih-topics { margin-top: 10px; }
.rp .ih-chart { margin-top: 10px; }
.rp .ih-days { display: flex; align-items: flex-end; gap: 3px; height: 128px; margin: 12px 0 6px; }
.rp .ih-col { flex: 1 1 0; min-height: 2px; border-radius: 3px 3px 0 0; background: var(--rp-link); }
.rp .ih-col.ih-weekend { background: color-mix(in srgb, var(--rp-link) 55%, var(--rp-card)); }
.rp .ih-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--rp-muted); }
.rp .ih-grid {
  display: grid; grid-template-columns: 2.6em repeat(8, minmax(0, 1fr)); gap: 3px; margin: 12px 0 4px;
  font-size: 11.5px; color: var(--rp-muted);
}
.rp .ih-grid > span { text-align: center; }
.rp .ih-grid .ih-day { text-align: left; color: var(--rp-ink); font-weight: 700; }
.rp .ih-grid i { display: block; height: 22px; border-radius: 4px; }
.rp .ih-g0 { background: color-mix(in srgb, var(--rp-line) 60%, var(--rp-card)); }
.rp .ih-g1 { background: color-mix(in srgb, var(--rp-link) 25%, var(--rp-card)); }
.rp .ih-g2 { background: color-mix(in srgb, var(--rp-link) 50%, var(--rp-card)); }
.rp .ih-g3 { background: color-mix(in srgb, var(--rp-link) 75%, var(--rp-card)); }
.rp .ih-g4 { background: var(--rp-link); }


.dv { color: var(--ws-text); font-size: 14px; }
.dv h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 700; }
.dv .dv-top, .dv .dv-sub, .dv .dv-empty { margin: 0 0 10px; color: var(--ws-muted); font-size: 13px; line-height: 1.5; }
.dv .dv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dv .dv-tile {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--ws-border);
  border-radius: 14px; background: var(--ws-surface);
}
.dv .dv-label { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ws-muted); }
.dv .dv-value { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dv .dv-note { font-size: 12px; color: var(--ws-muted); }
.dv .dv-scroll { overflow-x: auto; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.dv .dv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dv .dv-table th, .dv .dv-table td { padding: 7px 10px; text-align: left; white-space: nowrap; border: 0;
  border-bottom: 1px solid var(--ws-border); }
.dv .dv-table tr:last-child td { border-bottom: 0; }
.dv .dv-table th { font-size: 12px; font-weight: 700; color: var(--ws-muted); background: var(--ws-surface-2); }
.dv .dv-id { color: var(--ws-muted); font-size: 12.5px; }
.dv .dv-text { min-width: 240px; max-width: 560px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.dv .dv-done { color: var(--ws-muted); }
.dv .dv-sw { display: inline-block; width: 16px; height: 16px; margin-right: 3px; border: 1px solid var(--ws-border-strong);
  border-radius: 5px; vertical-align: -3px; }
.dv .dv-log { margin: 0 0 8px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.dv .dv-log summary { padding: 10px 14px; cursor: pointer; line-height: 1.5; }
.dv .dv-log ul { margin: 0; padding: 0 14px 12px 34px; }
.dv .dv-log li { margin: 4px 0; line-height: 1.45; }
.dv .dv-live { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #1f7a50;
  color: #ffffff; font-size: 11.5px; font-weight: 800; vertical-align: 1px; }
.dv .dv-open { min-height: 28px; padding: 0 10px; border: 1px solid var(--ws-border-strong); border-radius: 9px;
  background: var(--ws-surface); color: var(--ws-text); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.dv .dv-open:hover { background: var(--ws-surface-2); }
.dv .dv-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%;
  background: #2f9e6a; vertical-align: 1px; }

