.event-description {
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.event-description :is(p, ul, ol) { margin: 0 0 .55em; }
.event-description :is(ul, ol) { padding-left: 1.6em; }
.event-description > :last-child { margin-bottom: 0; }
.event-description :is(strong, em, u) { font-synthesis: style weight; }
.event-field-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.event-format { display: flex; gap: 5px; flex-wrap: wrap; margin: 6px 0; }
.event-format .button { font-size: 13px; padding: 5px 9px; }
.event-format [aria-pressed="true"] { background: #edf3f8; border-color: #597892; color: #2b4a63; }
.event-editor {
  min-height: 110px;
  padding: 10px 12px;
  border: 1px solid #bdc9d5;
  border-radius: 7px;
  background: #fff;
}
.event-editor:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.event-form-files { margin-top: 14px; }
.event-form-files h3 { margin: 0 0 8px; font-size: 15px; }
.event-materials-head, .event-file-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
}
.event-materials-head { justify-content: space-between; margin-bottom: 7px; }
.event-materials-head h3 { margin: 0; }
.event-file-controls { margin-block: 9px 5px; }
.event-file-row { padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.event-file-row > small { display: block; color: var(--sub); }
.event-file-row .inputrow { margin: 2px 0 0; }
.event-file-pending { border-bottom-style: dashed; }
.event-file-pending > span { font-weight: 600; }
.event-file-error { color: #9c1825; white-space: pre-line; font-size: 14px; }
.event-file-notice:not(:empty), .event-file-error:not(:empty) { margin-top: 7px; }
@media (max-width: 600px) {
  .event-format .button, .event-file-controls .button { min-height: 44px; }
}
