.canvas-image-button{display:block;position:relative;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent}.canvas-image-button img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.picture>.canvas-image-button img{height:100%;aspect-ratio:auto;object-fit:cover}.photo-contain .canvas-image-button img{object-fit:contain}.canvas-image-button:focus-visible{outline-offset:-3px}.double-exposure .canvas-image-button:hover:not(:disabled){background:transparent}.photo .image-status{pointer-events:none}.canvas-image-viewer.zoom-dialog{width:min(760px,calc(100% - 28px));max-width:760px;padding:0;max-height:calc(100dvh - 28px);border-top:4px solid var(--accent)}.canvas-viewer-header,.gallery-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:14px;padding:22px 24px 15px;position:sticky;top:0;z-index:2;background:var(--paper)}.canvas-viewer-header h2#dialog-title,.gallery-dialog-header h2#dialog-title{margin:4px 0 0;font:27px/1.2 Georgia,serif}.canvas-viewer-header .dialog-close,.gallery-dialog-header .dialog-close{position:static;flex-shrink:0;width:44px;height:44px;margin:-7px -10px 0 0}.canvas-viewer-image{position:relative;margin:0 24px}.canvas-viewer-image:last-child{margin-bottom:24px}.canvas-image-viewer .zoomed-image{max-height:72dvh;aspect-ratio:auto}@media(max-width:600px){.canvas-viewer-header,.gallery-dialog-header{padding:20px 18px 12px}.canvas-viewer-header h2#dialog-title,.gallery-dialog-header h2#dialog-title{font-size:23px}.canvas-viewer-image{margin-inline:16px}}
