:root {
  --bg-dark: #07090e;
  --bg-surface: #0e121b;
  --bg-surface-glass: rgba(14, 18, 27, 0.82);
  --bg-card: rgba(22, 28, 42, 0.7);
  --bg-card-hover: rgba(30, 38, 58, 0.9);
  
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --accent: #6366f1;
  --accent-cyan: #06b6d4;
  --amber: #f59e0b;
  --emerald: #10b981;
  --rose: #f43f5e;
  --indigo: #4f46e5;
  --fuchsia: #d946ef;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(99, 102, 241, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  --shadow-dock: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.app-header {
  height: 64px;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-glow {
  width: 36px;
  height: 36px;
  background: #020408;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.brand-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.accent-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0.4; }
}

/* Presenter Control Swap Pill */
.presenter-control-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pill-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}

.presenter-control-pill select {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 11px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.presenter-control-pill select option {
  background: #0b0f17;
  color: white;
}

/* ==========================================================================
   LIVE DRAWING CANVAS & PALETTE
   ========================================================================== */
#liveDrawingCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 28;
  cursor: crosshair;
}

.drawing-floating-palette {
  position: absolute;
  top: 14px;
  left: 20px;
  z-index: 29;
  background: rgba(10, 14, 22, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-bright);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.palette-tools, .palette-colors {
  display: flex;
  align-items: center;
  gap: 6px;
}

.draw-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s;
}

.draw-tool-btn:hover, .draw-tool-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.palette-divider {
  width: 1px;
  height: 20px;
  background: var(--border-glass-bright);
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.2);
}

.color-dot.active {
  border-color: white;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.draw-clear-btn {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.draw-clear-btn:hover {
  background: var(--rose);
  color: white;
}

/* Direct / Private Messaging & AI Ask Bar */
.chat-recipient-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.chat-recipient-bar label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.chat-recipient-bar select {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  outline: none;
}

.chat-recipient-bar select option {
  background: #0d121c;
  color: white;
}

.chat-bubble.direct-bubble {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fef08a;
}

.chat-bubble.direct-bubble-local {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

/* AI Ask Bar & Result Box */
.ai-ask-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-ask-bar .input-icon-wrap {
  flex: 1;
}

.ai-ask-bar input {
  padding: 8px 10px 8px 34px !important;
  font-size: 11px !important;
}

.ai-query-response-box {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 14px;
}

.ai-response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ai-chip {
  font-size: 10px;
  font-weight: 800;
  color: #c7d2fe;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-close-micro {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}

.ai-query-response-box p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-main);
}

/* Security Chip in Header */
.security-chip-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  cursor: pointer;
  transition: all 0.2s;
}

.security-chip-header:hover {
  background: rgba(16, 185, 129, 0.22);
  transform: translateY(-1px);
}

/* 2-Column Form Row & Password Toggle */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
}

.btn-toggle-pwd:hover {
  color: var(--text-main);
}

.security-toggles-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.encryption-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
}

/* Security Modal Components */
.security-status-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.sec-status-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a7f3d0;
  margin-bottom: 6px;
}

.security-status-box p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.sec-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.sec-label-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.cipher-details-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.6;
}
  display: flex;
  align-items: center;
  gap: 16px;
}

.room-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.icon-btn-micro {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.icon-btn-micro:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.mode-switcher-segmented {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 3px;
  border-radius: var(--radius-full);
}

.seg-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.seg-btn:hover {
  color: var(--text-main);
}

.seg-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.telemetry-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
}

.quality-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.package-tier-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(217, 70, 239, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #fef08a;
}

.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 12px;
  font-weight: 700;
}

.user-role-tag {
  font-size: 10px;
  color: var(--text-subtle);
}

/* ==========================================================================
   MAIN CONTAINER & PANELS
   ========================================================================== */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.view-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   VIRTUAL BACKGROUNDS & BACKDROPS
   ========================================================================== */
.backdrop-presets-row {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.backdrop-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.backdrop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.backdrop-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.backdrop-chip:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.backdrop-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Modal Grid Options */
.backdrop-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bg-card-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}

.bg-card-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.bg-card-option.active {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.15);
  color: #bfdbfe;
  box-shadow: 0 0 12px var(--primary-glow);
}

.bg-preview-box {
  width: 100%;
  height: 60px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.none-bg { background: #1e293b; color: #94a3b8; }
.blur-bg { background: radial-gradient(circle, #3b82f6, #1e1b4b); filter: blur(1px); }
.deep-blur-bg { background: radial-gradient(circle, #06b6d4, #0f172a); filter: blur(3px); }
.boardroom-bg { background: linear-gradient(135deg, #1e293b, #0f172a); border: 1px solid #334155; }
.soc-bg { background: radial-gradient(circle, #047857, #022c22); border: 1px solid #065f46; }
.loft-bg { background: linear-gradient(135deg, #7c2d12, #451a03); border: 1px solid #9a3412; }

/* Video Background filter effects */
video.bg-filter-soft-blur {
  filter: blur(4px) contrast(105%) brightness(102%);
}

video.bg-filter-deep-blur {
  filter: blur(10px) contrast(110%);
}

video.bg-filter-executive-boardroom {
  filter: contrast(115%) brightness(95%) sepia(10%);
}

video.bg-filter-cyber-soc {
  filter: hue-rotate(90deg) contrast(120%) brightness(105%);
}

video.bg-filter-studio-loft {
  filter: sepia(30%) contrast(110%) brightness(102%);
}
.lobby-grid {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.lobby-preview-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.lobby-camera-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #020408;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass-bright);
}

#lobbyPreviewVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-subtle);
  font-size: 14px;
}

.camera-fallback i {
  font-size: 48px;
  color: var(--text-muted);
}

.lobby-audio-meter-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border: 1px solid var(--border-glass);
}

.meter-track {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  border-radius: var(--radius-full);
  transition: width 0.1s ease;
}

.lobby-quick-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.control-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass-bright);
  background: rgba(14, 18, 27, 0.85);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.control-circle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.control-circle-btn.muted {
  background: var(--rose);
  border-color: transparent;
  color: white;
}

.device-selectors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.device-select-box label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.device-select-box select {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  outline: none;
}

/* Right Lobby Join Card */
.lobby-join-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.card-hero .pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.card-hero h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.card-hero p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.lobby-form .input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  font-size: 14px;
}

.input-icon-wrap input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 12px 14px 12px 40px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.input-icon-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.room-template-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.template-chip {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.template-chip:hover, .template-chip.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
  color: #c7d2fe;
}

.join-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary-large {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #4f46e5);
  border: none;
  color: white;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.2s;
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary-large {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass-bright);
  color: var(--text-main);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lobby-trust-badges {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.trust-item {
  font-size: 11px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   VIEW 2: ACTIVE STUDIO & COLLABORATION
   ========================================================================== */
.studio-layout {
  flex: 1;
  display: flex;
  height: calc(100vh - 64px - 76px); /* minus header & dock */
  position: relative;
  overflow: hidden;
}

.workspace-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #05070b;
}

/* 1. Video Grid */
.video-grid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.video-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
}

.video-tile {
  position: relative;
  background: #0b0f17;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local-tile video {
  transform: scaleX(-1);
}

.tile-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1422;
}

.avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: white;
  background: #3b82f6;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.avatar-large.bg-indigo { background: #6366f1; }
.avatar-large.bg-emerald { background: #10b981; }
.avatar-large.bg-fuchsia { background: #d946ef; }

.tile-overlay-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.participant-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tile-overlay-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.participant-name {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-glass);
}

.audio-wave-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.audio-wave-anim span {
  width: 3px;
  height: 12px;
  background: var(--emerald);
  border-radius: var(--radius-full);
  animation: soundWave 1.2s infinite ease-in-out;
}

.audio-wave-anim span:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.audio-wave-anim span:nth-child(3) { animation-delay: 0.4s; height: 10px; }
.audio-wave-anim span:nth-child(4) { animation-delay: 0.1s; height: 15px; }

@keyframes soundWave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Floating Captions Banner */
.live-captions-banner {
  margin-top: 12px;
  background: rgba(14, 18, 27, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-bright);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.caption-icon {
  font-size: 18px;
  color: var(--amber);
}

.caption-speaker {
  font-weight: 700;
  color: var(--accent-cyan);
  margin-right: 6px;
}

.caption-text {
  color: var(--text-main);
  font-style: italic;
}

/* ==========================================================================
   2. DOCUMENT WAR ROOM WORKSPACE
   ========================================================================== */
.war-room-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #080b11;
  position: relative;
  overflow: hidden;
}

.war-room-toolbar {
  height: 52px;
  background: rgba(14, 18, 27, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.doc-selector-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-selector-group select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  min-width: 320px;
}

.war-room-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.tool-btn:hover, .tool-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.sync-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.document-viewer-stage {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  display: flex;
  justify-content: center;
}

#laserPointerCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

.doc-rendered-page {
  max-width: 860px;
  width: 100%;
  background: #ffffff;
  color: #1e293b;
  border-radius: 8px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  min-height: 800px;
}

.doc-watermark {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.doc-rendered-page h1 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.doc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 0 16px 0;
  border-bottom: 2px solid #e2e8f0;
  font-size: 12px;
  color: #475569;
  margin-bottom: 20px;
}

.badge-status-approved {
  background: #dcfce7;
  color: #166534;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.doc-body-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 18px 0 8px 0;
}

.doc-body-section p {
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 14px;
}

.highlightable.highlighted {
  background-color: #fef08a;
  padding: 2px 4px;
  border-radius: 3px;
}

.doc-budget-table-wrap {
  margin: 16px 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.doc-budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.doc-budget-table th {
  background: #f8fafc;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #cbd5e1;
  font-weight: 700;
  color: #475569;
}

.doc-budget-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.tag-ready {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.sticky-notes-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.sticky-note {
  position: absolute;
  width: 220px;
  background: #fef9c3;
  color: #713f12;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  font-size: 12px;
  border: 1px solid #fde047;
  transform: rotate(-1deg);
}

.sticky-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 6px;
  border-bottom: 1px solid #fef08a;
  padding-bottom: 4px;
}

.btn-close-sticky {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #854d0e;
}

/* ==========================================================================
   3. WEBINAR BROADCAST STAGE
   ========================================================================== */
.broadcast-stage-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #020408;
}

.broadcast-hero-video {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090d15;
  border: 1px solid var(--border-glass);
}

.broadcast-stream-window {
  flex: 1;
  position: relative;
  background: #000;
}

#broadcastMainFeed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broadcast-overlay-live {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
}

.badge-live-stream {
  background: var(--rose);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.6);
}

.badge-viewers {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-glass);
}

.broadcast-control-panel {
  height: 60px;
  background: rgba(14, 18, 27, 0.95);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.btn-broadcast-toggle.on {
  background: var(--rose);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.stream-uptime {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  margin-left: 12px;
  color: var(--text-muted);
}

.stream-health-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.health-dot.good {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

/* ==========================================================================
   APP CO-SHARE WORKSPACE & VIDEO FILMSTRIP
   ========================================================================== */
.app-share-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #06090f;
  position: relative;
  overflow: hidden;
}

.app-share-toolbar {
  height: 52px;
  background: rgba(14, 18, 27, 0.95);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 30;
}

.app-picker-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-picker-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.app-picker-group select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  min-width: 320px;
}

.btn-micro-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-micro-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.app-share-layout-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
}

.btn-hud-layout {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-hud-layout:hover {
  color: var(--text-main);
}

.btn-hud-layout.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.app-share-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.app-viewport-container {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #020408;
}

#ecosystemAppIframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
}

.app-viewport-fallback {
  position: absolute;
  inset: 0;
  background: #0b0f17;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ==========================================================================
   VIDEO FILMSTRIP & FLOATING HUD MODES
   ========================================================================== */
.video-filmstrip {
  display: flex;
  gap: 12px;
  z-index: 25;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Top Ribbon Mode (Docked above or floating over top) */
.video-filmstrip.top-ribbon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(16px);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* 2. Floating HUD Mode (Draggable bottom-right overlay) */
.video-filmstrip.floating-hud {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(20px);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-bright);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* 3. Side Grid Mode */
.video-filmstrip.side-grid {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  flex-direction: column;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(16px);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-bright);
  overflow-y: auto;
}

.filmstrip-tile {
  width: 140px;
  height: 90px;
  background: #0a0e17;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.filmstrip-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.filmstrip-tile.active-speaker {
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.fs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: white;
  background: #3b82f6;
}

.fs-avatar.bg-indigo { background: #6366f1; }
.fs-avatar.bg-emerald { background: #10b981; }
.fs-avatar.bg-fuchsia { background: #d946ef; }

.fs-tile-footer {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  padding: 2px 6px;
  border-radius: 4px;
}

.fs-name {
  font-size: 10px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.fs-tile-footer i {
  font-size: 10px;
}

/* ==========================================================================
   SIDEBAR COLLABORATION TABS
   ========================================================================== */
.studio-sidebar {
  width: 380px;
  border-left: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  background: rgba(10, 14, 22, 0.92);
}

.sidebar-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-glass);
}

.sidebar-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-subtle);
  padding: 14px 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.sidebar-tab-btn:hover {
  color: var(--text-main);
}

.sidebar-tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--primary);
  background: rgba(255, 255, 255, 0.02);
}

.tab-badge {
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-full);
}

.sidebar-tab-content {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow: hidden;
  padding: 16px;
}

.sidebar-tab-content.active {
  display: flex;
}

/* ==========================================================================
   AI NOTETAKER INTELLIGENCE COCKPIT & LENSES
   ========================================================================== */
.ai-analytics-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glass);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.analytics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 8px;
}

.analytics-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
}

.metric-value {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.mini-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 2px;
}

.mini-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.mini-bar-fill.emerald { background: var(--emerald); }
.mini-bar-fill.rose { background: var(--rose); }

/* Lens sub-tabs */
.ai-lens-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px;
  border-radius: var(--radius-sm);
  gap: 2px;
  margin-bottom: 12px;
  border: 1px solid var(--border-glass);
}

.lens-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 2px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.lens-btn:hover {
  color: var(--text-main);
}

.lens-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 10px var(--primary-glow);
}

.lens-content-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* TLDR Card */
.tldr-highlight-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.tldr-title {
  font-size: 11px;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tldr-bullets {
  padding-left: 16px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-main);
}

.tldr-bullets li {
  margin-bottom: 6px;
}

/* Planning Cards */
.planning-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.plan-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.plan-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.plan-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-glass);
  padding-top: 6px;
}

/* Priority Tags in To-Dos */
.action-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.priority-tag {
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.priority-tag.urgent { background: rgba(244, 63, 94, 0.25); color: #fda4af; }
.priority-tag.high { background: rgba(245, 158, 11, 0.25); color: #fef08a; }
.priority-tag.normal { background: rgba(16, 185, 129, 0.25); color: #a7f3d0; }

/* Risks & Friction Cards */
.risks-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-card {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.risk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.risk-badge {
  font-size: 10px;
  font-weight: 800;
  color: #fda4af;
  display: flex;
  align-items: center;
  gap: 5px;
}

.risk-severity {
  background: var(--rose);
  color: white;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.risk-desc {
  font-size: 11px;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}

.risk-mitigation {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

/* AI Scribe Tab */
.ai-scribe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fde047;
}

.pulse-dot-ai {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber);
  animation: pulse-glow 1.5s infinite ease-in-out;
}

.btn-icon-sm {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.ai-section {
  margin-bottom: 18px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title-row h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-count {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.action-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.action-item-text label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 4px;
}

.assignee-tag {
  font-size: 10px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.transcription-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.live-transcript-box {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.transcript-entry {
  background: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--primary);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.speaker-pill {
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
}

.speaker-pill.em { color: #818cf8; }
.speaker-pill.ks { color: #60a5fa; }
.speaker-pill.dr { color: #34d399; }

.timestamp {
  font-size: 10px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.transcript-entry p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-main);
  margin-top: 4px;
}

.ai-summary-footer {
  margin-top: auto;
  padding-top: 12px;
}

.btn-ai-generate {
  width: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef08a;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-ai-generate:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(99, 102, 241, 0.35));
}

/* Chat Tab */
.chat-messages-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
  margin-bottom: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.4;
}

.chat-bubble.remote {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.chat-bubble.local {
  align-self: flex-end;
  background: var(--primary);
  color: white;
}

.bubble-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 10px;
  opacity: 0.8;
}

.chat-input-bar {
  display: flex;
  gap: 8px;
}

.chat-input-bar input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  outline: none;
}

.btn-send-chat {
  background: var(--primary);
  border: none;
  color: white;
  width: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Participants Tab */
.participants-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.participant-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.p-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.p-avatar.ks { background: #3b82f6; }
.p-avatar.em { background: #6366f1; }
.p-avatar.dr { background: #10b981; }
.p-avatar.sc { background: #d946ef; }

.p-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.p-name { font-size: 12px; font-weight: 700; }
.p-role { font-size: 10px; color: var(--text-subtle); }

.p-controls {
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.invite-participant-box label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.invite-input-row {
  display: flex;
  gap: 8px;
}

.invite-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  outline: none;
}

/* QA Tab */
.qa-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.qa-author-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.qa-question {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 8px;
}

.qa-answer-status {
  font-size: 11px;
  color: var(--emerald);
  font-weight: 600;
}

/* ==========================================================================
   BOTTOM MEETING DOCK
   ========================================================================== */
.meeting-dock {
  height: 76px;
  background: rgba(10, 14, 22, 0.95);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  z-index: 50;
}

.dock-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.meeting-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.timer-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
}

.dock-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.dock-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dock-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-glass-bright);
  color: var(--text-main);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-circle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.dock-circle-btn.muted {
  background: var(--rose);
  border-color: transparent;
  color: white;
}

.dock-circle-btn.active-tool {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 16px var(--primary-glow);
}

.dock-circle-btn.end-call {
  background: var(--rose);
  border-color: transparent;
  color: white;
  margin-left: 8px;
}

.dock-circle-btn.end-call:hover {
  background: #e11d48;
  transform: translateY(-3px) scale(1.05);
}

.dock-right {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   EMOJI BURST & MODALS
   ========================================================================== */
.emoji-burst-container {
  position: fixed;
  bottom: 90px;
  left: 50%;
  pointer-events: none;
  z-index: 200;
}

.burst-emoji {
  position: absolute;
  font-size: 32px;
  animation: floatUpBurst 2s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes floatUpBurst {
  0% { transform: translate(0, 0) scale(0.5); opacity: 1; }
  100% { transform: translate(var(--dx, 0), -200px) scale(1.4); opacity: 0; }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  max-width: 620px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass-bright);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title h3 {
  font-size: 16px;
  font-weight: 800;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  max-height: 60vh;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
}

.summary-meta-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  margin-bottom: 18px;
}

.modal-body h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 16px 0 8px 0;
}

.modal-body ul {
  padding-left: 20px;
  color: var(--text-main);
}

.modal-body li {
  margin-bottom: 6px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-primary-sm {
  background: var(--primary);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary-sm {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   CONFERENCE INFO & SETTINGS MODAL (CISCO WEBEX / ZOOM ENTERPRISE STYLE)
   ========================================================================== */
.room-info-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-cyan);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s ease;
}

.room-info-btn:hover {
  background: var(--accent-cyan);
  color: #0b0f17;
  transform: scale(1.08);
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s;
}

.btn-toggle-pwd:hover {
  color: var(--text-main);
}

.security-toggles-row {
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
}

.info-modal-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 16px;
  gap: 8px;
}

.info-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.info-tab-btn:hover {
  color: var(--text-main);
}

.info-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.info-table-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.info-key {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 120px;
}

.info-val {
  color: var(--text-main);
  text-align: right;
}

.info-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 65%;
}

.info-link-row input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  outline: none;
}

.device-settings-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device-test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-glass);
}

.sec-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
}

.sec-label-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sec-label-col strong {
  font-size: 13px;
  color: var(--text-main);
}

.font-semibold { font-weight: 600; }
.font-mono { font-family: var(--font-mono); }
.text-subtle { color: var(--text-subtle); }

/* Lobby Benefits Strip */
.lobby-benefits-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.benefit-item i {
  font-size: 13px;
}

/* Ecosystem Advantage Pane in Info Modal */
.advantage-pane-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advantage-intro-card {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.5;
}

.advantage-intro-card strong {
  color: var(--accent-cyan);
}

.advantage-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.advantage-card {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all 0.2s;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-glass-bright);
}

.adv-icon {
  font-size: 18px;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.adv-content h5 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.adv-content p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Limits & Cost Comparison Table */
.limits-compare-table-wrap {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 4px;
}

.limits-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.limits-compare-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  font-weight: 700;
  color: var(--text-muted);
}

.limits-compare-table th.highlight-col {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
}

.limits-compare-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.limits-compare-table tr:last-child td {
  border-bottom: none;
}

.limits-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Help & Support Header Button */
.header-help-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.header-help-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

/* Tutorial Cards */
.tutorial-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tutorial-card {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: all 0.2s;
}

.tutorial-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.3);
}

.tut-number {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.tut-content h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.tut-content p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Trouble Ticket & Feedback */
.ticket-form textarea, .feedback-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12px;
  outline: none;
  resize: vertical;
}

.ticket-form textarea:focus, .feedback-form textarea:focus {
  border-color: var(--primary);
}

.diagnostic-payload-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 12px 0 16px 0;
  font-size: 11px;
}

.diag-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}

.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  color: var(--text-muted);
}

.diag-item strong {
  color: var(--text-main);
}

.ticket-success-card, .feedback-success-card {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.ticket-success-card .success-icon i, .feedback-success-card .success-icon i {
  font-size: 24px;
}

.ticket-success-card h4, .feedback-success-card h4 {
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--text-main);
}

.ticket-sla-text {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Feedback Stars */
.star-rating-block {
  margin-bottom: 14px;
}

.star-rating-block label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stars-row {
  display: flex;
  gap: 8px;
  font-size: 22px;
  color: #475569;
  cursor: pointer;
}

.stars-row .star-btn.active {
  color: #f59e0b;
}

.feedback-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.fb-chip {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-chip.active, .fb-chip:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
  color: #c7d2fe;
}

/* Shortcuts */
.shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.key-badge {
  min-width: 32px;
  height: 26px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 0 4px;
}

.key-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .lobby-grid {
    grid-template-columns: 1fr;
  }
  .studio-sidebar {
    width: 320px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .advantage-cards-grid, .tutorial-cards-grid, .shortcuts-grid {
    grid-template-columns: 1fr;
  }
}
