.live-banner { padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--bg2, #f2f5ff); }
.live-banner[hidden], .live-host-panel [hidden] { display: none; }
.live-banner p, .live-help { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 8px 0; }
.live-banner audio { height: 32px; max-width: 100%; vertical-align: middle; margin: 6px 12px; }
.live-host-panel { position: fixed; inset: 0; background: rgba(10, 15, 30, .7); z-index: 10000; display: grid; place-items: center; padding: 24px; }
.live-host-card { background: var(--bg, white); color: var(--text); border: 1px solid var(--border); border-radius: 18px; padding: 26px; width: min(1280px, 100%); max-height: 94vh; overflow: auto; box-shadow: 0 20px 80px rgba(0,0,0,.25); }
.live-host-card h2 { margin: 0 0 8px; font-size: 23px; }
.live-host-card h3 { margin-top: 24px; }
.live-hr-question { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 20px; line-height: 1.6; padding: 20px; background: var(--bg2, #f2f5ff); border: 1px solid var(--border); border-radius: 12px; }
#live-hr-topics { font-size: 13px; line-height: 1.6; color: var(--text2); }
@media (min-width: 1000px) {
  .live-host-card.hr-led { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .live-host-card.hr-led > * { grid-column: 1 / -1; }
  .live-host-card.hr-led #live-host-stage { grid-column: 1; grid-row: 4; align-self: start; grid-template-columns: 1fr; }
  .live-host-card.hr-led #live-hr-guide { grid-column: 2; grid-row: 4; max-height: 60vh; overflow-y: auto; }
  .live-host-card.hr-led .live-video-tile { min-height: 160px; max-height: 220px; }
}
.live-host-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.hr-led .live-host-actions { position: sticky; bottom: 0; z-index: 2; background: var(--bg, white); padding: 12px 0; border-top: 1px solid var(--border); }
.live-transcript { height: 260px; overflow-y: auto; background: var(--bg2, #f4f5f8); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.live-transcript p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; margin: 0 0 16px; }
#live-host-warning { color: var(--warning, #986600); font-size: 13px; }
#live-host-status, #live-candidate-status { font-weight: 600; }
@media (max-width: 600px) { .live-host-panel { padding: 8px; } .live-host-card { padding: 18px; } }
.live-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; margin: 18px 0; }
.live-video-tile { position: relative; min-height: 240px; aspect-ratio: 16 / 9; background: #0e1320; border: 1px solid #293650; border-radius: 16px; overflow: hidden; color: #fff; }
.live-video-tile video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.live-self-tile video { transform: scaleX(-1); }
.live-camera-placeholder { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: #b7c4dc; font-size: 16px; background: radial-gradient(circle, #24334e, #101724); }
.live-video-tile[data-camera-off="true"] .live-camera-placeholder { display: flex; }
.live-video-tile[data-camera-off="true"] video { visibility: hidden; }
.live-participant-name { position: absolute; bottom: 14px; left: 14px; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(4,8,18,.8); color: #fff; border-radius: 7px; padding: 7px 11px; font-size: 13px; }
.meet-stage.has-live-recruiter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meet-stage .live-video-tile { aspect-ratio: auto; min-height: 260px; }
#live-host-notes summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
#live-host-audio audio { height: 34px; max-width: 100%; }
@media (max-width: 900px) { .meet-stage.has-live-recruiter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .meet-stage.has-live-recruiter { grid-template-columns: 1fr; } .live-video-tile { min-height: 180px; } }

/* Human-led rooms: two people, with private question guidance for the host. */
.hr-led-room .meet-shell { background: #101318; color: #eef2f7; border: 1px solid #2b313b; border-radius: 22px; overflow: hidden; }
.hr-led-room .meet-stage, .hr-led-room .meet-stage.has-live-recruiter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px; min-height: 360px; }
.hr-led-room .tile-ai { display: none; }
.hr-led-room .tile-user, .hr-led-room #tile-recruiter { position: relative; min-height: 300px; aspect-ratio: 16 / 10; border-radius: 16px; border: 1px solid #3c4857; background: #1c222c; overflow: hidden; }
.hr-led-room #tile-recruiter { order: -1; border-color: #4ec5a1; }
.hr-led-room .tile-user video, .hr-led-room #tile-recruiter video { object-fit: cover; width: 100%; height: 100%; }
.hr-led-room .meet-topbar, .hr-led-room .meet-controls { background: #171c24; border-color: #303946; }
.hr-led-room .meet-controls { justify-content: center; flex-wrap: wrap; padding: 18px; }
.hr-led-room .live-banner { background: #171c24; border-color: #303946; color: #edf4ff; }
.hr-led-room .live-banner p { color: #b3bfce; }
.live-candidate-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#live-share-status { color: #63dfb5; font-size: 13px; }
.hr-led-room #q-text, .hr-led-room #q-purpose, .hr-led-room .stt-note { display: none; }
.hr-led-room .meet-captions { background: #101318; padding: 12px 24px; }
.hr-led-room .cap-user { color: #d5dfeb; }
#hr-answer-status { display: none; }
.hr-led-room #hr-answer-status { display: block; color: #79dfbb; font-size: 14px; margin: 0 0 10px; }
.hr-led-room .live-banner .btn { background: #283343; color: #fff; border-color: #465366; }
.live-host-panel { background: rgba(5, 9, 15, .9); }
.live-host-card.hr-led { background: #11161f; color: #edf2f9; border-color: #2d394a; padding: 24px; width: min(1500px, 100%); }
.live-host-card.hr-led .live-help, .live-host-card.hr-led #live-host-role, .live-host-card.hr-led #live-hr-topics { color: #b3c0d1; }
.live-host-card.hr-led #live-host-status { color: #71dbb3; font-size: 13px; }
.live-host-card.hr-led #live-hr-guide { background: #1b2432; border: 1px solid #344257; border-radius: 16px; padding: 20px; margin: 18px 0; }
.live-host-card.hr-led #live-hr-guide h3 { margin: 0 0 12px; font-size: 15px; color: #82dabd; }
.live-host-card.hr-led .live-hr-question { font-size: 21px; line-height: 1.5; background: transparent; border: none; padding: 16px 0; color: #fff; }
.live-host-card.hr-led .live-host-actions { background: #11161f; border-color: #344257; justify-content: center; }
.live-host-card.hr-led .btn-ghost { color: #f1f5fb; border-color: #46566c; background: #253144; }
#live-host-leave { background: #ba3345; color: white; border-color: #ba3345; }
.live-host-card.hr-led .live-transcript { background: #1b2432; color: #edf2f9; }
#live-shared-screen { aspect-ratio: 16 / 9; max-height: 65vh; }
#live-shared-screen video { object-fit: contain; }
@media (min-width: 1000px) {
  .live-host-card.hr-led { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 0 20px; }
  .live-host-card.hr-led #live-host-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-row: 4; grid-column: 1; }
  .live-host-card.hr-led #live-host-stage .live-video-tile { min-height: 280px; max-height: none; aspect-ratio: 4 / 5; }
  .live-host-card.hr-led #live-hr-guide { grid-column: 2; grid-row: 4; max-height: 55vh; }
  .live-host-card.hr-led #live-shared-screen { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .hr-led-room .meet-stage, .hr-led-room .meet-stage.has-live-recruiter { padding: 12px; gap: 8px; min-height: 200px; }
  .hr-led-room .tile-user, .hr-led-room #tile-recruiter { min-height: 180px; aspect-ratio: 3 / 4; }
  .live-host-card.hr-led { padding: 16px; }
}
