/*
 * Who sees what by role, View as and the parts sticker (lane t22-roleviews, 16 Oct 2026; js/v3_roles.js 1.0.0). Only
 * the desk's own tokens, so every theme follows. Nothing here draws while the server switch desk.board.roles is off:
 * every rule hangs off .rv-*, which only that file adds.
 */

.rv-f .rv-sel { max-width: 220px; }

.rv-sticker { display: flex; align-items: baseline; flex-wrap: wrap; margin: 0; min-width: 0; font-size: .875rem; line-height: 1.25rem; }
.rv-parts { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; min-width: 0; }
.rv-part {
  display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; font-size: .8125rem; line-height: 1.25rem;
  font-weight: 600; color: var(--ink-2); border: 1px solid var(--edge-strong); overflow-wrap: anywhere;
}
.rv-part.is-mine { color: var(--ink); border-color: var(--brand); }
.rv-part.is-waiting { border-style: dashed; }
.rv-part.is-done { color: var(--ok); border-color: var(--ok); }
.rv-part.is-going { color: var(--ink); border-color: var(--warn); }
.rv-part.is-failed { color: var(--danger); border-color: var(--danger); }

@media (max-width: 640px) {
  .rv-f .rv-sel { max-width: 100%; }
}
