.ocr-page{max-width:1180px;margin:35px auto;padding:0 20px;color:var(--text-color,#e4edf8)}.ocr-page header{margin-bottom:26px}.ocr-page header span{color:#80d7e5;font-size:.8rem;letter-spacing:.14em}.ocr-page h1{font-size:clamp(1.8rem,4vw,2.7rem);margin:10px 0}.ocr-page p{line-height:1.65}.ocr-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ocr-card{min-width:0;padding:24px;border:1px solid #35455a;border-radius:18px;background:#172333}.ocr-card h2{font-size:1.2rem;margin:0 0 14px}.ocr-card label{display:block;margin:14px 0 7px}.ocr-card input,.ocr-card select,.ocr-card textarea{box-sizing:border-box;width:100%;background:#0d1724;color:#eef5ff;border:1px solid #56667a;border-radius:8px;padding:11px;font:inherit}.ocr-card textarea{resize:vertical;min-height:310px;line-height:1.6}.ocr-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.ocr-card button{border:1px solid #60758f;border-radius:8px;background:#263b52;color:#f1f7ff;padding:11px 15px;font:inherit;cursor:pointer}.ocr-card button.ocr-primary{background:#176875;border-color:#54cbd5}.ocr-card button:disabled{opacity:.5;cursor:default}.ocr-card :focus-visible{outline:3px solid #88e3ef;outline-offset:3px}.ocr-card fieldset{border:0;padding:0;margin:15px 0;min-width:0}.ocr-card legend{font-weight:600}.ocr-card details{margin-top:20px;border-top:1px solid #405169;padding-top:14px}.ocr-card summary{cursor:pointer}.ocr-crop{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ocr-card canvas{display:block;max-width:100%;height:auto;max-height:380px;object-fit:contain;margin:15px auto;background:white}.ocr-card canvas[hidden],.ocr-card progress[hidden]{display:none}.ocr-card progress{width:100%;height:15px;accent-color:#58d3cf}.ocr-hint{color:#bbcadb;font-size:.9rem}.ocr-card a{color:#87deec}.ocr-card [role=status]{padding:10px;border-radius:8px;background:#101c2b;overflow-wrap:anywhere}.ocr-card [data-error=true]{color:#ffb6ab}@media(max-width:760px){.ocr-grid{grid-template-columns:1fr}.ocr-page{padding:0 12px}.ocr-card{padding:18px}.ocr-actions button{flex:1 1 130px}}
