#ocr-review{position:fixed;inset:var(--hdr-h,64px) 0 0;z-index:18;overflow:auto;background:#0a0f1c;color:var(--fg);overscroll-behavior:contain}#ocr-review[hidden]{display:none}.ocr-page{max-width:1180px;margin:auto;padding:24px 30px 60px}.ocr-page h1{font:600 clamp(26px,4vw,40px) var(--font-h)}.ocr-page p{line-height:1.7;overflow-wrap:anywhere}.ocr-page button,.ocr-page select{min-width:44px;min-height:44px;padding:10px 14px;margin:4px;border:1px solid #364158;border-radius:9px;color:var(--fg);background:#172033;font:500 14px var(--font-b);box-sizing:border-box;cursor:pointer}.ocr-page button:disabled{opacity:.5;cursor:default}.ocr-page :focus-visible{outline:2px solid var(--teal);outline-offset:3px}.ocr-page label{display:flex;flex-direction:column;gap:8px;margin-block:14px}.ocr-page textarea{resize:vertical;max-width:100%;width:100%;box-sizing:border-box;background:#0b1220;color:var(--fg);border:1px solid #364158;border-radius:8px;padding:12px;font:14px/1.7 var(--font-b)}.ocr-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ocr-columns section{min-width:0}.ocr-image{display:block;max-width:100%;height:auto;border-radius:12px}.ocr-confirm,.ocr-columns section,.ocr-page>section{padding:20px;border:1px solid #364158;border-radius:14px;margin-block:16px}.ocr-confirm{border-color:#8e7230}.ocr-warning{color:#f3d27a}.ocr-words mark{display:inline-block;padding:4px;margin:3px;background:#574615;color:#fff0b9;border-radius:4px}.ocr-docs{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}.ocr-docs span{overflow-wrap:anywhere}.ocr-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.ocr-page code{overflow-wrap:anywhere}@media(max-width:960px){#ocr-review{inset:0;z-index:45}.ocr-page{padding:16px 14px 36px}.ocr-columns{grid-template-columns:1fr}}
/* light-theme:begin — generated by tools/light-theme.mjs from the rules above; do not edit by hand (hand-tuned light rules go after the end marker) */
html[data-theme="light"] #ocr-review{background:#f4f5f9}
html[data-theme="light"] .ocr-page button,html[data-theme="light"] .ocr-page select{border:1px solid #dadde4;background:#ebedf2}
html[data-theme="light"] .ocr-page textarea{background:#f2f4f8;border:1px solid #dadde4}
html[data-theme="light"] .ocr-confirm,html[data-theme="light"] .ocr-columns section,html[data-theme="light"] .ocr-page>section{border:1px solid #dadde4}
html[data-theme="light"] .ocr-confirm{border-color:#e1d9c8}
html[data-theme="light"] .ocr-warning{color:#906b09}
html[data-theme="light"] .ocr-words mark{background:#f0ebde;color:#7a6000}
/* light-theme:end */
