.dcp-ocr-page-shell{max-width:1220px;margin:10px auto 20px;padding:0 8px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#17213c;box-sizing:border-box}.dcp-ocr-page-shell *{box-sizing:border-box}.dcp-ocr{overflow:hidden;border:1px solid #dbe3f0;border-radius:24px;background:#f6f8fc;box-shadow:0 24px 70px rgba(18,36,75,.09)}.dcp-ocr-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;align-items:center;padding:24px 28px;background:radial-gradient(circle at 88% 0,#234b91 0,transparent 34%),linear-gradient(135deg,#07152f,#102b61);color:#fff}.dcp-ocr-kicker{display:inline-block;margin-bottom:7px;color:#68e0bd;font-size:11px;font-weight:900;letter-spacing:1.6px}.dcp-ocr-hero h1{margin:0 0 8px;color:#fff!important;font-size:clamp(28px,3.8vw,38px)!important;line-height:1.04!important;letter-spacing:-1.5px}.dcp-ocr-hero p{max-width:760px;margin:0;color:#d9e4f7;font-size:14px;line-height:1.5}.dcp-ocr-quota-card{padding:10px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.dcp-ocr-quota-card span,.dcp-ocr-quota-card strong,.dcp-ocr-quota-card small,.dcp-ocr-quota-card a{display:block}.dcp-ocr-quota-card span{color:#a9bddf;font-size:10px;font-weight:900;letter-spacing:1.1px}.dcp-ocr-quota-card strong{margin:5px 0 0;color:#fff;font-size:30px;line-height:1}.dcp-ocr-quota-card small{margin:3px 0 8px;color:#d9e4f7;font-size:12px}.dcp-ocr-quota-card a{color:#7ce3c6!important;text-decoration:none;font-size:12px;font-weight:800}.dcp-ocr-form{display:grid;gap:10px;padding:12px}.dcp-ocr-step{padding:16px;border:1px solid #e0e6f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(29,47,88,.035)}.dcp-ocr-step-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}.dcp-ocr-step-head>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#0c1f45;color:#fff;font-size:13px;font-weight:900}.dcp-ocr-step-head h2{margin:0 0 3px;color:#0b1739!important;font-size:20px!important;line-height:1.25!important}.dcp-ocr-step-head p{margin:0;color:#72809a;font-size:13px}.dcp-ocr-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dcp-ocr-source{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;min-height:104px;padding:12px;border:1px dashed #b9c9e6;border-radius:15px;background:linear-gradient(180deg,#fbfcff,#f5f8ff);cursor:pointer;transition:.18s ease}.dcp-ocr-source:hover{border-color:#315fe9;transform:translateY(-1px);box-shadow:0 10px 25px rgba(49,95,233,.08)}.dcp-ocr-source-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eaf0ff;color:#2859ec;font-size:11px;font-weight:900;letter-spacing:.5px}.dcp-ocr-source-copy b,.dcp-ocr-source-copy small{display:block}.dcp-ocr-source-copy b{margin-bottom:3px;color:#152447;font-size:15px}.dcp-ocr-source-copy small{color:#71809a;font-size:12px;line-height:1.45}.dcp-ocr-source input[type=file]{grid-column:1/-1;width:100%;padding:7px;border:1px solid #dbe3f0;border-radius:10px;background:#fff;color:#5d6980;font-size:12px}.dcp-ocr-source input[type=file]::file-selector-button{margin-right:10px;padding:9px 12px;border:0;border-radius:8px;background:#2859ec;color:#fff;font-weight:800;cursor:pointer}.dcp-ocr-selection{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:13px;padding:12px 14px;border-radius:11px;background:#eef3ff;color:#38548f;font-size:13px}.dcp-ocr-selection strong{color:#153b9a}.dcp-ocr-selection small{color:#6c7b96;font-size:11px}.dcp-ocr-rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dcp-ocr-field{display:flex;flex-direction:column;gap:6px;color:#17213c;font-size:13px;font-weight:800}.dcp-ocr-field>small{color:#7b879b;font-size:11px;font-weight:500;line-height:1.45}.dcp-ocr textarea,.dcp-ocr select{width:100%;border:1px solid #d8e0ed;border-radius:11px;background:#fff;color:#17213c;outline:none;transition:.15s ease}.dcp-ocr textarea{min-height:86px;padding:10px 12px;resize:vertical;line-height:1.55}.dcp-ocr select{height:40px;padding:0 11px}.dcp-ocr textarea:focus,.dcp-ocr select:focus{border-color:#5a7df0;box-shadow:0 0 0 3px rgba(45,92,246,.09)}.dcp-ocr-run-step{background:linear-gradient(180deg,#fff,#fbfcff)}.dcp-ocr-run-row{display:grid;grid-template-columns:minmax(220px,.58fr) minmax(260px,1fr);gap:14px;align-items:end}.dcp-ocr-start{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:54px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#2859ec,#1c48ce)!important;box-shadow:0 12px 28px rgba(40,89,236,.2);cursor:pointer}.dcp-ocr-start span{font-size:15px;font-weight:900}.dcp-ocr-start small{margin-top:3px;color:#dbe5ff;font-size:11px;font-weight:600}.dcp-ocr button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.dcp-ocr-progress{margin:0 12px 12px;padding:12px;border:1px solid #dfe6f1;border-radius:15px;background:#fff}.dcp-ocr-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#17254b}.dcp-ocr-progress-track{height:9px;margin:10px 0 14px;overflow:hidden;border-radius:99px;background:#e7ebf3}.dcp-ocr-progress-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#2859ec,#35d2a0);transition:width .25s ease}.dcp-ocr-file-list{display:grid;gap:7px;max-height:340px;overflow:auto}.dcp-ocr-file-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #edf0f5;border-radius:9px;background:#fbfcfe;font-size:12px}.dcp-ocr-file-row b{overflow:hidden;color:#344054;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.dcp-ocr-file-row em{color:#667085;font-style:normal;text-align:right}.dcp-ocr-file-status{display:inline-flex;justify-content:center;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.3px;text-transform:uppercase}.dcp-ocr-file-status.pending{background:#f2f4f7;color:#667085}.dcp-ocr-file-status.uploading,.dcp-ocr-file-status.processing,.dcp-ocr-file-status.downloading{background:#eef4ff;color:#2447b8}.dcp-ocr-file-status.done{background:#eaf8ef;color:#137a3a}.dcp-ocr-file-status.failed{background:#fff0f0;color:#b42318}.dcp-ocr-result{margin:0 12px 12px;padding:0;min-height:0;color:#344054;font-size:13px}.dcp-ocr-result:not(:empty){padding:15px 17px;border:1px solid #dfe6f1;border-radius:13px;background:#fff}.dcp-ocr-result strong{color:#0e6f4d}.dcp-ocr-redownload{margin-left:8px;padding:9px 12px!important;font-size:12px!important}@media(max-width:800px){.dcp-ocr-page-shell{margin:8px auto 16px;padding:0 6px}.dcp-ocr-hero{grid-template-columns:1fr;padding:20px 16px}.dcp-ocr-quota-card{max-width:260px}.dcp-ocr-form{padding:10px}.dcp-ocr-step{padding:14px}.dcp-ocr-source-grid,.dcp-ocr-rule-grid,.dcp-ocr-run-row{grid-template-columns:1fr}.dcp-ocr-selection{align-items:flex-start;flex-direction:column}.dcp-ocr-progress,.dcp-ocr-result{margin-left:8px;margin-right:8px}.dcp-ocr-file-row{grid-template-columns:76px minmax(0,1fr)}.dcp-ocr-file-row em{grid-column:2;text-align:left}}.dcp-ocr-action-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.dcp-ocr-action-strip>span{flex:1;min-width:240px;color:#65738d;font-size:11px;line-height:1.35}.dcp-ocr-mini-btn{appearance:none;border:1px solid #ced8e8;border-radius:9px;background:#fff;color:#27406e;padding:8px 11px;font:800 11px/1.1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;transition:.15s ease}.dcp-ocr-mini-btn:hover{border-color:#7897e8;background:#f6f8ff}.dcp-ocr-mini-btn.is-smart{border-color:#abdcca;background:#effaf6;color:#087754}.dcp-ocr-mini-btn.is-danger{color:#a33737}.dcp-ocr-mini-btn:disabled{opacity:.5;cursor:not-allowed}.dcp-ocr-preview-panel{margin-top:10px;overflow:hidden;border:1px solid #d9e2ef;border-radius:13px;background:#f8faff}.dcp-ocr-preview-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid #e1e7f0;background:#fff}.dcp-ocr-preview-head strong{font-size:12px;color:#17284b}.dcp-ocr-preview-head button{width:28px;height:28px;border:0;border-radius:8px;background:#eef2f8;color:#3a4b6f;font-size:18px;cursor:pointer}.dcp-ocr-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px}.dcp-ocr-preview-grid article{min-width:0}.dcp-ocr-preview-grid article>span{display:block;margin-bottom:5px;color:#6d7b94;font-size:9px;font-weight:900;letter-spacing:1px}.dcp-ocr-preview-grid iframe,.dcp-ocr-preview-grid #dcp-ocr-preview-after-empty{display:block;width:100%;height:300px;border:1px solid #dce4ef;border-radius:9px;background:#fff}.dcp-ocr-preview-grid #dcp-ocr-preview-after-empty{display:grid;place-items:center;padding:14px;color:#8390a5;font-size:12px;text-align:center}.dcp-ocr-preview-grid iframe[hidden]{display:none}.dcp-ocr-preset-bar{display:grid;grid-template-columns:minmax(170px,1fr) minmax(150px,.8fr) auto auto minmax(120px,.9fr);gap:7px;align-items:center;margin-bottom:10px;padding:8px;border:1px solid #e1e7f0;border-radius:11px;background:#f8faff}.dcp-ocr-preset-bar select,.dcp-ocr-preset-bar input{width:100%;height:34px;border:1px solid #d8e0ed;border-radius:8px;background:#fff;color:#253554;padding:0 9px;font-size:11px}.dcp-ocr-preset-bar>span{color:#66758f;font-size:10px;line-height:1.25}.dcp-ocr-history{margin:0 12px 12px;padding:10px;border:1px solid #dfe6f1;border-radius:14px;background:#fff}.dcp-ocr-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.dcp-ocr-history>header>div strong,.dcp-ocr-history>header>div small{display:block}.dcp-ocr-history>header strong{color:#17284b;font-size:13px}.dcp-ocr-history>header small{margin-top:2px;color:#7b879b;font-size:10px}.dcp-ocr-history>header button,.dcp-history-actions button{border:1px solid #d6deea;border-radius:8px;background:#fff;color:#3b4b68;padding:6px 9px;font-size:10px;font-weight:800;cursor:pointer}.dcp-ocr-history-list{display:grid;gap:6px}.dcp-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 9px;border:1px solid #edf0f5;border-radius:9px;background:#fbfcfe}.dcp-history-row b,.dcp-history-row small{display:block}.dcp-history-row b{color:#263958;font-size:11px}.dcp-history-row small{margin-top:2px;color:#6c7990;font-size:10px}.dcp-history-actions{display:flex;gap:5px}.dcp-history-ok{color:#168153;font-weight:800}.dcp-history-warn{color:#a75b19;font-weight:800}.dcp-ocr-compare{margin-left:6px!important;background:#eef3ff!important;color:#2447b8!important;border:1px solid #cfdbfb!important;box-shadow:none!important}.dcp-ocr-result .dcp-button{padding:8px 10px!important;font-size:11px!important}.dcp-ocr-hero{padding:18px 22px}.dcp-ocr-hero h1{font-size:clamp(25px,3.2vw,34px)!important}.dcp-ocr-form{gap:8px;padding:9px}.dcp-ocr-step{padding:12px}.dcp-ocr-step-head{margin-bottom:9px}.dcp-ocr-source{min-height:82px;padding:9px}.dcp-ocr-selection{margin-top:9px;padding:9px 11px}.dcp-ocr textarea{min-height:74px}@media(max-width:900px){.dcp-ocr-preset-bar{grid-template-columns:1fr 1fr auto auto}.dcp-ocr-preset-bar>span{grid-column:1/-1}.dcp-ocr-preview-grid{grid-template-columns:1fr}.dcp-ocr-preview-grid iframe,.dcp-ocr-preview-grid #dcp-ocr-preview-after-empty{height:260px}}@media(max-width:620px){.dcp-ocr-preset-bar{grid-template-columns:1fr 1fr}.dcp-ocr-preset-bar select,.dcp-ocr-preset-bar input{grid-column:1/-1}.dcp-ocr-action-strip>span{min-width:100%;order:3}.dcp-history-row{grid-template-columns:1fr}.dcp-history-actions{justify-content:flex-start}.dcp-ocr-history>header{align-items:flex-start}.dcp-ocr-preview-grid iframe,.dcp-ocr-preview-grid #dcp-ocr-preview-after-empty{height:230px}}.dcp-ocr-mini-btn.is-visual{border-color:#f2c38e;background:#fff7ed;color:#9a4d08}.dcp-ocr-visual-modal[hidden]{display:none!important}.dcp-ocr-visual-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;background:rgba(10,20,42,.72);backdrop-filter:blur(4px)}.dcp-ocr-visual-dialog{width:min(980px,96vw);max-height:94vh;overflow:auto;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:#f7f9fd;box-shadow:0 28px 80px rgba(0,0,0,.32)}.dcp-ocr-visual-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#fff;border-bottom:1px solid #dfe6f1}.dcp-ocr-visual-dialog>header strong,.dcp-ocr-visual-dialog>header small{display:block}.dcp-ocr-visual-dialog>header strong{color:#14254a;font-size:13px}.dcp-ocr-visual-dialog>header small{margin-top:2px;color:#71809a;font-size:10px}.dcp-ocr-visual-dialog>header button{width:30px;height:30px;border:0;border-radius:8px;background:#eef2f8;color:#33476c;font-size:20px;cursor:pointer}.dcp-ocr-visual-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 10px;border-bottom:1px solid #e1e7f0;background:#fbfcff}.dcp-ocr-visual-toolbar button,.dcp-ocr-visual-toolbar select{height:32px;border:1px solid #d2dbe9;border-radius:8px;background:#fff;color:#33476c;padding:0 9px;font-size:10px;font-weight:800}.dcp-ocr-visual-toolbar button{cursor:pointer}.dcp-ocr-visual-toolbar button.is-primary{border-color:#2859ec;background:#2859ec;color:#fff}.dcp-ocr-visual-toolbar>span{min-width:72px;text-align:center;color:#253b66;font-size:11px;font-weight:900}.dcp-ocr-visual-toolbar label{display:flex;align-items:center;gap:6px;margin-left:auto;color:#66758e;font-size:10px;font-weight:700}.dcp-ocr-visual-canvas-wrap{position:relative;width:max-content;max-width:calc(96vw - 40px);margin:10px auto;overflow:auto;border:1px solid #d7dfeb;border-radius:9px;background:#dfe5ef}.dcp-ocr-visual-canvas-wrap canvas{display:block;max-width:100%;height:auto}.dcp-ocr-visual-canvas-wrap #dcp-ocr-visual-overlay{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair;touch-action:none}.dcp-ocr-visual-foot{display:flex;align-items:center;gap:10px;padding:8px 10px;border-top:1px solid #e1e7f0;background:#fff;color:#6a7891;font-size:10px}.dcp-ocr-visual-foot b{white-space:nowrap;color:#b42318}@media(max-width:650px){.dcp-ocr-visual-modal{padding:7px}.dcp-ocr-visual-toolbar label{width:100%;margin-left:0}.dcp-ocr-visual-foot{align-items:flex-start;flex-direction:column;gap:3px}}.dcp-ocr-visual-canvas-wrap{isolation:isolate;user-select:none;-webkit-user-select:none}.dcp-ocr-visual-canvas-wrap #dcp-ocr-visual-canvas{position:relative;z-index:1;pointer-events:none}.dcp-ocr-visual-canvas-wrap #dcp-ocr-visual-overlay{z-index:5!important;pointer-events:auto!important;touch-action:none!important;cursor:crosshair!important;user-select:none!important;-webkit-user-select:none!important}.dcp-history-actions button.is-refine{border-color:#f2c38e;background:#fff7ed;color:#93460a}.dcp-history-actions button.is-refine:hover{background:#ffedd5}.dcp-ocr-visual-foot b{min-width:130px}@media(max-width:700px){.dcp-history-row{grid-template-columns:1fr}.dcp-history-actions{justify-content:flex-start;flex-wrap:wrap}}.dcp-ocr-branding-toggle{display:flex;align-items:flex-start;gap:9px;margin:0 0 10px;padding:9px 10px;border:1px solid #bfe0d3;border-radius:11px;background:#f0faf6;color:#173b32;cursor:pointer}.dcp-ocr-branding-toggle input{width:16px;height:16px;margin:1px 0 0;accent-color:#0f9f74;flex:0 0 auto}.dcp-ocr-branding-toggle span{display:block;min-width:0}.dcp-ocr-branding-toggle b,.dcp-ocr-branding-toggle small{display:block}.dcp-ocr-branding-toggle b{font-size:12px;line-height:1.2}.dcp-ocr-branding-toggle small{margin-top:2px;color:#557269;font-size:10px;line-height:1.35;font-weight:500}.dcp-simple-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:100%}.dcp-simple-tools span{font-size:13px;color:#475569}.dcp-simple-advanced{width:100%;padding:10px 12px;border:1px solid #dbe3ee;border-radius:10px;margin:8px 0;background:#fff}.dcp-simple-advanced summary{cursor:pointer;font-weight:600;color:#334155}.dcp-simple-advanced>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding-top:12px}.dcp-simple-advanced button,.dcp-simple-tools button{border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px 13px;color:#1e3a5f;cursor:pointer}.dcp-simple-advanced small{width:100%;color:#64748b}