/* ══════════════════════════════════════════════════════════════════
 *  report-student.css — 수업 리포트 › «학생별» (js/report-student-panel.js · -list.js · -strip.js · -detail.js · 접두 .rsv-)
 *  정본 = docs/10_디자인/수업리포트_학생별_타임라인_계획.md
 *    학생 목록(§4-4 · 한 줄 머리 띠 + 등급별 묶음) · 슬라이드 상세(§4-2 · 머리 띠 · 10장 띠 · 슬라이드 목록 + 4:3 화면 틀 · 사실 칸)
 *  색은 뜻 하나씩: 지표 색(아래 --rsv-c-*) · 옅은 학교 색 + 왼쪽 띠 = 고른 것 · 문제 유형 칩 = .qtc(common.css) ·
 *    등급 색은 참여도에만(학생 목록 묶음 머리 칩 · 띠 칸 · 상세 등급 칩 · --eng-grade-* · 참여도 · 집중도 배지와 같은 4단계).
 *  카드 안에 카드를 두지 않는다(§0-D D10).
 * ═════════════════════════════════════════════════════════════════ */
/* 글자 아랫단 12 · 13(§0-D D1 · 결정 2A) — 전역 토큰을 올리면 이 줄의 두 값은 지운다 */
.rsv { --text-xs: 12px; --text-sm: 13px; font-size: var(--text-sm); color: var(--text-body); word-break: keep-all; overflow-wrap: break-word; min-width: 0; scroll-margin-top: var(--rsv-top, 0px); }
.rsv-dim { color: var(--text-muted); }
.rsv-none { padding: 14px 16px; margin: 0; color: var(--text-muted); }
.rsv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); min-width: 0; }
.rsv-card + .rsv-card { margin-top: var(--space-3); }

/* 지표 색 = 공용 토큰 한 벌(R284 ④ · 2026-11-12 · 옛 R221 ⑧ 의 D9 1~3번을 바꿈) — 수업 전체와 같은 색 · 다크 짝도 토큰이 맡는다(css/common.css).
     색은 뜻이 없고 칸 머리 글자가 지표를 가른다(D13 «차트 색»). 두 학교에 같다(특수학교 학교 색은 채도가 낮아 막대가 회색처럼 읽힌다 · 10-22). */
.rsv {
  --rsv-c-o: var(--text-muted);
  --rsv-c-p: var(--metric-par);
  --rsv-c-a: var(--metric-foc);
  --rsv-c-s: var(--metric-sat);
}
/* 막대 — 높이 8 · 끝 둥글게 · 값이 없으면(.no) 바탕도 그리지 않는다(측정된 0 과 구분)
   [keep-css] .rsv-bar — 옛 첫 화면(2026-11-03 지움)의 지표 막대 · 지금 그리는 곳은 없다. 다크 시험(tests/frontend/dark_theme_lesson_report_20261024.spec.js)
   고정 목록이 이 막대 색(지표 색 --rsv-c-p)을 잰다 — 슬라이드 상세 사실 칸(다시 만들기 Task 6)에서 쓰거나 그 시험과 함께 지운다 */
.rsv-bar { display: block; height: 8px; border-radius: var(--radius-xs); background: var(--bg-subtle); overflow: hidden; }
.rsv-bar.no { background: none; }
.rsv-bar i { display: block; height: 100%; border-radius: var(--radius-xs); }
.rsv-bar i.m-o { background: var(--rsv-c-o); }
.rsv-bar i.m-p { background: var(--rsv-c-p); }
.rsv-bar i.m-a { background: var(--rsv-c-a); }
.rsv-bar i.m-s { background: var(--rsv-c-s); }

.rsv-srch { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--border-input); border-radius: var(--radius-sm); color: var(--text-muted); background: var(--surface); }
.rsv-srch input { border: 0; outline: 0; font: inherit; font-size: var(--text-sm); color: var(--text); width: 100%; min-width: 0; background: none; }
.rsv-srch:focus-within { outline: 2px solid var(--border-focus); outline-offset: 1px; }

/* ── 학생 목록(첫 화면 · 계획서 §4-4 · 시안 71 topHTML · viewList) — js/report-student-list.js ──
   머리 = 한 줄 띠(슬라이드 상세 머리 띠와 같은 흰 띠 · 상자 높이 36) · 칸 = 학번(13 흐린) + 이름(14 · 600) · 높이 36.
   폭은 이 칸의 폭으로 가른다 — 900 아래(태블릿 가로) = 회차 상자에서 이름을 빼고 찾기 140 · 560 아래(휴대폰) = 세 줄(회차 상자 / 찾기 / 이전 · 다음)이고 날짜 줄은 감춘다 */
.rsv-list { container: rsvl / inline-size; }
.rsv-lbar { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); padding: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.rsv-lbar > * { flex: none; }
.rsv-rpw { position: relative; flex: 0 1 auto; min-width: 0; }
.rsv-rpick { display: inline-flex; align-items: center; gap: var(--space-2); max-width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-md); font-weight: 700; color: var(--text); white-space: nowrap; cursor: pointer; }
.rsv-rpick .rn { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.rsv-rpick .car { font-size: var(--text-xs); color: var(--text-muted); }
.rsv-rpick:focus-visible, .rsv-rsteps button:focus-visible, .rsv-pill:focus-visible, .rsv-pick button:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 1px; }
.rsv-lmeta { flex: 1 1 auto; min-width: 0; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
.rsv-lbar .rsv-srch { width: 180px; height: 36px; }
.rsv-rsteps { display: flex; gap: 4px; }
.rsv-rsteps button { height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-sm); color: var(--text); white-space: nowrap; cursor: pointer; }
.rsv-rsteps button:hover:not(:disabled), .rsv-rpick:hover { background: var(--surface-hover); }
.rsv-rsteps button:disabled { color: var(--text-faint); cursor: default; }   /* [design-ok] 꺼진 단추 글자(WCAG 1.4.3 예외 · 시안 71 .dsteps button:disabled 그대로) */
/* 회차 펼침 목록 — 회차 · 이름 · 날짜(분석 중) 한 줄씩 · 맨 아래 열지 않은 회차 개수 */
.rsv-pick { position: absolute; top: calc(100% + 4px); left: 0; z-index: var(--z-dropdown); width: 420px; max-width: calc(100cqw - 16px); max-height: 360px; overflow-y: auto; padding: 4px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.rsv-pick[hidden] { display: none; }
.rsv-pick button { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: var(--text-base); color: var(--text-body); text-align: left; cursor: pointer; }
.rsv-pick button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-pick button:hover:not(:disabled) { background: var(--surface-hover); }
.rsv-pick button.is-on { background: var(--primary-light); }
.rsv-pick button:disabled { color: var(--text-faint); cursor: default; }   /* [design-ok] 고를 수 없는 회차(분석 중 · WCAG 1.4.3 예외 · 시안 71 .pick button:disabled 그대로) */
.rsv-pick em { font-style: normal; font-size: var(--text-sm); color: var(--text-muted); }
.rsv-pick .pfoot { padding: 8px 12px; font-size: var(--text-xs); color: var(--text-muted); border-top: 1px solid var(--border); }
/* 등급별 묶음 — 머리 = 등급 칩 + 인원 · 칸은 줄바꿈해 이어 놓는다 */
.rsv-grp { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.rsv-grp:last-child { border-bottom: 0; }
/* 회차별 등급 칩(«위험 2명»)에서 온 묶음 — 잠깐 테두리로 짚는다(2026-11-30 · 길 찾기 ① · js/report-student-list.js _toGrade) ·
   초점은 그 묶음에 간다 — 키보드로 왔으면 테두리가 남는다(:focus-visible) · 마우스로 왔으면 1.8초 뒤 사라진다 */
.rsv-grp { outline: 2px solid transparent; outline-offset: -2px; transition: outline-color var(--dur-slow) var(--ease); scroll-margin-top: calc(var(--rsv-top, 0px) + var(--space-2)); }   /* 긴 묶음은 머리부터 — 붙어 있는 상단바 아래에 선다 */
.rsv-grp:is(.is-flash, :focus-visible) { outline-color: var(--border-focus); }
.rsv-grp h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 10px; font-size: var(--text-base); font-weight: 600; color: var(--text); }
.rsv-grp h3 .n { font-weight: 400; color: var(--text-muted); }
/* 등급 칩 — 등급 색(--gc) 옅은 바탕 + 진한 글자 + 점 · 측정 못 함 · 결석은 회색 칩(점 없음 · 글자는 본문색 = 회색 바탕 위 4.5 넘게). 등급 글자 = 등급 색과 글자색을 섞어 두 테마에서 읽힌다(대비 5.1 이상 · 2026-11-03 실측) */
.rsv-gchip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 600; background: var(--bg-subtle); color: var(--text-body); }
.rsv-gchip.is-g { background: color-mix(in srgb, var(--gc) 12%, var(--surface)); color: color-mix(in srgb, var(--gc) 70%, var(--text)); }
.rsv-gchip.is-g::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gc); }
.rsv-gchip.is-exc { --gc: var(--eng-grade-exc); }
.rsv-gchip.is-good { --gc: var(--eng-grade-good); }
.rsv-gchip.is-warn { --gc: var(--eng-grade-warn); }
.rsv-gchip.is-bad { --gc: var(--eng-grade-bad); }
.rsv-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.rsv-pill { display: inline-flex; align-items: baseline; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-base); line-height: 34px; color: var(--text-body); white-space: nowrap; cursor: pointer; }
.rsv-pill:hover { background: var(--surface-hover); }
.rsv-pill .no { font-size: var(--text-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rsv-pill b { font-weight: 600; color: var(--text); }
.rsv-pill em { font-style: normal; font-size: var(--text-xs); color: var(--text-muted); }
.rsv-pill.is-off { cursor: default; border-style: dashed; }
.rsv-pill.is-off:hover { background: var(--surface); }
.rsv-pill.is-off b { color: var(--text-muted); }
@container rsvl (max-width: 900px) {
  .rsv-rpick .rn { display: none; }
  .rsv-lbar .rsv-srch { width: 140px; }
}
@container rsvl (max-width: 560px) {
  .rsv-lbar { flex-wrap: wrap; }
  .rsv-rpw { flex: 1 1 100%; }
  .rsv-rpick { width: 100%; }
  .rsv-rpick .rn { display: inline; }
  .rsv-rpick .car { margin-left: auto; }
  .rsv-lmeta { display: none; }
  .rsv-lbar .rsv-srch { flex: 1 1 100%; width: auto; }
  .rsv-rsteps { width: 100%; }
  .rsv-rsteps button { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .rsv-grp { padding: 12px; }
}

/* ── 슬라이드 상세(계획서 §4-2 ①③④⑦⑨⑪ · 시안 71 .dbar · .dt-body · .slist · .dpanel · .dhead · .dgrid · 14차 화면 틀) — js/report-student-detail.js ──
   폭은 이 칸의 폭으로 가른다(컨테이너 rsvd) — 넓게 = 목록 280 + 오른쪽 칸(화면 틀 | 사실 칸 나란히 · 실제 앱 1440 + 왼쪽 메뉴 = 칸 1142 도 두 칸 · 결정 보고 3-2 A) ·
   1100 아래(태블릿 · 실제 앱 1024 = 칸 726) = 목록 220 + 화면 틀 위 · 사실 칸 아래 ·
   600 아래(휴대폰) = 목록 감춤(띠와 ‹ › 로 옮긴다) · 머리 띠 세 줄 · 간략 정보 감춤. 화면 틀 = 4:3 고정(슬라이드 · 영상 같은 크기). */
.rsv-det { container: rsvd / inline-size; }
.rsv-det[aria-busy="true"] .rsv-dtb { opacity: .6; }
.rsv-det > * + * { margin-top: var(--space-4); }
/* 머리 띠(①) — 흰 띠 하나 · 안의 단추 · 이름 · 회차 상자 높이 36 · 이름은 굵기로만 가장 강하게(700 · 글자 단계에 16 이 없어 15)
   회색 바탕 위 흐린 글자(학번 · 목록 «N번 띄움» · 고르지 않은 보기 칸)는 --text-muted 가 4.34 라 --text-body(시안과 다른 곳 · 학생 목록 회색 칩과 같은 까닭) */
/* 한 줄에 다 못 들면 값(.rsv-dinfo)부터 다음 줄로 접는다 — 잘라 감추지 않는다(실제 앱 1024 = 칸 726 · 개발환경 모의수업 D3) */
.rsv-dbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.rsv-dbar > * { flex: none; }
.rsv-up { height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-sm); font-weight: 700; color: var(--primary-dark); cursor: pointer; white-space: nowrap; }
.rsv-dwho, .rsv-drnd { display: inline-flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--bg-subtle); white-space: nowrap; }
.rsv-dwho .sno { font-size: var(--text-sm); font-weight: 600; color: var(--text-body); font-variant-numeric: tabular-nums; }
.rsv-dwho b { font-size: var(--text-md); font-weight: 700; color: var(--text); }
/* 이름 칸 = 학생 리포트로 가는 문(2026-11-30 · 길 찾기 ② · js/report-student-detail.js whoHTML) — 손을 올리면 옅은 학교 색 · 이름 밑줄 · 칸 안 작은 문서 표시 */
a.rsv-dwho { color: inherit; text-decoration: none; cursor: pointer; transition: background-color var(--dur-fast) var(--ease); }
a.rsv-dwho:hover { background: var(--primary-soft); }
a.rsv-dwho:hover b { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
a.rsv-dwho:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 1px; }
.rsv-dwho-ico { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
a.rsv-dwho:hover .rsv-dwho-ico { color: var(--primary-dark); }
.rsv-drnd { font-size: var(--text-base); color: var(--text-body); }
.rsv-dinfo { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px 14px; padding: 0 8px; overflow: hidden; color: var(--text-muted); white-space: nowrap; }
.rsv-dinfo b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.rsv-dinfo > span { display: inline-flex; align-items: center; gap: 6px; }
.rsv-dsteps, .rsv-stepper { display: flex; gap: 4px; margin-left: auto; }
.rsv-dsteps button, .rsv-stepper button { height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-sm); color: var(--text); white-space: nowrap; cursor: pointer; }
:is(.rsv-dsteps, .rsv-stepper) button:hover:not(:disabled), .rsv-up:hover { background: var(--surface-hover); }
:is(.rsv-dsteps, .rsv-stepper) button:disabled { color: var(--text-faint); cursor: default; }   /* [design-ok] 꺼진 단추 글자(WCAG 1.4.3 예외 · 시안 71 .dsteps button:disabled 그대로) */
.rsv-det :is(button, [tabindex]):focus-visible { outline: 2px solid var(--border-focus); outline-offset: 1px; }
/* 몸통 — 왼쪽 목록은 오른쪽 칸 높이를 따른다(contain:size · 목록 길이가 높이를 바꾸지 않는다 · 14차) */
.rsv-dtb { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
.rsv-slist { contain: size; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.rsv-sli { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--border); background: none; font: inherit; text-align: left; color: var(--text-body); cursor: pointer; }
.rsv-sli:last-child { border-bottom: 0; }
.rsv-sli:hover { background: var(--surface-hover); }
.rsv-sli.is-on { background: var(--primary-light); box-shadow: inset 3px 0 0 var(--primary); }   /* [design-ok] 그림자가 아니라 고른 줄 왼쪽 띠(시안 71 .slist button.on) */
.rsv-sli .sn { font-size: var(--text-sm); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rsv-sli .st { display: flex; flex-direction: column; min-width: 0; font-size: var(--text-sm); }
.rsv-sli .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsv-sli .sm { font-size: var(--text-xs); color: var(--text-body); }
.rsv-dpanel { min-width: 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.rsv-dhead { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.rsv-dhead h3 { flex: none; margin: 0; font-size: var(--text-lg); font-weight: 700; color: var(--text); white-space: nowrap; }
.rsv-dhead .qtc { margin-right: auto; min-width: 0; }
.rsv-stepper { flex: none; margin-left: 0; }
.rsv-dgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-6); }
/* «슬라이드 | 영상»(④) */
.rsv-seg2 { display: inline-flex; padding: 2px; margin-bottom: var(--space-3); border-radius: var(--radius-sm); background: var(--bg-subtle); }
.rsv-seg2 button { height: 32px; padding: 0 16px; border: 0; border-radius: var(--radius-xs); background: none; font: inherit; font-size: var(--text-sm); color: var(--text-body); cursor: pointer; }
.rsv-vseg { margin-left: var(--space-2); }   /* 띄운 차례 «첫 번째 · 두 번째»(결정 2 A) — «슬라이드 | 영상» 옆 */
.rsv-seg2 button.is-on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 0 0 1px var(--border-strong); }   /* [design-ok] 그림자가 아니라 고른 칸 테두리(시안 71 .seg2 button.on) */
/* 화면 틀(⑪ · 14차) — 4:3 고정 · 바탕 = 회색 여백 · 슬라이드는 흰 판으로 가운데 · 넘치면 줄인다(fitCard · 늘리지 않는다) · 영상은 틀을 채운다.
   재생 막대(js/report-student-player.js)는 늘 틀 바로 아래 [data-rsv-player] 자리 */
.rsv-mstage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.rsv-mstage .rsv-pv { flex: none; width: calc(100% - 40px); max-width: 520px; aspect-ratio: auto; transform-origin: center center; }
.rsv-mstage .rsv-pv.is-card { width: 1280px; max-width: none; border-radius: var(--radius); }
.rsv-video { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: var(--bg-subtle); color: var(--text-body); text-align: center; }
/* 학생 영상(Task 8 · 시안 71 .video · .vt · .vb · .vaway) — js/report-student-video.js · 틀을 채우는 어두운 바탕 · 영상은 줄여 넣는다(자르지 않는다) ·
   위 = «웹캠 · 수업 0:00» · 손 들기 표(is-hand) · 자리 비움 판(is-away) · 그 시각 조각이 없으면 «영상 없음» 판(is-gap) ·
   처리방침 동의가 확인되지 않은 학생은 «동의가 확인되지 않아 볼 수 없어요» 판(is-pend · Task 14 · 결정 1-2 가) */
.rsv-video[data-rsv-video] { padding: 0; background: var(--yt-stage); color: var(--yt-ink); }
.rsv-video .vel { width: 100%; height: 100%; object-fit: contain; }
.rsv-video .vt { position: absolute; left: 12px; top: 10px; font-size: var(--text-sm); color: var(--yt-sub); font-variant-numeric: tabular-nums; }
.rsv-video .vb { position: absolute; right: 12px; top: 8px; display: none; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--yt-hand-bg); color: var(--yt-ink); font-size: var(--text-sm); font-weight: 700; }
.rsv-video :is(.vaway, .vgap, .vpend) { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: var(--text-base); font-weight: 600; }
.rsv-video .vaway { background: repeating-linear-gradient(135deg, rgba(15, 23, 42, 0) 0 10px, rgba(148, 163, 184, .12) 10px 14px); }
.rsv-video :is(.vgap, .vpend) { background: var(--yt-stage); }
.rsv-video :is(.vaway, .vgap, .vpend) span { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-pill); background: rgba(15, 23, 42, .85); }
.rsv-video.is-hand .vb { display: inline-flex; }
.rsv-video.is-away .vaway, .rsv-video.is-gap .vgap, .rsv-video.is-pend .vpend { display: flex; }
/* «영상이 없습니다.» — 그 방문에 영상 조각이 하나도 없다(R273 · js/report-student-video.js is-empty) · «영상 없음»(.vgap = 조각 사이 빈 시각)과 다르다 */
.rsv-video .vnone { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: var(--yt-stage); font-size: var(--text-base); font-weight: 600; }
.rsv-video.is-empty .vnone { display: flex; }
/* 데모 임시 사진(2026-11-13 사용자 «영상없는애들은 임시로 이미지만첨부해서 재생할수있게만») — 데모 계정 · 영상 조각이 하나도 없는 방문만 ·
   js/report-student-video.js viewState(is-stand) · js/round-slide-detail.js «교실»(data-rsd-novid) · 진짜 영상이 오면 쓰지 않는다 */
.rsv-video .vimg { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: contain; }
.rsv-video.is-stand .vimg { display: block; }
.rsv-video[data-rsd-novid].is-stand { padding: 0; background: var(--yt-stage); color: var(--yt-ink); }
/* 작은 화면(R273 · 2026-11-09) — 큰 화면 오른쪽 위 · 같은 재생 막대를 따른다 · 누르면 큰 화면과 바뀐다 · X 로 닫는다(js/report-student-detail.js pipHTML).
   학생 영상 칸은 조각 목록을 받은 뒤에만 · 조각이 하나도 없거나 동의 전 · 철회면 감춘다. 소리는 없다(소리는 큰 화면 쪽 하나). */
.rsv-pip { position: absolute; z-index: 6; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: clamp(112px, 32%, 240px); aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--surface); border-radius: var(--radius-sm); background: var(--yt-stage); box-shadow: 0 2px 10px rgba(15, 23, 42, .35); }   /* [design-ok] 큰 화면 위에 떠 있는 작은 화면 — 경계가 보이게 */
.rsv-pip[data-pip="slide"] { background: var(--surface-2); }
.rsv-pip .rsv-pv { flex: none; transform-origin: center center; }
.rsv-pip:has(.rsv-video:not(.is-loaded)) { opacity: 0; }   /* 받기 전엔 투명(감추면 키보드로 바꾼 뒤 초점을 줄 수 없다) */
.rsv-pip:has(.rsv-video.is-empty), .rsv-pip:has(.rsv-video.is-pend) { display: none; }
/* 학생 보기인데 영상이 없거나(«영상이 없습니다.») 동의 전이면 그 문구만 — 슬라이드 작은 화면도 감춘다 */
.rsv-mstage:has(> .rsv-video:is(.is-empty, .is-pend)) .rsv-pip { display: none; }
.rsv-pip .rsv-video .vt, .rsv-pip .rsv-video.is-hand .vb { display: none; }
.rsv-pip .rsv-video :is(.vaway, .vgap) span { padding: 2px 8px; font-size: var(--text-xs); }
.rsv-pip-tag { position: absolute; left: 6px; top: 6px; z-index: 2; padding: 0 6px; border-radius: var(--radius-xs); background: rgba(15, 23, 42, .72); color: #fff; font-size: var(--text-xs); font-weight: 700; line-height: 20px; pointer-events: none; }   /* [design-ok] 어떤 판이든 위에서 읽히는 이름표(흰 글자 대비 13 이상) */
.rsv-pip-go { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.rsv-det .rsv-pip-go:focus-visible { outline: 3px solid var(--border-focus); outline-offset: -3px; }
.rsv-pip-x { position: absolute; right: 4px; top: 4px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .72); color: #fff; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }   /* [design-ok] 작은 X(사용자 «X 버튼 작게 하나») — 최소 누름 칸 24 */
.rsv-pip-x:hover { background: rgba(15, 23, 42, .9); }   /* [design-ok] 위와 같은 판 */
/* 재생 막대(§4-2 ⑧ · 시안 71 .ytp · .ytbar · .ytrow · .ytvol · .ytpop · .ytmenu) — js/report-student-player.js ·
   두 테마 모두 어두운 띠(영상 재생기) · 막대 아래 범례는 없다(15차 · 표시 이름 = 말풍선) · 전체 화면 = 화면 틀 + 막대(.rsv-mwrap) */
.rsv-mwrap {
  --yt-bg: #0f172a;
  --yt-full: #0b1220;
  --yt-ink: #ffffff;
  --yt-sub: #e2e8f0;
  --yt-dim: #94a3b8;
  --yt-acc: #60a5fa;
  --yt-mark: #93c5fd;
  --yt-hand: #2dd4bf;
  --yt-stage: #1e293b;     /* 학생 영상 바탕(시안 .video) */
  --yt-hand-bg: #0f766e;   /* «손 들기» 표 — 시안 #0d9488 은 흰 글자 대비 3.7 이라 한 단계 짙게(5.5 · AA) */
  --yt-menu: rgba(28, 28, 30, 0.94);
  --yt-hover: rgba(255, 255, 255, 0.12);
}
.rsv-mwrap:has(.rsv-ytp) .rsv-mstage { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rsv-ytp { position: relative; padding: 34px 12px 4px; border-radius: 0 0 var(--radius) var(--radius); background: var(--yt-bg); color: var(--yt-ink); user-select: none; }
.rsv-ytp .ytbar { position: relative; height: 18px; margin: 0 2px; cursor: pointer; touch-action: none; }
.rsv-ytp .ytbar .bg, .rsv-ytp .ytbar .fill { position: absolute; left: 0; top: 7px; height: 4px; transition: top .1s, height .1s; }
.rsv-ytp .ytbar .bg { right: 0; background: rgba(255, 255, 255, .28); }
.rsv-ytp .ytbar .fill { background: var(--yt-acc); }
.rsv-ytp .ytbar:is(:hover, .is-drag, :focus-visible) :is(.bg, .fill) { top: 6px; height: 6px; }
.rsv-ytp .ytbar .knob { position: absolute; top: 9px; z-index: 3; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--yt-acc); transform: scale(0); transition: transform .12s; }
.rsv-ytp .ytbar:is(:hover, .is-drag, :focus-visible) .knob, .rsv-ytp.is-paused .knob { transform: scale(1); }
.rsv-ytp .ytbar:focus-visible { outline: 2px solid var(--yt-ink); outline-offset: 4px; }
.rsv-ytp .ytbar .m { position: absolute; pointer-events: none; }
.rsv-ytp .ytbar .m.aw { top: 7px; height: 4px; z-index: 2; background: repeating-linear-gradient(135deg, rgba(226, 232, 240, .15) 0 2px, rgba(226, 232, 240, .95) 2px 3.5px); }
.rsv-ytp .ytbar .m.hdn { top: 7px; height: 4px; z-index: 2; background: rgba(148, 163, 184, .85); }
.rsv-ytp .ytbar .m.hd { top: -3px; width: 0; height: 0; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--yt-hand); }
.rsv-ytp .ytbar .m.chg { top: -4px; width: 8px; height: 8px; margin-left: -4px; border: 2px solid var(--yt-mark); border-radius: 50%; }
.rsv-ytp .ytbar .m.sb { top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 2px; background: var(--yt-mark); }   /* [design-ok] 8px 네모 표시 — 시안 71 .m.sb 모서리 2(4 면 동그라미가 된다) */
.rsv-ytp .ytbar .ab { position: absolute; top: 2px; z-index: 1; display: none; height: 14px; border-left: 2px solid var(--yt-mark); border-right: 2px solid var(--yt-mark); background: rgba(96, 165, 250, .28); pointer-events: none; }
.rsv-ytp .ytbar .tip { position: absolute; bottom: 22px; z-index: 5; display: none; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-xs); background: rgba(15, 23, 42, .95); font-size: var(--text-sm); white-space: nowrap; transform: translateX(-50%); font-variant-numeric: tabular-nums; pointer-events: none; }
.rsv-ytp .ytbar .rxb { position: absolute; bottom: 12px; z-index: 4; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 50%; background: rgba(15, 23, 42, .55); font-size: var(--text-base); line-height: 1; pointer-events: none; transition: transform .2s ease; }
.rsv-ytp .ytbar .rxb.is-pop { transform: translateY(-6px) scale(1.25); }
/* [R292 · 2026-11-13] 포개지는 배지 묶음 — 오른쪽 위 개수(흰 바탕 · 짙은 글자 · 배지 테두리와 같은 흰색) */
.rsv-ytp .ytbar .rxb .rxn { position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--yt-ink); color: var(--yt-bg); font-size: var(--text-xs); font-weight: 700; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.rsv-ytp .ytrow { display: flex; align-items: center; gap: 2px; min-height: 44px; }
.rsv-ytp .ytrow button { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 36px; padding: 0 6px; border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: var(--text-base); color: var(--yt-ink); cursor: pointer; }
.rsv-ytp .ytrow button:hover { background: var(--yt-hover); }
.rsv-ytp :is(button, input):focus-visible { outline: 2px solid var(--yt-ink); outline-offset: -2px; }
.rsv-ytp .ytrow svg { width: 22px; height: 22px; }
.rsv-ytp .ytrow .sp { flex: 1; }
.rsv-ytp .ytrow .ptime { margin-left: 8px; font-size: var(--text-sm); color: var(--yt-sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rsv-ytp .ytvol { display: inline-flex; align-items: center; }
.rsv-ytp .ytvol input { width: 0; margin: 0; opacity: 0; accent-color: var(--yt-ink); cursor: pointer; transition: width .15s, opacity .15s, margin .15s; }
.rsv-ytp .ytvol:is(:hover, :focus-within) input { width: 72px; margin: 0 4px; opacity: 1; }
.rsv-ytp .ytrow .spd { min-width: 44px; font-weight: 700; }
.rsv-ytp .ytpop { position: relative; }
.rsv-ytp .ytmenu { position: absolute; right: 0; bottom: 44px; z-index: 8; display: none; min-width: 100px; padding: 6px 4px; border-radius: var(--radius-sm); background: var(--yt-menu); box-shadow: var(--shadow-lg); }
.rsv-ytp .ytmenu.is-wide { min-width: 210px; }
.rsv-ytp .ytmenu.is-open { display: block; }
.rsv-ytp .ytmenu .mh { padding: 6px 12px 8px; font-size: var(--text-sm); color: var(--yt-dim); }
.rsv-ytp .ytmenu button { position: relative; display: flex; align-items: center; justify-content: flex-start; width: 100%; height: 36px; padding: 0 12px 0 32px; border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: var(--text-base); color: var(--yt-ink); text-align: left; white-space: nowrap; cursor: pointer; }
.rsv-ytp .ytmenu button:hover { background: var(--yt-hover); }
.rsv-ytp .ytmenu button.is-on::before { content: "✓"; position: absolute; left: 12px; }
.rsv-ytp .ytmenu .abt { margin-left: 8px; font-size: var(--text-sm); color: var(--yt-dim); font-variant-numeric: tabular-nums; }
/* 전체 화면 — 화면 높이에 맞춘 4:3 + 막대 · 브라우저가 막으면 화면 가득 채우기(.is-fsfake · 상세 칸의 폭 감시(container)가 고정 위치를 가두지 않게 끈다) */
.rsv-mwrap:fullscreen, .rsv-mwrap.is-fsfake { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: var(--yt-full); }
.rsv-mwrap.is-fsfake { position: fixed; inset: 0; z-index: var(--z-modal); }
.rsv-mwrap:fullscreen > *, .rsv-mwrap.is-fsfake > * { width: min(100%, 1100px, calc((100vh - 170px) * 4 / 3)); }
.rsv-det:has(.rsv-mwrap.is-fsfake) { container-type: normal; }
/* 사실 칸(⑨ · ⑦) — 유형 칩 · 참여도 · 집중도 두 칸 · 답 · 반응 · 행동 */
.rsv-facts { min-width: 0; display: flex; flex-direction: column; }
/* [R289 4항 · 2026-11-12 회차별 · 11-13 학생별(회신 A)] 오른쪽 칸 = 상자 하나(.rsv-box) — 왼쪽 화면 틀(.rsv-mstage)과 같은 테두리 · 모서리 ·
   줄 높이까지 늘어 두 칸 아래 끝이 맞는다(사용자 «감싸야 영역이 확실하다 · 이전/다음이 붕 뜬다» — 상자 오른쪽 끝이 ‹ › 의 오른쪽 끝과 같은 선).
   상자 안 숫자 카드는 테두리 대신 옅은 바탕(상자 속 상자 테두리를 겹치지 않는다). */
.rsv-box { flex: 1; min-width: 0; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rsv-box .rsv-stat2 > div { border-color: transparent; background: var(--bg-subtle); }
@container rsvd (max-width: 600px) {   /* 학생별 휴대폰(한 칸 · 사실 칸이 화면 틀 아래) = 상자 없이 — 상자 여백만큼 제출 이력 네 칸 줄이 좁아져
                                          답 글자가 세 줄 모두 두 줄로 꺾였다(11-13 390 실측 답 칸 99 → 65px) · 회차별(.rsd)은 상자 그대로 */
  .rsv-det:not(.rsd) .rsv-box { padding: 0; border: 0; background: none; }
  .rsv-det:not(.rsd) .rsv-box .rsv-stat2 > div { border-color: var(--border); background: none; }
}
.rsv-fg { padding: 12px 0; border-top: 1px solid var(--border); }
.rsv-fg:first-child { padding-top: 0; border-top: 0; }
.rsv-fg h4 { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 8px; font-size: var(--text-sm); font-weight: 600; color: var(--text-muted); }
.rsv-stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.rsv-stat2 > div { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.rsv-stat2 small { display: block; font-size: var(--text-sm); color: var(--text-muted); }
.rsv-stat2 b { display: block; margin: 2px 0 6px; font-size: var(--text-2xl); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rsv-dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: var(--text-base); }
.rsv-dl dt { color: var(--text-muted); }
.rsv-dl dd { margin: 0; min-width: 0; color: var(--text); overflow-wrap: anywhere; }
/* 참여도 근거(R273 2단계 · js/report-student-detail.js evidenceHTML) — 회차별 참여 상세가 보이던 «항목 — 사실 — 등급» 줄 · 등급 칩은 줄 끝 */
.rsv-evg .rsv-evi { margin: 0 0 var(--space-2); font-size: var(--text-sm); color: var(--text-muted); }
.rsv-evg .rsv-dl dd { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-2); }
.rsv-evg .rsv-evt small { margin-left: 4px; font-size: var(--text-xs); color: var(--text-muted); }
.rsv-evg .rsv-gchip { flex: none; }
.rsv-anum { display: inline-flex; align-items: center; height: 24px; margin-right: 8px; padding: 0 8px; border-radius: var(--radius-xs); background: var(--bg-subtle); font-size: var(--text-sm); font-weight: 700; color: var(--text); }
.rsv-okc { display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; }
.rsv-okc.is-ok { background: var(--success-light); color: var(--success-dark); }
.rsv-okc.is-no { background: var(--danger-light); color: var(--danger-dark); }
.rsv-ans { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rsv-tlink { padding: 0 2px; border: 0; background: none; font: inherit; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; font-variant-numeric: tabular-nums; cursor: pointer; }
/* 바꾼 횟수 단추 · 제출 이력(⑨ · 10차 · 시안 71 .hbtn · .hist) — 줄 = 시각 · 제출/바꿈 · 고른 답 · 맞음/틀림 */
.rsv-hbtn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-xs); background: var(--surface); font: inherit; font-size: var(--text-base); color: var(--text); cursor: pointer; }
.rsv-hbtn:hover { border-color: var(--text-muted); }
.rsv-hbtn .car { font-size: var(--text-xs); color: var(--text-muted); }
.rsv-dl dd.rsv-hist { grid-column: 1 / -1; margin: 2px 0 4px; }
/* 줄마다 같은 네 칸(subgrid) — 시각 칸은 56 이상 · «0:07 (다시 띄움)»처럼 길어지면 세 줄이 함께 넓어진다(개발환경 모의수업 D7) */
.rsv-hist ol { display: grid; grid-template-columns: minmax(56px, max-content) 44px minmax(0, 1fr) auto; column-gap: 8px; margin: 0; padding: 8px 12px; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); }
/* subgrid 를 못 쓰는 브라우저는 앞의 고정 열(시각 56)로 — 줄마다 따로 재도 네 칸은 지킨다 */
.rsv-hist li { display: grid; grid-column: 1 / -1; grid-template-columns: 56px 44px minmax(0, 1fr) auto; grid-template-columns: subgrid; column-gap: 8px; align-items: center; min-height: 36px; font-size: var(--text-base); }
.rsv-hist li + li { border-top: 1px solid var(--border); }
.rsv-hist .rsv-tlink { justify-self: start; }
.rsv-hist .hk { font-size: var(--text-sm); color: var(--text-muted); }
.rsv-hist .ha { min-width: 0; }
.rsv-hist .hr { font-size: var(--text-sm); font-weight: 700; }
.rsv-hist .hr.is-ok { color: var(--success-dark); }
.rsv-hist .hr.is-no { color: var(--danger-dark); }
.rsv-ed { margin-left: auto; height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-xs); font-weight: 600; color: var(--text); cursor: pointer; }
.rsv-fix { font-size: var(--text-xs); color: var(--text-muted); }
@container rsvd (max-width: 1200px) {
  .rsv-drnd .rn { display: none; }
}
@container rsvd (max-width: 1100px) {
  .rsv-dtb { grid-template-columns: 220px minmax(0, 1fr); }
  .rsv-dgrid { grid-template-columns: minmax(0, 1fr); }
}
@container rsvd (max-width: 600px) {
  .rsv-dbar { flex-wrap: wrap; }
  .rsv-drnd .rn { display: inline; }
  .rsv-dinfo { display: none; }
  .rsv-dsteps { width: 100%; margin-left: 0; }
  .rsv-dsteps button { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .rsv-dtb { grid-template-columns: minmax(0, 1fr); }
  .rsv-slist { display: none; }
  .rsv-dpanel { padding: 16px; }
  .rsv-dhead { gap: var(--space-2); }   /* 휴대폰에서도 머리가 한 줄 — 유형 칩 길이에 따라 화면 틀이 밀리지 않게 */
  .rsv-dhead .qtc { overflow: hidden; }
  .rsv-stepper .tx { display: none; }
  .rsv-stepper button { min-width: 40px; padding: 0 8px; }
  /* 재생 막대 — 소리 크기 막대를 감추고 단추 간격을 줄인다(시안 .w390) */
  .rsv-ytp .ytvol input { display: none; }
  .rsv-ytp .ytrow { gap: 0; }
  .rsv-ytp .ytrow button:not([role^="menuitem"]) { min-width: 32px; padding: 0 4px; }   /* 메뉴 줄(✓ 자리)은 그대로 */
  .rsv-ytp .ytrow svg { width: 20px; height: 20px; }
  .rsv-ytp .ytrow .ptime { margin-left: 4px; font-size: var(--text-xs); }
}
/* 예시 그림 판 — 정본 카드를 무대(1280×720)째 담는다(.is-card) · 정본 카드가 못 그리는 유형은 제목 · 유형 글자 판 */
.rsv-pv { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.rsv-pv > b { color: var(--text-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rsv-pv > span { font-size: var(--text-xs); color: var(--text-muted); }
.rsv-pv.is-card { display: block; padding: 0; background: var(--surface); }
/* 이 학생이 낸 답 = 학교 색(--primary «골랐다») 테두리 · 무대가 0.4배로 줄어도 3px 남짓 보이게 8px · 안쪽에 그려 이웃 칸 · 카드 끝에 잘리지 않는다 */
.rsv-pv .rsv-mine { outline: 8px solid var(--primary); outline-offset: -8px; }
.rsv-pv .alc-slide-opt.rsv-mine { border-color: var(--primary); background: var(--primary-soft); }
/* 풀이 다시 보기(§4-2 ⑤ · 10차 클릭 연출 · 시안 71 .ptr · .rip · .rip2 · .clk-lab · .opt.is-chosen · .ochip · .is-press) — js/report-student-replay.js ·
   크기 · 자리 · 투명도는 재생 시각으로 스크립트가 정한다(CSS 애니메이션 아님 · 끌어도 같은 장면). 커서 · 원 · 이름표는 화면 틀 픽셀(무대 배율과 상관없다) ·
   보기 칩 · 눌림은 무대(1280×720) 안이라 무대 글자 크기에 맞춘다. 재생 중 상태 이름은 is- 를 붙인다(9차 · .pick 이 회차 목록 .pick{position:fixed} 를 먹었다) */
.rsv-rp { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.rsv-rp .rsv-ptr { position: absolute; z-index: 5; display: none; width: 18px; height: 24px; margin: -1.5px 0 0 -1.5px; transform-origin: 1.5px 1.5px; transition: transform .08s; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }   /* 화살 끝(1.5, 1.5)이 그 점 */
.rsv-rp .rsv-ptr.is-out { opacity: .4; }   /* [R290] 화면 밖으로 나간 커서 — 틀 가장자리에 흐리게 남긴다 */
.rsv-rp :is(.rsv-rip, .rsv-rip2) { position: absolute; z-index: 4; display: none; box-sizing: border-box; border-radius: 50%; transform: translate(-50%, -50%); }
.rsv-rp .rsv-rip { background: color-mix(in srgb, var(--primary) 30%, transparent); }
.rsv-rp .rsv-rip2 { border: 3px solid var(--primary); }
.rsv-rp .rsv-clab { position: absolute; z-index: 6; display: none; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--primary-fill); font-size: var(--text-xs); font-weight: 700; color: var(--text-on-primary); white-space: nowrap; transform: translate(-50%, -100%); box-shadow: 0 2px 6px rgba(15, 23, 42, .25); }   /* [design-ok] 떠오르는 이름표 그림자(시안 71 .clk-lab) */
.rsv-rp .rsv-clab.is-chg { background: #7c3aed; }   /* [design-ok] «제출 바꿈» 보라(시안 71 .clk-lab.chg · 흰 글자 대비 5.7) */
.rsv-pv .alc-slide-opt.is-chosen { border-color: var(--primary); background: var(--primary-soft); }
.rsv-pv .rsv-ochip { display: none; flex: none; align-items: center; height: 40px; margin-left: auto; padding: 0 16px; border-radius: var(--radius-pill); background: var(--primary-light); font-size: 22px; font-weight: 600; color: var(--primary); }   /* [design-ok] 무대(1280) 안 글자 — 0.4배로 줄어도 읽히게 */
.rsv-pv .alc-slide-ox-btn .rsv-ochip { margin-left: 0; }
.rsv-pv .alc-slide-opt.is-chosen .rsv-ochip { display: inline-flex; }
.rsv-pv :is(.alc-slide-opt, .alc-slide-submit) { transition: transform .1s, background-color .1s; }
.rsv-pv .alc-slide-opt.is-press { background: color-mix(in srgb, var(--primary) 14%, var(--surface)); transform: scale(.985); }
.rsv-pv .alc-slide-submit.is-press { transform: scale(.94); }
.rsv-pv .alc-slide-submit.is-done { background: var(--primary-fill); }
@media (prefers-reduced-motion: reduce) {
  .rsv-rp .rsv-ptr, .rsv-pv :is(.alc-slide-opt, .alc-slide-submit) { transition: none; }
}
/* [R296 · 2026-11-14] 회차별 슬라이드 상세 «선생님 커서»(js/round-host-cursor.js) — 학생 다시 보기(.rsv-rp)와 같은 자리 규칙 ·
   화살표 = 같은 모양 · 선생님 색(강조 토큰) · 포인터 구간 = 라이브 빨간 점(.live-ptr-dot)과 같은 모양 · 누름 원 = 같은 원(선생님 색) ·
   자리 · 크기 · 투명도는 재생 시각으로 스크립트가 정한다(애니메이션 없음 · 동작 줄이기와 상관없이 자리만 바뀐다). 설정 이름표 = .ctag */
.rsd-hc { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.rsd-hc .rsd-hc-ptr { position: absolute; z-index: 5; display: none; width: 18px; height: 24px; margin: -1.5px 0 0 -1.5px; color: var(--primary); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }   /* 화살 끝(1.5, 1.5)이 그 점 */
.rsd-hc .rsd-hc-dot { position: absolute; z-index: 5; display: none; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--danger); outline: 6px solid color-mix(in srgb, var(--danger) 25%, transparent); }
.rsd-hc :is(.rsd-hc-rip, .rsd-hc-rip2) { position: absolute; z-index: 4; display: none; box-sizing: border-box; border-radius: 50%; transform: translate(-50%, -50%); }
.rsd-hc .rsd-hc-rip { background: color-mix(in srgb, var(--primary) 30%, transparent); }
.rsd-hc .rsd-hc-rip2 { border: 3px solid var(--primary); }
.rsv-ytp .ytmenu .ctag { margin-left: 8px; font-size: var(--text-sm); color: var(--yt-dim); }
/* [결정 3A · 2026-11-14] 판서 판 — 카드의 칠판 자리(.alc-slide-ppt · .alc-slide-wb-board)를 그대로 덮는다(js/round-host-cursor.js mountBoard ·
   재생기 js/board-replay.js 가 fit 'stretch' 로 그 자리에 늘려 채운다 · 바탕 투명이라 첫 넘김 전에는 카드의 덱 첫 장이 비친다) */
.rsd-hb { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }

/* ── «이 학생의 타임라인» 10장 띠(계획서 §3 · §4-2 ⑩ · §5 · §7 · 시안 71 .dt-strip · .trk · .seg · .axis · .zoom) — js/report-student-strip.js ──
   칸 = 등급 색 26%(--gc · 학생 목록 등급 칩과 같은 --eng-grade-*) · 칸 사이 흰 줄 · 고른 칸 = 글자색 테두리 · 높이 56(휴대폰 44).
   못 잰 칸 = 옅은 회색 면 · 들어오기 전 = 옅은 빗금(누를 수 없다) · 짧은 틈 = 세로 줄무늬 · 물결 틈 = 흰 칸 + 물결 두 줄.
   선 = 집중도 하나(지표 색 --rsv-c-a · 주황) · 자리 비움 = 진한 사선 빗금(줄 높이 전체). 움직임이 없다(동작 줄이기와 상관없다). */
.rsv-strip { container: rsvs / inline-size; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); min-width: 0; }
.rsv-strip .lab { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 4px; font-size: var(--text-sm); color: var(--text-muted); }
.rsv-strip .lab b { font-size: var(--text-base); color: var(--text); }
.rsv-strip .lab .wn { font-variant-numeric: tabular-nums; }
.rsv-strip .lab .sp { flex: 1; }
.rsv-strip .rsv-none { padding: 8px 0 0; }
.rsv-lgd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--text-body); }
.rsv-lgd .sw { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; border-radius: var(--radius-xs); background: color-mix(in srgb, var(--gc) 26%, var(--surface)); }
.rsv-lgd .ln, .rsv-zoom .zv .ln { display: inline-block; width: 18px; margin-right: 4px; vertical-align: 4px; border-top: 2.5px solid var(--rsv-c-a, var(--warning)); }
.rsv-lgd .ha { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; border-radius: var(--radius-xs); border: 1px solid var(--border-strong); background: repeating-linear-gradient(135deg, var(--surface) 0 3px, var(--text-body) 3px 4.5px); }
.rsv-lgd .sep { width: 1px; height: 16px; background: var(--border-strong); }
.rsv-axis { position: relative; height: 32px; user-select: none; }
.rsv-axis .ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; }
.rsv-tick { position: absolute; bottom: 6px; transform: translateX(-50%); font-size: var(--text-xs); color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rsv-tick::after { content: ""; position: absolute; left: 50%; bottom: -6px; height: 5px; border-left: 1px solid var(--border-strong); }
.rsv-tick.is-gapt::after { display: none; }
.rsv-trk { position: relative; height: 56px; overflow: hidden; border-radius: var(--radius-xs); background: var(--bg-subtle); }
.rsv-seg { position: absolute; top: 0; bottom: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: color-mix(in srgb, var(--gc) 26%, var(--surface)); cursor: pointer; }
.rsv-seg.is-sep { box-shadow: inset -1px 0 0 var(--surface); }   /* [design-ok] 그림자가 아니라 칸 사이 흰 줄(슬라이드 경계 · 시안 71 .seg.sep) */
:is(.rsv-seg, .rsv-lgd .sw).is-exc { --gc: var(--eng-grade-exc); }
:is(.rsv-seg, .rsv-lgd .sw).is-good { --gc: var(--eng-grade-good); }
:is(.rsv-seg, .rsv-lgd .sw).is-warn { --gc: var(--eng-grade-warn); }
:is(.rsv-seg, .rsv-lgd .sw).is-bad { --gc: var(--eng-grade-bad); }
.rsv-seg.is-none { background: var(--bg-subtle); }
.rsv-seg.is-out { background: repeating-linear-gradient(135deg, var(--bg-subtle) 0 4px, var(--surface) 4px 8px); cursor: default; }
.rsv-seg.is-gap { background: repeating-linear-gradient(90deg, var(--bg-subtle) 0 3px, var(--border) 3px 4px); cursor: default; }
.rsv-seg.is-wave { background: var(--surface); cursor: default; }
.rsv-seg.is-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rsv-seg.is-wave path { fill: none; stroke: var(--text-faint); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
button.rsv-seg:is(:hover, :focus-visible), .rsv-seg.is-sel { z-index: 3; outline: 2px solid var(--text); outline-offset: -2px; }
.rsv-away { position: absolute; top: 0; bottom: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--text-body) 55%, transparent) 4px 5.5px); }
.rsv-line { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; }   /* 빗금 · 선은 고른 칸 · 마우스 올린 칸(z 3)보다 위 — 그 칸에서도 선이 보인다(2026-11-12 검증 자리 실측: 고른 칸만 선이 사라졌다) */
.rsv-line path { fill: none; stroke: var(--rsv-c-a, var(--warning)); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@container rsvs (max-width: 560px) {
  .rsv-trk { height: 44px; }
  .rsv-lgd { gap: 6px 10px; font-size: var(--text-xs); }
}
/* 확대 창(§5) — 마우스를 올린 칸 위에 뜬다(데스크톱만 · 누를 수 없다) · 그래프 328 × 132 */
.rsv-zoom { position: fixed; z-index: var(--z-popover); width: 360px; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); pointer-events: none; font-size: var(--text-sm); color: var(--text-body); word-break: keep-all; }
.rsv-zoom[hidden] { display: none; }
.rsv-zoom .zt { display: flex; align-items: center; gap: 8px; font-size: var(--text-base); font-weight: 700; color: var(--text); }
.rsv-zoom .zt .tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsv-zoom .zs { margin-top: 2px; font-size: var(--text-xs); color: var(--text-muted); }
.rsv-zoom svg { display: block; width: 100%; height: 132px; margin: 8px 0 4px; overflow: visible; }
.rsv-zoom svg text { font-size: var(--text-xs); fill: var(--text-muted); }
.rsv-zoom svg text.ck { fill: var(--text-body); }
.rsv-zoom svg .gl { stroke: var(--border); }
.rsv-zoom svg .bg { fill: var(--gc); fill-opacity: .16; }
.rsv-zoom svg .bg.is-exc { --gc: var(--eng-grade-exc); }
.rsv-zoom svg .bg.is-good { --gc: var(--eng-grade-good); }
.rsv-zoom svg .bg.is-warn { --gc: var(--eng-grade-warn); }
.rsv-zoom svg .bg.is-bad { --gc: var(--eng-grade-bad); }
.rsv-zoom svg .hz { stroke: var(--text-body); stroke-width: 1.5; stroke-opacity: .6; }
.rsv-zoom svg .at { fill: none; stroke: var(--rsv-c-a, var(--warning)); stroke-width: 2.5; stroke-linejoin: round; }
.rsv-zoom svg .ad { fill: var(--rsv-c-a, var(--warning)); }
.rsv-zoom svg .dim { fill: var(--surface); fill-opacity: .6; }
.rsv-zoom svg .ed { stroke: var(--text); stroke-width: 1.5; }
.rsv-zoom .zv { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text-muted); }
.rsv-zoom .zv b { font-size: var(--text-md); color: var(--text); font-variant-numeric: tabular-nums; }
.rsv-zoom .zf { margin-top: 6px; font-size: var(--text-xs); color: var(--text-muted); }


/* ═══ [다크 ④ 수업 리포트 2026-10-24] 다크에서만 — 찾기 칸 안내 글자(R222 ⑧ · 막대 색은 2026-11-12 부터 공용 지표 토큰이 맡는다 · R284 ④) ═══ */
@media screen {
  html.theme-dark:not(:has(body[data-contrast="high"])) .rsv-srch input::placeholder { color: var(--text-muted); }
}
/* ════════════════════════════════════════════════════════════════════════════
   [R253 · 2026-11-02] 수업 리포트 상세 5-4 «학생별» = 마디아 디자인 법칙(R242) 9번째 화면
   사용자 «전체적으로 추천대로 진행해줘»(눌러 보는 시안 1~7 · 갈래 1 A) · 정본 = docs/10_디자인/마디아_디자인법칙.md · 결정 = §0-B R253
   회귀 가드 = tests/frontend/report_stu_madia_rules.spec.js · 남기는 것: 지표 색(R221 ⑧) · 예시 그림 테두리
   글자 크기 변수(--rpt-*)는 css/main-analysis.css «R250» 이 #lecdPanel 에 둔다. 교사 화면만.
   ════════════════════════════════════════════════════════════════════════════ */
/* 2. 슬라이드 상세 제목(«N번 슬라이드») 17 → 18 — 학생 이름은 머리 띠 상자 안 굵기로만 가장 강하게(계획서 §4-2 ① · 2026-11-03 새 머리 띠) */
html.v2:not(.role-student) #lecdPanel .rsv-dhead h3 { font-size: var(--rpt-mid-fs); }
/* 6. 행동 «편집» 36 (1 · 3 · 4 · 5 = 옛 첫 화면 · 회차 머리 줄 — 2026-11-03 그 화면과 함께 지웠다) */
html.v2:not(.role-student) #lecdPanel .rsv-ed { height: 36px; }
/* 7. 슬라이드 상세 묶음 이름(답 · 반응 · 행동) 13 · 기본 글자색 */
html.v2:not(.role-student) #lecdPanel .rsv-fg h4 { font-size: var(--rpt-ctl-fs); color: var(--text); }

/* ══ 회차별 › 참여 › 슬라이드 상세(js/round-slide-detail.js · R273 · R275 · 2026-11-09) — 틀 · 목록 · 머리는 위 학생별 .rsv-* 그대로 ══ */
.rsd .rsd-of { font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); }
.rsd-choices { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.rsd-choices li { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(48px, 30%) 40px 32px; align-items: center; gap: 8px; }
.rsd-choices li > b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: var(--radius-xs); background: var(--bg-subtle); font-size: var(--text-xs); }
.rsd-choices li.is-ok > b { background: var(--success-light); color: var(--success); }
.rsd-choices .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.rsd-choices .bar { height: 6px; border-radius: var(--radius-pill); background: var(--bg-subtle); overflow: hidden; }
.rsd-choices .bar i { display: block; height: 100%; background: var(--text-muted); }
.rsd-choices li.is-ok .bar i { background: var(--success); }
.rsd-choices .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-body); }
.rsd-choices .m { font-size: var(--text-xs); font-weight: 600; color: var(--success); }
/* 오른쪽 칸 «반 전체 | 학생 N»(2026-11-10) — 고르기는 학생별과 같은 .rsv-seg2 · 칸을 바꾸면 바꾼 쪽에서 밀려 들어온다(토큰 · 동작 줄이기면 공통 규칙이 0) */
/* 고른 칸의 상자(.rsv-box · 위 사실 칸 절)는 그대로 두고 안의 칸만 밀려 들어온다(가로 넘침 없이 · 초점 테두리는 남긴다) */
.rsd .rsv-box { overflow-x: clip; overflow-clip-margin: 6px; }
.rsd-seg { align-self: flex-start; }
.rsd-pane.is-in-r { animation: rsd-in-r var(--dur-slow) var(--ease) both; }
.rsd-pane.is-in-l { animation: rsd-in-l var(--dur-slow) var(--ease) both; }
@keyframes rsd-in-r { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes rsd-in-l { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
/* «학생 참여도»(R289 · 2026-11-12 «전체 학생을 구간별로 나눴다는 느낌을 더 명확하게» · 11-13 «위험 / 주의 / 양호 한 라인에 ·
   클릭한 지점에서 리스트 형태로 떠서 고르고 · 화면에 스크롤로 내리는 게 아니라 그 화면 위에 덮는 방식») —
   위 띠 = 반 전체를 등급 구간으로 나눈 폭(인원) · 아래 = 등급 칩 한 줄 · 칩을 누르면 그 칩 자리에 학생 목록 창(.rsd-gpop)이
   내용 위에 덮여 뜬다(밀어내지 않는다 · 자리는 js `_placePop` — 칩 아래, 화면 아래가 모자라면 위) */
.rsd-gsec { position: relative; }
.rsd-gbar { display: flex; gap: 2px; height: 8px; margin: 0 0 var(--space-3); border-radius: var(--radius-pill); overflow: hidden; }
.rsd-gbar i { min-width: 4px; }
.rsd-gbar .is-bad { background: var(--eng-grade-bad); }
.rsd-gbar .is-warn { background: var(--eng-grade-warn); }
.rsd-gbar .is-good { background: var(--eng-grade-good); }
.rsd-gbar .is-exc { background: var(--eng-grade-exc); }
.rsd-gbar .is-none { background: var(--border-strong); }
/* 등급 칩 한 줄 — 같은 폭 칸(--gn = 등급 수) · 칸 = 위 «등급» · 아래 «N명» · 위 테두리 3px 가 그 등급 색(띠와 같은 색 · 같은 차례) */
.rsd-gsum { display: grid; grid-template-columns: repeat(var(--gn, 4), minmax(0, 1fr)); gap: 4px; }
.rsd-gcnt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; height: 50px; padding: 0 4px; border: 1px solid var(--border); border-top: 3px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; color: var(--text-body); cursor: pointer; }
.rsd-gcnt.is-bad { border-top-color: var(--eng-grade-bad); }
.rsd-gcnt.is-warn { border-top-color: var(--eng-grade-warn); }
.rsd-gcnt.is-good { border-top-color: var(--eng-grade-good); }
.rsd-gcnt.is-exc { border-top-color: var(--eng-grade-exc); }
.rsd-gcnt .lab { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-xs); color: var(--text-body); }
.rsd-gcnt .n { font-size: var(--text-xs); color: var(--text-muted); white-space: nowrap; }
.rsd-gcnt .n b { margin-right: 1px; font-size: var(--text-md); font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.rsd-gcnt:hover { background: var(--surface-hover); border-left-color: var(--border-strong); border-right-color: var(--border-strong); border-bottom-color: var(--border-strong); }
.rsd-gcnt.is-open { background: var(--primary-light); border-left-color: var(--primary); border-right-color: var(--primary); border-bottom-color: var(--primary); }
.rsd-gcnt:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 599px) {   /* 휴대폰 · 다섯 등급(칸 55px)에서 «측정 못 함»이 잘렸다(11-13 390 실측) — 칸 안 여백 · 칸 사이를 줄인다 */
  .rsd-gsum { gap: 3px; }
  .rsd-gcnt { padding: 0 1px; }
}
.rsd .dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.rsd .dot.is-bad { background: var(--eng-grade-bad); }
.rsd .dot.is-warn { background: var(--eng-grade-warn); }
.rsd .dot.is-good { background: var(--eng-grade-good); }
.rsd .dot.is-exc { background: var(--eng-grade-exc); }
/* 학생 목록 창 — 고정 크기 280 × 300(fixed-size-modals · 칸이 더 좁으면 칸 폭까지) · 머리 고정 · 목록만 창 안에서 스크롤 · 뜰 때 칩 쪽에서 살짝 커진다 */
.rsd-gpop { position: absolute; z-index: 20; display: flex; flex-direction: column; width: 280px; max-width: 100%; height: 300px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.rsd-gpop.is-in { animation: rsd-pop-in var(--dur-fast) var(--ease) both; transform-origin: top left; }
.rsd-gpop.is-up.is-in { transform-origin: bottom left; }
@keyframes rsd-pop-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.rsd-gpop-h { flex: none; display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 4px 0 12px; border-bottom: 1px solid var(--border); font-size: var(--text-sm); font-weight: 700; color: var(--text); }
.rsd-gpop-h b { font-weight: 800; font-variant-numeric: tabular-nums; }
.rsd-gpop-x { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: auto; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: 18px; line-height: 1; color: var(--text-muted); cursor: pointer; }   /* [design-ok] × 글자 크기 — 닫기 기호 하나 */
.rsd-gpop-x:hover { background: var(--surface-hover); color: var(--text); }
.rsd-gpop-x:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.rsd-gpop-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0; padding: 4px; list-style: none; }
.rsd-gpop-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.rsd-gpop-row:hover { background: var(--primary-light); }
.rsd-gpop-row:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.rsd-gpop-row .sno { font-size: var(--text-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rsd-gpop-row .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); font-weight: 700; }
.rsd-gpop-row .pc { font-size: var(--text-sm); font-weight: 800; font-variant-numeric: tabular-nums; }
/* 수업 특이사항(R289 · 11-13 «너무 길다 · 주제별로 끊어 부족한 개념 / 관련 근거 1줄 / 관련 슬라이드 N회차 N번») —
   부족한 개념 카드(이름표 칸 · 값 칸 두 칸 격자) + 볼 만한 순간(«m:ss · 일어난 일») · 지금은 데모 정본 회차만 */
.rsd-cons { display: grid; gap: 8px; }
.rsd-con { margin: 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg-subtle); }
.rsd-con > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: baseline; gap: 8px; }
.rsd-con > div + div { margin-top: 4px; }
.rsd-con dt { font-size: var(--text-xs); font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.rsd-con dd { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--text-body); word-break: keep-all; overflow-wrap: anywhere; }
.rsd-con dd.nm { font-weight: 700; color: var(--text); }
.rsd-con dd.refs { display: flex; flex-wrap: wrap; gap: 4px; }
.rsd-ref { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font: inherit; font-size: var(--text-xs); color: var(--text-body); white-space: nowrap; }
button.rsd-ref { border-color: var(--primary-bd); color: var(--primary); cursor: pointer; }
button.rsd-ref:hover { background: var(--primary-light); }
button.rsd-ref:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.rsd-ref.is-cur { border-color: var(--border-strong); font-weight: 700; color: var(--text); }
.rsd-ref.is-past { color: var(--text-muted); }
.rsd-mh { margin: var(--space-3) 0 var(--space-2); font-size: var(--text-xs); font-weight: 700; color: var(--text-muted); }
.rsd-moments { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rsd-moments li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; gap: 8px; font-size: var(--text-sm); line-height: 1.55; color: var(--text-body); word-break: keep-all; overflow-wrap: anywhere; }
.rsd-moments .t { justify-self: start; padding: 0 6px; border-radius: var(--radius-xs); background: var(--bg-subtle); font-size: var(--text-xs); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rsd-sgrp + .rsd-sgrp { margin-top: var(--space-4); }
.rsd-sgrp h4 { display: flex; align-items: center; gap: 8px; }
.rsd-sgrp h4 > span:last-child { font-weight: 500; color: var(--text-muted); }
/* «학생» 칸 = 카드 격자(R284 ⑩ · 2026-11-12 사용자 «카드별 가로 사이즈 줄여서 1줄에 더») — 카드 = 학번(위) · 이름 · 참여도 셋뿐 ·
   칸 폭에 맞춰 장수가 정해진다(1440 = 한 줄 3장 · 390 = 2장 · 넓으면 더). 누르면 학생별(그대로). */
.rsd-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.rsd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sno sno" "nm pc"; align-items: baseline; gap: 0 6px; width: 100%; height: 54px; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.rsd-row:hover { border-color: var(--primary); background: var(--surface-hover); }
.rsd-row:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.rsd-row .sno { grid-area: sno; font-size: var(--text-xs); line-height: 1.3; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rsd-row .nm { grid-area: nm; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-base); font-weight: 700; }
.rsd-row .pc { grid-area: pc; text-align: right; font-size: var(--text-base); font-weight: 800; font-variant-numeric: tabular-nums; }
.rsd-none { margin: 0; font-size: var(--text-sm); color: var(--text-muted); }
/* 워드클라우드 — 정본 카드의 학생 입력칸 자리에 반 단어 구름(2026-11-17 · js/round-slide-detail.js wcloudHTML) · 낱말 크기·굵기·색은 낱말마다 inline(1280 무대 px) */
.rsd-wcloud { display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 0 32px; height: 100%; overflow: hidden; }   /* [design-ok] 무대(1280) 안 간격 — 낱말 크기도 무대 px */
.rsd-wcloud span { line-height: 1.15; white-space: nowrap; }   /* 낱말 가운데서 줄을 나누지 않는다(keep-all) — 넓으면 fitCloud 가 줄인다 */
.rsd-wcloud-br { flex-basis: 100%; height: 0; }
.rsd-wcloud.is-none { font-size: 32px; color: var(--text-muted); }   /* [design-ok] 무대(1280) 안 글자 — 0.4배로 줄어도 읽히게 */
/* 머리의 참여도 갈래 이름(옛 참여 상세와 같은 정보 · 2026-11-09) */
.rsd-kind { margin-right: auto; font-size: var(--text-sm); color: var(--text-muted); }
.rsd .rsv-dhead .qtc:has(+ .rsd-kind) { margin-right: 0; }   /* 갈래 이름이 유형 칩 바로 옆 — ‹ › 는 그 뒤 빈칸 끝 */
/* 교실 영상(3단계-2 · 2026-11-10 · js/round-classroom.js) — 왼쪽 위 줄 = «슬라이드 | 교실» + 카메라 «왼쪽 | 오른쪽» · 교실 영상 자리 = 학생 영상과 같은 판 */
.rsd-mbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.rsd-mbar .rsv-seg2 { margin-bottom: 0; }
.rsd-cams { margin-left: auto; }
.rsv-video[data-rsd-room] { padding: 0; background: var(--yt-stage); color: var(--yt-ink); }
