/* UVs OCR Studio v1 */
.ocr-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:32px;align-items:center;padding:30px 0 22px}.ocr-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.12em;color:#315fc2}.ocr-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.02;margin:10px 0 14px;color:#14203a;letter-spacing:-.04em}.ocr-lead{max-width:780px;font-size:17px;line-height:1.7;color:#5a6880}.ocr-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.ocr-pills span{padding:7px 10px;border:1px solid #dfe6f1;border-radius:999px;background:#fff;font-size:11px;font-weight:850;color:#4d5d76}.ocr-hero-card{border:1px solid #dfe7f2;border-radius:22px;background:linear-gradient(145deg,#f8fbff,#eef5ff);padding:22px;box-shadow:0 18px 40px rgba(34,70,132,.08)}.ocr-paper{max-width:260px;margin:auto;background:#fff;border:1px solid #dfe6ef;border-radius:12px;padding:20px;box-shadow:0 12px 24px rgba(28,47,82,.1)}.ocr-paper .scan-lines{display:grid;gap:7px}.ocr-paper i{display:block;height:6px;border-radius:999px;background:#dce5f3}.ocr-paper i:nth-child(2){width:82%}.ocr-paper i:nth-child(3){width:92%}.ocr-paper i:nth-child(4){width:63%}.ocr-paper .ocr-highlight{margin-top:16px;border:2px solid #5d8bef;border-radius:7px;padding:9px;font-size:11px;font-weight:800;color:#315fc2;background:#f4f8ff}
.ocr-shell{border:1px solid #dfe6f1;border-radius:22px;background:#fff;box-shadow:0 20px 45px rgba(23,45,85,.06);overflow:hidden}.ocr-work-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:17px 20px;border-bottom:1px solid #e8edf4;background:linear-gradient(180deg,#fff,#fbfdff)}.ocr-work-head strong{font-size:14px;color:#1f3151}.ocr-work-head small{color:#77859c;font-size:11px}.ocr-body{padding:20px}.ocr-drop{border:2px dashed #bdd0eb;border-radius:18px;padding:34px 20px;text-align:center;background:linear-gradient(180deg,#fbfdff,#f6f9fe);transition:.15s}.ocr-drop.drag{border-color:#4077df;background:#f0f5ff}.ocr-drop-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;margin:0 auto 12px;background:#eaf2ff;color:#3975ea;font-size:28px;font-weight:400}.ocr-drop h2{margin:0;font-size:20px;color:#182947}.ocr-drop p{max-width:650px;margin:8px auto 16px;font-size:12px;line-height:1.55;color:#69778e}.ocr-file{display:none}.ocr-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.ocr-btn{border:1px solid #dce5ef;background:#fff;color:#273a5b;border-radius:11px;padding:10px 14px;font:inherit;font-size:12px;font-weight:850;cursor:pointer;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.ocr-btn:hover{border-color:#9ab6e8;background:#f8fbff}.ocr-btn.primary{background:#3975ea;color:#fff;border-color:#3975ea}.ocr-btn.primary:hover{background:#2e68d8}.ocr-btn.danger{color:#a43b3b;border-color:#edc9c9}.ocr-btn:disabled{opacity:.48;cursor:not-allowed}.ocr-btn.small{min-height:34px;padding:7px 9px;font-size:10.5px}.ocr-file-card{margin-top:14px;padding:12px 14px;border:1px solid #e1e7ef;border-radius:13px;background:#fbfcfe;display:flex;justify-content:space-between;align-items:center;gap:12px}.ocr-file-card[hidden]{display:none}.ocr-file-card strong{font-size:12px}.ocr-file-card small{display:block;color:#77859c;margin-top:3px;font-size:10.5px}.ocr-tag{padding:5px 8px;border-radius:999px;background:#edf4ff;color:#315fc2;font-size:9.5px;font-weight:900}
.ocr-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.ocr-card{border:1px solid #e0e7f0;border-radius:16px;padding:14px;background:#fff}.ocr-card.full{grid-column:1/-1}.ocr-card h3{margin:0 0 5px;font-size:13px;color:#1f3151}.ocr-card>p{margin:0 0 12px;color:#748299;font-size:10.8px;line-height:1.5}.ocr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ocr-control{display:grid;gap:6px}.ocr-control label{font-size:10.5px;font-weight:850;color:#53627a}.ocr-control select,.ocr-control input[type=text],.ocr-control input[type=number]{width:100%;border:1px solid #dce4ef;border-radius:10px;padding:10px 11px;background:#fff;color:#243552;font:inherit;font-size:11.5px;min-height:40px}.ocr-control select:focus,.ocr-control input:focus{outline:2px solid rgba(61,121,255,.2);border-color:#7ca1e8}.ocr-checks{display:flex;gap:12px;flex-wrap:wrap}.ocr-check{display:flex;gap:7px;align-items:flex-start;font-size:10.5px;color:#53627a;line-height:1.4}.ocr-check input{margin-top:2px}.ocr-lang-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ocr-lang{border:1px solid #e1e7ef;border-radius:10px;padding:8px 9px;display:flex;gap:7px;align-items:center;font-size:10.5px;color:#53627a;background:#fbfcfe}.ocr-run{margin-top:17px;display:grid;gap:10px}.ocr-progress{border:1px solid #dce5ef;border-radius:13px;background:#fbfcfe;padding:12px 13px}.ocr-progress[hidden]{display:none}.ocr-progress-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.ocr-progress strong{font-size:11.5px;color:#263a5c}.ocr-progress small{font-size:10px;color:#718198}.ocr-track{height:7px;background:#e7edf5;border-radius:999px;overflow:hidden;margin-top:9px}.ocr-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#3975ea,#7ba3f1);transition:width .2s}.ocr-notice{padding:11px 13px;border-radius:11px;background:#f4f7fb;color:#5a6981;font-size:11px;line-height:1.5}.ocr-notice.error{background:#fff2f1;color:#a03a32;border:1px solid #f0c2be}.ocr-notice.success{background:#edf9f3;color:#167452;border:1px solid #cbe8db}
.ocr-results{margin-top:22px;border-top:1px solid #e8edf4;padding-top:20px}.ocr-results[hidden]{display:none}.ocr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.ocr-stat{border:1px solid #e1e7ef;border-radius:14px;padding:12px;background:#fbfcfe}.ocr-stat b{display:block;font-size:20px;color:#193157}.ocr-stat span{display:block;margin-top:3px;font-size:9.5px;color:#74829a}.ocr-review{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;margin-top:14px}.ocr-pages{border:1px solid #e1e7ef;border-radius:14px;background:#fbfcfe;padding:8px;max-height:520px;overflow:auto}.ocr-page-btn{width:100%;border:1px solid transparent;background:transparent;border-radius:10px;padding:9px;text-align:left;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;color:#354864}.ocr-page-btn:hover{background:#f2f6fc}.ocr-page-btn.active{border-color:#9fbae9;background:#edf4ff}.ocr-page-num{width:28px;height:28px;border-radius:8px;background:#e9eef6;display:grid;place-items:center;font-size:10px;font-weight:900}.ocr-page-btn.active .ocr-page-num{background:#3975ea;color:#fff}.ocr-page-btn strong{font-size:10.5px}.ocr-page-btn small{font-size:9px;color:#7c899e}.ocr-conf{padding:4px 6px;border-radius:999px;background:#edf8f2;color:#18734f;font-size:8.5px;font-weight:900}.ocr-conf.low{background:#fff3e7;color:#a65f19}.ocr-editor{border:1px solid #e1e7ef;border-radius:14px;background:#fff;overflow:hidden}.ocr-editor-head{padding:10px 12px;border-bottom:1px solid #e8edf4;display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fbfcfe}.ocr-editor-head strong{font-size:11.5px;color:#263a5b}.ocr-editor textarea{width:100%;min-height:380px;border:0;resize:vertical;padding:14px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;color:#253650;background:#fff}.ocr-editor textarea:focus{outline:none}.ocr-editor-tools{display:flex;gap:6px;flex-wrap:wrap}.ocr-low{padding:10px 12px;border-top:1px solid #e8edf4;background:#fbfcfe;font-size:10px;color:#64738a}.ocr-low b{color:#293e60}.ocr-export{margin-top:14px;border:1px solid #dfe6ef;border-radius:16px;padding:14px;background:linear-gradient(180deg,#fff,#fbfdff)}.ocr-export h3{margin:0 0 5px;font-size:13px}.ocr-export p{margin:0 0 11px;font-size:10.5px;color:#728096;line-height:1.5}.ocr-export-actions{display:flex;gap:8px;flex-wrap:wrap}.ocr-export-actions .ocr-btn{flex:1 1 150px}.ocr-caveat{margin-top:10px;padding:10px 11px;border:1px solid #efe0a6;border-radius:10px;background:#fff8df;color:#715f25;font-size:10px;line-height:1.45}.ocr-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ocr-info-grid article{border:1px solid #e1e7ef;border-radius:15px;padding:15px;background:#fff}.ocr-info-grid span{font-size:9px;font-weight:900;color:#3975ea;letter-spacing:.08em}.ocr-info-grid h2{font-size:16px;margin:7px 0}.ocr-info-grid p{font-size:11px;color:#67758d;line-height:1.6;margin:0}
@media(max-width:900px){.ocr-hero{grid-template-columns:1fr}.ocr-hero-card{display:none}.ocr-settings{grid-template-columns:1fr}.ocr-card.full{grid-column:auto}.ocr-review{grid-template-columns:1fr}.ocr-pages{max-height:220px}.ocr-lang-grid{grid-template-columns:repeat(3,1fr)}.ocr-info-grid{grid-template-columns:1fr}}
@media(max-width:620px){.ocr-body{padding:13px}.ocr-work-head{padding:13px}.ocr-drop{padding:26px 12px}.ocr-grid{grid-template-columns:1fr}.ocr-lang-grid{grid-template-columns:repeat(2,1fr)}.ocr-stats{grid-template-columns:repeat(2,1fr)}.ocr-editor textarea{min-height:300px}.ocr-export-actions .ocr-btn{flex-basis:100%}}

/* UVs OCR Studio v2 */
.ocr-stepbar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.ocr-stepbar span{display:flex;align-items:center;gap:8px;border:1px solid #e1e8f2;border-radius:12px;background:#f8fafe;padding:9px 11px;color:#65748d;font-size:10.5px;font-weight:800}.ocr-stepbar b{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#e8eef8;color:#47648f}.ocr-stepbar .active{background:#edf4ff;border-color:#b8ccef;color:#244f9e}.ocr-stepbar .active b{background:#3975ea;color:#fff}
.ocr-privacy-line{display:block;margin-top:12px;color:#7b899e;font-size:10px}.ocr-camera-panel{margin-top:14px;border:1px solid #dfe6f0;border-radius:16px;background:#0f1726;padding:12px}.ocr-camera-panel video{display:block;width:min(100%,760px);max-height:460px;object-fit:contain;margin:auto;background:#000;border-radius:11px}.ocr-camera-panel>div{display:flex;gap:8px;justify-content:center;margin-top:10px}.ocr-password-card{margin-top:14px;border:1px solid #efcf9a;border-radius:14px;background:#fff9ec;padding:13px;display:flex;justify-content:space-between;gap:14px;align-items:center}.ocr-password-card[hidden]{display:none}.ocr-password-card strong{display:block;font-size:12px;color:#73541d}.ocr-password-card small{display:block;margin-top:4px;color:#8b7447;font-size:10.5px}.ocr-password-actions{display:flex;gap:8px;min-width:min(100%,360px)}.ocr-input,.ocr-lang-filter{border:1px solid #dce4ef;border-radius:10px;background:#fff;padding:10px 11px;font:inherit;font-size:11.5px;color:#243552}.ocr-password-actions .ocr-input{min-width:0;flex:1}
.ocr-card-accent{background:linear-gradient(155deg,#fff,#fbfdff);position:relative;overflow:hidden}.ocr-card-accent:after{content:'';position:absolute;right:-50px;top:-65px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(61,121,255,.08),transparent 70%);pointer-events:none}.ocr-card-title{display:flex;gap:10px;align-items:flex-start;margin-bottom:13px}.ocr-card-title>span{width:30px;height:30px;border-radius:10px;background:#edf4ff;color:#3975ea;display:grid;place-items:center;font-size:10px;font-weight:950;flex:0 0 auto}.ocr-card-title h3{margin:0 0 3px}.ocr-card-title p{margin:0;color:#748299;font-size:10.5px;line-height:1.45}.ocr-control small{font-size:9.5px;line-height:1.45;color:#7a899e}.ocr-check-stack{display:grid;gap:7px;padding:9px;border:1px solid #e4eaf2;border-radius:11px;background:#fbfcfe}.ocr-lang-filter{width:min(100%,300px);margin:0 0 10px}.ocr-lang[hidden]{display:none}.ocr-run-main{min-height:48px;font-size:13px;box-shadow:0 10px 22px rgba(57,117,234,.18)}
.ocr-results-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.ocr-results-head span{font-size:9px;letter-spacing:.12em;font-weight:950;color:#3975ea}.ocr-results-head h2{margin:6px 0 5px;font-size:22px;color:#172b4d}.ocr-results-head p{margin:0;color:#6c7b92;font-size:11px;line-height:1.55}.ocr-review{grid-template-columns:230px minmax(0,1fr)}.ocr-review-main{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(330px,1.1fr);gap:12px;align-items:start}.ocr-preview-card{border:1px solid #e1e7ef;border-radius:14px;background:#fff;overflow:hidden;position:sticky;top:88px}.ocr-preview-head{padding:10px 11px;border-bottom:1px solid #e9edf4;background:#fbfcfe;display:grid;gap:8px}.ocr-preview-head strong{display:block;font-size:11.5px;color:#263a5b}.ocr-preview-head small{font-size:9.5px;color:#74829a}.ocr-preview-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.ocr-preview-tools label{display:flex;gap:5px;align-items:center;font-size:9.5px;color:#5c6b82}.ocr-preview-tools select{border:1px solid #dce4ef;border-radius:8px;padding:6px 7px;background:#fff;font-size:9.5px;color:#34455f}.ocr-preview-stage{padding:10px;background-color:#eef2f6;background-image:linear-gradient(45deg,#e2e7ed 25%,transparent 25%),linear-gradient(-45deg,#e2e7ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e7ed 75%),linear-gradient(-45deg,transparent 75%,#e2e7ed 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;max-height:600px;overflow:auto}.ocr-preview-wrap{position:relative;line-height:0;margin:auto;width:max-content;max-width:100%}.ocr-preview-wrap img{display:block;max-width:100%;height:auto;background:#fff;box-shadow:0 8px 24px rgba(25,43,76,.1)}.ocr-preview-wrap canvas{position:absolute;inset:0;display:block;max-width:100%;height:auto;pointer-events:none}.ocr-editor textarea{min-height:450px}.ocr-low{max-height:120px;overflow:auto}.ocr-stat{box-shadow:0 8px 18px rgba(32,56,101,.04)}
@media(max-width:1180px){.ocr-review-main{grid-template-columns:1fr}.ocr-preview-card{position:static}.ocr-preview-stage{max-height:480px}}
@media(max-width:900px){.ocr-stepbar{grid-template-columns:1fr}.ocr-review{grid-template-columns:1fr}.ocr-pages{display:flex;gap:6px;overflow:auto;max-height:none}.ocr-page-btn{min-width:190px}.ocr-password-card{align-items:flex-start;flex-direction:column}.ocr-password-actions{width:100%}}
@media(max-width:620px){.ocr-preview-tools{align-items:stretch}.ocr-preview-tools>*{flex:1 1 140px}.ocr-preview-tools label{padding:7px;border:1px solid #e4eaf2;border-radius:8px}.ocr-results-head h2{font-size:19px}.ocr-camera-panel>div{flex-direction:column}.ocr-password-actions{flex-direction:column}}
