.art-dialog{width:min(1200px,94vw);height:90dvh;padding:3.5rem 1rem 1rem;box-sizing:border-box;max-height:94dvh}.zoom-stage{height:calc(100% - 3rem);width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none}.art-dialog .zoom-stage img{max-width:100%;max-height:100%;margin:0;flex-shrink:0;user-select:none;transform-origin:center;will-change:transform}.zoom-controls{position:absolute;left:1rem;top:.65rem;display:flex;align-items:center;gap:.35rem;height:44px}.zoom-controls button{height:36px;min-width:36px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;cursor:pointer;padding:0 .6rem}.zoom-controls output{font-size:.8rem;min-width:3.2rem;text-align:center}.zoom-controls button span{font-size:.8rem}.zoom-stage.is-zoomed{cursor:grab}.zoom-stage.is-dragging{cursor:grabbing}.dialog-caption{text-align:left;margin:.7rem 0 0}