:root{--bcr-primary:#6366f1;--bcr-primary-light:#6366f11a;--bcr-primary-border:#6366f140;--bcr-text:#1e293b;--bcr-text-secondary:#475569;--bcr-text-muted:#64748b;--bcr-bg:#fff;--bcr-bg-secondary:#f8fafc;--bcr-border:#e2e8f0;--bcr-border-light:#f1f5f9;--bcr-success:#10b981;--bcr-success-light:#10b9811a;--bcr-error:#ef4444;--bcr-error-light:#ef44441a;--bcr-warning:#f59e0b;--bcr-warning-light:#f59e0b1a;--bcr-shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a;--bcr-shadow-md:0 4px 12px #00000014;--bcr-radius:var(--main-radius,.5rem);--bcr-radius-lg:var(--main-radius-lg,.75rem)}._bcr-container{grid-template-columns:1fr 1fr;gap:1.5rem;max-width:960px;margin:0 auto;display:grid}._bcr-column{flex-direction:column;gap:1rem;display:flex}@media (max-width:768px){._bcr-container{grid-template-columns:1fr;padding-left:1rem;padding-right:1rem}}._bcr-input-card{background:var(--bcr-bg);border-radius:var(--bcr-radius-lg);box-shadow:var(--bcr-shadow);border-style:solid;border-width:1px;border-color:var(--bcr-border);padding:1.25rem}._bcr-dropzone{border-style:dashed;border-width:2px;border-color:var(--bcr-border);border-radius:var(--bcr-radius);cursor:pointer;justify-content:center;align-items:center;min-height:280px;transition:border-color .2s,background-color .2s;display:flex;position:relative;overflow:hidden}._bcr-dropzone:hover{border-color:var(--bcr-primary-border);background-color:var(--bcr-primary-light)}._bcr-dropzone._bcr-dropzone-active{border-color:var(--bcr-primary);background-color:var(--bcr-primary-light)}._bcr-dropzone._bcr-dropzone-scanning{border-style:solid;border-color:var(--bcr-primary)}._bcr-dropzone-content{text-align:center;padding:2rem 1rem}._bcr-dropzone-icon{color:var(--bcr-text-muted);opacity:.6;margin-bottom:1rem}._bcr-dropzone-icon svg{width:40px;height:40px}._bcr-dropzone-title{color:var(--bcr-text);margin:0 0 .375rem;font-size:1rem;font-weight:600}._bcr-dropzone-hint{color:var(--bcr-text-muted);margin:0;font-size:.8125rem}._bcr-preview{background:var(--bcr-bg-secondary);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}._bcr-preview canvas{object-fit:contain;max-width:100%;max-height:100%}._bcr-camera{background:#000;width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}._bcr-camera-reader{width:100%;height:100%}._bcr-camera-reader video{object-fit:cover!important;width:100%!important;height:100%!important}._bcr-camera-overlay{pointer-events:none;z-index:10;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}._bcr-camera-guide{background:#ffffffb3;border-radius:2px;width:70%;height:4px;position:relative;box-shadow:0 0 12px #6366f166,0 0 0 9999px #0000004d}._bcr-camera-guide:before,._bcr-camera-guide:after{content:"";background:#ffffff80;border-radius:2px;width:3px;height:44px;position:absolute;top:-20px}._bcr-camera-guide:before{left:0}._bcr-camera-guide:after{right:0}._bcr-input-actions{gap:.5rem;margin-top:.75rem;display:flex}._bcr-btn{border-radius:var(--bcr-radius);cursor:pointer;white-space:nowrap;border:none;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.8125rem;font-weight:500;transition:opacity .15s,background-color .15s;display:inline-flex}._bcr-btn:hover{opacity:.85}._bcr-btn svg{flex-shrink:0}._bcr-btn-camera{background:var(--bcr-primary);color:#fff;flex:1;justify-content:center}._bcr-btn-camera._bcr-btn-camera-active{background:var(--bcr-error)}._bcr-btn-paste{background:var(--bcr-bg-secondary);color:var(--bcr-text-secondary);border-style:solid;border-width:1px;border-color:var(--bcr-border)}._bcr-btn-paste:hover{background:var(--bcr-border-light);opacity:1}._bcr-btn-reset{background:var(--bcr-bg-secondary);color:var(--bcr-text-secondary);border-style:solid;border-width:1px;border-color:var(--bcr-border)}._bcr-btn-reset:hover{background:var(--bcr-border-light);opacity:1}._bcr-camera-options{align-items:center;gap:.75rem;margin-top:.5rem;padding:0 .125rem;display:flex}._bcr-switch-label{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;display:inline-flex}._bcr-switch-track{flex-shrink:0;width:34px;height:18px;position:relative}._bcr-switch-track input{opacity:0;width:0;height:0;position:absolute}._bcr-switch-thumb{background:var(--bcr-border);border-radius:9px;transition:background-color .2s;position:absolute;top:0;bottom:0;left:0;right:0}._bcr-switch-thumb:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000026}._bcr-switch-track input:checked+._bcr-switch-thumb{background:var(--bcr-primary)}._bcr-switch-track input:checked+._bcr-switch-thumb:after{transform:translate(16px)}._bcr-switch-text{color:var(--bcr-text-muted);font-size:.75rem}._bcr-dropzone._bcr-dropzone-found{border-color:var(--bcr-success);animation:.6s _bcr-flash}@keyframes _bcr-flash{0%{box-shadow:inset 0 0 #10b98100}30%{box-shadow:inset 0 0 40px #10b98126}to{box-shadow:inset 0 0 #10b98100}}@media (max-width:768px){._bcr-dropzone{min-height:220px}}._bcr-result-card{background:var(--bcr-bg);border-radius:var(--bcr-radius-lg);box-shadow:var(--bcr-shadow);border-style:solid;border-width:1px;border-color:var(--bcr-border);flex-direction:column;min-height:280px;padding:1.25rem;display:flex}._bcr-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.75rem;padding:2rem 1rem;display:flex}._bcr-empty-icon{color:var(--bcr-text-muted);opacity:.4}._bcr-empty-icon svg{width:32px;height:32px}._bcr-empty-text{color:var(--bcr-text-muted);margin:0;font-size:.875rem}._bcr-results{flex-direction:column;gap:.75rem;display:flex}._bcr-result-item{background:var(--bcr-bg-secondary);border-radius:var(--bcr-radius);border-style:solid;border-width:1px;border-color:var(--bcr-border-light);padding:1rem}._bcr-result-header{align-items:center;gap:.5rem;margin-bottom:.625rem;display:flex}._bcr-result-type-icon{background:var(--bcr-primary-light);width:28px;height:28px;color:var(--bcr-primary);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:flex}._bcr-result-type-icon svg{width:14px;height:14px}._bcr-result-badge{border-radius:var(--main-radius-full,9999px);text-transform:uppercase;letter-spacing:.03em;background:var(--bcr-primary-light);color:var(--bcr-primary);padding:.15rem .5rem;font-size:.6875rem;font-weight:600;display:inline-flex}._bcr-result-index{color:var(--bcr-text-muted);margin-left:auto;font-size:.75rem}._bcr-result-value{color:var(--bcr-text);word-break:break-all;background:var(--bcr-bg);border-style:solid;border-width:1px;border-color:var(--bcr-border);font-size:1.25rem;font-weight:600;line-height:1.4;font-family:var(--main-font-mono);border-radius:6px;margin-bottom:.75rem;padding:.625rem .75rem}._bcr-result-value-wrap{border-radius:8px;margin-bottom:.75rem;position:relative}._bcr-result-value-wrap._bcr-result-value-highlight{background:0 0;padding:2px;overflow:hidden}._bcr-result-value-wrap ._bcr-result-value{z-index:1;margin-bottom:0;position:relative}._bcr-result-value-wrap._bcr-result-value-highlight:before{content:"";z-index:0;background:conic-gradient(#6366f1,#10b981,#f59e0b,#ef4444,#8b5cf6,#06b6d4,#6366f1);width:200%;height:200%;margin-top:-100%;margin-left:-100%;animation:2s linear infinite _bcr-border-spin,10s ease-in-out forwards _bcr-glow-fade;position:absolute;top:50%;left:50%}._bcr-result-value-wrap._bcr-result-value-highlight:after{content:"";filter:blur(12px);opacity:.5;z-index:-1;background:conic-gradient(#6366f1,#10b981,#f59e0b,#ef4444,#8b5cf6,#06b6d4,#6366f1);width:200%;height:200%;margin-top:-100%;margin-left:-100%;animation:2s linear infinite _bcr-border-spin,10s ease-in-out forwards _bcr-glow-fade;position:absolute;top:50%;left:50%}@keyframes _bcr-border-spin{to{transform:rotate(360deg)}}@keyframes _bcr-glow-fade{0%,80%{opacity:1}to{opacity:0}}._bcr-result-actions{flex-wrap:wrap;gap:.375rem;display:flex}._bcr-result-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;align-items:center;gap:.3rem;padding:.375rem .625rem;font-size:.75rem;font-weight:500;text-decoration:none;transition:opacity .15s;display:inline-flex}._bcr-result-btn:hover{opacity:.85}._bcr-result-btn svg{flex-shrink:0}._bcr-result-btn-primary{background:var(--bcr-primary);color:#fff}._bcr-result-btn-secondary{background:var(--bcr-bg);color:var(--bcr-text-secondary);border-style:solid;border-width:1px;border-color:var(--bcr-border)}._bcr-result-btn-secondary:hover{background:var(--bcr-bg-secondary);opacity:1}._bcr-results-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}._bcr-results-count{color:var(--bcr-text);font-size:.8125rem;font-weight:600}@media (max-width:768px){._bcr-result-card{min-height:auto}._bcr-result-value{font-size:1.0625rem}}._bcr-history{background:var(--bcr-bg);border-radius:var(--bcr-radius-lg);box-shadow:var(--bcr-shadow);border-style:solid;border-width:1px;border-color:var(--bcr-border);overflow:hidden}._bcr-history-toggle{cursor:pointer;width:100%;color:var(--bcr-text);background:0 0;border:none;justify-content:space-between;align-items:center;padding:.75rem 1rem;font-size:.8125rem;font-weight:600;transition:background-color .15s;display:flex}._bcr-history-toggle:hover{background-color:var(--bcr-bg-secondary)}._bcr-history-toggle-left{align-items:center;gap:.5rem;display:flex}._bcr-history-toggle-left svg{color:var(--bcr-text-muted)}._bcr-history-count{background:var(--bcr-primary-light);color:var(--bcr-primary);border-radius:var(--main-radius-full,9999px);text-align:center;min-width:18px;padding:.1rem .4rem;font-size:.6875rem;font-weight:600}._bcr-history-chevron{color:var(--bcr-text-muted);transition:transform .2s;display:flex}._bcr-history-chevron._bcr-history-chevron-open{transform:rotate(180deg)}._bcr-history-panel{border-top-style:solid;border-top-width:1px;border-top-color:var(--bcr-border)}._bcr-history-actions{justify-content:flex-end;padding:.5rem 1rem 0;display:flex}._bcr-btn-clear-all{color:var(--bcr-error);background:var(--bcr-error-light);cursor:pointer;border:none;border-radius:4px;align-items:center;gap:.3rem;padding:.25rem .5rem;font-size:.6875rem;font-weight:500;transition:opacity .15s;display:inline-flex}._bcr-btn-clear-all:hover{opacity:.8}._bcr-history-list{flex-direction:column;gap:.25rem;max-height:300px;padding:.5rem;display:flex;overflow-y:auto}._bcr-history-item{cursor:pointer;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--bcr-border-light);border-radius:6px;align-items:center;gap:.625rem;padding:.5rem .625rem;transition:background-color .15s;display:flex}._bcr-history-item:last-child{border-bottom:none}._bcr-history-item:hover{background:var(--bcr-bg-secondary)}._bcr-history-item-icon{background:var(--bcr-primary-light);width:24px;height:24px;color:var(--bcr-primary);border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;display:flex}._bcr-history-item-icon svg{width:12px;height:12px}._bcr-history-item-content{flex:1;min-width:0}._bcr-history-item-text{color:var(--bcr-text);white-space:nowrap;text-overflow:ellipsis;font-size:.8125rem;font-family:var(--main-font-mono);overflow:hidden}._bcr-history-item-meta{color:var(--bcr-text-muted);align-items:center;gap:.375rem;margin-top:.125rem;font-size:.6875rem;display:flex}._bcr-history-item-delete{color:var(--bcr-text-muted);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:4px;padding:.25rem;transition:opacity .15s,color .15s;display:flex}._bcr-history-item:hover ._bcr-history-item-delete{opacity:1}._bcr-history-item-delete:hover{color:var(--bcr-error)}._bcr-history-empty{text-align:center;padding:1.5rem 1rem}._bcr-history-empty p{color:var(--bcr-text-muted);margin:0;font-size:.8125rem}
