.camera-scan-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:.4rem 0 .65rem;padding:.45rem .8rem;white-space:normal}
.camera-scan-button:focus-visible,.camera-scan-dialog button:focus-visible{outline:3px solid #175b99;outline-offset:2px}
.camera-scan-dialog{width:min(94vw,560px);max-height:90vh;padding:1.25rem;border:2px solid #5f4532;border-radius:14px;background:#fffaf7;color:#30251e;box-shadow:0 12px 45px #0005}
.camera-scan-dialog::backdrop{background:#16110ed9}
.camera-scan-dialog h2{margin:0 0 .75rem;font-size:1.35rem}
.camera-scan-dialog video{display:block;width:100%;max-height:55vh;object-fit:contain;background:#171717;border-radius:8px}
.camera-scan-dialog video[hidden]{display:none}
.camera-scan-dialog p{margin:.8rem 0;line-height:1.4}
.camera-scan-dialog button{min-height:44px}
.camera-scan-error{display:block;color:#782b1f;font-weight:600}
