
/*
 * MedAtlas Learning Minds
 * Atlas Council R2.2 — Governed Roundtable
 */

#roundtablePanel {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(173, 122, 32, .38);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    #14213d 0%,
    #0d1830 100%
  );
  color: #faf7ef;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

#roundtablePanel * {
  box-sizing: border-box;
}

.rt-heading {
  margin: 0 0 8px;
  color: #d7b56f;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .015em;
}

.rt-description {
  margin: 0 0 20px;
  color: #e0e4ed;
  font-size: .94rem;
  line-height: 1.6;
}

.rt-label {
  display: block;
  margin: 14px 0 7px;
  font-size: .85rem;
  font-weight: 650;
  color: #f1eadc;
}

#roundtableTopic,
#roundtableHistory {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #52617d;
  border-radius: 9px;
  background: #fffdf8;
  color: #14213d;
  font: inherit;
}

#roundtableTopic {
  min-height: 108px;
  resize: vertical;
  line-height: 1.55;
}

.rt-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

.rt-participants label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #465571;
  border-radius: 30px;
  background: #263654;
  color: #faf7ef;
  cursor: pointer;
  font-size: .88rem;
}

.rt-participants input {
  accent-color: #ad7a20;
}

.rt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.rt-actions button {
  border: 0;
  border-radius: 9px;
  padding: 11px 17px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

#roundtableStart {
  background: #ad7a20;
  color: #fffdf8;
}

#roundtableStop {
  background: #f1eadc;
  color: #14213d;
}

.rt-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

#roundtableStatus {
  margin: 12px 0;
  color: #d7b56f;
  font-size: .88rem;
}

#roundtableTranscript {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.rt-topic {
  padding: 15px;
  border-left: 3px solid #ad7a20;
  background: #263654;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.rt-turn {
  padding: 16px;
  border: 1px solid #394967;
  border-radius: 12px;
  background: #1c2b49;
}

.rt-turn-header {
  margin-bottom: 10px;
  color: #d7b56f;
  font-weight: 700;
  font-size: .94rem;
}

.rt-turn-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  font-size: .94rem;
}

.rt-turn-error {
  color: #f0b9b9;
  font-size: .86rem;
}

@media (max-width: 680px) {
  #roundtablePanel {
    padding: 16px;
  }

  .rt-participants {
    gap: 7px;
  }

  .rt-actions button {
    width: 100%;
  }
}
.rt-synthesis-label {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #ad7a20;
  border-radius: 30px;
  background: rgba(173, 122, 32, 0.13);
  color: #d7b56f;
  font-size: .88rem;
  font-weight: 650;
}
