#trackingView .tracking-columns[hidden]{display:none}

/* A task name belongs to its group, not to every participant row. */
#trackingView .tracking-panel:has(.single-monitor, .sequence-monitor) { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
#trackingList:has(.single-monitor, .sequence-monitor) { display: grid; gap: 20px; }
.single-monitor,
.sequence-monitor { min-width: 0; border: 1px solid #dbe3dc; border-radius: 14px; overflow: hidden; background: #fff; }
.sequence-monitor-head { border-bottom: 1px solid #dbe3dc; }
.single-monitor-scroll { max-height: 70vh; overflow: auto; isolation: isolate; }
.single-monitor-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.single-monitor-table { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: left; }
.single-monitor-table caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.single-monitor-table th, .single-monitor-table td { padding: 18px 22px; border-bottom: 1px solid #e8ece7; vertical-align: middle; overflow-wrap: anywhere; }
.single-monitor-table thead th { position: sticky; top: 0; z-index: 1; color: #53645b; background: #f4f7f2; font-weight: 600; }
.single-monitor-table thead th:nth-child(1) { width: 34%; }
.single-monitor-table thead th:nth-child(2) { width: 34%; }
.single-monitor-table thead th:nth-child(3) { width: 32%; }
.single-monitor-table tbody tr:last-child > * { border-bottom: 0; }
.single-monitor-table tbody tr:hover > * { background: #fafcf9; }
.monitor-person { display: flex; align-items: center; gap: 12px; }
.monitor-person b { min-width: 0; font-weight: 700; line-height: 1.4; }
.monitor-number { display: grid; place-items: center; min-width: 30px; height: 30px; padding-inline: 4px; flex: none; border: 1px solid #dce4dd; border-radius: 8px; color: #5c6f63; background: #f3f6f1; font-weight: 600; font-variant-numeric: tabular-nums; }
.single-monitor-progress { display: grid; gap: 8px; max-width: 300px; }
.single-monitor-progress b { font-weight: 600; }
.single-monitor-progress .progress-bar { display: block; height: 5px; }
.single-monitor-progress small { color: #617068; }
.single-monitor-result { display: inline-flex; align-items: flex-start; gap: 7px; line-height: 1.5; color: #56675d; }
.single-monitor-result > span { min-width: 0; }
.single-monitor-result small { display: block; margin-top: 2px; font-weight: 400; }
.single-monitor-result.is-correct, .single-monitor-result.is-incorrect { padding: 8px 10px; border-radius: 8px; font-weight: 600; }
.single-monitor-result.is-correct { color: #195d42; background: #e4f3e9; }
.single-monitor-result.is-incorrect { color: #9d3029; background: #fce8e5; }
.single-monitor-result svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.monitor-session { display: grid; justify-items: start; margin-top: 8px; font-weight: 400; }
.monitor-session time { display: block; color: #617068; font-variant-numeric: tabular-nums; }
.monitor-session .button { min-height: 36px; padding: 5px 0; text-align: left; white-space: normal; transition: color .15s ease, background-color .15s ease; }
.monitor-session .button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.monitor-session .button:hover { text-decoration: underline; }
@media(max-width:800px) {
 .single-monitor-scroll { max-height: none; overflow: visible; }
 .single-monitor-table { display: block; min-width: 0; }
 .single-monitor-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .single-monitor-table tbody { display: block; }
 .single-monitor-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; padding: 18px 16px 8px; border-bottom: 1px solid #dbe3dc; }
 .single-monitor-table tbody tr:last-child { border-bottom: 0; }
 .single-monitor-table tbody th, .single-monitor-table tbody td { display: block; min-width: 0; padding: 0; border: 0; }
 .single-monitor-table tbody th { grid-column: 1 / -1; }
 .single-monitor-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 8px; color: #617068; font-weight: 500; }
 .monitor-session .button { min-height: 44px; }
 .single-monitor-result.is-correct, .single-monitor-result.is-incorrect { padding: 7px 8px; }
}
.sequence-monitor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;background:#fafbf8}
.sequence-monitor-head .eyebrow{font-size:11px}
.sequence-monitor-head h2{margin:5px 0 0;font-size:22px;line-height:1.3;overflow-wrap:anywhere}
.sequence-monitor-head p{margin:0;color:var(--muted);font-size:14px;flex-shrink:0}
.sequence-monitor-head > div:first-child{min-width:0}
.sequence-monitor-head h2 + p{margin-top:8px}
.monitor-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0;max-width:100%}
.monitor-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #dbe3dc;background:#fff;font-size:13px;white-space:normal;text-align:left}
.monitor-actions svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.monitor-actions .button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.monitor-actions .monitor-stop{color:#9d3029;border-color:#ebccc7}
.monitor-actions .monitor-stop:hover{background:#fce8e5}
.monitor-waiting{margin:0;padding:24px;color:var(--muted);font-size:14px}
.sequence-monitor-scroll{overflow:auto;max-height:70vh;scroll-padding-left:200px;isolation:isolate}
.sequence-monitor-scroll:focus-visible{outline:3px solid var(--green);outline-offset:-3px}
.sequence-monitor-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px;text-align:left}
.sequence-monitor-table caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sequence-monitor-table th,.sequence-monitor-table td{width:160px;min-width:160px;padding:16px;border-right:1px solid #e8ece7;border-bottom:1px solid #e8ece7;vertical-align:middle;overflow-wrap:anywhere}
.sequence-monitor-table th:first-child{width:200px;min-width:200px;position:sticky;left:0;z-index:2;background:#fff;border-right:1px solid #cbd8d0}
.sequence-monitor-table thead th{position:sticky;top:0;z-index:3;background:#f1f5f0;font-weight:700;vertical-align:top}
.sequence-monitor-table thead th:first-child{z-index:4;background:#f1f5f0}
.sequence-monitor-table thead small{display:block;margin-top:6px;color:#586961;font-size:12px;font-weight:500}
.sequence-monitor-task-number{display:block;margin-bottom:5px;color:#587365;font-size:12px;font-weight:500}
.sequence-monitor-table tbody tr:last-child>*{border-bottom:0}
.sequence-monitor-table tbody tr:hover>td,.sequence-monitor-table tbody tr:hover>th{background:#fafcf9}
.sequence-monitor-progress{display:grid;gap:8px}
.sequence-monitor-progress b{font-size:14px;font-weight:600}
.sequence-monitor-progress small{color:var(--muted);font-size:12px}
.sequence-monitor-progress .progress-bar{display:block;height:6px}
.sequence-monitor-state{display:grid;gap:5px;padding:10px 8px;border-radius:8px;font-size:13px;background:#f3f4f1;color:#5a665f}
.sequence-monitor-state>span{display:flex;align-items:center;gap:6px;font-weight:600}
.sequence-monitor-state svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sequence-monitor-state small{padding-left:24px;font-size:12px}
.sequence-monitor-state.is-started{background:#fff3d4;color:#71510c}
.sequence-monitor-state.is-correct{background:#e4f3e9;color:#195d42}
.sequence-monitor-state.is-incorrect{background:#fce8e5;color:#9d3029}
@media(max-width:800px){
 .sequence-monitor-head{align-items:flex-start;flex-direction:column;gap:10px;padding:18px 16px}
 .sequence-monitor-head h2{font-size:20px}
 .monitor-actions{justify-content:flex-start}
 .monitor-waiting{padding:18px 16px}
 .sequence-monitor-scroll{max-height:none;scroll-padding-left:136px}
 .sequence-monitor-table th,.sequence-monitor-table td{width:148px;min-width:148px;padding:12px 10px}
 .sequence-monitor-table th:first-child{width:136px;min-width:136px}
}
