/* RANKINGS · THE T RATING CARD (2026-11-05, the progress-rankings
   handoff's stage 3, A2-A8; screens/progress.js; 2026-11-09 the 1c look,
   boards P1-P7 -- WAS a title, the Gain | T switch and the phase colours
   on the axis). The app's blue for you, the quiet grey for everyone
   else. */

.pg-card { display: flex; flex-direction: column; gap: 14px;
  padding: 18px 14px 16px; border-radius: 22px;
  border: 1px solid var(--c1-card-line); background: var(--c1-card); }

/* the stat */
.pg-stat { display: flex; align-items: flex-start; gap: 16px;
  padding: 0 4px; }
.pg-big { flex: none; font-size: 44px; font-weight: 800; line-height: 1;
  color: var(--c1-ink); letter-spacing: -.02em; }
.pg-big.pg-count { font-size: 30px; line-height: 1.1; }
.pg-side { display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding-top: 2px; }
.pg-side p { margin: 0; }
.pg-strong { font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.pg-line { margin: 0; font-size: 14px; line-height: 1.4; color: #9aa6b6; }
.pg-few { margin: 0; padding: 0 4px; font-size: 14px; line-height: 1.45;
  color: #9aa6b6; }
.pg-rise { font-size: 16px; font-weight: 800; color: #6fcf97; }
.pg-pill { align-self: flex-start; padding: 3px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  font-size: 12.5px; font-weight: 700; color: var(--ink); }
.pg-lock { flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(47, 138, 224, .55); }
.pg-lock svg { width: 22px; height: 22px; fill: none;
  stroke: var(--accent-soft); stroke-width: 2; stroke-linecap: round; }

/* the quality chips: one row, scrolled sideways */
.pg-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -14px; padding: 0 14px; }
.pg-chips::-webkit-scrollbar { display: none; }
.pg-chip.c1-chip { flex: none; width: auto; height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.pg-chip i { width: 10px; height: 10px; border-radius: 50%; }
.pg-chip.on i { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }

/* the graph */
.pg-graph { display: flex; flex-direction: column; gap: 4px; }
.pg-svg { display: block; width: 100%; height: auto; overflow: visible;
  cursor: pointer; }
.pg-grid { stroke: var(--grid); stroke-width: 1; }
.pg-tick { font-size: 9.5px; fill: var(--quiet); }
.pg-mem { fill: none; stroke: rgba(160, 176, 200, .38); stroke-width: 1.2; }
.pg-avg { fill: none; stroke: rgba(220, 228, 240, .75); stroke-width: 1.5;
  stroke-dasharray: 5 4; }
.pg-band { fill: rgba(47, 138, 224, .13); stroke: none; }
.pg-you { fill: none; stroke: var(--accent); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round; }
.pg-dot { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }
.pg-guide { stroke: rgba(220, 228, 240, .35); stroke-width: 1;
  stroke-dasharray: 2 3; }
.pg-scrub { stroke: rgba(220, 228, 240, .55); stroke-width: 1; }
.pg-end { font-size: 9.5px; fill: var(--quiet); }
.pg-endy { fill: var(--ink); font-weight: 700; }
.pg-offr { fill: rgba(255, 255, 255, .06); }
.pg-offt { font-size: 9.5px; font-weight: 700; fill: var(--quiet); }

/* the axis's ends (WAS the cycles strip, 2026-11-09) */
.pg-ends { display: flex; align-items: center; justify-content: space-between;
  gap: 8px; font-size: 12px; color: var(--quiet); }
.pg-ends b { color: var(--ink); font-weight: 800; }

/* the legend */
.pg-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px;
  color: var(--quiet); }
.pg-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pg-legend i { display: inline-block; width: 18px; height: 0; }
.pg-lyou { border-top: 3px solid var(--accent); }
.pg-lavg { border-top: 2px dashed rgba(220, 228, 240, .75); }
.pg-lmem { border-top: 2px solid rgba(160, 176, 200, .5); }
.pg-lband { height: 10px !important; background: rgba(47, 138, 224, .22);
  border-radius: 3px; }
.pg-loff { height: 10px !important; background: rgba(255, 255, 255, .14);
  border-radius: 3px; }

/* the scales: four in a row */
.pg-scales { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg-scale.c1-chip { height: 40px; padding: 0 2px; font-size: 14.5px;
  text-align: center; }
.pg-scale[aria-disabled="true"] { opacity: .45; cursor: default; }

/* the summary: flat words */
.pg-sum { margin: 0; padding: 0 4px; font-size: 15px; line-height: 1.45;
  color: var(--c1-sub); }
