.flyer-print-dialog{width:min(960px,96vw);max-width:96vw;height:min(94vh,1100px);padding:16px;border:2px solid #7450a4;border-radius:18px;background:#f8f5fc;color:#211631;box-shadow:0 20px 80px #17102b66}.flyer-print-dialog::backdrop{background:#160d2a99}.flyer-print-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.flyer-print-dialog h2{margin:0}.flyer-print-dialog header p,.flyer-print-dialog [data-print-status]{font:14px/1.4 Arial,sans-serif}.flyer-print-dialog iframe{display:block;width:100%;height:calc(100% - 170px);min-height:200px;border:1px solid #ccc;background:white;border-radius:4px}.flyer-print-dialog>footer{display:flex;gap:12px;justify-content:center;padding-top:12px;flex-wrap:wrap}.flyer-print-dialog button{min-height:42px}.flyer-print-tools{margin:18px 0}.external-event-registration{overflow-wrap:anywhere}.external-event-registration figure{display:inline-block;margin:12px}.external-event-registration img{display:block;width:100px;height:100px;object-fit:contain}.external-event-registration figcaption{font-size:12px}

.flyer-print-dialog{box-sizing:border-box}.flyer-print-dialog[open]{display:grid;grid-template-rows:auto auto minmax(160px,1fr) auto;gap:8px;overflow:hidden}.flyer-print-dialog iframe{height:100%;min-height:0}

.flyer-print-dialog{width:min(1150px,96vw)}
.flyer-print-dialog[open]{grid-template-rows:auto auto auto minmax(160px,1fr) auto}
.flyer-style-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;padding:10px 12px;background:#fff;border:1px solid #d9cdea;border-radius:10px}
.flyer-style-controls label{display:grid;gap:5px;font:700 14px/1.3 Arial,sans-serif;color:#4d3074}
.flyer-style-controls select{min-width:190px;padding:9px 12px;border:1px solid #9979ba;border-radius:7px;background:#fff;color:#263b46;font:14px Arial,sans-serif}
.flyer-style-controls p{margin:0;font:13px/1.4 Arial,sans-serif;color:#52646c}

.flyer-print-dialog[open]{grid-template-rows:auto auto auto auto minmax(160px,1fr) auto;gap:7px;max-height:96dvh}
.flyer-style-controls{align-items:center}.flyer-style-controls p{flex:1;min-width:170px;font-size:14px}.flyer-style-controls label,.flyer-style-controls select{font-size:16px}.flyer-style-controls select{max-width:100%;min-height:44px}
.flyer-design-browser{border:1px solid #c8d7d8;border-radius:9px;background:white;padding:8px 12px;min-height:0;overflow:hidden}.flyer-design-browser summary{font:700 15px/1.4 Arial,sans-serif;cursor:pointer;color:#244b59;padding:3px 0}.flyer-design-browser>label{display:flex;align-items:center;gap:10px;font:14px Arial,sans-serif;padding:8px 0}.flyer-design-browser select{font:14px Arial,sans-serif;padding:7px;min-height:38px;border:1px solid #9aaeb5;border-radius:5px}
.flyer-design-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;max-height:225px;overflow:auto;padding:5px}.flyer-design-choice{display:grid;gap:4px;justify-items:center;padding:7px!important;min-width:0;background:white;border:1px solid #c5d4d9;border-radius:8px;cursor:pointer;font:700 13px/1.25 Arial,sans-serif!important;color:#243c47}.flyer-design-choice[hidden]{display:none!important}.flyer-design-choice[aria-pressed=true]{outline:3px solid #177e82;outline-offset:-3px;background:#f1fbf9}.flyer-design-choice small{font:12px Arial,sans-serif;color:#52636c}.flyer-design-choice:focus-visible{outline:3px solid #4265c8}.flyer-design-choice__preview{display:block;width:104px;height:126px;overflow:hidden;pointer-events:none}.flyer-design-choice__preview .cubby-panel{font-size:4px!important;width:104px;min-height:126px}.flyer-design-choice__preview .cubby-panel__facts{min-height:100px}
@media(max-width:600px){.flyer-print-dialog{padding:10px;width:98vw;max-width:98vw;height:96dvh}.flyer-print-dialog>header h2{font-size:20px}.flyer-print-dialog header p{margin:3px 0}.flyer-style-controls{padding:8px;gap:7px}.flyer-style-controls label{width:100%}.flyer-style-controls p{font-size:13px;margin:0}.flyer-design-grid{max-height:180px;grid-template-columns:repeat(2,minmax(110px,1fr))}.flyer-print-dialog>footer{gap:8px;padding-top:3px}.flyer-print-dialog button{min-height:44px}}

.flyer-print-dialog[open] {
 display: flex;
 flex-direction: column;
 height: auto;
 max-height: 94dvh;
 overflow-y: auto;
}
.flyer-paper-preview {
 position: relative;
 flex: none;
 width: 100%;
 aspect-ratio: 11 / 8.5;
 overflow: hidden;
 border: 1px solid #d6d1df;
 border-radius: 6px;
 background: #fff;
}
.flyer-print-dialog .flyer-paper-preview iframe {
 position: absolute;
 inset: 0;
 width: 1056px;
 height: 816px;
 max-width: none;
 border: 0;
 transform: scale(var(--flyer-preview-scale, 1));
 transform-origin: top left;
}
.flyer-print-dialog [data-print-pdf][hidden] { display: none !important; }
