/* TRAINING TOTALS AND CYCLES (2026-11-05, the progress-rankings handoff's
   stage 4, C1-C7; screens/totals.js). The switch and the period chips are
   the boards' (`sqb-seg`, `sqb-chips`); a quality's dot and bar its
   colour; no red anywhere -- a fall is the board's grey. */
.tt-seg { margin: 0; }
.tt-chips { margin: 0; }
.tt-top, .tt-all { gap: 6px; }
.tt-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tt-big b { font-size: 40px; font-weight: 800; line-height: 1.05; }
.tt-big span { font-size: 15px; color: var(--c-ink-2); }
.tt-line { font-size: 13.5px; color: var(--c-ink-2); }
.tt-eye { font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-soft); }
.tt-rows { gap: 0; }
.tt-row { display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--grid); }
.tt-row:last-child { border-bottom: 0; }
.tt-dot { flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--qc); box-shadow: 0 0 0 7px rgba(255, 255, 255, .06); }
.tt-row .grow { flex: 1; display: flex; flex-direction: column; gap: 3px;
  min-width: 0; }
.tt-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tt-name b { font-size: 16px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.tt-sub { font-size: 13px; color: var(--c-ink-2); }
.tt-bar { display: block; height: 4px; margin-top: 3px; border-radius: 2px;
  background: var(--grid); overflow: hidden; }
.tt-bar i { display: block; height: 100%; border-radius: 2px; }
.tt-n { flex: none; font-size: 17px; white-space: nowrap; }
.tt-how { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 12px;
  font-weight: 700; }
.tt-measured { background: rgba(99, 210, 154, .14); color: #63d29a; }
.tt-planned { background: rgba(255, 255, 255, .08); color: var(--c-ink-2); }
.tt-note { margin: 0; font-size: 13px; color: var(--quiet); }
.tt-big-tag { flex: none; padding: 1px 8px; border-radius: 999px;
  background: rgba(99, 210, 154, .14); color: #63d29a; font-size: 11px;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
/* C4: a segment a cycle, its width its share of the gain */
.tt-segs { display: flex; gap: 4px; margin-top: 8px; }
.tt-segs span { min-width: 0; padding: 6px 4px; border-radius: 8px;
  background: rgba(47, 138, 224, .55); color: #fff; font-size: 11.5px;
  font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.tt-segs span.tt-fall { background: rgba(255, 255, 255, .08);
  color: var(--c-ink-2); }
.tt-crow .grow { flex: 1; display: flex; flex-direction: column; gap: 2px;
  min-width: 0; }
.tt-crow .grow > b { display: flex; align-items: center; gap: 8px; }
.tt-now { padding: 1px 8px; border-radius: 999px;
  background: rgba(47, 138, 224, .18); color: var(--accent-soft);
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; }
.tt-cg { flex: none; font-size: 18px; }
.tt-cg.sq-up { color: #63d29a; }
.tt-next { flex-direction: row; align-items: flex-start; gap: 14px; }
.tt-nico { flex: none; display: grid; place-items: center; width: 40px;
  height: 40px; border-radius: 50%; background: rgba(47, 138, 224, .14);
  color: var(--accent-soft); font-size: 18px; font-weight: 800; }
.tt-next .grow { flex: 1; display: flex; flex-direction: column; gap: 4px;
  min-width: 0; }
.tt-next b { font-size: 17px; }
.tt-next p { margin: 0; color: var(--c-ink-2); line-height: 1.4; }
.tt-newh { font-size: 17px; }
/* C6-C7: the sheet's pill and its three tiles */
.tt-sbig b { font-size: 48px; }
.tt-pill { align-self: flex-start; padding: 3px 10px; border-radius: 999px;
  background: rgba(99, 210, 154, .14); color: #63d29a; font-size: 13px;
  font-weight: 700; }
.tt-pill.tt-kept { background: rgba(47, 138, 224, .16);
  color: var(--accent-soft); }
.tt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; }
.tt-tile { display: flex; flex-direction: column; align-items: center;
  gap: 2px; min-width: 0; padding: 10px 6px; border: 1px solid var(--line);
  border-radius: 14px; }
.tt-tile b { max-width: 100%; font-size: 18px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.tt-tile span { font-size: 12px; color: var(--c-ink-2); }
