.sgqr {box-sizing:border-box;max-width:760px;margin:2rem auto;padding:1.5rem;border:2px solid #196d78;border-radius:12px;background:#fff;color:#153e45;scroll-margin-top:100px}
.sgqr h2{color:inherit}.sgqr .sgqr-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.sgqr button{font:inherit;padding:12px 18px;border:0;border-radius:6px;background:#196d78;color:white;cursor:pointer}.sgqr button:disabled{opacity:.5;cursor:wait}.sgqr button:focus-visible{outline:3px solid #da9e26;outline-offset:3px}.sgqr p{color:inherit}.sgqr [hidden]{display:none!important}
/* Whole Themify row can share the QR-only visibility without exposing cached token state. */
#schildegart-download[hidden]{display:none!important}
.sgqr-qr-only:not(.sgqr-qr-visible){display:none!important}
#sgqr-error{position:fixed;z-index:99999;bottom:20px;left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(620px,calc(100% - 32px));padding:16px;background:#fff;color:#772222;border:2px solid #aa3333;border-radius:8px;box-shadow:0 4px 20px #0002;font:16px/1.5 system-ui,sans-serif;display:flex;gap:16px;align-items:center;justify-content:space-between}
#sgqr-error button{font:inherit;background:#fff;color:#772222;border:1px solid currentColor;border-radius:4px;padding:6px 10px;cursor:pointer}

/* Download actions centered on desktop and mobile, independent of theme alignment. */
#schildegart-download .sgqr-actions{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;margin:20px 0;float:none;text-align:center}
#schildegart-download .sgqr-actions button{float:none;margin:0;max-width:100%;white-space:normal}
#schildegart-download .sgqr-state{text-align:center}
#schildegart-download .sgqr-privacy{font-family:system-ui,sans-serif;font-size:13px;line-height:1.6;font-weight:400;letter-spacing:normal;text-align:center;margin:18px 0 0;color:#496369}
#schildegart-download .sgqr-help{margin:18px 0;text-align:center}
#schildegart-download .sgqr-help p{margin:0 0 10px}
#schildegart-download .sgqr-help a{display:inline-block;color:#196d78;text-decoration:underline;text-underline-offset:3px;font-weight:600}
#schildegart-download .sgqr-help a:focus-visible{outline:3px solid #da9e26;outline-offset:4px}

#schildegart-download .sgqr-file-info{font-size:14px;line-height:1.5;text-align:center;overflow-wrap:anywhere;margin:10px 0 0}
