/* Styles for the PDF tools group A (ordered file list, page thumbnails). Uses site design tokens. */
.pdfa-ordered .dz-list { display: none !important; }
.pdfa-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.pdfa-item { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 6px 8px; margin: 0; font-size: .9rem; }
.pdfa-num { flex: none; width: 1.8em; height: 1.8em; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .8rem; }
.pdfa-thumb { flex: none; width: 44px; height: 44px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); background: var(--surface-2); }
.pdfa-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pdfa-name .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pdfa-name .fs { color: var(--text-2); font-size: .82rem; }
.pdfa-btns { flex: none; display: inline-flex; gap: 4px; }
.pdfa-btn { padding: 4px 8px; min-height: 36px; gap: 4px; }
.pdfa-btn .ico { width: 16px; height: 16px; }
.pdfa-help { margin: 6px 0 0; }
@media (max-width: 520px) {
  .pdfa-btn-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pdfa-btn { min-width: 40px; justify-content: center; }
  .pdfa-thumb { display: none; }
}
.pdfa-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.pdfa-pg { margin: 0; text-align: center; font-size: .82rem; }
.pdfa-pgbox { height: 124px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.pdfa-pgbox canvas { max-width: 110px; max-height: 110px; transition: transform .2s ease; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); background: #fff; }
.pdfa-pg.is-on .pdfa-pgbox { border-color: var(--primary); border-width: 2px; }
.pdfa-pg figcaption { margin-top: 4px; color: var(--text-2); }
.pdfa-pg.is-on figcaption { color: var(--primary); font-weight: 650; }
@media (prefers-reduced-motion: reduce) { .pdfa-pgbox canvas { transition: none; } }
.pdfa-note { margin: 8px 0 0; }
