.round7-events {
  display: grid;
  gap: var(--space-3);
}
.round7-events .wish-visibility-notice { margin: 0; }
.round7-events-create { display: flex; justify-content: flex-start; }
.round7-events-empty { margin: 0; color: var(--text-secondary); }
body #main .record-entry > .record-row {
  display: flex;
  align-items: center;
  height: 78px;
  min-height: 78px;
  padding-block: 8px;
  text-align: left;
}
body #main .record-entry.has-actions > .record-row { height: 76px; min-height: 76px; }
body #main .record-row .tonmio-row-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.record-row-heading, .record-row-location { display: flex; align-items: center; gap: 4px; min-width: 0; }
.record-row-heading > strong { flex: 1 1 auto; }
.record-row-heading > .tonmio-row-state { flex: none; align-self: center; }
body #main .record-row .v51-row-info { gap: 2px 4px; }
.record-row-location { overflow: hidden; white-space: nowrap; max-width: 100%; }
.record-row-location .v51-row-category + .v51-row-meta::before { content: '· '; }
.record-row .event-row-activity { flex: 0 0 auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 341px) {
  .record-row-location:has(> span) + .event-row-activity { max-width: 55%; }
  .record-row-location:has(> span) + .event-row-activity::before { content: '· '; }
}
@media (max-width: 340px) {
  body #main .record-row .v51-row-info { flex-wrap: wrap; }
  .record-row .event-row-activity::before { content: none; }
}
.round7-event-status {
  align-self: flex-start;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--ink);
  font-size: var(--type-meta);
  font-weight: 600;
  line-height: 1.2;
  padding: 5px 8px;
}
.round7-event-history {
  border-block-start: 1px solid var(--border);
  color: var(--text-secondary);
}
.round7-event-history > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
}
.round7-event-history > summary::-webkit-details-marker { display: none; }
.round7-event-history > summary > svg { width: 16px; height: 16px; }
.round7-event-history[open] > summary > svg { transform: rotate(90deg); }
body #main .round7-event-history .round7-event-row { color: var(--text-secondary); background: var(--surface-muted); }
.round7-event-history .round7-event-status { color: var(--text-secondary); border: 1px solid var(--border); }
.round7-event-detail { display: grid; gap: var(--space-4); }
.round7-event-detail-heading { display: flex; align-items: center; gap: var(--space-2); }
.round7-event-detail-heading .round7-event-status { align-self: center; }
body #dialog .round7-event-description { white-space: pre-line; }
body #dialog .round7-event-detail .event-summary { margin-block: 0; }
body #dialog .round7-event-detail .event-summary > div > span {
  letter-spacing: normal;
  text-transform: none;
}
