*{box-sizing:border-box}.qr-workspace-section{padding:24px 0 34px}.qr-workspace{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.qr-panel{min-width:0;background:var(--otb-surface,#fff);border:1px solid var(--otb-border,#e2e8f0);border-radius:18px;padding:18px;box-shadow:var(--otb-shadow,0 8px 28px rgba(15,23,42,.07));display:flex;flex-direction:column;position:relative;overflow:hidden}.qr-panel:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#2563eb,#7c3aed,#10b981)}.qr-panel-head{display:flex;gap:12px;align-items:center;margin-bottom:15px}.qr-panel-head h2{margin:0 0 3px;color:var(--otb-text,#172033);font-size:19px;font-weight:850}.qr-panel-head p{margin:0;color:var(--otb-muted,#64748b);font-size:12px;line-height:1.45}.qr-icon{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center;font-size:20px}.qr-icon.blue{color:#2563eb;background:#eff6ff}.qr-icon.green{color:#16a34a;background:#ecfdf3}.qr-icon.purple{color:#7c3aed;background:#f5f3ff}.camera-box{height:255px;border:1px solid #dbe3ec;border-radius:15px;background:#0f172a;position:relative;overflow:hidden;display:grid;place-items:center}.camera-placeholder{color:#cbd5e1;text-align:center;display:flex;flex-direction:column;gap:7px;padding:20px}.camera-placeholder i{font-size:40px;color:#60a5fa}.camera-placeholder strong{font-size:15px;color:#f8fafc}.camera-placeholder span{font-size:12px;color:#94a3b8}.camera-box video{width:100%;height:100%;object-fit:cover;display:none}.scan-line{position:absolute;left:12%;right:12%;top:50%;height:2px;background:#22c55e;box-shadow:0 0 12px rgba(34,197,94,.8);display:none;animation:scanMove 1.8s ease-in-out infinite alternate}@keyframes scanMove{from{transform:translateY(-75px)}to{transform:translateY(75px)}}.qr-actions{display:flex;gap:9px;margin-top:12px}.qr-btn{min-height:42px;padding:0 14px;border:1px solid transparent;border-radius:10px;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.18s ease;flex:1}.qr-btn:disabled{opacity:.5;cursor:not-allowed}.qr-btn.primary{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.qr-btn.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 18px rgba(37,99,235,.22)}.qr-btn.danger{background:#fee2e2;color:#dc2626;border-color:#fecaca}.qr-btn.light{background:#f1f5f9;color:#334155;border-color:#e2e8f0}.qr-btn.success{width:100%;margin-top:12px;background:#16a34a;color:#fff}.qr-status{margin-top:10px;padding:9px 10px;border-radius:9px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:11px;text-align:center}.qr-status i{margin-right:5px;color:#2563eb}.upload-zone{height:255px;border:2px dashed #bfdbfe;border-radius:15px;background:#f8fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;cursor:pointer;transition:.2s}.upload-zone:hover,.upload-zone.drag{border-color:#2563eb;background:#eff6ff}.upload-zone i{font-size:42px;color:#2563eb;margin-bottom:12px}.upload-zone strong{font-size:15px;color:#172033}.upload-zone span{margin-top:7px;font-size:11px;color:#64748b}.upload-zone em{margin-top:10px;font-style:normal;font-size:10px;color:#94a3b8}.file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.image-preview-box{height:255px;margin-top:-255px;position:relative;z-index:1;display:none;border-radius:15px;background:#f8fafc;align-items:center;justify-content:center;overflow:hidden}.image-preview-box.show{display:flex}.image-preview-box img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px}.image-preview-box.show~.qr-actions{position:relative}.result-display{height:255px;border:1px solid #dbe3ec;border-radius:15px;background:#f8fafc;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.result-empty{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:#94a3b8}.result-empty i{font-size:42px;color:#c4b5fd}.result-empty strong{font-size:14px;color:#475569}.result-empty span{font-size:11px}.result-content{width:100%}.result-label{display:block;color:#7c3aed;font-size:11px;font-weight:800;margin-bottom:8px}.result-label i{margin-right:5px}.result-content #result{padding:13px;border:1px solid #ddd6fe;background:#fff;border-radius:10px;color:#334155;font-size:12px;line-height:1.6;word-break:break-word;max-height:185px;overflow:auto}.privacy-note{display:flex;gap:8px;align-items:flex-start;margin-top:10px;color:#64748b;font-size:10px;line-height:1.5}.privacy-note i{color:#16a34a;margin-top:2px}.qr-info-section{padding:8px 0 45px}.qr-info-section .content{}.qr-info-section>div>h2{text-align:center;color:var(--otb-text,#172033);font-size:25px;margin:20px 0 15px}.qr-info-section .grid,.qr-info-section .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:25px}.qr-info-section .grid article,.qr-info-section .steps article{padding:17px;border:1px solid var(--otb-border,#e2e8f0);border-radius:14px;background:linear-gradient(145deg,var(--otb-surface,#fff),var(--otb-surface-2,#f8fafc));text-align:center}.qr-info-section .grid article>b{font-size:23px}.qr-info-section .grid h3,.qr-info-section .steps h3{margin:7px 0 4px;color:var(--otb-text,#172033);font-size:15px}.qr-info-section .grid p,.qr-info-section .steps p{margin:0;color:var(--otb-muted,#64748b);font-size:11px;line-height:1.55}.qr-info-section .steps article>b{display:grid;place-items:center;width:30px;height:30px;margin:auto;border-radius:50%;background:#2563eb;color:#fff;font-size:12px}@media(max-width:950px){.qr-workspace{grid-template-columns:1fr 1fr}.qr-result-panel{grid-column:1/-1}.qr-info-section .grid,.qr-info-section .steps{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.qr-workspace{grid-template-columns:1fr}.qr-result-panel{grid-column:auto}.qr-workspace-section{padding:18px 0 28px}.qr-panel{padding:15px}.camera-box,.upload-zone,.result-display{height:235px}.image-preview-box{height:235px;margin-top:-235px}.qr-actions{flex-direction:row}.qr-info-section .grid,.qr-info-section .steps{grid-template-columns:1fr}.tool-hero{padding:24px 0 20px!important}.tool-hero h1{font-size:30px!important}.tool-hero p{font-size:13px!important}}
body.dark .qr-panel{background:#111827;border-color:#334155;box-shadow:0 10px 30px rgba(0,0,0,.25)}body.dark .qr-panel-head h2,body.dark .qr-info-section>div>h2,body.dark .qr-info-section .grid h3,body.dark .qr-info-section .steps h3{color:#f8fafc}.dark .qr-icon.blue{background:#172554}.dark .qr-icon.green{background:#052e16}.dark .qr-icon.purple{background:#2e1065}.dark .upload-zone{background:#0f172a;border-color:#475569}.dark .upload-zone:hover,.dark .upload-zone.drag{background:#172554;border-color:#3b82f6}.dark .upload-zone strong{color:#f8fafc}.dark .qr-status,.dark .result-display,.dark .image-preview-box{background:#0f172a;border-color:#334155}.dark .qr-btn.light{background:#1e293b;color:#e2e8f0;border-color:#334155}.dark .result-empty strong{color:#e2e8f0}.dark .result-content #result{background:#111827;border-color:#475569;color:#e2e8f0}.dark .qr-info-section .grid article,.dark .qr-info-section .steps article{background:linear-gradient(145deg,#111827,#0f172a);border-color:#334155}.dark .qr-info-section .grid p,.dark .qr-info-section .steps p,.dark .qr-panel-head p,.dark .qr-status,.dark .privacy-note{color:#94a3b8}
