.pdf-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.pdf-help { color: var(--muted); font-size: 13px; line-height: 1.7; }
.pdf-drop { display: block; padding: 24px; border: 2px dashed var(--control-line); border-radius: 12px; background: var(--soft); }
.pdf-drop.dragover { background: var(--mint); border-color: var(--green); }
.pdf-drop .field > input { background: #fff; }
.pdf-files, .pdf-downloads { list-style: none; padding: 0; margin: 18px 0; }
.pdf-files li { display: flex; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pdf-file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.pdf-files .button { padding: 7px 10px; }
.pdf-downloads li { margin-bottom: 10px; }
.pdf-downloads .button { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.pdf-status.error { color: var(--danger); }
.pdf-preview { display: block; width: auto; height: auto; max-width: 100%; max-height: 320px; margin: 14px auto; border: 1px solid var(--line); background: #fff; }
.pdf-tool .generator-grid { min-height: 360px; }
.pdf-tool .form-actions { flex-wrap: wrap; }
