.uniform-popup-overlay[hidden] { display: none !important; }
.uniform-popup-overlay { position: fixed; inset: 0; z-index: 2147480000; background: rgba(0,0,0,.68); display: flex; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; }
.uniform-popup-dialog { width: min(1280px, 100%); height: min(900px, 94vh); max-height: 94vh; overflow: hidden; background: #fff; color: #272727; border-radius: 12px; display: flex; flex-direction: column; box-shadow: 0 18px 70px rgba(0,0,0,.3); }
.uniform-popup-toolbar { height: 58px; padding: 0 16px 0 24px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e4e4; font: inherit; }
.uniform-popup-close { border: 0; padding: 0; width: 40px; height: 40px; color: #444; background: transparent; font-size: 30px; cursor: pointer; line-height: 1; border-radius: 8px; }
.uniform-popup-close:hover, .uniform-popup-close:focus-visible { background: #f1f1f1; }
.uniform-popup-frame { width: 100%; height: 100%; flex: 1 1 auto; border: 0; background: white; }
@media(max-width: 600px){.uniform-popup-overlay { padding: 8px; }.uniform-popup-dialog { height: 96dvh; max-height: 96dvh; border-radius: 8px; }}
