.fm-photo-dialog{border:0;border-radius:8px;padding:52px 24px 18px;width:min(1200px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);margin:auto;background:#fff;color:#20231f;box-sizing:border-box;overflow:auto;box-shadow:0 20px 80px #0005}.fm-photo-dialog::backdrop{background:#101510d9}.fm-photo-dialog figure{margin:0;display:flex;flex-direction:column;align-items:center}.fm-photo-dialog figure img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 200px);max-height:calc(100dvh - 200px);object-fit:contain}.fm-photo-dialog figcaption{font:14px/1.5 Arial,sans-serif;text-align:center;margin:14px 0 0}.fm-photo-dialog button{border:1px solid #d8dcd2;background:#f6f7f0;color:#20231f;min-width:44px;min-height:44px;font:24px/1 Arial,sans-serif;border-radius:4px;cursor:pointer}.fm-photo-close{position:absolute;right:12px;top:7px}.fm-photo-nav{display:flex;gap:22px;align-items:center;justify-content:center;margin-top:14px}.fm-photo-nav span{font:13px Arial,sans-serif;min-width:40px;text-align:center}.fm-photo-nav button:disabled{opacity:.3;cursor:default}.fm-photo-dialog button:focus-visible{outline:3px solid #b78e00;outline-offset:3px}@media(max-width:600px){.fm-photo-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:54px 10px 14px}.fm-photo-dialog figcaption{font-size:12px}.fm-photo-dialog figure img{max-height:calc(100dvh - 210px)}}
