/* Fork C tools: reports, OCR, compare, scanner */
.info-grid { font-size: .88rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 0; }
.info-grid thead th { background: var(--bg); color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.info-grid td, .info-grid th { padding: .45rem .7rem; }
.info-scroll { max-height: 440px; overflow: auto; border-radius: 12px; }
.xmp-raw { max-height: 320px; overflow: auto; font-size: .78rem; background: #121833; color: #E9ECEF; padding: 1rem; border-radius: 12px; white-space: pre-wrap; word-break: break-all; }
.diff-page { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .9rem; }
.diff-page h4 { font-size: .95rem; font-weight: 800; margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.diff-text { font-size: .9rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word; max-height: 360px; overflow: auto; }
.diff-text ins { background: #D3F9D8; color: #2B8A3E; text-decoration: none; border-radius: 3px; padding: 0 2px; }
.diff-text del { background: #FFE3E3; color: #C92A2A; border-radius: 3px; padding: 0 2px; }
.diff-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.diff-img { max-width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.badge-same { background: #EBFBEE; color: #2B8A3E; } .badge-changed { background: #FFF4E6; color: #E67700; }
.summary-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; white-space: pre-wrap; line-height: 1.7; }
.summary-box ul { margin-bottom: 0; }
.kw-chip { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 650; font-size: .8rem; margin: 0 .25rem .3rem 0; }
.scan-strip { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .4rem; }
.scan-cam { position: relative; background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; max-height: 70vh; margin: 0 auto; }
.scan-cam video { width: 100%; height: 100%; object-fit: cover; }
.scan-cam-actions { position: absolute; left: 0; right: 0; bottom: 1rem; display: flex; justify-content: center; gap: 1rem; align-items: center; }
.scan-shutter { width: 68px; height: 68px; border-radius: 50%; border: 5px solid #fff; background: var(--brand); box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.scan-shutter:active { transform: scale(.94); }
.scan-count { color: #fff; font-weight: 700; background: rgba(0,0,0,.5); padding: .25rem .65rem; border-radius: 999px; }
.ocr-lang-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 767.98px) { .diff-cols { grid-template-columns: 1fr; } }
