.pdf-mode-links { flex-wrap: wrap; overflow: visible; }
.pdf-mode-links .tab { display: inline-flex; align-items: center; font-size: .8125rem; text-decoration: none; }
.pdf-mode-anchor { display: block; height: 0; }
.pdf-mode-anchor, #converter, #faq { scroll-margin-top: 85px; }
#dropZone:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
#documentTitle, #extractTitle { overflow-wrap: anywhere; }
#extractSummary .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.extract-results { margin-top: 1.5rem; }
.extract-results-header { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; }
.extract-results-header h3 { margin: 0; }
.extract-results .check-row { min-height: 44px; align-items: center; margin: 0; }
.extract-results .check-row input { flex: 0 0 auto; }
.extract-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: .75rem; margin-top: .75rem; }
.extract-card { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; padding: .875rem; }
.extract-card img { width: 100%; height: 140px; object-fit: contain; border: 1px solid var(--line); border-radius: 9px; background: #f5f4ef; }
.extract-card .check-row { gap: .5rem; font-weight: 800; }
.extract-card small { display: block; overflow-wrap: anywhere; }
.extract-card .small-button { margin-top: auto; min-height: 44px; font-size: .8125rem; }
.pdf-related { display: flex; flex-wrap: wrap; gap: .25rem .55rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
