.search-results-page .rs-management-dialog {
  width: min(1180px, calc(100vw - 40px));
  height: calc(100dvh - 40px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px #21194b30;
}
.rs-management-dialog::backdrop { background: #19132d66; }
.rs-management-frame { width: 100%; height: 100%; border: 0; display: block; }
.rs-management-frame[hidden], .rs-management-loading[hidden] { display: none; }
.rs-management-loading { height: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; color: #625e78; background: white; }
.rs-management-loading button { position: absolute; top: 16px; right: 16px; }
.search-results-page .rs-management-dialog[data-promotion-surface] {
  width: min(940px, calc(100vw - 40px));
  height: var(--promotion-detail-height, min(640px, calc(100dvh - 40px)));
  max-height: calc(100dvh - 40px);
}
/* Configuration stays still while optional explanations expand inside it. */
.search-results-page .rs-management-dialog[data-promotion-surface="composer"] {
  height: min(780px, calc(100dvh - 40px));
}
.rs-event.is-just-updated, .event-card.is-just-updated {
  outline: 2px solid var(--outlo-brand-accent); outline-offset: 3px;
}
@media (max-width: 640px) {
  .search-results-page .rs-management-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .search-results-page .rs-management-dialog[data-promotion-surface] { width: 100vw; height: var(--promotion-detail-height, min(640px, 100dvh)); max-height: 100dvh; }
  .search-results-page .rs-management-dialog[data-promotion-surface="composer"] { height: 100dvh; }
}
