.event-activity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 2rem;
}

.event-activity > turbo-frame { display: contents; }

.event-activity__guest-access,
.recent-uploads {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #e5dfd6;
  border-radius: 0.65rem;
  background: #fffdf9;
}

.event-activity__guest-access .event-invitation {
  max-width: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}

.event-activity__guest-access .event-invitation__qr { max-width: 13rem; }
.event-activity__guest-access h2, .recent-uploads h2 { font-size: 1.05rem; margin: 0 0 0.65rem; }
.event-activity__print { display: flex; justify-content: center; width: 100%; }
.recent-uploads__total { color: #625e56; font-size: 0.9rem; margin: 0 0 1rem; }
.recent-uploads__list { list-style: none; margin: 0; padding: 0; max-height: 26rem; overflow-y: auto; }
.recent-upload + .recent-upload { border-top: 1px solid #f0ebe3; }
.recent-upload__link { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.15rem; color: inherit; text-decoration: none; }
.recent-upload__link:hover { background: #f8f3eb; }
.recent-upload__link:focus-visible { outline: 2px solid #a83f2f; outline-offset: -2px; border-radius: 0.25rem; }
.recent-upload__thumbnail { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: #eee9e0; border-radius: 0.3rem; overflow: hidden; }
.recent-upload__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recent-upload__text { min-width: 0; flex: 1; }
.recent-upload__text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.85rem; font-weight: 500; }
.recent-upload__text > span, .recent-upload__text time { display: block; color: #716d65; font-size: 0.75rem; line-height: 1.5; overflow-wrap: anywhere; }
.recent-upload__check { flex: 0 0 1rem; background: #61806b; border-radius: 50%; color: white; text-align: center; font-size: 0.7rem; line-height: 1rem; }
.recent-uploads__empty { padding: 1.5rem 0; color: #716d65; }
.recent-uploads__empty h3 { font-size: 0.95rem; color: #302c27; }
.recent-uploads__empty p, .recent-uploads__feedback p { font-size: 0.85rem; line-height: 1.5; }
.recent-uploads__feedback p { color: #885b2d; }
.recent-uploads__feedback p:empty { display: none; }
.event-activity [hidden] { display: none; }
.activity-missions { grid-column: 1 / -1; margin-top: 0.5rem; min-width: 0; }

@media (max-width: 42rem) {
  .event-activity { grid-template-columns: minmax(0, 1fr); }
  .recent-uploads__list { max-height: 23rem; }
}
