/* Free team roles quiz (/team-roles, issue #804): our own eight colours, the result cards and the host's role map
   (the host screen sits on top of teamSession.css, like the motivation team map). */
.tr-dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: .45em; vertical-align: baseline; }
.tr-dot-organiser, .pt-fill.tr-fill-organiser { background: #2b7bb9; }
.tr-dot-ideas, .pt-fill.tr-fill-ideas { background: #e0a020; }
.tr-dot-finisher, .pt-fill.tr-fill-finisher { background: #2e9e6b; }
.tr-dot-connector, .pt-fill.tr-fill-connector { background: #d9534f; }
.tr-dot-driver, .pt-fill.tr-fill-driver { background: #c2410c; }
.tr-dot-analyst, .pt-fill.tr-fill-analyst { background: #475569; }
.tr-dot-specialist, .pt-fill.tr-fill-specialist { background: #6f4fb0; }
.tr-dot-coordinator, .pt-fill.tr-fill-coordinator { background: #0e7490; }
.tr-sofar { font-weight: 600; color: #1d4ed8; }
.tr-main { border-left: .35rem solid #2563eb; }
.tr-second { border-left: .35rem solid #94a3b8; }
.tr-role-label { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; font-weight: 700; color: #64748b; margin-bottom: .2rem; }
.tr-role-name { font-size: 1.5rem; font-weight: 800; margin-bottom: .3rem; }
.tr-bars { display: grid; gap: .45rem; }
.tr-bar { display: grid; grid-template-columns: 9.5rem 1fr 2.5rem; align-items: center; gap: .6rem; font-size: .92rem; }
.tr-bar-num { text-align: right; font-weight: 700; }
.tr-nudge { border-left: .35rem solid #16a34a; }
.tr-code-input { text-transform: uppercase; letter-spacing: .25em; font-weight: 700; max-width: 220px; }
@media (max-width: 480px) { .tr-bar { grid-template-columns: 7rem 1fr 2rem; font-size: .85rem; } }

/* Host screen */
.trt-count { font-size: 2.6rem; font-weight: 800; margin-bottom: .4rem; }
.trt-team { flex: 1; padding: 10px 32px 24px; max-width: 1100px; margin: 0 auto; width: 100%; }
.trt-team-title { font-size: 2.2rem; font-weight: 800; text-align: center; margin: 0 0 .3rem; }
.trt-team-note { text-align: center; color: #ddd6fe; margin: 0 auto 1.4rem; max-width: 760px; }
.trt-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 1.6rem; }
.trt-role { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 12px 18px; }
.trt-role-missing { border: 2px dashed #fca5a5; }
.trt-role-many { border: 2px solid #fde68a; }
.trt-role-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: .35rem; }
.trt-role-name { font-size: 1.25rem; font-weight: 800; margin: 0; }
.trt-badge { border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: .85rem; background: #e2e8f0; color: #1e1b4b; }
.trt-badge-missing { background: #fca5a5; }
.trt-badge-many { background: #fde68a; }
.trt-line { display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 12px; margin: .25rem 0; }
.trt-label { color: #c4b5fd; font-size: .95rem; }
.trt-num { font-weight: 800; text-align: right; }
.trt-track { background: rgba(255,255,255,.18); height: 14px; }
.pt-fill.trt-second { background: #cbd5e1; }
.trt-tips-title { font-size: 1.6rem; font-weight: 800; text-align: center; margin: .5rem 0 1rem; }
.trt-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.trt-tip { background: #fff; color: #1e1b4b; border-radius: 18px; padding: 16px 18px; }
.trt-tip-missing { border-left: 8px solid #d9534f; }
.trt-tip-many { border-left: 8px solid #e0a020; }
.trt-tip-thin { border-left: 8px solid #2b7bb9; }
.trt-tip-general { border-left: 8px solid #2e9e6b; }
.trt-tip-title { font-size: 1.2rem; font-weight: 800; margin: 0 0 .4rem; }
.trt-tip-text { margin: 0; }
.trt-ended { color: #fff; font-size: 1.4rem; text-align: center; margin: 20vh auto; max-width: 640px; padding: 0 20px; }
@media (max-width: 640px) { .trt-team { padding: 10px 14px; } .trt-roles { grid-template-columns: 1fr; } }
