.PhotoDialog_dialog__tUyQW{width:min(100vw - 2rem,90rem);max-width:none;max-height:calc(100dvh - 2rem);margin:auto;padding:0;border:0;background:var(--color-ink);color:var(--color-paper)}.PhotoDialog_dialog__tUyQW::backdrop{background:rgb(24 24 24/92%)}.PhotoDialog_dialogBody__sg2N_{display:grid;grid-template-rows:auto 1fr auto;max-height:calc(100dvh - 2rem);min-height:min(30rem,calc(100dvh - 2rem))}.PhotoDialog_captionBar__19a5m,.PhotoDialog_toolbar__fPjnN{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;padding:var(--space-3) var(--space-4);background:var(--color-ink)}.PhotoDialog_toolbar__fPjnN{justify-content:space-between;border-bottom:1px solid rgb(246 241 232/35%)}.PhotoDialog_toolbarGroup__Ej32w{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.PhotoDialog_toolbar__fPjnN a,.PhotoDialog_toolbar__fPjnN button{min-block-size:var(--control-min-height);padding:.65rem .85rem;border:2px solid var(--color-paper);border-radius:var(--radius-control);background:transparent;color:var(--color-paper);font-weight:600;text-decoration:none}.PhotoDialog_toolbar__fPjnN a:focus-visible,.PhotoDialog_toolbar__fPjnN a:hover,.PhotoDialog_toolbar__fPjnN button:focus-visible,.PhotoDialog_toolbar__fPjnN button:hover:not(:disabled){background:var(--color-pink);color:var(--color-ink)}.PhotoDialog_toolbar__fPjnN button:disabled{border-color:rgb(246 241 232/45%);color:rgb(246 241 232/65%);cursor:not-allowed}.PhotoDialog_imageRegion__lxwRy{display:grid;min-height:0;place-items:center;padding:var(--space-4);overflow:auto;background:var(--color-ink)}.PhotoDialog_image__0izZS{display:block;width:auto;max-width:100%;max-height:min(68dvh,52rem);height:auto;-o-object-fit:contain;object-fit:contain}.PhotoDialog_error__rf4ze,.PhotoDialog_loading__Tyrq8{display:grid;gap:var(--space-3);justify-items:center;max-width:34rem;padding:var(--space-8);text-align:center}.PhotoDialog_error__rf4ze p,.PhotoDialog_loading__Tyrq8 p{margin:0}.PhotoDialog_errorActions__8xbQF{display:flex;justify-content:center;gap:var(--space-3);flex-wrap:wrap}.PhotoDialog_errorActions__8xbQF a,.PhotoDialog_errorActions__8xbQF button{min-block-size:var(--control-min-height);padding:.65rem .85rem;border:2px solid var(--color-paper);border-radius:var(--radius-control);background:var(--color-paper);color:var(--color-ink);font-weight:600;text-decoration:none}.PhotoDialog_captionBar__19a5m{align-items:flex-start;justify-content:space-between;border-top:1px solid rgb(246 241 232/35%)}.PhotoDialog_caption__Omfe_{max-width:54rem;margin:0;line-height:1.5}.PhotoDialog_caption__Omfe_ strong{display:block}.PhotoDialog_visuallyHidden__4ydfA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:30rem){.PhotoDialog_dialog__tUyQW{width:100vw;max-height:100dvh}.PhotoDialog_dialogBody__sg2N_{max-height:100dvh}.PhotoDialog_imageRegion__lxwRy{padding:var(--space-2)}.PhotoDialog_image__0izZS{max-height:60dvh}}@media (forced-colors:active){.PhotoDialog_captionBar__19a5m,.PhotoDialog_dialog__tUyQW,.PhotoDialog_dialog__tUyQW::backdrop,.PhotoDialog_imageRegion__lxwRy,.PhotoDialog_toolbar__fPjnN{background:Canvas;color:CanvasText}.PhotoDialog_errorActions__8xbQF a,.PhotoDialog_errorActions__8xbQF button,.PhotoDialog_toolbar__fPjnN a,.PhotoDialog_toolbar__fPjnN button{border-color:ButtonText;background:ButtonFace;color:ButtonText}}