.ocr-shell{max-width:1260px;margin:auto;padding:54px 30px 100px;color:#f2f3ff}.ocr-heading{max-width:780px;margin-bottom:36px}.ocr-heading h1{font-size:clamp(36px,5.4vw,64px);line-height:1.05;letter-spacing:-.045em;margin:18px 0}.ocr-heading h1 em{font-style:normal;color:#b9a4ff}.ocr-heading>p{color:#b9bfd6;font-size:17px;line-height:1.7}.ocr-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start}.ocr-input-card,.ocr-result-card{background:#181d30;border:1px solid #ffffff1c;border-radius:24px;padding:28px}.ocr-step{display:block;font-size:11px;letter-spacing:.12em;color:#b8addd;font-weight:800;margin-bottom:22px}.ocr-input-card{display:grid;gap:17px}.ocr-input-card>label{display:grid;gap:8px;font-size:13px;font-weight:650}.ocr-input-card select,.ocr-input-card input,.ocr-line textarea{width:100%;background:#101525;color:#f2f3ff;border:1px solid #525c7a;border-radius:10px;padding:12px;font:inherit;min-height:44px}.ocr-input-card select:focus,.ocr-input-card input:focus,.ocr-line textarea:focus{outline:2px solid #b4a0fb;outline-offset:2px}.ocr-input-card small,.ocr-file-name{color:#b5bdd4;font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin:0}.ocr-status{font-size:13px;line-height:1.7;color:#c5f8cb;margin:0}.ocr-status.is-error{color:#ffc5ba}.ocr-local{border-top:1px solid #ffffff1c;padding-top:20px}.ocr-local strong{font-size:12px;color:#c5f8cb}.ocr-local p,.ocr-result-note{font-size:12px;line-height:1.7;color:#aeb7d2}.ocr-result-card h2{font-size:25px;margin-top:0}.ocr-result-card>p{color:#b9bfd6;line-height:1.7;font-size:14px}.ocr-empty{border:1px dashed #626981;border-radius:18px;padding:55px 25px;margin:25px 0;color:#aeb7d2;text-align:center;font-size:14px}.ocr-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 18px}.ocr-page{border:1px solid #ffffff1c;border-radius:14px;margin-top:16px;overflow:hidden}.ocr-page summary{cursor:pointer;padding:18px;background:#222840;color:#e8e3ff;font-size:13px;font-weight:650;line-height:1.6}.ocr-line{display:grid;gap:7px;padding:14px 18px}.ocr-line>span{font-size:11px;letter-spacing:.02em;color:#aeb7d2}.ocr-line textarea{line-height:1.6;resize:vertical;font-size:14px}.ocr-low-confidence>span{color:#ffcf96}.ocr-low-confidence textarea{border-color:#af874d}.ocr-page>p{font-size:13px;padding:15px;color:#b9bfd6}.ocr-progress{width:100%;accent-color:#c5f8cb;height:8px}.ocr-editor-button{width:100%;margin-top:12px}.ocr-shell [hidden]{display:none!important}.portal-nav{overflow-x:auto}.ocr-shell button:disabled{opacity:.5;cursor:wait}@media(max-width:780px){.ocr-shell{padding:30px 18px 80px}.ocr-layout{grid-template-columns:1fr}.ocr-input-card,.ocr-result-card{padding:22px;border-radius:20px}.ocr-heading{margin-bottom:26px}.ocr-actions{flex-direction:column}.ocr-actions .button{width:100%}}
.ocr-reference{margin:15px 18px;border:1px solid #454d68;border-radius:10px;overflow:hidden}.ocr-reference summary{font-size:12px;background:#13192c}.ocr-reference img{display:block;width:100%;height:auto;background:white;max-height:720px;object-fit:contain}
.ocr-review-toolbar{margin:18px;padding:16px;background:#101525;border:1px solid #3f4964;border-radius:12px}.ocr-review-toolbar p{font-size:12px;line-height:1.7;color:#c5cbe0;margin:0 0 12px}.ocr-review-toolbar label{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.6;color:#ddd5fb;cursor:pointer}.ocr-review-toolbar input{width:19px;height:19px;accent-color:#b9a4ff;flex:none}.ocr-review-row{margin:0 18px 14px;border:1px solid #ffffff1c;border-radius:12px;overflow:hidden}.ocr-review-row.ocr-needs-review{border-color:#af874d80}.ocr-review-row .ocr-line{padding:12px;min-width:0}.ocr-source-crop{margin:0;padding:12px;background:#eceef5;color:#313443;overflow:auto}.ocr-source-crop figcaption{font-size:9px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}.ocr-source-crop svg{display:block;width:100%;height:clamp(50px,7vw,90px);min-width:0;background:white}.ocr-review-row:focus-within{outline:2px solid #b4a0fb;outline-offset:2px}@media(min-width:1050px){.ocr-review-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ocr-source-crop{border-right:1px solid #ffffff1c}.ocr-source-crop svg{height:70px}}@media(max-width:780px){.ocr-review-row{margin:0 10px 16px}.ocr-review-toolbar{margin:14px 10px}.ocr-review-row textarea{font-size:16px}}
.ocr-alternatives{grid-column:1/-1;border-top:1px solid #ffffff1c}.ocr-alternatives summary{padding:10px 12px;background:#2d2940;color:#ffdbad;font-size:11px}.ocr-alternatives p{padding:0 12px;font-size:12px;line-height:1.6;color:#c5cbe0}.ocr-alternatives button{display:block;max-width:calc(100% - 24px);margin:10px 12px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.ocr-result-card,.ocr-page,.ocr-review-row,.ocr-source-crop{min-width:0}.ocr-source-crop{max-width:100%;box-sizing:border-box}@media(max-width:780px){.ocr-layout{grid-template-columns:minmax(0,1fr)}}
