    .mini-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-bottom:2.5rem}
    /* Facility Totals — the one true summary, so it gets its own visual treatment (a
       contained panel + a clear header) instead of reading as just another row of cards
       under the per-program ones. Scoped to this modifier only — .mini-stat/.mini-stats
       are shared with the parent/athlete share view, which is untouched. */
    /* now the first thing shown in Overall, right under the tab selector — no top divider needed */
    .totals-head{margin:1.1rem 0 .7rem;display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
    .totals-head__label{font-family:var(--fd);font-weight:700;font-size:1.05rem;letter-spacing:.03em;color:var(--text)}
    .totals-head__sub{font-family:var(--fb);font-size:.7rem;color:var(--t3)}
    .mini-stats--totals{background:var(--s2);border:1px solid var(--b1);border-radius:16px;padding:1.1rem;gap:.7rem;margin-bottom:1.75rem}
    .mini-stats--totals .mini-stat{background:var(--s1);box-shadow:none}
    .mini-stats--totals .mini-stat .n{font-size:2rem}
    .dash-filters{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1.25rem;background:var(--s1);border:1px solid var(--b1);border-radius:var(--r);padding:1rem 1.1rem;box-shadow:var(--sh)}
    #dashProgHead{margin:0 0 .8rem}
    .dash-filters .field{flex:1;min-width:150px}
    .dash-lead-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.9rem}
    .dash-lead-head .sub{font-family:var(--fb);font-size:.72rem;color:var(--t3)}
    .mini-stat{background:var(--s1);border:1px solid var(--b1);border-radius:var(--r);padding:1.1rem 1.25rem}
    .mini-stat .n{font-family:var(--fd);font-weight:800;font-size:1.8rem;color:var(--lime);line-height:1}
    .mini-stat .n small{font-size:.55em;color:var(--t3);font-weight:800}
    .mini-stat .l{font-family:var(--fb);font-size:.58rem;font-weight:700;letter-spacing:0;color:var(--t3);margin-top:.3rem}
    .mini-stat .sub{font-family:var(--fb);font-size:.66rem;color:var(--t2);margin-top:.35rem}
    .mini-stat--alert{border-color:var(--amber-t);background:var(--amber-b)}
    .mini-stat--alert .n{color:var(--amber)}
    .mini-stat--good .n{color:var(--green)}

    /* ── PROGRAM HEALTH CARDS ──
       One card per program, with a hierarchy. The first version of this was a card containing four
       more cards: four numbers at identical size and weight, in identical boxes, which is the same
       as having no hierarchy at all — nothing led, so nothing read.

       Now the card answers one question first (what share of this program actually trained), gives
       it a bar, and puts the two supporting rates underneath at a smaller size. The insight line
       stays last because it is the only part that tells the coach what to DO. */
    .ov-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;margin-bottom:2rem}
    .pcard{background:var(--s1);border:1px solid var(--b1);border-radius:var(--rl);box-shadow:var(--sh);padding:1.25rem 1.35rem;cursor:pointer;transition:border-color var(--ease)}
    .pcard:hover{border-color:var(--b3)}
    .pcard__head{display:flex;align-items:center;gap:.55rem;margin-bottom:1.1rem}
    .pcard__name{font-family:var(--fb);font-weight:700;font-size:1rem;letter-spacing:-.01em;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    /* a 0-100 composite, so it is labelled — an unexplained number in a chip is decoration */
    .pcard__score{margin-left:auto;flex-shrink:0;font-family:var(--fb);font-weight:600;font-size:.68rem;padding:.22rem .6rem;border-radius:100px;border:1px solid transparent;white-space:nowrap}
    .pcard__score--good{color:var(--green);background:var(--green-b);border-color:var(--green-t)}
    .pcard__score--ok{color:var(--amber);background:var(--amber-b);border-color:var(--amber-t)}
    .pcard__score--low{color:var(--red);background:var(--red-b);border-color:var(--red)}
    .pcard__top-badge{flex-shrink:0;font-family:var(--fb);font-size:.62rem;font-weight:600;color:var(--lime);background:var(--lime-d);border:1px solid var(--lime-g);border-radius:100px;padding:.18rem .5rem;white-space:nowrap}

    /* the headline: one number, at a size nothing else on the card competes with */
    .pcard__lead{display:flex;align-items:baseline;gap:.7rem;margin-bottom:.6rem}
    .pcard__leadnum{font-family:var(--fd);font-weight:800;font-size:2.6rem;line-height:.9;color:var(--lime);letter-spacing:-.03em}
    .pcard__leadnum small{font-size:.42em;font-weight:800;color:var(--t3);margin-left:.05em}
    .pcard__leadlabel{font-family:var(--fb);font-size:.72rem;line-height:1.45;color:var(--t3)}
    .pcard__leadlabel b{color:var(--t2);font-weight:700}
    .cell-bar{height:4px;border-radius:2px;background:var(--s2);overflow:hidden}
    .cell-bar__fill{height:100%;border-radius:2px;background:var(--lime)}

    /* supporting rates — deliberately smaller and un-boxed, so they read as context for the
       headline rather than as three more headlines */
    .pcard__stats{display:flex;gap:1.5rem;margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--b1)}
    .pcard__stat{min-width:0}
    .pcard__statn{font-family:var(--fd);font-weight:800;font-size:1.25rem;line-height:1;color:var(--text)}
    .pcard__statn small{font-size:.6em;font-weight:800;color:var(--t3)}
    .pcard__statl{font-family:var(--fb);font-size:.68rem;font-weight:600;color:var(--t2);margin-top:.3rem;line-height:1.35}
    .pcard__statl span{display:block;font-weight:400;font-size:.64rem;color:var(--t4)}

    .pcard__insight{font-family:var(--fb);font-size:.7rem;line-height:1.45;margin-top:1rem;padding:.55rem .7rem;border-radius:var(--r);border:1px solid var(--b1);background:var(--s2);color:var(--t2)}
    .pcard__insight--warn{color:var(--amber);background:var(--amber-b);border-color:var(--amber-t)}
    .pcard__insight--good{color:var(--green);background:var(--green-b);border-color:var(--green-t)}

    /* Facility band trend chips sit under a big number, so they need a little air */
    .cell-trend{font-family:var(--fb);font-size:.66rem;font-weight:600;margin-top:.45rem;line-height:1.3}
    .cell-trend--up{color:var(--green)}
    .cell-trend--down{color:var(--red)}
    .cell-trend--flat{color:var(--t4)}

    /* ── DASHBOARD ── */
    .dash-athlete-head{display:flex;align-items:center;gap:1rem;border-left:3px solid var(--lime);padding:1rem 1.25rem;background:var(--s1);border-radius:0 var(--r) var(--r) 0;margin-bottom:2rem;flex-wrap:wrap}
    .dash-athlete-head--perf{border-color:var(--blue)}
    .dash-ath-name{font-family:var(--fd);font-weight:700;font-size:1.8rem;letter-spacing:.03em;color:var(--lime);line-height:1}
    .dash-athlete-head--perf .dash-ath-name{color:var(--blue)}
    .dash-ath-meta{font-family:var(--fb);font-size:.72rem;color:var(--t3)}
    /* Analytics: metric cards grouped into collapsible categories */
    .cat-accordions .qa-item{margin-bottom:.85rem}
    .cat-accordions .qa-head .cat-count{font-family:var(--fb);font-size:.62rem;font-weight:700;letter-spacing:0;color:var(--t3);background:var(--s2);border-radius:100px;padding:.2rem .6rem}
    .cat-accordions .qa-body{padding-top:.5rem}

    .metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem}
    .metric-card{background:var(--s1);border:1px solid var(--b1);border-radius:var(--rl);padding:1.35rem 1.35rem 1rem;display:flex;flex-direction:column}
    .metric-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.9rem}
    .metric-card__name{font-family:var(--fd);font-weight:700;font-size:1.05rem;letter-spacing:.02em;color:var(--text);line-height:1.1}
    .metric-card__unit{font-family:var(--fb);font-size:.58rem;font-weight:700;letter-spacing:.1em;color:var(--t4)}
    .metric-card__pbrow{display:flex;align-items:flex-end;justify-content:space-between;gap:1.25rem;margin-bottom:.9rem;min-height:52px}
    .metric-card--click{cursor:pointer;transition:border-color var(--ease),transform var(--ease)}
    .metric-card--click:hover{border-color:var(--b3);transform:translateY(-2px)}
    .metric-pb{display:flex;flex-direction:column}
    .metric-pb .n{font-family:var(--fd);font-weight:800;font-size:2.1rem;color:var(--lime);line-height:.9}
    .metric-pb .l{font-family:var(--fb);font-size:.54rem;font-weight:700;letter-spacing:0;color:var(--t3);margin-top:.3rem}
    .metric-delta{display:flex;flex-direction:column;padding-bottom:.15rem}
    .metric-delta .n{font-family:var(--fd);font-weight:800;font-size:1.05rem;line-height:1}
    .metric-delta .l{font-family:var(--fb);font-size:.54rem;font-weight:700;letter-spacing:.1em;color:var(--t3);margin-top:.2rem}
    .up{color:var(--green)}.down{color:var(--red)}.flat{color:var(--t3)}
    .metric-card__chart{margin:.25rem -.35rem 0}
    .metric-card__chart svg{width:100%;height:auto;display:block;overflow:visible}
    .metric-card__foot{font-family:var(--fb);font-size:.6rem;color:var(--t4);margin-top:.6rem;display:flex;justify-content:space-between}
    .metric-card--empty{opacity:.55}
    .metric-card--empty .metric-pb .n{color:var(--t4);font-size:1.4rem}
    .chart-empty{font-family:var(--fb);font-size:.7rem;color:var(--t4);font-style:italic;padding:1.5rem 0;text-align:center}

    /* ── LEADERBOARD ── */
    .lead-select-row{display:flex;gap:1rem;flex-wrap:wrap;align-items:end;margin-bottom:1.5rem}
    .lead-list{display:flex;flex-direction:column;gap:.5rem}
    .lead-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:1rem;background:var(--s1);border:1px solid var(--b1);border-radius:var(--r);padding:.7rem 1rem;transition:border-color var(--ease)}
    .lead-row:hover{border-color:var(--b3)}
    .lead-row--1{border-color:rgba(170,255,0,.35);background:var(--lime-d)}
    .lead-rank{font-family:var(--fd);font-weight:800;font-size:1.2rem;color:var(--t3);text-align:center}
    .lead-row--1 .lead-rank{color:var(--lime)}
    .lead-name{font-family:var(--fs);font-weight:600;font-size:.9rem;color:var(--text)}
    .lead-name .age{color:var(--t4);font-size:.72rem;font-weight:500;margin-left:.4rem}
    .lead-val{font-family:var(--fd);font-weight:800;font-size:1.15rem;color:var(--text)}
    .lead-row--1 .lead-val{color:var(--lime)}
    .lead-val .u{font-family:var(--fb);font-size:.6rem;font-weight:600;color:var(--t3);margin-left:.25rem}

    /* ── MONTHLY REPORT ── */
    .report-controls{display:flex;gap:.75rem;flex-wrap:wrap;align-items:end;margin-bottom:1.5rem}
    .report-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1.75rem}
    .report-card{background:var(--s1);border:1px solid var(--b1);border-radius:var(--rl);padding:1.75rem;position:relative;overflow:hidden}
    .report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--b1);padding-bottom:1.25rem;margin-bottom:1.5rem;flex-wrap:wrap}
    .report-brand{display:flex;align-items:center;gap:.6rem}
    .report-brand img{width:42px;height:42px;object-fit:contain;border-radius:8px}
    .report-brand__t{font-family:var(--fd);font-weight:700;font-size:.75rem;letter-spacing:0;color:var(--lime);line-height:1.1}
    .report-brand__s{font-family:var(--fb);font-size:.52rem;font-weight:600;letter-spacing:0;color:var(--t3)}
    .report-period{font-family:var(--fb);font-size:.62rem;font-weight:700;letter-spacing:0;color:var(--t3);text-align:right}
    .report-athlete{font-family:var(--fd);font-weight:700;font-size:2rem;letter-spacing:.02em;color:var(--text);line-height:1}
    .report-athlete-meta{font-family:var(--fb);font-size:.72rem;color:var(--t2);margin-top:.3rem}
    .report-verdict{font-family:var(--fb);font-size:.82rem;line-height:1.6;color:var(--t2);background:var(--lime-d);border:1px solid rgba(170,255,0,.2);border-radius:var(--r);padding:.85rem 1.1rem;margin:1.25rem 0}
    .report-verdict strong{color:var(--lime)}
    .report-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.85rem;margin-bottom:1.5rem}
    .report-stat{background:var(--s2);border:1px solid var(--b1);border-radius:var(--r);padding:.9rem 1rem}
    .report-stat .n{font-family:var(--fd);font-weight:800;font-size:1.7rem;color:var(--lime);line-height:1}
    .report-stat .l{font-family:var(--fb);font-size:.55rem;font-weight:700;letter-spacing:.1em;color:var(--t3);margin-top:.3rem}
    .report-section-label{font-family:var(--fb);font-size:.6rem;font-weight:700;letter-spacing:0;color:var(--t3);margin:1.5rem 0 .85rem}
    .report-metric{display:grid;grid-template-columns:1fr 1.1fr;gap:1rem;align-items:center;background:var(--s2);border:1px solid var(--b1);border-radius:var(--r);padding:.9rem 1.1rem;margin-bottom:.65rem}
    @media(max-width:560px){.report-metric{grid-template-columns:1fr}}
    .report-metric__name{font-family:var(--fs);font-weight:700;font-size:.9rem;color:var(--text)}
    .report-metric__nums{display:flex;gap:1.25rem;margin-top:.35rem}
    .report-metric__pb{font-family:var(--fd);font-weight:800;font-size:1.35rem;color:var(--lime);line-height:1}
    .report-metric__pb .u{font-family:var(--fb);font-size:.6rem;font-weight:600;color:var(--t3);margin-left:.2rem}
    .report-metric__chg{font-family:var(--fb);font-size:.7rem;font-weight:600;align-self:flex-end;padding-bottom:.1rem}
    .report-metric__chart svg{width:100%;height:auto;display:block;overflow:visible}
    .report-foot{border-top:1px solid var(--b1);margin-top:1.5rem;padding-top:1rem;font-family:var(--fb);font-size:.6rem;color:var(--t4);text-align:center;letter-spacing:.05em}
    .newpb-badge{font-family:var(--fb);font-size:.5rem;font-weight:700;letter-spacing:0;color:var(--lime);background:var(--lime-d);border:1px solid rgba(170,255,0,.3);padding:.1rem .4rem;border-radius:100px;margin-left:.4rem;vertical-align:middle}
