.research-gallery{min-width:0}.research-gallery__viewer{margin:0;text-align:center;min-width:0}.research-gallery__viewer img{display:block;width:auto;height:auto;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}.research-gallery__viewer figcaption{white-space:pre-line;overflow-wrap:anywhere;margin:.6rem 0}.research-gallery__enlarge{display:inline-block;padding:0;border:0;background:transparent;max-width:100%;cursor:zoom-in}.research-gallery__navigation,.research-gallery__ribbon-controls,.research-gallery__zoom-controls{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.7rem 0}.research-gallery button{font:inherit;cursor:pointer}.research-gallery button:disabled{cursor:default;opacity:.5}.research-gallery__invitation{font-size:.95rem}.research-gallery__ribbon{display:flex;gap:1rem;overflow-x:auto;overscroll-behavior-x:contain;padding:.4rem .25rem 1rem;scroll-snap-type:x proximity}.research-gallery__thumbnail{flex:0 0 112px;min-width:0;margin:0;scroll-snap-align:start}.research-gallery__thumbnail img{display:block;width:100px;height:100px;object-fit:contain;margin:auto}.research-gallery__thumbnail button{padding:4px;border:2px solid transparent;border-radius:5px;background:transparent}.research-gallery__thumbnail button[aria-pressed=true]{border-color:currentColor}.research-gallery__thumbnail figcaption{font-size:.85rem;white-space:pre-line;overflow-wrap:anywhere;margin-top:.4rem}.research-gallery :focus-visible{outline:3px solid currentColor;outline-offset:3px}.research-gallery__zoom{box-sizing:border-box;width:min(96vw,1200px);max-width:96vw;max-height:96vh;padding:1rem;border-radius:8px;background:var(--surface,#f5f3ed);color:var(--text,#202a30)}.research-gallery__zoom::backdrop{background:#000b}.research-gallery__zoom-stage{position:relative;overflow:hidden;height:65vh;min-height:180px;background:#18232b;touch-action:none;cursor:grab}.research-gallery__zoom-stage:active{cursor:grabbing}.research-gallery__zoom-stage img{position:absolute;left:50%;top:50%;max-width:none!important;max-height:none!important;transform-origin:center;user-select:none;pointer-events:none}.research-gallery__zoom-stage img:not([src]){display:none}@media(prefers-reduced-motion:reduce){.research-gallery__ribbon{scroll-behavior:auto}}

.research-gallery [hidden]{display:none!important}.research-gallery__missing{display:flex;width:100px;height:100px;align-items:center;justify-content:center;text-align:center;font-size:.85rem;background:#8882}

body.public-object-item-page .section:has(.research-gallery){min-width:0}

.research-gallery__image-area{position:relative;min-width:0}
.research-gallery__loading{z-index:2;display:none;position:absolute;top:12px;right:12px;width:18px;height:18px;margin:0;border:3px solid #3d654a55;border-top-color:#243f2f;border-radius:50%;box-shadow:0 0 0 5px var(--surface,#fffaf2);animation:research-loading 1s linear infinite;pointer-events:none}
.research-gallery__image-area[data-state=loading] .research-gallery__loading{display:block}
.research-gallery__unavailable{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px;text-align:center;background:var(--surface,#fffaf2);box-sizing:border-box}
.research-gallery__unavailable p{margin:0}
.research-gallery__status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:-1px;padding:0;border:0}
@keyframes research-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.research-gallery__loading{animation:none}}
