:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f2f4;
  --text-primary: #1a1d1f;
  --text-secondary: #5f6368;
  --text-tertiary: #9aa0a6;
  --border-color: #dadce0;
  --accent: #1f73e7;
  --accent-hover: #1665d8;
  --success: #188038;
  --warning: #f57c00;
  --critical: #d33427;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, "Noto Sans", sans-serif;
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ============================================
   HEADER / TOP BAR
   ============================================ */

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  gap: 24px;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.brand {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.app-header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */

button {
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

button:hover:not(:disabled) {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

button:active:not(:disabled) {
  background: var(--bg-secondary);
}

button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

button.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

button.ghost {
  background: transparent;
  border: none;
}

button.ghost:hover:not(:disabled) {
  background: var(--bg-tertiary);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   CONTROL BAR (Interview Settings)
   ============================================ */

.control-bar {
  display: flex;
  gap: 30px;
  padding: 12px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.control-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  white-space: nowrap;
  min-width: 55px;
}

.control-dropdown {
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.control-dropdown:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(31, 115, 231, 0.1);
}

.control-dropdown:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 115, 231, 0.2);
}

.stage-center {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
  flex-shrink: 0;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  pointer-events: none;
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  pointer-events: auto;
}

.toast-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}

.toast-content {
  flex: 1;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: var(--text-primary);
}

.toast.success {
  border-color: var(--success);
  background: rgba(24, 128, 56, 0.05);
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error {
  border-color: var(--critical);
  background: rgba(211, 52, 39, 0.05);
}

.toast.error .toast-icon {
  color: var(--critical);
}

.toast.warning {
  border-color: var(--warning);
  background: rgba(245, 124, 0, 0.05);
}

.toast.warning .toast-icon {
  color: var(--warning);
}

.toast.info {
  border-color: var(--accent);
  background: rgba(31, 115, 231, 0.05);
}

.toast.info .toast-icon {
  color: var(--accent);
}

.toast.removing {
  animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  to {
    opacity: 0;
    transform: translateX(400px);
  }
}

/* ============================================
   MULTI-AVATAR LAYOUT
   ============================================ */

.avatars-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  height: 100%;
  align-content: start;
  justify-items: center;
}

.avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 3px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  width: 100%;
  max-width: 280px;
}

.avatar-wrapper:hover {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

.avatar-wrapper.active {
  border-color: var(--accent);
  background: rgba(31, 115, 231, 0.12);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(31, 115, 231, 0.2);
}

.avatar-canvas {
  width: 100%;
  height: 240px;
  border-radius: 6px;
  background: var(--bg-tertiary);
}

.avatar-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   MAIN LAYOUT - RESPONSIVE GRID
   ============================================ */

.layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  flex: 1;
  min-height: 0;
  gap: 0;
  overflow: hidden;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: auto;
  height: calc(100vh - 80px);
  position: relative;
}

/* ============================================
   AVATAR SECTION - New Full-Width Layout
   ============================================ */

.avatar-section {
  flex: 0 0 auto;
  padding: 24px 16px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: auto;
  max-height: 60vh;
  border-bottom: 1px solid var(--border-color);
  /* height: 60vh !important; */
}

#avatars-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px;
  width: 100%;
  justify-items: center;
}

#avatars-container.single-mode {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
}

.avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  max-width: 340px;
  height: auto;
}

.avatar-wrapper:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.avatar-wrapper.active {
  border: none;
  background: transparent;
  transform: none;
  box-shadow: none;
}

.avatar-wrapper.speaking {
  border: 3px solid #d33427;
  box-shadow: 0 12px 32px rgba(211, 52, 39, 0.35);
}

.avatar-canvas {
  height: 400px;
  border-radius: 8px;
  background: #fff;
  border: none;
  display: block;
}

.avatar-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.avatar-info {
  width: 100%;
  text-align: center;
  flex-shrink: 0;
  margin-top: 8px;
}

.avatar-state {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.connection-status {
  font-size: 11px;
  color: var(--text-tertiary);
  margin: 4px 0 0 0;
}

/* ============================================
   CONVERSATION SECTION - New Full-Width Layout
   ============================================ */

.conversation-section {
  flex: 1;
  padding: 20px;
  padding-right: 260px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  margin-bottom: 2rem !important;
}

.camera-panel {
  display: none;
}

.camera-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.camera-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.consent-badge {
  font-size: 11px;
  padding: 4px 8px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  color: var(--text-secondary);
}

.camera-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}



/* ============================================
   SPEAKING INDICATOR (GOOGLE MEET STYLE)
   ============================================ */

.video-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

#candidate-video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

.speaking-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 1);
}

.speaking-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 0.6s ease-in-out infinite;
}

.speaking-indicator .dot:nth-child(2) {
  animation-delay: 0.1s;
}

.speaking-indicator .dot:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ============================================
   METRICS PANEL - HIDDEN
   ============================================ */

.metrics-section {
  display: none !important;
}

.metrics-label {
  display: none !important;
}

.metrics-grid {
  display: none !important;
}

.metric {
  display: none !important;
}

.metric-name {
  display: none !important;
}

.metric-value {
  display: none !important;
}

.metric-score {
  display: none !important;
}

.metric-max {
  display: none !important;
}

.metric-bar {
  display: none !important;
}

.metric-bar-fill {
  display: none !important;
}

/* ============================================
   WARNINGS CONTAINER
   ============================================ */

.warnings-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  min-height: 120px;
  max-height: 180px !important;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  margin-bottom: 0;
}

.warning {
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #dc3545;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: #ffffff;
  color: #721c24;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: slideIn 0.2s ease-out;
}

.warning-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-message {
  flex: 1;
  word-break: break-word;
}

.warning-critical {
  background: #fce8e6;
  color: #c5221f;
  border-left-color: #d33427;
}

.warning-warning {
  background: #fef7e0;
  color: #9a6700;
  border-left-color: #f57c00;
}

.warning-technical {
  background: #e8f0fe;
  color: #1249ba;
  border-left-color: #1f73e7;
}

/* ============================================
   CONVERSATION PANEL (FULL-WIDTH NOW)
   ============================================ */

.conversation-panel {
  flex: 1;
  width: 100%;
  background: var(--bg-primary);
  border: none;
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: auto;
  overflow: hidden;
  box-shadow: none;
}

.messages {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  overflow-y: auto;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: none;
  min-height: auto;
}

.message {
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  line-height: 1.4;
  font-size: 13px;
}

.message strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-weight: 500;
}

.message.ai {
  border-left: 3px solid var(--accent);
  background: #f0f7ff;
}

.message.user {
  margin-left: 80px;
  background: #e8f0fe;
  border-left-color: var(--accent);
}

.input-row {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#text-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
  min-height: 40px;
}

#text-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(31, 115, 231, 0.1);
}

#text-input:disabled {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
}

.speak-btn {
  padding: 10px 12px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.speak-btn.listening {
  background: #d33427;
  border-color: #d33427;
  color: #fff;
}

/* ============================================
   FLOATING CAMERA PANEL - Bottom Right Corner
   ============================================ */

.floating-camera {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  height: auto;
  z-index: 100;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.floating-camera .camera-header {
  display: none;
}

.floating-camera .camera-title {
  display: none;
}

.floating-camera .camera-container {
  flex: 0 0 auto;
}

.floating-camera .video-wrapper {
  width: 100%;
  height: 188px;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.floating-camera #candidate-video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
  #avatars-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .avatar-wrapper {
    max-width: 320px;
  }
  
  .floating-camera {
    width: 220px;
  }
  
  .floating-camera .video-wrapper {
    height: 165px;
  }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }
  
  .app-header-center {
    width: 100%;
    justify-content: flex-start;
  }
  
  .controls {
    width: 100%;
    flex-wrap: wrap;
  }
  
  #avatars-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .avatar-wrapper {
    max-width: 100%;
  }
  
  .avatar-canvas {
    max-width: 100%;
    height: 340px;
  }
  
  .floating-camera {
    width: 220px;
    bottom: 10px;
    right: 10px;
  }
  
  .floating-camera .video-wrapper {
    height: 165px;
  }
  
  .conversation-section {
    padding-right: 20px;
  }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

.messages::-webkit-scrollbar,
.avatar-panel::-webkit-scrollbar,
.camera-panel::-webkit-scrollbar,
.conversation-panel::-webkit-scrollbar {
  width: 6px;
}

.messages::-webkit-scrollbar-track,
.avatar-panel::-webkit-scrollbar-track,
.camera-panel::-webkit-scrollbar-track,
.conversation-panel::-webkit-scrollbar-track {
  background: transparent;
}

.messages::-webkit-scrollbar-thumb,
.avatar-panel::-webkit-scrollbar-thumb,
.camera-panel::-webkit-scrollbar-thumb,
.conversation-panel::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.messages::-webkit-scrollbar-thumb:hover,
.avatar-panel::-webkit-scrollbar-thumb:hover,
.camera-panel::-webkit-scrollbar-thumb:hover,
.conversation-panel::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* Consent Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 35px 40px;
  max-width: 550px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  margin: 20px;
}

.modal-content h2 {
  margin: 0 0 25px 0;
  color: #1d4ed8;
  font-size: 1.6rem;
  text-align: center;
}

.modal-content h3 {
  margin: 18px 0 10px 0;
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 600;
}

.consent-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.consent-info li {
  padding: 8px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-primary, .btn-secondary {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.btn-primary {
  background: #1d4ed8;
  color: white;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
  background: #e5e7eb;
  color: #0f172a;
}

.btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-1px);
}

/* Audio Visualizer */
.audio-visualizer {
  width: 100%;
  height: 40px;
  background: #f3f4f6;
  border-radius: 6px;
  margin: 8px 0;
  border: 1px solid var(--border);
}

/* Observation Camera Panel */
.camera-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.camera-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.camera-container h3 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

#candidate-video {
  width: 100%;
  /* height: 360px; */
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #000;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Mirror view for natural self-viewing experience */
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

.warnings-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.warning {
  padding: 10px 12px;
  border-radius: 6px;
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.warning-icon {
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
}

.warning-message {
  flex: 1;
  word-break: break-word;
}

.warning-critical {
  background: #fee2e2;
  color: #991b1b;
  border-left-color: #dc2626;
}

.warning-warning {
  background: #fef3c7;
  color: #92400e;
  border-left-color: #f59e0b;
}

.warning-technical {
  background: #e0e7ff;
  color: #1e3a8a;
  border-left-color: #6366f1;
}

.observation-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f9fafb;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric span {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1200px) {
  .layout { grid-template-columns: 1fr 1fr; }
  .conversation-panel { grid-column: 1 / -1; }
  #avatar-canvas { height: 280px; }
  #candidate-video { height: 280px; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .avatar-panel { grid-column: 1; }
  .camera-panel { grid-column: 1; }
  .conversation-panel { grid-column: 1; }
  #avatar-canvas { height: 250px; }
  #candidate-video { height: 200px; }
}
