.qr-response,.qr-construction,.qr-attempt-copy{margin:16px 0;padding:18px;border:1px solid #bbcedf;border-radius:16px;background:#f7fbff;color:#18344d;min-width:0}
.qr-response legend{padding:0 8px;font-size:1.1rem;font-weight:800;color:#17364f}
.qr-instruction,.qr-help,.qr-status{margin:8px 0;line-height:1.55}.qr-help{font-size:.95rem;color:#34546d}.qr-status{min-height:1.5em;font-weight:700}
.qr-label{display:block;margin:12px 0 6px;font-weight:800;color:#18344d}
.qr-number-input,.qr-construction textarea{width:100%;max-width:100%;min-height:48px;padding:12px;border:2px solid #819bb5;border-radius:10px;background:#fff;color:#112c43;font:inherit;line-height:1.5}
.qr-number-input{max-width:420px}.qr-construction textarea{min-height:128px;resize:vertical}
.qr-order-list{padding-left:28px;margin:14px 0}.qr-order-row{padding:10px 8px;border-bottom:1px solid #cfdeec}.qr-order-label{display:inline-block;min-width:90px;font-weight:700;margin-right:10px}
.qr-order-controls{display:inline-flex;gap:8px}.qr-move,.qr-confirm,.qr-actions button{min-height:44px;padding:9px 13px;border:1px solid #7895ad;border-radius:10px;background:#fff;color:#163953;font:inherit;font-weight:750;cursor:pointer}
.qr-confirm{background:#164e87;color:#fff;border-color:#164e87}.qr-move:disabled{opacity:.5;cursor:default}
.qr-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.qr-actions button:first-child{background:#164e87;color:#fff}
.qr-literal{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-left:4px solid #5485ad;background:#edf5fc;color:#18344d;margin:10px 0}
.qr-review-label{font-weight:800}.qr-attempt-copy summary{font-weight:800;cursor:pointer;padding:8px 0}.qr-attempt-copy article{border-top:1px solid #ccdae5;margin-top:14px;padding-top:14px}
.qr-response :focus-visible,.qr-construction :focus-visible,.qr-actions :focus-visible,.qr-attempt-copy :focus-visible{outline:3px solid #bd5b07;outline-offset:3px}
.qr-response [aria-invalid=true],.qr-construction [aria-invalid=true]{border-color:#ae3333}.qr-result-note{padding:12px 14px;border-radius:12px;background:#edf5fc;color:#173750;line-height:1.55}
@media(max-width:540px){.qr-response,.qr-construction{padding:14px 12px}.qr-order-label{display:block;margin-bottom:8px}.qr-order-controls{display:flex}.qr-order-controls button{flex:1}.qr-actions button{width:100%}}
