/* Narrowly scoped, does not affect global header/sidebar layout. */
.v31322-cred-toolbar{margin:12px 0;padding:13px;background:#f7fafc;border:1px solid #dbe6ef;border-radius:10px}
.v31322-cred-toolbar h3,.v31322-candidate-qr h4{margin:0 0 5px}
.v31322-cred-toolbar .inlineActions{display:flex;gap:7px;margin:10px 0;flex-wrap:wrap}
.v31322-cred-toolbar button{white-space:normal}
.v31322-candidate-qr{margin:14px 0;border:1px solid #dce5ee;border-radius:9px;padding:12px;background:#fafcfe}
.v31322-candidate-line{padding:9px 0;display:flex;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid #e5ebf2;flex-wrap:wrap}
.v31322-candidate-line>div{flex:1 1 180px;min-width:0}.v31322-cred-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;align-items:center}
.v31322-cred-ready{font-size:12px;color:#14603b;background:#e6f7ee;border-radius:5px;padding:3px 6px}
.v31322-scanner-bg{position:fixed;inset:0;z-index:999999;background:rgba(4,12,25,.85);display:flex;justify-content:center;align-items:center;padding:12px}
.v31322-scanner-dialog{width:min(570px,100%);max-height:95dvh;overflow-y:auto;background:white;color:#162235;border-radius:15px;padding:16px;box-shadow:0 20px 70px rgba(0,0,0,.45)}
.v31322-scanner-dialog .sectionhead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.v31322-scanner-dialog h3{font-size:17px;margin:0}
#v31322Video{background:#000;width:100%;max-height:50dvh;aspect-ratio:4/3;object-fit:contain;border-radius:9px}
.v31322-scan-status{padding:9px;margin:9px 0;border-radius:6px;background:#eef3f8;overflow-wrap:anywhere}
.v31322-scan-status.ok{color:#096a40;background:#e4f6eb}.v31322-scan-status.error{color:#a92131;background:#ffe9ed}
.v31322-code-fallback{display:flex;gap:8px;align-items:end;flex-wrap:wrap;border-top:1px solid #dce5ee;margin-top:10px;padding-top:10px}
.v31322-code-fallback label{width:100%;font-size:12px}.v31322-code-fallback input{flex:1 1 160px;min-width:0;text-transform:uppercase}
@media(max-width:650px){.v31322-scanner-dialog{padding:11px}.v31322-scanner-dialog h3{font-size:15px}}
