.event-people {
  margin: 16px 0 24px;
}

.event-people ul,
.event-message-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-people ul {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 14px;
}

.event-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.event-person + .event-person { border-top: 1px solid var(--line); }

.event-person-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.event-person-identity .avatar.avatar-frame,
.event-person-symbol {
  width: 44px;
  height: 44px;
  flex: none;
}
.event-person-symbol {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.event-person-symbol[data-role="host"] { background: #e9edf8; color: #415989; }
.event-person-symbol[data-role="advisor"] { background: #f5eee4; color: #805632; }
.event-person-symbol .icon { width: 22px; height: 22px; }
.event-person-copy {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
}
.event-person-copy > span,
.event-message time,
.event-message-author {
  color: var(--muted);
  font-size: 15px;
}

.event-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.event-like > .icon {
  width: 18px;
  height: 18px;
}

.event-like[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.event-like[aria-pressed="true"] > .icon { fill: currentColor; }

.event-person-speaker {
  display: grid;
  align-items: start;
  gap: 8px;
  padding-bottom: 14px;
}

.event-speaker-rating {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.event-speaker-rating legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
}

.event-rating-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(max-content, 1fr));
  gap: 6px;
}

.event-rating-option {
  min-height: 46px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.event-rating-option[aria-pressed="true"] {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.event-rating-summary { margin-bottom: 22px; }
.event-rating-summary .event-person-identity { margin: 8px 0 12px; }
.event-rating-summary dl {
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.event-rating-summary dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.event-rating-summary dl > div + div { border-top: 1px solid var(--line); }
.event-rating-summary dd {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.admin-event-messages h3 { margin-bottom: 10px; }

.event-discussion {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.event-discussion h3 { margin-bottom: 14px; }

.event-message-options {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 10px;
}

.event-message-options .event-select {
  position: relative;
  display: block;
}

.event-message-options .event-select select {
  appearance: none;
  width: 100%;
  min-width: 0;
  padding-right: 36px;
  font-size: 16px;
}

.event-select > .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.event-message-form > .button { justify-self: stretch; }

.event-message-history { margin-top: 20px; }
.event-message-history[hidden] { display: none; }
.event-message-history h4 { margin: 0 0 10px; font-size: 17px; }

.event-message-list {
  display: grid;
  gap: 10px;
}

.event-message {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-wrap: anywhere;
}

.event-message header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}

.event-message header span {
  color: var(--muted);
  font-size: 15px;
}

.event-message p {
  margin: 0;
  white-space: pre-wrap;
}

@media (max-width: 400px) {
  .event-message-options { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 359px) {
  .event-rating-options { grid-template-columns: minmax(0, 1fr); }
}
