.ocr-banner{padding:11px 15px;border-radius:10px;background:#ecfdf5;color:#115e59;margin:10px 0 15px}.ocr-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}.ocr-cards>div{background:#fff;border:1px solid #e5e7eb;border-radius:13px;box-shadow:0 5px 15px #1e293b10;padding:13px}.ocr-cards b{display:block;font-size:22px;color:#0f766e}.ocr-cards span{font-size:11px}.ocr-panel{margin:14px 0}.ocr-queue{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.ocr-queue label{display:grid;gap:4px;min-width:190px;font-size:12px}.ocr-queue input,.ocr-queue select,.ocr-modal input{padding:8px;border:1px solid #cbd5e1;border-radius:8px}.ocr-status{border-radius:6px;padding:3px 7px;background:#e2e8f0}.ocr-status.READY{background:#ccfbf1;color:#115e59}.ocr-status.FAILED{background:#fee2e2;color:#991b1b}.ocr-status.PROCESSING{background:#dbeafe;color:#1e40af}.ocr-modal{width:min(1040px,96vw)!important;max-height:92vh;overflow:auto}.ocr-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ocr-review-grid section{background:#f8fafc;border-radius:12px;padding:13px;min-width:0}.ocr-review-grid pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:330px;overflow:auto;background:white;padding:10px;border-radius:8px}.ocr-review-grid label{display:grid;gap:4px;margin:10px 0}.ocr-review-grid small{color:#4b5563}.ocr-actions{display:flex;gap:8px;flex-wrap:wrap}.ocr-actions button{border:0;border-radius:8px;background:#0f766e;color:white;padding:9px 11px}.ocr-actions button:last-child{background:#b91c1c}@media(max-width:900px){.ocr-cards{grid-template-columns:repeat(2,1fr)}.ocr-review-grid{grid-template-columns:1fr}}@media(max-width:550px){.ocr-cards{grid-template-columns:1fr}.ocr-queue label{width:100%}}
.ocr-original img,.ocr-original iframe{width:100%;max-height:370px;object-fit:contain;border:0;background:white}.ocr-original iframe{height:370px}
