/* The member's own voice profile in "Edit profile" (voice_profile.js, EPIC 0ce4890fa47c); linked by
   index.html, tokens from chat.css. */

.chat-voice-profile {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chat-voice-profile-title {
  margin: 0;
  font-size: 15px;
}

.chat-voice-profile-status,
.chat-voice-profile-note {
  margin: 0;
  color: var(--muted-bright);
}

.chat-voice-profile-note {
  color: var(--lime);
}

.chat-voice-profile-body,
.chat-voice-profile-consent-block,
.chat-voice-profile-reading-block {
  display: grid;
  gap: 10px;
}

.chat-voice-profile-consent {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-raised);
}

.chat-voice-profile-consent p,
.chat-voice-profile-agreed p {
  margin: 0;
}

.chat-voice-profile-agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 600;
}

.chat-voice-profile-agree input {
  margin-top: 3px;
}

.chat-voice-profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chat-voice-profile-muted {
  margin: 0;
  color: var(--muted);
}

.chat-voice-profile-language {
  width: auto;
}

.chat-voice-profile-reading {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  background: var(--cyan-soft);
  font-size: 15px;
  line-height: 1.6;
}

.chat-voice-profile-live {
  color: var(--red);
  font-weight: 600;
}

.chat-voice-profile-elapsed {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chat-voice-profile-meter {
  width: 100%;
  height: 12px;
}

.chat-voice-profile-agreed {
  display: grid;
  gap: 8px;
  color: var(--muted-bright);
}

.chat-voice-profile-agreed summary {
  cursor: pointer;
}
