.document-gallery-module__wkGM_W__gallery{gap:2.5rem;min-width:0;display:grid}.document-gallery-module__wkGM_W__grid{grid-template-columns:minmax(0,1fr);gap:1.25rem;display:grid}.document-gallery-module__wkGM_W__card{border:1px solid var(--color-line);border-radius:var(--radius);background:var(--color-card);min-width:0;overflow:hidden}.document-gallery-module__wkGM_W__preview{cursor:zoom-in;background:#f5f5f2;width:100%;height:260px;padding:1rem;display:block}.document-gallery-module__wkGM_W__preview img{object-fit:contain;width:100%;height:100%}.document-gallery-module__wkGM_W__preview:hover{background:#e9e9e3}.document-gallery-module__wkGM_W__preview:focus-visible{outline-offset:-5px;outline:3px solid #192616}.document-gallery-module__wkGM_W__dialog{border:1px solid var(--color-line);border-radius:var(--radius);background:var(--color-card);width:min(1200px,100vw - 1.5rem);max-width:none;height:min(900px,100dvh - 1.5rem);max-height:none;color:var(--color-ink);margin:auto;padding:1rem;position:fixed;inset:0}.document-gallery-module__wkGM_W__dialog[open]{flex-direction:column;gap:.75rem;display:flex}.document-gallery-module__wkGM_W__dialog::backdrop{background:#000000bf}.document-gallery-module__wkGM_W__toolbar{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.document-gallery-module__wkGM_W__toolbar h2{margin:0}.document-gallery-module__wkGM_W__toolbar button{flex-shrink:0}.document-gallery-module__wkGM_W__controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.document-gallery-module__wkGM_W__dialog button,.document-gallery-module__wkGM_W__dialog a{border:1px solid var(--color-line);border-radius:.35rem;min-height:44px;padding:.5rem .75rem}.document-gallery-module__wkGM_W__dialog button{cursor:pointer}.document-gallery-module__wkGM_W__dialog button:hover:not(:disabled),.document-gallery-module__wkGM_W__dialog a:hover{background:var(--color-section)}.document-gallery-module__wkGM_W__dialog button:disabled{opacity:.4;cursor:default}.document-gallery-module__wkGM_W__dialog a{color:var(--color-link);text-underline-offset:3px;text-decoration:underline}.document-gallery-module__wkGM_W__dialog :focus-visible{outline:2px solid var(--color-link);outline-offset:2px}.document-gallery-module__wkGM_W__viewport{overscroll-behavior:contain;background:#f5f5f2;flex:1;min-height:100px;overflow:auto}.document-gallery-module__wkGM_W__fullImage{object-fit:contain;width:100%;max-width:none;height:100%;display:block}@media (min-width:640px){.document-gallery-module__wkGM_W__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.document-gallery-module__wkGM_W__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:no-preference){.document-gallery-module__wkGM_W__preview,.document-gallery-module__wkGM_W__dialog button,.document-gallery-module__wkGM_W__dialog a{transition:background-color .18s}}
