.card-scanner{max-width:760px}.card-capture{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card-capture label{font-weight:650;min-width:0}.card-capture input{display:block;max-width:100%;margin-top:8px;font-size:14px}#card-open{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-weight:700}#card-previews{display:flex;gap:12px;flex-wrap:wrap}#card-previews figure{margin:12px 0;max-width:100%;flex:1 1 200px}#card-previews img{display:block;width:100%;max-height:320px;object-fit:contain;background:#eef2ef;border-radius:8px}#card-previews figcaption{overflow-wrap:anywhere;font-size:14px}#card-read{margin:12px 0 20px}.card-uncertain{background:#fff6d9!important;border:2px solid #9a7300!important}.card-raw{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}#card-matches{padding:12px;background:#edf3ef;border-radius:8px}.card-scanner .customer-edit>*{min-width:0}.card-scanner input,.card-scanner textarea{max-width:100%;box-sizing:border-box}.card-scanner .checkbox input{width:auto;flex-shrink:0}@media(max-width:480px){.card-capture{grid-template-columns:1fr}.card-scanner{width:100%;padding:16px}.card-scanner .customer-edit{grid-template-columns:1fr}}
.register-card.card-scanner{display:block;overflow-y:auto;padding:16px;box-sizing:border-box;font-size:1rem}.card-scanner .register-header{position:sticky;top:-16px;z-index:1;margin:-16px -16px 16px}.card-scanner input,.card-scanner textarea{width:100%;font:inherit;padding:10px;border:1px solid #bcc6c0;border-radius:8px}.card-scanner button{min-height:44px;font:inherit;border:1px solid #bcc6c0;border-radius:8px;padding:10px 14px;background:#fff;color:#244f35;font-weight:700;cursor:pointer}.card-scanner button:disabled{opacity:.5;cursor:default}.card-scanner .primary-button{background:#103c2b;color:#fff;border-color:#103c2b}.card-scanner .register-header button{padding:7px}.card-scanner [hidden]{display:none!important}.card-scanner .hint{font-size:.875rem;line-height:1.5}.card-scanner .checkbox{gap:10px;line-height:1.4}.card-scanner .checkbox input{width:20px;height:20px}.card-scanner button:focus-visible,.card-scanner input:focus-visible{outline:3px solid #1e6036;outline-offset:2px}
.card-side{padding:14px;border:1px solid #bcc6c0;border-radius:10px;min-width:0;background:#f7f9f7}.card-side h3{margin:0 0 12px;font-size:1.05rem}.card-side small{font-size:.875rem;font-weight:400}.card-side label{display:block;margin:12px 0}.card-side input{width:100%;min-width:0}#card-back-remove{margin-top:8px}
.card-file-control{position:relative;padding:12px;border:1px solid #aebbb2;border-radius:8px;cursor:pointer;background:white;overflow:hidden}.card-file-control input{position:absolute!important;inset:0;opacity:0;margin:0!important;width:100%!important;height:100%;cursor:pointer}.card-file-control:focus-within{outline:3px solid #1e6036}.card-selection{overflow-wrap:anywhere;font-size:.9rem;color:#244f35}.card-match-option{padding:10px 0;border-bottom:1px solid #bbc8be}.card-match-option p{margin:6px 0}#card-match-choice{font-weight:600}
