.cohort-voice {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid #43594f;
  border-radius: .45rem;
  background: #15221e;
  color: #eeefe8;
}

.cohort-voice h3 {
  margin: 0;
  color: #f4f0df;
  font-size: 1.15rem;
  line-height: 1.25;
}

.cohort-voice p {
  margin: 0;
  color: #c9d5cb;
  font-size: .92rem;
  line-height: 1.5;
}

.cohort-voice .cohort-voice-status {
  color: #f3d599;
  font-weight: 650;
}

.cohort-voice .cohort-voice-note {
  font-size: .82rem;
}

.cohort-voice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  min-width: 0;
}

.cohort-voice-buttons button {
  max-width: 100%;
  min-height: 2.75rem;
  padding: .45rem .65rem;
  border: 1px solid #718778;
  border-radius: .3rem;
  background: #1f3028;
  color: #f4f2e8;
  font: inherit;
  font-size: .89rem;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.cohort-voice-buttons button:hover:not(:disabled) {
  background: #304138;
}

.cohort-voice-buttons button:is([data-voice-open], [data-voice-join]) {
  border-color: #e3c47d;
  background: #e3c47d;
  color: #1a2018;
  font-weight: 700;
}

.cohort-voice-buttons button:is([data-voice-open], [data-voice-join]):hover:not(:disabled) {
  background: #f2d791;
}

.cohort-voice-buttons button[aria-pressed="true"] {
  border-color: #f2cc82;
}

.cohort-voice-buttons button:disabled {
  opacity: .66;
  cursor: default;
}

.cohort-voice-buttons button:focus-visible {
  outline: 2px solid #f9d790;
  outline-offset: 2px;
}

.cohort-voice-roster {
  display: grid;
  gap: .3rem .9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  margin: 0;
  padding: .45rem 0;
  list-style: none;
}

.cohort-voice-roster li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cohort-voice-roster li span {
  display: block;
  color: #c2d4c6;
  font-size: .77rem;
}

.cohort-voice [hidden] {
  display: none;
}
