.download-modal { border: 0; padding: 0; border-radius: 16px; width: min(400px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; color: #1f2937; background: white; }
.download-modal::backdrop { background: rgb(15 23 42 / .55); }
.download-modal-card { padding: 32px 24px; position: relative; text-align: center; }
.download-modal-card h2 { margin: 0 20px 20px; font-size: 22px; }
[data-modal-close] { position: absolute; right: 8px; top: 8px; min-width: 40px; min-height: 40px; font-size: 24px; border: 0; background: transparent; cursor: pointer; }
.download-qr-frame { position: relative; width: min(240px, 100%); margin: 0 auto; background: #fff; }
.download-qr-frame[hidden], .download-qr-logo[hidden] { display: none; }
[data-qr-output] svg { width: 100%; height: auto; display: block; }
.download-qr-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box; width: 18%; height: 18%; padding: 2px; object-fit: contain; background: #fff; border-radius: 4px; }
.download-modal button:focus-visible { outline: 3px solid #245bcc; outline-offset: 3px; }
