.ocr-batch{max-width:56rem;margin-inline:auto;color:#151c39;font-size:15px;line-height:1.6;min-width:0}.ocr-batch *{box-sizing:border-box}.ocr-batch [hidden]{display:none!important}.ocr-lead{margin:0 0 18px;color:#64748b}.ocr-batch form{margin:0}.ocr-batch fieldset{border:0;margin:0;padding:0;min-width:0}.ocr-batch>form,.ocr-result{padding:26px;border:1px solid #e2e8f0;border-radius:28px;background:#fff;box-shadow:0 3px 15px #151c3905}.ocr-section+.ocr-section{margin-top:28px}.ocr-batch h2{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:17px;font-weight:750;line-height:1.4}.ocr-step{display:inline-grid;place-items:center;flex-shrink:0;min-width:30px;height:30px;border-radius:10px;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:800}.ocr-drop{display:flex;align-items:center;flex-direction:column;gap:12px;padding:24px 16px;text-align:center;border:1.5px dashed #c7d2fe;border-radius:20px;background:#f8faff}.ocr-drop.is-over{border-color:#4f46e5;background:#eef2ff}.ocr-drop p{margin:0}.ocr-drop small,.ocr-help{color:#64748b;font-size:13px}.ocr-batch .ocr-help{margin:8px 0 12px}.ocr-file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;background:#4f46e5;color:#fff;border-radius:12px;font-weight:700;cursor:pointer;overflow:hidden}.ocr-file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%}.ocr-file-button:focus-within{outline:3px solid #a5b4fc;outline-offset:3px}.ocr-files{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}.ocr-files li{display:flex;align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;min-width:0}.ocr-files img{width:52px;height:52px;-o-object-fit:contain;object-fit:contain;border-radius:8px;flex-shrink:0}.ocr-files .ocr-file-info{min-width:0;flex:1;overflow-wrap:anywhere}.ocr-file-info small{display:block;color:#64748b}.ocr-files button{width:44px;max-width:44px;min-width:44px;min-height:44px;flex:0 0 44px;border:0;border-radius:10px;background:#f1f5f9;color:#475569;font-size:22px}.ocr-selected{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.ocr-language-chip{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 13px;border:1px solid #a5b4fc;border-radius:12px;background:#eef2ff;color:#312e81;text-align:start}.ocr-language-chip span:last-child{font-size:20px}.ocr-batch details{border:1px solid #e2e8f0;border-radius:16px;padding:4px 14px;margin:12px 0 22px;min-width:0}.ocr-batch summary{padding:10px 0;cursor:pointer;font-weight:650;min-height:44px}.ocr-label{display:grid;gap:7px;min-width:0;font-weight:650}.ocr-batch input:not([type=checkbox]):not([type=file]),.ocr-batch select,.ocr-batch textarea{font:inherit;font-weight:400;color:#151c39;width:100%;min-width:0;max-width:100%;padding:11px 13px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;min-height:46px}.ocr-batch :is(input,select,textarea,button,summary):focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}.ocr-language-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:20rem;overflow:auto;margin:12px -4px 6px;padding:4px}.ocr-language-list label{display:flex;align-items:center;gap:9px;padding:9px;min-height:44px;font-weight:500;cursor:pointer;min-width:0;overflow-wrap:anywhere}.ocr-batch input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:#4f46e5}.ocr-fields{display:grid;gap:18px}.ocr-fields .ocr-help{margin:-10px 0 0}.ocr-check{display:flex;align-items:flex-start;gap:12px;border:1px solid #c7d2fe;background:#f8faff;border-radius:16px;padding:16px;cursor:pointer}.ocr-check input{margin-top:4px}.ocr-check strong{display:block;font-size:15px}.ocr-check small{display:block;margin-top:4px;color:#64748b;font-size:13px}.ocr-price{margin:24px 0 16px;color:#475569;font-size:13px}.ocr-price p{margin:6px 0}.ocr-price small{font-size:12px}.ocr-batch button{cursor:pointer;font:inherit}.ocr-primary,.ocr-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:13px;padding:11px 18px;font-weight:700!important;text-align:center;max-width:100%}.ocr-primary{border:1px solid #4f46e5;background:#4f46e5;color:#fff}.ocr-primary:hover{background:#4338ca}.ocr-secondary{border:1px solid #cbd5e1;background:#fff;color:#334155}.ocr-batch fieldset>button{width:100%;font-size:16px;min-height:50px}.ocr-batch :disabled{cursor:wait;opacity:.65}.ocr-message{margin:12px 0;overflow-wrap:anywhere;color:#475569}.ocr-message:empty{display:none}.ocr-message.is-error{color:#b91c1c}.ocr-result{margin-top:24px}.ocr-result textarea{margin-top:14px;line-height:1.6;resize:vertical;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.ocr-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.ocr-result iframe{width:100%;min-height:34rem;border:1px solid #e2e8f0;border-radius:14px;margin-top:18px;background:#fff}.ocr-privacy{margin-top:20px!important}.ocr-confirm{border:1px solid #c7d2fe;border-radius:24px;padding:24px;max-width:30rem;width:calc(100% - 32px);color:#151c39;background:#fff;margin:auto}.ocr-confirm::backdrop{background:#0f172a80}.ocr-confirm h2{font-size:20px}.ocr-confirm p{font-size:14px;color:#64748b}@media(max-width:540px){.ocr-batch>form,.ocr-result{padding:16px;border-radius:22px}.ocr-batch h2{font-size:16px}.ocr-language-list{grid-template-columns:1fr}.ocr-actions{flex-direction:column}.ocr-actions>*{width:100%}.ocr-drop{padding:18px 12px}.ocr-file-button{width:100%}}.ocr-upload-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.ocr-camera{position:relative;overflow:hidden;cursor:pointer}.ocr-camera input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;cursor:pointer}.ocr-camera:focus-within{outline:3px solid #a5b4fc;outline-offset:2px}.ocr-comparison.has-source{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:14px}.ocr-source-pane,.ocr-text-pane{min-width:0}.ocr-source-pane{padding:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px}.ocr-source-scroll{height:30rem;overflow:auto;margin-top:12px;overscroll-behavior:contain}.ocr-source-scroll img{width:100%;height:auto;background:#fff;border-radius:8px}.ocr-text-pane textarea{margin-top:0;min-height:34rem}.ocr-result-tabs{display:none;gap:8px;margin-top:14px}.ocr-result-tabs button[aria-pressed=true]{border-color:#818cf8;background:#eef2ff;color:#3730a3}@media(max-width:700px){.ocr-comparison.has-source{display:block}.ocr-result-tabs:not([hidden]){display:flex}.ocr-comparison.has-source[data-active-pane=text] .ocr-source-pane,.ocr-comparison.has-source[data-active-pane=source] .ocr-text-pane{display:none!important}.ocr-text-pane textarea{min-height:24rem}.ocr-source-scroll{height:24rem}.ocr-upload-actions{width:100%}.ocr-upload-actions>*{flex:1}}
