/* ══ THE RECORD (dashboard) ════════════════════════════════════════════════
   Was eight rounded cards stacked down the page: a fat donut ring, cyan volume
   bars, pill chips and a grid of 270px skill cards. Correct tokens, wrong
   composition — the one surface still reading as a generic analytics template.

   It is now the publication's RESULTS SECTION, and every device in it is
   already in use elsewhere in the paper: the front page's ruled section head
   and figure/label split, its index hover, the back page's dotted leaders.
   Nothing new is invented here; a results page is just a page of the paper.

   Order: section head → STANDINGS (the two gauges) → what's next → the plot →
   pacing → patterns → the league table → box scores.
   ══════════════════════════════════════════════════════════════════════════ */
/* NOT overflow-y:auto here. .practice-body is already this screen's scroller;
   making the screen one too would add a SECOND stable gutter (.screen carries
   scrollbar-gutter: stable) and shift the whole column 7.5px left of the
   running head — the same misalignment #global-bar's --sbw exists to prevent. */
/* The body's horizontal padding is removed so .dv2 alone owns the measure —
   otherwise the column is inset twice and stops matching the running head. */
#screen-dashboard.bs .practice-body { padding-left: 0; padding-right: 0; padding-top: 0; }
/* Same measure and same 28px inset as .gb-inner and .bs .home-wrap, so the
   running head's wordmark and this page's rules share ONE left edge (the
   ~7px misalignment described on #global-bar was the same defect class).
   gap:0 because each section owns its own boundary via margin-bottom — a flex
   gap here would stack on those margins exactly as it did on the front page. */
.bs .dv2 { max-width: 1080px; padding: 0 28px 72px; gap: 0; }

/* ── the section head ── */
.bs .dv2-head { display: block; position: relative; padding: 26px 0 0; margin-bottom: 30px; }
.bs .dv2-head-rule { height: 1px; background: var(--bs-ink); margin-bottom: 14px; }
.bs .dv2-title {
  font-family: var(--bs-ed);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-weight: 900; font-size: clamp(38px, 6vw, 64px);
  line-height: .88; letter-spacing: -.042em; color: var(--bs-ink); margin: 0;
}
.bs .dv2-folio {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  margin-top: 12px; padding: 7px 0 6px;
  border-top: 3px solid var(--bs-ink); border-bottom: 1px solid var(--bs-ink);
  font-family: var(--bs-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bs-ink-2);
}
.bs .dv2-folio-dot { color: var(--bs-rule); }
.bs .dv2-back { position: absolute; top: 34px; right: 0; }

/* ── sections: ruled, not carded ── */
.bs .dv2-card,
.bs #dv2-next-section, .bs #dv2-timing,
.bs #dv2-skills-section, .bs #dv2-history-section {
  background: transparent; border: none; border-radius: 0; box-shadow: none;
  border-top: 3px solid var(--bs-ink);
  padding: 16px 0 0; margin: 0 0 30px;
}
.bs #dv2-trends-card { padding: 16px 0 0; }
.bs .dv2-hero-main {
  border-top: none; padding: 0; margin: 0 0 30px;
  border-bottom: 1px solid var(--bs-rule); padding-bottom: 26px;
}
.bs .dv2-sec-head { align-items: baseline; margin-bottom: 14px; }
.bs .dv2-sec-title {
  font-family: var(--bs-mono); font-size: 10px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--bs-blue);
}
.bs .dv2-muted-note {
  font-family: var(--bs-ui); font-size: 13px; color: var(--bs-ink-3);
  text-align: left; padding: 10px 0;
}

/* ── STANDINGS ── */
.bs .dv2-hero-rings { gap: 44px; justify-content: flex-start; }
.bs .dv2-ring-wrap, .bs .dv2-ring { width: 132px; height: 132px; }
.bs .dv2-ring-num {
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 40px; line-height: .95; letter-spacing: -.035em;
  color: var(--bs-ink);
}
.bs .dv2-ring-cap {
  font-family: var(--bs-mono); font-size: 8.5px; letter-spacing: .14em;
  color: var(--bs-ink-3); margin-top: 3px;
}
.bs .dv2-ring-label {
  font-family: var(--bs-mono); font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bs-ink-2); margin-top: 12px;
}
.bs .dv2-ring-tier {
  font-family: var(--bs-ui); font-size: 12.5px; font-weight: 400;
  color: var(--bs-ink-3);
}
.bs .dv2-hero-side { border-left: 1px solid var(--bs-rule); padding-left: 28px; gap: 20px; }
.bs .dv2-hero-stats { gap: 16px; }
.bs .dv2-stat { display: block; }
.bs .dv2-stat-val {
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: -.03em;
  color: var(--bs-ink);
}
.bs .dv2-stat-label {
  font-family: var(--bs-mono); font-size: 9px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bs-ink-3);
  margin-top: 4px;
}

/* ── what's next: index entries, same hover as the front page's index ── */
.bs .dv2-next-grid { display: block; }
.bs .dv2-next-card {
  background: transparent; border: none; border-radius: 0;
  border-top: 1px solid var(--bs-rule);
  padding: 14px 4px; gap: 18px; align-items: baseline;
  transition: background .12s ease, transform .12s ease;
}
.bs .dv2-next-card:last-child { border-bottom: 1px solid var(--bs-rule); }
.bs .dv2-next-card:hover {
  transform: translateX(8px); background: var(--bs-sheet); border-color: var(--bs-rule);
}
.bs .dv2-next-icon {
  width: auto; height: auto; background: transparent; border: none;
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 20px; color: var(--bs-blue);
  min-width: 26px; flex-shrink: 0;
}
.bs .dv2-next-title {
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 20px; letter-spacing: -.02em; color: var(--bs-ink);
}
.bs .dv2-next-sub {
  font-family: var(--bs-ui); font-size: 13px; color: var(--bs-ink-3); margin-top: 3px;
}
.bs .dv2-next-go {
  font-family: var(--bs-mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bs-blue);
  border-bottom: 1px solid transparent; padding: 4px 0;
}
.bs .dv2-next-card:hover .dv2-next-go { border-bottom-color: var(--bs-blue); }

/* ── the plot ── */
.bs .dv2-toggle { background: transparent; border: 1px solid var(--bs-rule); padding: 0; gap: 0; }
.bs .dv2-toggle-btn {
  font-family: var(--bs-ui); font-variation-settings: 'wdth' 82;
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bs-ink); opacity: .7; border-radius: 0; padding: 5px 11px;
  border-right: 1px solid var(--bs-rule);
}
.bs .dv2-toggle-btn:last-child { border-right: none; }
/* An ink block with a paper label — a stamp, matching the practice masthead's
   edition toggle rather than a tinted highlight. */
.bs .dv2-toggle-btn.active { background: var(--bs-ink); color: var(--bs-stock); opacity: 1; }
.bs .dv2-toggle-btn:focus-visible { outline: 2px solid var(--bs-blue); outline-offset: 2px; }
.bs .dv2-tip {
  background: var(--bs-sheet); border: 1px solid var(--bs-ink); border-radius: 0;
  font-family: var(--bs-mono); font-size: 10px; letter-spacing: .06em;
  color: var(--bs-ink); box-shadow: 3px 3px 0 var(--bs-ink);
}
.bs .dv2-tip b { color: var(--bs-blue); font-weight: 400; letter-spacing: .14em; }

/* ── pacing: figures with mono labels, ruled apart ── */
.bs .dv2-timing-chips { gap: 0; }
.bs .dv2-tchip {
  background: transparent; border: none; border-radius: 0;
  border-right: 1px solid var(--bs-rule);
  padding: 2px 26px 4px 0; margin-right: 26px; min-width: 0;
}
.bs .dv2-tchip:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.bs .dv2-tchip-val {
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.035em;
  color: var(--bs-ink);
}
.bs .dv2-tchip.good .dv2-tchip-val { color: var(--bs-ok); }
.bs .dv2-tchip.bad  .dv2-tchip-val { color: var(--bs-miss); }
.bs .dv2-tchip.warn .dv2-tchip-val { color: var(--bs-blue); }
.bs .dv2-tchip-label {
  font-family: var(--bs-mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bs-ink-3); margin-top: 6px;
}

/* ── patterns ── */
.bs .dvp-sub {
  font-family: var(--bs-mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; color: var(--bs-ink-2);
}
.bs .dvp-bar, .bs .dv2-bar { background: var(--bs-stock-2); border-radius: 0; }
/* Flat ink, not a gradient — the press lays one ink at one density. */
.bs .dvp-bar-fill { background: var(--bs-miss); border-radius: 0; }
.bs .dvp-pace-row { background: transparent; border-bottom: 1px solid var(--bs-rule); padding: 8px 0; }
.bs .dvp-pace-time.over { color: var(--bs-miss); }
.bs .dvp-sw-row { border-bottom: 1px solid var(--bs-rule); }
.bs .dvp-sw-acc.good { color: var(--bs-ok); }
.bs .dvp-sw-acc.bad { color: var(--bs-miss); }
.bs .dvp-overconf {
  background: transparent; border: none; border-left: 3px solid var(--bs-blue);
  border-radius: 0; padding: 4px 0 4px 14px; color: var(--bs-ink-2);
  font-family: var(--bs-ui); font-size: 13px;
}
.bs .dvp-trap-name, .bs .dvp-pace-skill, .bs .dvp-sw-skill {
  font-family: var(--bs-ui); font-size: 13px; color: var(--bs-ink);
}

/* ── THE LEAGUE TABLE ──
   Twelve 270px cards in an auto-fill grid became one ruled standings table per
   domain. The card's four children are laid out as the row's four columns, so
   the markup is untouched — only the axis it reads along changes. */
.bs .dv2-domain-title {
  font-family: var(--bs-mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--bs-blue);
  padding-bottom: 7px; border-bottom: 1px solid var(--bs-ink); margin-bottom: 0;
}
.bs .dv2-skill-domain { margin-bottom: 26px; }
.bs .dv2-skill-grid { display: block; gap: 0; }
.bs .dv2-skill-card {
  display: grid; align-items: baseline;
  grid-template-columns: minmax(0, 1.7fr) minmax(130px, .85fr) minmax(0, .8fr) auto;
  column-gap: 20px; row-gap: 0;
  background: transparent; border: none; border-radius: 0;
  border-bottom: 1px solid var(--bs-rule);
  padding: 12px 4px; transition: background .12s ease;
}
.bs .dv2-skill-card:hover { background: var(--bs-sheet); transform: none; border-color: var(--bs-rule); }
.bs .dv2-skill-top { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.bs .dv2-skill-name {
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 17px; letter-spacing: -.018em; line-height: 1.2;
  color: var(--bs-ink); flex: 1; min-width: 0;
}
.bs .dv2-skill-chips { margin-left: auto; }
.bs .dv2-skill-elo {
  font-family: var(--bs-ed); font-variation-settings: normal;
  font-weight: 900; font-size: 17px; letter-spacing: -.02em; color: var(--bs-blue);
}
/* Square mono tags, not filled pills — a results table sets its status in agate. */
.bs .dv2-chip {
  border-radius: 0; background: transparent; border: 1px solid var(--bs-rule);
  font-family: var(--bs-mono); font-size: 8px; font-weight: 400;
  letter-spacing: .14em; color: var(--bs-ink-3); padding: 3px 7px;
}
.bs .dv2-chip.lesson     { color: var(--bs-blue); border-color: var(--bs-blue); background: transparent; }
.bs .dv2-chip.available  { color: var(--bs-ink-2); border-color: var(--bs-rule); background: transparent; }
.bs .dv2-chip.practicing { color: var(--bs-ink); border-color: var(--bs-ink-2); background: transparent; }
.bs .dv2-chip.proficient { color: var(--bs-ok); border-color: var(--bs-ok); background: transparent; }
.bs .dv2-chip.mastered   { color: var(--bs-stock); border-color: var(--bs-ok); background: var(--bs-ok); }
.bs .dv2-skill-bar-row { gap: 10px; }
.bs .dv2-bar-fill { border-radius: 0; }
.bs .dv2-bar-fill.low  { background: var(--bs-miss); }
.bs .dv2-bar-fill.mid  { background: var(--bs-ink-2); }
.bs .dv2-bar-fill.good { background: var(--bs-ok); }
.bs .dv2-skill-pct {
  font-family: var(--bs-mono); font-size: 10.5px; font-weight: 400;
  color: var(--bs-ink-2); letter-spacing: .04em;
}
.bs .dv2-skill-meta {
  font-family: var(--bs-mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--bs-ink-3);
}
.bs .dv2-practice-btn {
  align-self: baseline; border: none; border-bottom: 1px solid transparent;
  border-radius: 0; padding: 3px 0; background: transparent;
  font-family: var(--bs-mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bs-blue);
}
.bs .dv2-practice-btn:hover { background: transparent; color: var(--bs-blue); border-bottom-color: var(--bs-blue); }
.bs .dv2-practice-btn:focus-visible { outline: 2px solid var(--bs-blue); outline-offset: 3px; }

/* ── BOX SCORES ──
   The dotted leader is the back page's rule, and these entries are the same
   kind of thing: a numbered list you read down rather than a stack of cards. */
.bs #dv2-history-list { gap: 0; }
.bs .dv2-hist-row {
  background: transparent; border: none; border-radius: 0;
  border-bottom: 1px dotted var(--bs-rule); overflow: visible;
}
.bs .dv2-hist-row:hover { background: var(--bs-sheet); border-color: var(--bs-rule); }
.bs .dv2-hist-head { grid-template-columns: 22px 1fr auto 16px; gap: 14px; padding: 11px 4px; }
/* The mark is type, not a filled swatch. */
.bs .dv2-hist-icon {
  width: auto; height: auto; background: transparent; border-radius: 0;
  font-family: var(--bs-ui); font-size: 15px; font-weight: 700;
}
.bs .dv2-hist-icon.ok   { color: var(--bs-ok); background: transparent; }
.bs .dv2-hist-icon.miss { color: var(--bs-miss); background: transparent; }
.bs .dv2-hist-domain {
  font-family: var(--bs-mono); font-size: 9px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bs-ink-3);
}
.bs .dv2-hist-stem-preview { font-family: var(--bs-ui); font-size: 13.5px; color: var(--bs-ink); }
.bs .dv2-hist-delta {
  font-family: var(--bs-ed); font-variation-settings: normal;
  font-weight: 900; font-size: 17px; letter-spacing: -.02em; color: var(--bs-ink-3);
}
.bs .dv2-hist-delta.up   { color: var(--bs-ok); }
.bs .dv2-hist-delta.down { color: var(--bs-miss); }
.bs .dv2-hist-meta {
  font-family: var(--bs-mono); font-size: 9px; letter-spacing: .08em; color: var(--bs-ink-3);
}
.bs .dv2-hist-caret { color: var(--bs-ink-3); }
.bs .dv2-hist-detail { border-top: 1px solid var(--bs-rule); padding: 4px 4px 16px 40px; }
.bs .dv2-hist-stem { font-family: var(--bs-ui); font-size: 14px; color: var(--bs-ink); }
.bs .dv2-mchip {
  background: transparent; border: 1px solid var(--bs-rule); border-radius: 0;
  font-family: var(--bs-mono); font-size: 10px; letter-spacing: .06em; color: var(--bs-ink);
}
.bs .dv2-mchip span { font-family: var(--bs-mono); font-size: 8px; letter-spacing: .14em; color: var(--bs-ink-3); }
.bs .dv2-mchip.ok   { border-color: var(--bs-ok); color: var(--bs-ok); }
.bs .dv2-mchip.miss { border-color: var(--bs-miss); color: var(--bs-miss); }
.bs .dv2-select {
  background: transparent; border: 1px solid var(--bs-rule); border-radius: 0;
  font-family: var(--bs-mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--bs-ink); padding: 5px 8px;
}
.bs .dv2-loadmore { max-width: 240px; }
.bs .dv2-zero {
  background: transparent; border: none; border-top: 1px solid var(--bs-rule);
  border-bottom: 1px solid var(--bs-rule); border-radius: 0;
  align-items: flex-start; text-align: left; padding: 26px 4px;
}
.bs .dv2-zero-icon {
  font-family: var(--bs-ed); font-variation-settings: normal;
  font-weight: 900; font-size: 26px; color: var(--bs-blue);
}
.bs .dv2-zero-title {
  font-family: var(--bs-ed); font-variation-settings: 'WONK' 1;
  font-weight: 900; font-size: 21px; letter-spacing: -.02em; color: var(--bs-ink);
}
.bs .dv2-zero-sub { font-family: var(--bs-ui); font-size: 13.5px; color: var(--bs-ink-3); }

@media (max-width: 900px) {
  /* The league table's four columns cannot hold their measure here; it folds to
     three rows per entry rather than letting the name column collapse to nothing.
     Every cell is placed EXPLICITLY: left to auto-placement, the agate meta
     string landed in the `auto` column and sized it to its own content, which
     pushed the row wider than the viewport and forced a horizontal scrollbar. */
  .bs .dv2-skill-card {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px; padding: 14px 4px;
  }
  .bs .dv2-skill-top     { grid-column: 1 / -1; grid-row: 1; }
  .bs .dv2-skill-bar-row { grid-column: 1 / -1; grid-row: 2; }
  .bs .dv2-skill-meta    { grid-column: 1; grid-row: 3; min-width: 0; }
  .bs .dv2-practice-btn  { grid-column: 2; grid-row: 3; justify-self: end; }
}
@media (max-width: 820px) {
  .bs .dv2-hero-side { border-left: none; border-top: 1px solid var(--bs-rule); padding: 18px 0 0; }
  .bs .dv2-hero-stats { flex-direction: row; gap: 24px; }
  .bs .dv2-hero-rings { gap: 28px; }
}
@media (max-width: 560px) {
  .bs .dv2-timing-chips { gap: 18px 0; }
  .bs .dv2-tchip { padding-right: 18px; margin-right: 18px; }
  .bs .dv2-hist-head { grid-template-columns: 18px 1fr auto; gap: 10px; }
  .bs .dv2-hist-caret { display: none; }
  .bs .dv2-hist-detail { padding-left: 4px; }
}

