image-loader{box-sizing:border-box;width:100%;background-color:#eee;flex-direction:column;flex:1;justify-content:center;align-items:center;min-block-size:15rem;padding:4px;font-family:sans-serif;transition:background-color .2s ease-in-out;display:flex}image-loader.isDragging{background-color:#999;border-color:#fff}image-loader img{width:100%;object-fit:contain;flex:1;block-size:0;min-block-size:0}ocr-editor{color:#222;background:#fff;border:1px solid #aaa;flex-direction:column;flex:1;display:flex}ocr-editor [role=group],ocr-editor form{background:#f5f5f5;flex-wrap:wrap;align-items:center;gap:.3rem;padding:.5rem;display:flex}ocr-editor label{align-items:center;gap:.3rem;display:inline-flex}ocr-editor button,ocr-editor select,ocr-editor input{font:inherit;min-width:28px;min-height:28px}ocr-editor button[data-command]{box-sizing:border-box;width:32px;height:32px;color:inherit;background:#fff;border:1px solid #aaa;border-radius:3px;justify-content:center;align-items:center;padding:4px;display:inline-flex}ocr-editor button[data-command]:disabled{color:#777;background:#eee}ocr-editor button[data-command][aria-pressed=true]{background:#d6f3fa;border:2px solid #00596e}ocr-editor button[type=submit],ocr-editor button[data-export]{align-items:center;gap:.3rem;display:inline-flex}ocr-editor input[type=color]{width:2rem;padding:0}ocr-editor [data-editor]{flex-direction:column;flex:1;display:flex}ocr-editor .tiptap{overflow-wrap:anywhere;white-space:pre-wrap;flex:1;min-height:400px;padding:.75rem;font-size:1.2rem}ocr-editor .tiptap p{margin-block:0 .75em}ocr-editor .tiptap blockquote{border-inline-start:3px solid #aaa;margin-inline:0;padding-inline-start:1rem}ocr-editor .tiptap pre{white-space:pre-wrap}ocr-editor .misspelling{text-underline-offset:.2em;-webkit-text-decoration:underline wavy #b00020;text-decoration:underline wavy #b00020}ocr-editor>p,ocr-editor output,ocr-editor>ul{margin:.5rem}ocr-editor output{display:block}ocr-editor [data-export-status]:empty{margin:0}ocr-editor [data-corrections]{padding-inline-start:1.5rem}ocr-editor [data-corrections] button{margin:.2rem}@media print{ocr-editor{border:0;display:block}ocr-editor>:not([data-editor]){display:none}ocr-editor [data-editor]{display:block}ocr-editor .tiptap{outline:none;min-height:0;padding:0}ocr-editor .misspelling{text-decoration:none}}:root{--primary-color-h:192;--primary-color-s:100%;--primary-color-l:41%;--primary-color:hsl(var(--primary-color-h), var(--primary-color-s), var(--primary-color-l));--primary-color--dark:hsl(var(--primary-color-h), var(--primary-color-s), calc(var(--primary-color-l) - 30%))}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-block-size:100dvh;color:var(--primary-color--dark);flex-direction:column;margin:0;padding:0;font-family:Helvetica,Manjari,Arial,sans-serif;display:flex}header,footer{background-color:var(--primary-color);color:#fff;flex:none;padding:4px}header{justify-content:space-between;align-items:center;display:flex}header .title{color:#fff;text-decoration:none}header .title h1{display:inline-flex}main{flex:1 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;display:grid}main .img-container,main .text-container{box-sizing:border-box;flex-direction:column;min-width:0;padding:4px;display:flex}.actions{flex-direction:column;justify-content:center;align-items:center;gap:.35rem;padding-block:.75rem;display:flex}.actions p{margin:0}.actions p:empty{display:none}.actions progress{width:100%;height:8px}.actions button{font-size:1em}footer{min-height:fit-content}footer a{color:#fff}.content{flex:1;margin:0;padding:8px}@media (width<=600px){main{grid-template-columns:minmax(0,1fr)}}@media print{@page{margin:20mm}body{color:#000;min-block-size:0;display:block}header,footer,main .img-container{display:none}main,main .text-container{padding:0;display:block}}
