/* A dedicated scan surface, with persistent results above the manual form. */
.r-scanner-stage{padding:24px 18px 16px;text-align:center;background:#153c49;border-radius:18px;color:#fff;margin-top:16px}
.r-viewfinder{width:78px;height:68px;margin:0 auto 12px;border:2px solid #74d2d3;border-radius:16px;display:grid;place-items:center;background:#ffffff0a}
.r-viewfinder .c-icon{width:34px;height:34px;color:#b1eeee}
.r-scanner-stage h2{font-size:21px;margin:4px 0 8px;color:#fff}.r-scanner-stage p{font-size:13px;color:#d0e5e9;margin:0}
.r-scanner-stage ol{display:flex;justify-content:center;gap:22px;padding:0;list-style:none;counter-reset:scan-step;margin:18px 0;font-size:12px;color:#c9e3e8}
.r-scanner-stage li{counter-increment:scan-step}.r-scanner-stage li:before{content:counter(scan-step);display:inline-grid;place-items:center;border:1px solid #7ca5b2;border-radius:50%;width:18px;height:18px;margin-right:5px;font-size:10px}
.r-scanner-stage .r-scan-action{width:100%;margin:8px 0 0;background:#167f9b;border:1px solid #4ba5b9;box-shadow:none}
.r-scan-result,.r-scan-progress{border:1px solid #dce6e8;border-radius:16px;background:#fff;padding:22px;margin:0 0 16px;overflow-wrap:anywhere}
.r-scan-result>small{font-size:12px;color:#6e8189}.r-scan-result h2{font-size:23px;line-height:1.4;margin:8px 0 18px}.r-scan-result h3{font-size:16px;margin:12px 0 4px}
.r-scan-result p{font-size:14px;line-height:1.75;margin:10px 0}.r-scan-result .r-result-reason{font-weight:600;font-size:16px;color:#263f49}
.r-result-blocked{border-top:5px solid #b55731}.r-result-blocked h2{color:#a14122}.r-result-neutral{border-top:5px solid #78919b}
.r-scan-safe{font-size:12px;color:#637c87;border-top:1px solid #e7eeee;margin:18px 0 14px;padding-top:12px}
.r-scan-result .r-submit{font-size:16px;min-height:50px}.r-scan-result>.r-text-button{display:block;margin:8px auto 0}
.r-scan-result .r-order{font-size:12px;color:#6e8189}.r-scan-result .r-status-strip{margin-top:16px}.r-scan-progress{background:#eef8fa;font-size:14px}.r-scan-progress p{font-size:12px;line-height:1.7;margin:8px 0 0}
.r-anchor-status{border-radius:8px;background:#e9f5f1;color:#237654;font-size:13px;padding:11px 12px;margin:0 0 14px}.r-anchor-blocked{color:#98532b;background:#fff2e1}
#redeem-preview:focus{outline:none}#redeem-preview:focus-visible{outline:2px solid #167f9b;outline-offset:3px}
.r-used-result{border:1px solid #d99885;border-top:6px solid #a33724;border-radius:14px;background:#fff3ee;padding:18px 16px;margin:0 0 22px;color:#742b21}
.r-used-title{display:flex;align-items:center;gap:10px}.r-used-title>span{font-size:34px;line-height:1}.r-used-title h2{font-size:25px;line-height:1.3;margin:0;font-weight:800;color:#942c1d}
.r-used-result .r-used-reason{font-size:16px;font-weight:700;line-height:1.5;margin:12px 0}
.r-used-safe{display:flex;flex-direction:column;gap:4px;padding:12px;background:#fff;border:1px solid #edc7bb;border-radius:9px}.r-used-safe strong{font-size:19px}.r-used-safe span{font-size:12px;line-height:1.5}
.r-used-result .r-used-order{font-size:14px;line-height:1.6;margin:12px 0 0}.r-used-order small{display:block;color:#754d43;font-size:12px;margin-top:7px}
@media(max-width:767px){.r-scanner-stage{padding:20px 16px 16px}.r-scanner-stage ol{gap:12px;font-size:11px}.r-scan-result{padding:20px 18px}.r-scan-result h2{font-size:22px}.r-scan-result .r-status-strip b{font-size:22px}}
