/*
 * styles/roster.css — P02-7 member hub roster + "my turn" highlight.
 * ──────────────────────────────────────────────────────────────────────────
 * Scoped to .view-member-roster. Reuses the frozen P00-2 tokens ONLY (no ad-hoc
 * hex, no new visual language beyond layout) — the "my turn" card is the
 * standard .card--accent lifted with the accent tint so it's unmistakable.
 */

.view-member-roster { display: flex; flex-direction: column; gap: var(--sp-5); }

/* ── the "my turn" highlight card ─────────────────────────────────────────── */
.myturn {
  border-top-width: 5px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 60%);
  box-shadow: var(--shadow-lg);
}
.myturn__kicker { color: var(--accent-ink); font-size: var(--fs-sm); }
.myturn__lead {
  margin: var(--sp-2) 0 var(--sp-4);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--ink);
}

.myturn__countdown {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
}
.myturn__countdown-icon { display: inline-flex; align-self: center; opacity: .9; }
.myturn__countdown-time {
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.myturn__countdown-label { font-size: var(--fs-sm); font-weight: var(--fw-bold); opacity: .92; }

/* ── slide-submission panel ───────────────────────────────────────────────── */
.slide-panel {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}
.slide-panel__head { font-weight: var(--fw-black); color: var(--ink); display: flex; align-items: center; gap: var(--sp-2); }
.slide-panel__due { margin: 0; font-size: var(--fs-sm); font-weight: var(--fw-bold); display: flex; align-items: center; gap: var(--sp-2); color: var(--muted); }
.slide-panel__due.is-submitted { color: var(--rag-green-ink); }
.slide-panel__due.is-overdue { color: var(--rag-red-ink); }
.slide-panel__note { margin: 0; font-size: var(--fs-xs); color: var(--muted); display: flex; align-items: center; gap: var(--sp-2); }

.slide-picker { display: flex; flex-direction: column; gap: var(--sp-2); width: 100%; }
.slide-picker__input { font-size: var(--fs-sm); color: var(--ink); }
.slide-picker__chosen { font-size: var(--fs-xs); color: var(--muted); }

/* submitted mock file card */
.slide-file {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3);
  border: 1px solid color-mix(in srgb, var(--rag-green) 40%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--rag-green) 8%, var(--surface));
}
.slide-file__icon { display: inline-flex; color: var(--rag-green-ink); font-size: var(--fs-lg); }
.slide-file__body { flex: 1 1 auto; min-width: 0; }
.slide-file__name { font-weight: var(--fw-bold); color: var(--ink); overflow-wrap: anywhere; }
.slide-file__meta { font-size: var(--fs-xs); color: var(--muted); }
.slide-file__badge { flex-shrink: 0; }

/* ── the read-only roster listing ─────────────────────────────────────────── */
.roster-slots { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.roster-slot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.roster-slot--mine {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.roster-slot__icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-ink);
}
.roster-slot__body { flex: 1 1 auto; min-width: 0; }
.roster-slot__label { font-size: var(--fs-xs); font-weight: var(--fw-black); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.roster-slot__who { font-weight: var(--fw-bold); color: var(--ink); }
.roster-slot__who--empty { color: var(--muted); font-weight: var(--fw-bold); font-style: italic; }
.roster-slot__sub { font-size: var(--fs-sm); color: var(--muted); }
.roster-slot__tag { flex-shrink: 0; }

.roster-note { margin: var(--sp-3) 0 0; color: var(--muted); font-weight: var(--fw-bold); display: flex; align-items: flex-start; gap: var(--sp-2); }
