/* WS4 proximity voice overlay (services/voice-overlay/overlay.js). Kept small and out of the way. */
.cpv-panel {
  position: fixed; right: 12px; bottom: 12px; z-index: 2147483000;
  font: 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; color: #f4f8ff;
  background: rgba(10, 34, 74, .88); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px; padding: 8px 10px; max-width: 240px; box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.cpv-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cpv-panel button {
  font: inherit; color: #0a224a; background: #ffd94a; border: 0; border-radius: 6px;
  padding: 4px 9px; cursor: pointer;
}
.cpv-panel button:disabled { opacity: .55; cursor: not-allowed; }
.cpv-panel button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.cpv-panel .cpv-mute, .cpv-panel .cpv-deaf { background: #dfe9fb; }
.cpv-muted .cpv-mute, .cpv-deaf .cpv-deaf { background: #ff8a7a; }
.cpv-status { margin-top: 5px; opacity: .9; }
.cpv-status:empty { display: none; }
.cpv-error .cpv-status { color: #ffc2b8; }
.cpv-list { list-style: none; margin: 5px 0 0; padding: 0; max-height: 160px; overflow-y: auto; }
.cpv-list:empty { display: none; }
.cpv-list li { padding: 1px 0 1px 16px; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpv-list li::before {
  content: ""; position: absolute; left: 3px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: rgba(255, 255, 255, .3);
}
.cpv-list li.cpv-speaking::before { background: #6dff8e; box-shadow: 0 0 6px #6dff8e; }
.cpv-badges { position: fixed; inset: 0; pointer-events: none; z-index: 2147482999; }
.cpv-badge {
  position: fixed; transform: translate(-50%, -100%); font-size: 18px;
  text-shadow: 0 0 3px #000; animation: cpv-pulse .6s ease-in-out infinite alternate;
}
@keyframes cpv-pulse { from { opacity: .65; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cpv-badge { animation: none; } }
