.conference-popup {
  position: fixed;
  z-index: 100;
  width: 360px;
  max-width: 100vw;
  max-height: min(88vh, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 20px 40px #0003;
  color: #333;
}
.conference-popup header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  touch-action: none;
  cursor: move;
  user-select: none;
}
.conference-popup header strong {
  font-size: 14px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conference-popup header button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: white;
  color: #333;
}
.voice-heading-icon {
  color: #07bc0c;
}
.voice-heading-icon .material-symbols-outlined {
  font-size: 18px;
}
.conference-body {
  padding: 8px 10px 6px;
  overflow: auto;
  min-height: 0;
  flex: 1;
}
.voice-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border: 1px dashed #c8e6c9;
  border-radius: 4px;
  background: #f6fbf7;
}
.voice-empty > .material-symbols-outlined {
  background: #e3f2e6;
  color: #07bc0c;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  font-size: 26px;
}
.voice-empty b {
  font-size: 13px;
}
.voice-empty small {
  font-size: 11px;
  color: #888;
  margin-top: 3px;
  text-align: center;
}
.voice-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: bold;
  margin: 12px 0 4px;
}
.voice-section-title > .material-symbols-outlined {
  font-size: 14px;
  background: #4caf5033;
  color: #2e7d32;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.voice-section-title small {
  display: block;
  font-size: 10px;
  font-weight: normal;
  color: #888;
}
.conference-popup ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.conference-popup li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.conference-popup li button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  border: 0;
  background: none;
  text-align: left;
  font-size: 12px;
  color: #333;
}
.conference-popup li button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conference-popup li .ref-avatar {
  width: 32px;
  height: 32px;
}
.voice-indicator {
  color: #aaa;
}
.voice-indicator .material-symbols-outlined {
  font-size: 18px;
}
.voice-indicator.speaking {
  color: #07bc0c;
  filter: drop-shadow(0 0 3px #07bc0c80);
}
.conference-popup footer {
  border-top: 1px solid #eee;
  background: #fafafa;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.conference-popup footer button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
}
.conference-popup footer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.conference-popup footer .material-symbols-outlined {
  font-size: 17px;
}
.voice-buttons {
  display: flex;
  gap: 6px;
}
.voice-buttons button {
  flex: 1;
}
.voice-buttons button:first-child > .material-symbols-outlined {
  color: #07bc0c;
}
.voice-buttons .voice-leave {
  border-color: #f0b4b4;
  background: #fff5f5;
  color: #b71c1c;
}
.voice-status {
  font-size: 11px;
  margin: 0;
  color: #7b8797;
  overflow-wrap: anywhere;
}
.ref-icon[data-action="voice"] {
  position: relative;
}
.voice-connected {
  color: #07bc0c !important;
}
.voice-count {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 9px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  min-width: 12px;
  font-weight: normal;
  line-height: 12px;
}
