/* ==========================================================================
   AI AGENTS 3D COMMAND DOCK & INTERACTIVE DOSSIER (STROYNA & XBK)
   ========================================================================== */

:root {
  --agent-dock-height: 106px;
  --agent-dock-height-collapsed: 34px;
}

.ai-agent-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--agent-dock-height);
  background: linear-gradient(180deg, rgba(11, 18, 33, 0.96) 0%, rgba(6, 10, 20, 0.99) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 -1px 0 rgba(255, 255, 255, 0.06);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body.dock-collapsed .ai-agent-dock {
  height: var(--agent-dock-height-collapsed);
  overflow: hidden;
}

body.dock-collapsed .dock-agents-container {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

/* Floating Voice HUD Live Banner */
.voice-live-banner {
  position: fixed;
  bottom: 114px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 999px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dock-collapsed .voice-live-banner {
  bottom: 42px;
}

/* Dock Header */
.dock-header {
  height: 28px;
  min-height: 28px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 11px;
}

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

.dock-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: liveBeaconPulse 2s infinite;
}

@keyframes liveBeaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dock-brand-tag {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.6px;
  padding: 1px 7px;
  border-radius: 4px;
}

.dock-title {
  color: #f1f5f9;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-title i {
  color: #38bdf8;
}

.dock-state-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 700;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

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

/* Microphone Button in Dock */

/* Settings Button in Dock */
.btn-dock-settings {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.28) 100%);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  position: relative;
}

.btn-dock-settings:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45) 0%, rgba(217, 119, 6, 0.5) 100%);
  border-color: #fbbf24;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

.btn-dock-settings i {
  transition: transform 0.4s ease;
}

.btn-dock-settings:hover i {
  transform: rotate(60deg);
}

.btn-dock-mic {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(37, 99, 235, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  padding: 2px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  position: relative;
}

.btn-dock-mic:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.45) 0%, rgba(37, 99, 235, 0.45) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.btn-dock-mic.mic-active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(244, 63, 94, 0.45) 100%);
  border-color: #f43f5e;
  color: #fff;
  animation: micPulseGlow 1.2s infinite alternate;
}

@keyframes micPulseGlow {
  0% { box-shadow: 0 0 6px rgba(244, 63, 94, 0.4); transform: scale(0.98); }
  100% { box-shadow: 0 0 16px rgba(244, 63, 94, 0.9); transform: scale(1.03); }
}

.dock-telemetry-pill {
  color: #94a3b8;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-telemetry-pill strong {
  color: #f1f5f9;
}

.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.btn-dock-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-dock-toggle:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #fff;
}

/* Agents Row Container */
.dock-agents-container {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 6px 14px;
  align-items: center;
  perspective: 1200px;
  overflow: hidden;
}

/* Agent Card / Pod */
.agent-pod {
  background: rgba(22, 33, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 7px 12px; min-height: 64px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.agent-pod:hover {
  background: rgba(30, 48, 80, 0.9);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 22px -5px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.25);
}

.agent-pod.agent-speaking-glow {
  border-color: #10b981 !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), inset 0 0 15px rgba(16, 185, 129, 0.3) !important;
  animation: speakingCardPulse 1s infinite alternate;
}

@keyframes speakingCardPulse {
  0% { transform: translateY(-3px) scale(1.02); }
  100% { transform: translateY(-5px) scale(1.05); }
}

/* Master CTO Pod */
.agent-pod.cto-pod {
  background: linear-gradient(135deg, rgba(32, 42, 68, 0.8) 0%, rgba(48, 36, 18, 0.7) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 15px -3px rgba(245, 158, 11, 0.15);
}

.agent-pod.cto-pod:hover {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.7), 0 0 22px rgba(245, 158, 11, 0.35);
}

/* 3D Avatar Stage */
.agent-avatar-stage {
  position: relative;
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-3d-pedestal {
  position: absolute;
  bottom: -2px;
  width: 32px;
  height: 8px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cto-pod .avatar-3d-pedestal {
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
}

.avatar-3d-frame {
  width: 48px; height: 48px;
  border-radius: 50%;
  padding: 2px;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(56, 189, 248, 0.8) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}

.agent-pod:hover .avatar-3d-frame {
  transform: scale(1.08) rotate(2deg);
}

.frame-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}
.frame-cyan { background: linear-gradient(135deg, #a5f3fc 0%, #06b6d4 100%); }
.frame-emerald { background: linear-gradient(135deg, #a7f3d0 0%, #10b981 100%); }
.frame-amber { background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%); }
.frame-purple { background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 100%); }
.frame-sky { background: linear-gradient(135deg, #bae6fd 0%, #0284c7 100%); }

.agent-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

/* 3D Halo Glow */
.avatar-3d-halo {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.agent-pod:hover .avatar-3d-halo {
  opacity: 0.85;
}
.halo-gold { background: #f59e0b; }
.halo-cyan { background: #06b6d4; }
.halo-emerald { background: #10b981; }
.halo-amber { background: #f59e0b; }
.halo-purple { background: #a855f7; }
.halo-sky { background: #0284c7; }

/* Role Icon Badge */
.avatar-role-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  z-index: 2;
}
.badge-gold { color: #f59e0b; border-color: #f59e0b; }
.badge-cyan { color: #38bdf8; border-color: #38bdf8; }
.badge-emerald { color: #34d399; border-color: #34d399; }
.badge-amber { color: #fbbf24; border-color: #fbbf24; }
.badge-purple { color: #c084fc; border-color: #c084fc; }
.badge-sky { color: #38bdf8; border-color: #38bdf8; }

/* Radar Live Beacon */
.avatar-live-beacon {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
  box-shadow: 0 0 8px #10b981;
  z-index: 2;
}

/* Info Box */
.agent-info-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.agent-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.agent-name {
  font-size: 13.5px; font-weight: 700; color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cto-pod .agent-name {
  color: #fbbf24;
}

.agent-status-badge {
  font-size: 8px;
  font-weight: 800;
  padding: 0px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.status-live {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.agent-designation {
  font-size: 11px; color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Activity Working Ticker with Animated Sound Wave */
.agent-activity-ticker {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 9.5px;
  color: #38bdf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-wave {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
  flex-shrink: 0;
}

.wave-bar {
  width: 2px;
  background: #10b981;
  border-radius: 1px;
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}
.wave-bar:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 9px; animation-delay: 0.35s; }
.wave-bar:nth-child(3) { height: 6px; animation-delay: 0.6s; }

@keyframes wavePulse {
  0% { height: 3px; }
  100% { height: 10px; }
}

.ticker-content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   AGENT 3D DOSSIER & DISPATCHER MODAL
   ========================================================================== */
.agent-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.agent-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.agent-modal-dialog {
  width: 100%;
  max-width: 740px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98) 0%, rgba(9, 13, 25, 0.99) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.15);
  border-radius: 18px;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.agent-modal-backdrop.open .agent-modal-dialog {
  transform: scale(1) translateY(0);
}

.agent-modal-header {
  padding: 16px 20px;
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.modal-header-titles h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header-titles span {
  font-size: 12px;
  color: #94a3b8;
}

.btn-close-modal {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.agent-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-profile-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.modal-avatar-3d-box {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(56, 189, 248, 0.8) 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
}

.modal-avatar-3d-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.modal-profile-text {
  flex: 1;
}

.modal-profile-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-top: 6px;
}

/* Voice & Text Task Input Row inside Modal */
.modal-voice-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 6px 10px;
}

.modal-voice-input-row input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 13px;
  font-family: inherit;
}

.modal-voice-input-row input::placeholder {
  color: #64748b;
}

.btn-send-task {
  background: var(--accent-blue, #2563eb);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-send-task:hover {
  background: #3b82f6;
  transform: scale(1.05);
}

.btn-modal-mic {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-modal-mic:hover {
  background: rgba(56, 189, 248, 0.35);
  color: #fff;
}

.btn-modal-mic.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  animation: micPulseGlow 1s infinite alternate;
}

/* Telemetry Grid */
.modal-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.telemetry-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.telemetry-card .val {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
}

/* Responsibilities List */
.modal-tasks-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.modal-tasks-title {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-tasks-title i {
  color: #10b981;
}

.modal-tasks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-tasks-list li {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-tasks-list li i {
  color: #38bdf8;
  margin-top: 3px;
  font-size: 10px;
}

/* Quick Action Prompts */
.modal-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-agent-action {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-agent-action:hover {
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  color: #fff;
}

/* Agent Response Box */
.agent-response-box {
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.6;
  display: none;
  max-height: 440px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.agent-response-box::-webkit-scrollbar {
  width: 6px;
}
.agent-response-box::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 4px;
}
.agent-response-box::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}
.agent-response-box.active {
  display: block;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-speaking-indicator {
  font-size: 11px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Responsiveness for Smaller Screens */
@media (max-width: 1200px) {
  .dock-agents-container {
    grid-template-columns: repeat(3, 1fr);
  }
  :root {
    --agent-dock-height: 140px;
  }
}

@media (max-width: 768px) {
  .dock-agents-container {
    grid-template-columns: repeat(2, 1fr);
  }
  :root {
    --agent-dock-height: 190px;
  }
}

/* ==========================================================================
   MODAL TASK INPUT & VOICE CONTROLS ENHANCEMENTS
   ========================================================================== */
.modal-task-command-box {
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.modal-task-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-task-input-wrap input {
  flex: 1;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 7px;
  padding: 8px 14px;
  color: #f8fafc;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-task-input-wrap input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn-task-send {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-task-send:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
}

.btn-task-mic {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-task-mic:hover {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.btn-task-mic.listening {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  color: #ffffff;
  animation: micPulseGlow 1.2s infinite alternate;
}

.modal-voice-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #94a3b8;
}

.btn-voice-toggle-action {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-voice-toggle-action:hover {
  border-color: #f43f5e;
  color: #f43f5e;
}

/* Pod Audio Speaking Aura */
.agent-pod.is-speaking {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.7), inset 0 0 12px rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-4px) scale(1.02);
}

.agent-pod.is-speaking .activity-wave .wave-bar {
  background: #38bdf8 !important;
  animation-duration: 0.35s !important;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.btn-close-banner {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  margin-left: 8px;
  line-height: 1;
}

.btn-close-banner:hover {
  color: #fff;
}

/* ==========================================================================
   MODAL SEGMENTED NAVIGATION TABS & NASTROYKA DATA PIPELINE
   ========================================================================== */
.modal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

.modal-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.modal-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.modal-tab-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(37, 99, 235, 0.35) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.modal-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.modal-panel.active {
  display: flex;
  animation: panelFadeIn 0.25s ease;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nastroyka Agent Switcher */
.settings-agent-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 4px;
}
.settings-agent-switcher::-webkit-scrollbar {
  height: 4px;
}
.settings-agent-switcher::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 2px;
}

.settings-agent-pill {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.settings-agent-pill:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #fff;
}

.settings-agent-pill.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Nastroyka Section Cards */
.settings-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.settings-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.settings-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-prompt-textarea {
  width: 100%;
  background: rgba(22, 33, 56, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #f8fafc;
  font-size: 12.5px;
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.settings-prompt-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.settings-presets-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.settings-preset-chip {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.settings-preset-chip:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
}

/* Data Pipeline Grid & Meta */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 650px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
}

.pipeline-item {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
}

.pipeline-label {
  font-size: 10.5px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pipeline-val {
  font-size: 12px;
  color: #f1f5f9;
  font-weight: 600;
}

.pipeline-code {
  font-family: monospace;
  font-size: 11px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

.pipeline-desc-box {
  background: rgba(22, 33, 56, 0.7);
  border-left: 3px solid #10b981;
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 12px;
}

.pipeline-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-test-ping {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-test-ping:hover {
  background: rgba(16, 185, 129, 0.32);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.ping-result-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.settings-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.btn-save-settings {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-save-settings:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-reset-settings {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-reset-settings:hover {
  border-color: #f43f5e;
  color: #f43f5e;
}


/* ========================================================================== */
/* RAHBAR OPERATIV BRIFINGI VA MUAMMO/YECHIM/QILINGAN ISH TIZIMI               */
/* ========================================================================== */

.btn-dock-briefing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.35) 100%);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
  position: relative;
}

.btn-dock-briefing:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.55) 100%);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.btn-dock-briefing i {
  color: #fbbf24;
  transition: transform 0.3s ease;
}

.btn-dock-briefing:hover i {
  transform: scale(1.15) rotate(8deg);
}

.briefing-alert-pill {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
  animation: pillPulse 1.8s infinite ease-in-out;
}

@keyframes pillPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* Pod Problem Beacon */
.pod-problem-beacon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: 5px;
  color: #ef4444;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8));
  animation: beaconPulse 1.5s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

/* Ticker dynamic badges */
.ticker-badge-problem {
  display: inline-flex;
  align-items: center;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  margin-right: 5px;
  letter-spacing: 0.4px;
  animation: problemBadgeGlow 2s infinite ease-in-out;
}

.ticker-badge-solution {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 182, 212, 0.22);
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #67e8f9;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  margin-right: 5px;
  letter-spacing: 0.4px;
}

.ticker-badge-done {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  margin-right: 5px;
  letter-spacing: 0.4px;
}

@keyframes problemBadgeGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.7); }
}

/* Tri-Part Executive Report Box in Agent Modal */
.executive-report-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.executive-report-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.executive-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.exec-card-item {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.45;
}

.exec-card-item.done {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  color: #e2e8f0;
}

.exec-card-item.done .exec-card-label {
  color: #34d399;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.exec-card-item.problem {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
  color: #fecdd3;
}

.exec-card-item.problem .exec-card-label {
  color: #f87171;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.exec-card-item.solution {
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid #06b6d4;
  color: #e0f2fe;
}

.exec-card-item.solution .exec-card-label {
  color: #38bdf8;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

/* ========================================================================== */
/* STANDALONE EXECUTIVE BRIEFING MODAL (RAHBAR HUZURIDA KORPORATIV DOKLAD)     */
/* ========================================================================== */

.briefing-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.briefing-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.briefing-modal-dialog {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(9, 14, 28, 0.99) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.briefing-modal-backdrop.open .briefing-modal-dialog {
  transform: scale(1) translateY(0);
}

.briefing-header {
  padding: 18px 24px;
  background: rgba(30, 41, 59, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.briefing-crown-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.briefing-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.briefing-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.briefing-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.briefing-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.briefing-stat-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}

.briefing-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #38bdf8;
}

.briefing-stat-lbl {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  font-weight: 600;
}

.briefing-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.briefing-agent-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.briefing-agent-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.briefing-agent-card.has-problem {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.briefing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.briefing-card-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.briefing-card-profile:hover {
  opacity: 0.88;
  transform: translateX(2px);
}

.btn-briefing-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #38bdf8;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-briefing-chat:hover {
  background: rgba(6, 182, 212, 0.35);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-briefing-chat:active {
  transform: translateY(0);
}

.briefing-card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.4);
}

.briefing-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
}

.briefing-card-role {
  font-size: 11px;
  color: #94a3b8;
}

.briefing-section {
  font-size: 11.5px;
  line-height: 1.45;
  padding: 7px 11px;
  border-radius: 6px;
}

.briefing-section.done {
  background: rgba(16, 185, 129, 0.08);
  border-left: 2px solid #10b981;
  color: #d1fae5;
}

.briefing-section.problem {
  background: rgba(239, 68, 68, 0.08);
  border-left: 2px solid #ef4444;
  color: #ffe4e6;
}

.briefing-section.solution {
  background: rgba(6, 182, 212, 0.08);
  border-left: 2px solid #06b6d4;
  color: #cffafe;
}

.briefing-section strong {
  font-weight: 700;
  display: inline-block;
  margin-right: 4px;
}

.briefing-footer {
  padding: 14px 24px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-briefing-voice {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.btn-briefing-voice:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

@media (max-width: 768px) {
  .briefing-agents-grid {
    grid-template-columns: 1fr;
  }
  .briefing-stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}
