/* organize-pdf: styles only it uses, split out of site.css by scripts/split-css.mjs. */
.pdf-pages { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pdf-page {
    width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px;
    border: 2px solid var(--line); border-radius: 12px; background: var(--paper); font: 500 0.88rem var(--text); color: var(--slate); cursor: pointer;
}
button.pdf-page:hover { border-color: var(--signal); }
.pdf-page-frame { position: relative; display: grid; place-items: center; height: 180px; }
.pdf-page-frame canvas { max-width: 130px; max-height: 180px; height: auto; box-shadow: var(--shadow-2); background: #fff; }
.pdf-blank { display: block; width: 110px; max-height: 170px; background: #fff; box-shadow: var(--shadow-2); }
.org-pages li { cursor: grab; }
.org-pages li.is-dragging { opacity: 0.4; }
.org-pages li.is-drop-target .pdf-page { border-color: var(--signal); background: var(--signal-soft); }
.org-pages .pdf-page { cursor: inherit; }
.pdf-page-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pdf-page-tools .btn-icon { min-width: 30px; padding: 3px 6px; font-size: 0.9rem; }
