/* Repair PDF */
.tool-wrapper[data-tool="repair-pdf"] { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.rep-app { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.rep-app > * { width: 100%; max-width: 960px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.rep-app .action-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 auto; justify-content: center; }
.rep-app .file-box { display: block; margin: 0 auto; }
.rep-app .file-row { display: flex; align-items: center; gap: 12px; }
.rep-app .file-name { font-weight: 600; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.rep-app .file-size { color: #64748b; white-space: nowrap; }
.rep-app .remove-file { background: none; border: 0; color: #dc2626; cursor: pointer; font-size: 1rem; padding: 4px; }
.rep-busy { text-align: center; color: #475569; font-weight: 500; }
.rep-result { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 16px; }
.rep-result p { margin: 0 0 8px; }
.rep-done { font-weight: 600; color: #067647; }
.rep-notes { margin: 0 0 10px; padding-inline-start: 20px; }
.rep-notes li + li { margin-top: 4px; }
.rep-warn { color: #a15c07; font-weight: 600; }
.rep-info { color: #374151; }
.rep-deep-p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px !important; }
.rep-deep { display: inline-flex; }
.tool-wrapper[data-tool="repair-pdf"] .info-note { margin-top: 18px; }
html[data-theme="dark"] .rep-busy, html[data-theme="dark-contrast"] .rep-busy { color: #cbd5e1; }
html[data-theme="dark"] .rep-result, html[data-theme="dark-contrast"] .rep-result { background: #052e16; border-color: #166534; color: #dcfce7; }
html[data-theme="dark"] .rep-info, html[data-theme="dark-contrast"] .rep-info { color: #dcfce7; }
html[data-theme="dark"] .rep-warn, html[data-theme="dark-contrast"] .rep-warn { color: #fcd34d; }
html[data-theme="dark"] .rep-done, html[data-theme="dark-contrast"] .rep-done { color: #86efac; }
html[data-theme="dark"] .rep-result a, html[data-theme="dark-contrast"] .rep-result a { color: #93c5fd; }
