#ocrReviewList {max-height:65vh;overflow:auto}
#ocrReviewList details {border:1px solid #334155;border-radius:8px;margin:6px 0;padding:8px}
#ocrReviewList summary {font-size:13px;cursor:pointer;line-height:1.5}
#ocrReviewList fieldset {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));font-size:12px}
#ocrReviewList fieldset label {display:block;min-width:0}
#ocrReviewList fieldset label input {display:block;width:100%!important}
#ocrReviewList fieldset pre,#ocrReviewList fieldset>label:has(select),#ocrReviewList fieldset>input {grid-column:1/-1;max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}
#ocrReviewList fieldset select {width:100%;font-size:12px}
#ocrReviewList button {padding:6px;background:#1e293b;border:1px solid #64748b;border-radius:6px;font-size:12px}
#ocrReviewList>label {font-size:12px;display:block}
#ocrReviewList>label input {display:block;width:100%;padding:5px;border:1px solid #64748b}
#ocrRawSection>details {font-size:12px;overflow-wrap:anywhere}
#ocrRawSection fieldset label {display:inline-flex;gap:8px;align-items:center;margin:6px}
#ocrRawSection pre {white-space:pre-wrap}

#pfDocumentImport {border:1px solid #475569;border-radius:10px;padding:12px;order:-1}
#pfDocumentImport h3 {font-weight:700;margin-bottom:6px}
#pfDocumentImport p {font-size:12px;margin:8px 0}
#pfDocumentImport input,#pfDocumentImport select {background:#111827;color:white;max-width:100%;padding:6px;border:1px solid #64748b;border-radius:5px}
#pfDocumentImport button {padding:6px 10px;border:1px solid #64748b;background:#1e293b;border-radius:6px;font-size:12px;margin:6px}
#pfDocumentWarnings {color:#fbbf24}
#pfDocumentPreview {max-height:65vh;overflow:auto;background:white;color:#111827;padding:10px;border-radius:6px}
#pfDocumentPreview img,#pfDocumentPreview canvas {max-width:100%;height:auto}
#pfDocumentPreview table {border-collapse:collapse;width:100%;font-size:12px;margin:10px 0}
#pfDocumentPreview td {border:1px solid #94a3b8;padding:5px;white-space:pre-wrap}
#pfDocumentSource {scroll-margin-top:130px}
