/* PDF to PDF/A */
.tool-wrapper[data-tool="pdf-to-pdfa"] { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pfa-app { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.pfa-app > * { width: 100%; max-width: 960px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.pfa-app .action-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 auto; }
.pfa-app .file-box, .pfa-app .tool-settings { display: block; margin: 0 auto; }
.pfa-app .file-row { display: flex; align-items: center; gap: 12px; }
.pfa-app .file-name { font-weight: 600; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pfa-app .file-size { color: #64748b; white-space: nowrap; }
.pfa-app .remove-file { background: none; border: 0; color: #dc2626; cursor: pointer; font-size: 1rem; padding: 4px; }
.pfa-opts { display: grid; gap: 10px; }
.pfa-opts label { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; cursor: pointer; }
.pfa-opts input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto; }
.pfa-opts small { display: block; color: #64748b; }
.pfa-busy { text-align: center; color: #475569; font-weight: 500; }
.pfa-result { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 16px; }
.pfa-result p { margin: 0 0 8px; }
.pfa-done { font-weight: 600; color: #067647; }
.pfa-notes { margin: 0 0 10px; padding-inline-start: 20px; }
.pfa-notes li + li { margin-top: 4px; }
.pfa-warn { color: #a15c07; font-weight: 600; }
.pfa-info { color: #374151; }
.pfa-unsign { margin-top: 10px; display: inline-flex; }
.tool-wrapper[data-tool="pdf-to-pdfa"] .info-note { margin-top: 18px; }
html[data-theme="dark"] .pfa-opts small, html[data-theme="dark-contrast"] .pfa-opts small { color: #94a3b8; }
html[data-theme="dark"] .pfa-busy, html[data-theme="dark-contrast"] .pfa-busy { color: #cbd5e1; }
html[data-theme="dark"] .pfa-result, html[data-theme="dark-contrast"] .pfa-result { background: #052e16; border-color: #166534; color: #dcfce7; }
html[data-theme="dark"] .pfa-info, html[data-theme="dark-contrast"] .pfa-info { color: #dcfce7; }
html[data-theme="dark"] .pfa-warn, html[data-theme="dark-contrast"] .pfa-warn { color: #fcd34d; }
@media (max-width: 600px) { .pfa-app .action-buttons .btn { flex: 1 1 auto; } }
html[data-theme="dark"] .pfa-done, html[data-theme="dark-contrast"] .pfa-done { color: #86efac; }
html[data-theme="dark"] .pfa-result a, html[data-theme="dark-contrast"] .pfa-result a { color: #93c5fd; }
