/* Shared completion card for all participant tests. Keep QR payloads separate. */
body.pf-shell:has(:is(#complete,#qrArea).qr-section:not([hidden]):not(.hidden))>main{
  min-height:100svh;display:flex;flex-direction:column;justify-content:center;
  max-width:672px;margin:0 auto;padding:24px 16px;gap:0;
}
body.pf-shell :is(#complete,#qrArea).qr-section{
  width:100%;max-width:640px;margin:0 auto;padding:24px 20px;
  background:#fff;border:1px solid var(--pf-border,#e7dfe5);border-radius:6px;
  box-shadow:none;text-align:center;gap:0;align-items:center;box-sizing:border-box;
}
body.pf-shell :is(#complete,#qrArea).qr-section:not([hidden]):not(.hidden){display:flex;flex-direction:column}
body.pf-shell :is(#complete,#qrArea).qr-section>:is(h1,h2){order:0;margin:0 0 18px;font:600 24px/1.35 system-ui,sans-serif;color:#374151;flex:none}
body.pf-shell :is(#complete,#qrArea).qr-section>[data-psyforms-return]{order:1;align-self:center;min-height:44px;padding:12px 16px;border-radius:3px;max-width:100%;white-space:normal;font:600 16px/1.4 system-ui,sans-serif}
body.pf-shell :is(#complete,#qrArea).qr-section>p{order:2;margin:0;line-height:1.7;font-size:16px;max-width:100%;color:#374151}
body.pf-shell :is(#complete,#qrArea).qr-section>:is(#qr,#qrcode){order:3;grid-column:auto;grid-row:auto;display:block;width:min(260px,100%);max-width:100%;box-sizing:border-box;margin:20px auto 0;padding:12px;border:1px solid var(--pf-border,#e7dfe5);border-radius:6px;background:#fff}
body.pf-shell :is(#complete,#qrArea).qr-section :is(#qr,#qrcode)>:is(canvas,img){display:block;width:100%;max-width:100%;height:auto;margin:auto}
body.pf-shell :is(#complete,#qrArea).qr-section>:is(#qrParts,#qrError){order:4;margin-top:12px;font-size:14px}
body.pf-shell :is(#complete,#qrArea).qr-section>button{order:5;margin:12px 0 0}
body.pf-shell :is(#complete,#qrArea).qr-section>#results{order:6;margin-top:14px;font-size:12px;color:var(--pf-muted,#71717d)}
body.pf-shell :is(#complete,#qrArea).qr-section>p:empty{display:none}
@media(max-width:360px){body.pf-shell :is(#complete,#qrArea).qr-section{padding:20px 16px}}
