.ocr-source-preview{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;margin:18px 0;padding:16px}.ocr-source-preview-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ocr-source-preview-header p,.ocr-source-preview-tools span{color:var(--muted-foreground);margin:4px 0 0;font-size:14px;line-height:1.5}.ocr-source-preview-content{margin-top:14px}.ocr-source-preview-tools{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.ocr-source-preview-frame{border:1px solid var(--border);background:#fff;border-radius:8px;max-height:65vh;overflow:auto}.ocr-source-preview-frame img{width:100%;height:auto;display:block}.ocr-source-preview-frame.zoomed img{width:200%;max-width:none}@media (max-width:600px){.ocr-source-preview-header button{width:100%}.ocr-source-preview-frame{max-height:55vh}}.ocr-workspace{max-width:960px}.ocr-upload{border:1px dashed var(--border);background:var(--surface-soft);border-radius:14px;flex-wrap:wrap;align-items:center;gap:16px;padding:22px;display:flex}.ocr-upload>div{flex:240px}.ocr-upload p,.ocr-results-heading p{color:var(--muted-foreground);margin:5px 0 0}.ocr-file-input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.ocr-selected{overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:12px;padding:12px 2px;display:flex}.ocr-settings{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;margin:22px 0 10px;display:grid}.ocr-settings label{gap:7px;font-weight:600;display:grid}.ocr-settings select,.ocr-settings input,.ocr-page textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--foreground);font:inherit;border-radius:8px;padding:10px}.ocr-privacy{color:var(--muted-foreground);font-size:14px;line-height:1.6}.ocr-pdf-option{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;align-items:center;gap:10px;padding:12px 14px;font-weight:600;display:flex}.ocr-pdf-option input{accent-color:#438b72;width:18px;height:18px}.ocr-pdf-note{color:var(--muted-foreground);font-size:14px;line-height:1.6}.ocr-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ocr-progress{gap:8px;margin-top:18px;display:grid}.ocr-progress progress{width:min(100%,360px)}.ocr-results{border-top:1px solid var(--border);margin-top:28px;padding-top:22px}.ocr-results-heading{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px;display:flex}.ocr-results-heading h2{margin:0}.ocr-page{margin:18px 0}.ocr-page label{margin-bottom:8px;font-weight:700;display:block}.ocr-page label span{color:var(--muted-foreground);font-size:13px;font-weight:400}.ocr-page textarea{resize:vertical;line-height:1.6;display:block}.ocr-spacing-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.ocr-spacing-tools p{color:var(--muted-foreground);margin:0;font-size:13px;line-height:1.5}
