/* Shared by the account page and standalone studio: the modal covers the screen,
   even when the studio is inside a tall iframe. */
html.paese-photo-open{overflow:hidden}
.paese-photo-preview{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(var(--photo-preview-width,800px),calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:16px;border:1px solid #d4dfed;border-radius:20px;background:#fff;color:#172d49;box-shadow:0 24px 90px #081a2c55;overflow:auto;font-family:system-ui,sans-serif}
.paese-photo-preview::backdrop{background:#07172bd9;backdrop-filter:blur(6px)}
.paese-photo-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:0;border:0;background:transparent;backdrop-filter:none}
.paese-photo-header::before,.paese-photo-header::after{display:none}
.paese-photo-header>div{min-width:0}
.paese-photo-header span{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#587088}
.paese-photo-header h2{font-family:inherit;font-size:18px;font-weight:650;line-height:1.4;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.paese-photo-close{flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid #d4dfed;border-radius:50%;background:#f5f8fc;color:#172d49;font-size:28px;line-height:1;cursor:pointer}
.paese-photo-surface{display:grid;place-items:center;height:min(var(--photo-preview-height,448px),calc(100dvh - 205px));min-height:60px;border-radius:12px;background:#101e30;overflow:hidden}
.paese-photo-surface img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}
.paese-photo-surface p{font-size:14px;line-height:1.5;color:#fff;text-align:center;padding:20px}
.paese-photo-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
.paese-photo-footer p{font-size:12px;line-height:1.4;color:#587088;margin:0}
.paese-photo-choose{flex-shrink:0;border:0;border-radius:10px;padding:13px 18px;min-height:44px;background:#086cdf;color:#fff;font:600 14px system-ui,sans-serif;cursor:pointer}
.paese-photo-choose:disabled{opacity:.55;cursor:default}
.paese-photo-preview button:focus-visible{outline:3px solid #0875ed;outline-offset:3px}
.paese-photo-preview [hidden]{display:none!important}
@media(max-width:500px){.paese-photo-preview{padding:12px;border-radius:16px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.paese-photo-header h2{font-size:15px}.paese-photo-footer{gap:8px;flex-wrap:wrap}.paese-photo-choose{width:100%}.paese-photo-surface{height:min(var(--photo-preview-height,400px),calc(100dvh - 245px))}}
