/* PDF cards use the same arrows as the full reader; the preview remains clickable. */
.document-card .pdf-miniature{height:200px;border-bottom:1px solid #d6cebf;background:#ded8cd}
.document-card .pdf-miniature>.document-preview{display:block;height:100%;border-bottom:0;padding-bottom:36px;cursor:grab;user-select:none;-webkit-user-select:none}
.document-card .pdf-miniature>.document-preview:active{cursor:grabbing}
.pdf-miniature-sheet{display:grid;width:100%;height:100%;place-items:center;overflow:hidden}
.pdf-miniature-sheet>img,.pdf-miniature-sheet>canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.pdf-miniature-sheet>canvas{filter:drop-shadow(0 4px 5px #0002)}
.pdf-miniature>.pdf-miniature-counter{position:absolute;z-index:6;bottom:7px;left:50%;transform:translateX(-50%);max-width:calc(100% - 16px);padding:3px 7px;border:1px solid #b7ae9e;background:#f6f3ed;color:#242821;font:10px/1.5 Manrope,Arial,sans-serif;white-space:nowrap;pointer-events:none}
.pdf-miniature>.pdf-edge-nav{top:calc(50% - 8px);color:#242821;background:#f6f3ed;border-color:#b7ae9e}
.pdf-miniature>.pdf-edge-prev{left:6px}.pdf-miniature>.pdf-edge-next{right:6px}
html[data-theme=dark] .document-card .pdf-miniature{background:#d1cec4}
@media(max-width:560px){.document-card .pdf-miniature{height:220px}}
