#ocrDialog{box-sizing:border-box;width:min(780px,94vw);max-height:90vh;overflow:auto;padding:26px;border:1px solid #e5def2;border-radius:18px;color:#302044}#ocrDialog::backdrop{background:#21143880}.ocr-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.ocr-head h2{margin:0;font-size:24px}.ocr-head button{font-size:26px;background:none;border:0;cursor:pointer}#ocrQuota{padding:12px;background:#f3ecff;border-radius:8px;font-weight:600}#ocrNote,#ocrStatus{line-height:1.6;font-size:14px}#ocrForm{display:grid;gap:14px;margin:18px 0}#ocrFile{max-width:100%;font:inherit}#ocrPreview{max-width:100%;max-height:240px;object-fit:contain;justify-self:start;border:1px solid #e5def2}#ocrResult{box-sizing:border-box;display:block;width:100%;min-height:200px;margin:10px 0;padding:14px;line-height:1.7;font:inherit;border:1px solid #ddd2ec;border-radius:8px}.ocr-actions{display:flex;flex-wrap:wrap;gap:12px}.ocr-actions button{padding:10px;border:1px solid #ddd2ec;border-radius:8px;background:white;cursor:pointer}#ocrRun:disabled{opacity:.5;cursor:wait}
