.moleq-print-panel{margin:12px 0;padding:12px;border:1px solid #d8e0e8;border-radius:10px;background:#f8fafc}.moleq-print-panel h3{margin:0 0 10px}.moleq-print-form{display:flex;gap:8px;flex-wrap:wrap}.moleq-print-form input{min-width:0;flex:1 1 160px;padding:10px;border:1px solid #cbd5e1;border-radius:6px}.moleq-print-panel p{font-size:13px;line-height:1.5}.moleq-print-card{border-top:1px solid #d8e0e8;padding:12px 0;overflow-wrap:anywhere}.moleq-print-card img,.moleq-print-no-photo{width:72px;height:72px;object-fit:contain;float:left;margin:0 10px 8px 0}.moleq-print-no-photo{display:grid;place-items:center;font-size:12px;color:#64748b}.moleq-print-offers{white-space:pre-line}.moleq-print-actions{clear:both;display:flex;flex-wrap:wrap;gap:6px}.moleq-print-actions button{white-space:normal;text-align:left;max-width:100%}
.catalog-panel.moleq-catalog{height:auto;max-height:none;overflow:visible;display:block}.catalog-panel.moleq-catalog>.product-grid{max-height:420px;overflow-y:auto}.moleq-print-results{max-height:560px;overflow-y:auto;overscroll-behavior:contain}.moleq-print-panel{flex-shrink:0}.moleq-print-card>.moleq-print-actions{margin-bottom:12px}.moleq-add-product{min-height:44px}

.moleq-photo-dialog{width:min(760px,94vw);max-height:85vh;border:1px solid #d8e0e8;border-radius:14px;padding:24px;color:#172033}.moleq-photo-dialog::backdrop{background:#0006}.moleq-photo-search{display:flex;gap:8px}.moleq-photo-search input{flex:1;min-width:0}.moleq-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;max-height:48vh;overflow:auto;margin:16px 0}.moleq-library-photo{border:1px solid #d8e0e8;background:white;border-radius:10px;padding:10px;cursor:pointer;display:grid;gap:8px;text-align:center}.moleq-library-photo img{width:100%;height:120px;object-fit:contain}.moleq-library-photo span{font-size:13px;color:#b42318}

.moleq-photo-categories{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.moleq-photo-categories .btn{padding:8px 13px}.moleq-photo-categories [aria-pressed=true]{background:#b42318;color:white;border-color:#b42318}.moleq-library-entry{border:1px solid #d8e0e8;border-radius:10px;overflow:hidden}.moleq-library-entry .moleq-library-photo{border:0;width:100%;border-radius:0}.moleq-library-entry label{display:grid;gap:4px;padding:8px 10px;font-size:12px;border-top:1px solid #edf0f3}.moleq-library-entry select{padding:7px}.moleq-upload-category{width:auto;min-width:130px;max-width:100%;padding:8px}

.moleq-print-form .moleq-camera-scan{display:none;flex:0 0 auto;min-height:44px;padding:8px 10px;white-space:nowrap;font-size:14px}
.moleq-print-form input[type=file][hidden]{display:none!important}
@media(max-width:900px),(pointer:coarse){.moleq-print-form{flex-wrap:nowrap;align-items:stretch}.moleq-print-form>input:not([type=file]){flex:1 1 0;width:0;min-width:0}.moleq-print-form .moleq-camera-scan{display:inline-flex;align-items:center;justify-content:center}}

.barcode-camera{box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #bccfc6;border-radius:16px;background:#fff;color:#183a36;box-shadow:0 20px 80px #0004}.barcode-camera::backdrop{background:#102a25c9}.barcode-camera header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.barcode-camera h2{font:600 20px/1.4 system-ui;margin:0}.barcode-camera button{min-height:44px;padding:10px 16px;border:0;border-radius:8px;background:#e9f0eb;color:#244f43;font:14px system-ui;cursor:pointer}.barcode-camera video{display:block;width:100%;max-height:58dvh;aspect-ratio:4/3;object-fit:contain;background:#12201c;border-radius:10px}.barcode-camera p{font:14px/1.7 system-ui;margin:16px 0 0;color:#52675b}.barcode-camera :focus-visible{outline:3px solid #399b82;outline-offset:3px}
