body.panda-modal-open { overflow: hidden; }
.panda-modal { width: min(92vw, 960px); max-width: none; max-height: 90vh; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; }
.panda-modal::backdrop { background: rgb(0 0 0 / 60%); }
.panda-modal__surface { position: relative; max-height: 90vh; overflow: auto; padding: 1.5rem; border-radius: 8px; background: #fff; box-shadow: 0 18px 60px rgb(0 0 0 / 30%); }
.panda-modal__close { position: absolute; z-index: 1; top: .6rem; right: .6rem; width: 2.25rem; height: 2.25rem; border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #333; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.panda-modal__close:focus-visible, .panda-modal a:focus-visible, .panda-modal button:focus-visible, .panda-modal input:focus-visible, .panda-modal select:focus-visible, .panda-modal textarea:focus-visible { outline: 3px solid #1d70b8; outline-offset: 2px; }
.panda-modal__title { margin: 0 3rem 1rem 0; font-size: 1.25rem; }
.panda-modal__status { margin: 0 0 1rem; padding: .75rem; background: #f4f4f4; }
.panda-modal__status.is-error { background: #fbeaea; color: #a00; }
.panda-modal__content { min-height: 1rem; }
.panda-modal__iframe { display: block; width: 100%; min-height: 60vh; border: 0; }
.panda-modal__image { display: block; max-width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 640px) {
    .panda-modal { width: 100vw; max-width: 100vw; max-height: 100vh; }
    .panda-modal__surface { min-height: 100vh; max-height: 100vh; border-radius: 0; }
}
