/* WWS RE Leuchtet · QR-Projektorkontrolle */
.rel-qr-card{margin:20px 0;padding:17px;border:1px solid rgba(72,171,228,.4);border-radius:18px;background:linear-gradient(125deg,rgba(8,76,121,.18),rgba(20,35,45,.08))}
.rel-qr-card.rel-qr-done{border-color:rgba(26,151,105,.6);background:rgba(27,151,99,.08)}
.rel-qr-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.rel-qr-title b{font-size:16px}.rel-qr-title span{font-size:12px;font-weight:700;color:#4ca9f1}.rel-qr-done .rel-qr-title span{color:#179c6f}
.rel-qr-card p{font-size:13px;line-height:1.5;margin:0 0 13px}.rel-qr-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.rel-qr-overlay{position:fixed;inset:0;background:rgba(0,8,15,.92);display:flex;justify-content:center;align-items:center;padding:16px;z-index:99999;overflow-y:auto}.rel-qr-scan-card{width:min(100%,480px);position:relative;border-radius:19px;background:#121d2a;color:#fff;padding:18px;box-shadow:0 12px 70px rgba(0,0,0,.5)}.rel-qr-scan-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.rel-qr-scan-heading strong{font-size:18px}.rel-qr-scan-heading button{background:#243a50;color:#fff;border:0;border-radius:12px;padding:10px;font-size:19px}
#rel-qr-video{display:block;width:100%;min-height:220px;max-height:58vh;aspect-ratio:4/5;object-fit:cover;border-radius:13px;background:#0b121d}.rel-qr-frame{position:absolute;top:35%;left:25%;width:50%;height:28%;border:3px solid #4ac5fb;border-radius:20px;pointer-events:none;box-shadow:0 0 0 9999px rgba(0,0,0,.04)}.rel-qr-scan-card p{font-size:13px;text-align:center}.rel-qr-small{color:#adbac7}
.rel-qr-print-card{max-width:480px;width:min(100%,480px);padding:14px;display:flex;flex-direction:column;gap:10px;border-radius:16px;background:#f8fafc}.rel-qr-print-card img{width:100%;max-height:70vh;object-fit:contain}.rel-qr-print-card button{color:#16233a}

/* v3.28: Deutliche Fehlermeldung für nicht zugeordnete oder fremde QR-Codes. */
#rel-qr-scan-status{white-space:pre-line;border-radius:12px;min-height:42px;padding:12px;font-weight:650;line-height:1.45;transition:background-color .16s,border-color .16s}
#rel-qr-scan-status.rel-qr-status-error{color:#fff;background:#a51d2b;border:2px solid #ff7384;font-size:15px;font-weight:800;box-shadow:0 0 0 3px rgba(248,94,112,.15)}
#rel-qr-scan-status.rel-qr-status-checking{color:#bfe7ff;background:#163e55}
.rel-qr-frame.rel-qr-frame-error{border-color:#ff5367;box-shadow:0 0 0 9999px rgba(0,0,0,.04),0 0 0 6px rgba(255,83,103,.18)}
/* v3.31: QR-Scanner Notfallwerkzeuge und transparent dokumentierte Ausnahme */
.rel-qr-scanner-tools{display:flex;justify-content:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.rel-qr-scanner-tools .btn{flex:1 1 130px;background:#253c52;color:white;border:1px solid #678099;min-height:42px}
.rel-qr-exception-trigger{margin-top:10px;border:1px solid #d89e6f!important;color:inherit}
.rel-qr-exception{margin-top:15px;padding:14px;border:2px solid #e7a45c;border-radius:12px;background:rgba(188,115,33,.13)}
.rel-qr-exception label{display:block;margin-bottom:8px;font-size:14px}
.rel-qr-exception textarea{display:block;width:100%;margin-bottom:10px;min-height:88px}
.rel-qr-exception .btn{margin-top:8px}
.rel-qr-exception p{font-size:13px;margin-top:8px}
