/* delete-pdf-pages: 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-page.is-deleted { border-color: var(--bad); background: var(--bad-soft); }
.pdf-page.is-deleted .pdf-page-frame canvas { opacity: 0.35; }
.pdf-page.is-deleted .pdf-page-frame::after {
    content: "×"; position: absolute; inset: 0; display: grid; place-items: center;
    font: 800 4rem/1 var(--display); color: var(--bad);
}
