/* Client Surveys (win_tab_csat.py). Phone first: one column of cards, nothing wider than the screen. */
.cs-root { display: grid; gap: 12px; min-width: 0; max-width: 100%; overflow-x: clip; }
.cs-root h2 { font-size: 20px; }
.cs-root h3 { font-size: 16px; margin: 6px 0 0; }
.cs-subline, .cs-cap, .cs-foot, .cs-sub { margin: 0; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.cs-note { margin: 0; color: var(--amber); font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.cs-empty { margin: 0; color: var(--muted); padding: 12px 4px; text-align: center; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 4px; background: rgba(34, 38, 51, .5); border-radius: 8px; padding: 4px;
  justify-self: start; max-width: 100%; }
.cs-chips button { border: 0; background: none; color: var(--muted); border-radius: 6px; padding: 8px 12px; font-size: 13px;
  font-weight: 500; cursor: pointer; white-space: nowrap; }
.cs-chips button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.cs-points { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.cs-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0;
  display: grid; gap: 4px; }
.cs-name { font-size: 15px; overflow-wrap: anywhere; }
.cs-score { font-size: 26px; font-weight: 700; color: var(--text); }
.cs-of { font-size: 13px; color: var(--muted); font-weight: 500; }
.cs-low { color: var(--amber); font-size: 12.5px; font-weight: 600; }
.cs-list { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 14px; min-width: 0; }
.cs-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 8px; align-items: baseline;
  padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.cs-row:first-child { border-top: 0; }
.cs-rank { color: var(--muted); font-size: 13px; }
.cs-who { font-weight: 650; overflow-wrap: anywhere; min-width: 0; }
.cs-avg { font-weight: 700; text-align: right; }
.cs-row .cs-sub { grid-column: 2 / 4; }
.cs-reply { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; min-width: 0;
  display: grid; gap: 4px; }
.cs-text { margin: 0; font-size: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
.cs-foot { font-size: 12px; }
@media (min-width: 900px) { .cs-root { max-width: 760px; } .cs-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
