/* Same-page popup: a bottom sheet on a phone, a centred card on a wide screen. */
.pp-modal{position:fixed;inset:0;z-index:50;background:rgba(25,56,78,.55);display:flex;align-items:flex-end;justify-content:center}
.pp-modal[hidden]{display:none}
.pp-sheet{position:relative;background:var(--card,#fff);color:var(--ink,#233b4c);width:100%;max-width:560px;max-height:calc(100dvh - 92px);overflow:auto;border-radius:18px 18px 0 0;padding:22px 18px calc(22px + env(safe-area-inset-bottom,0px))}
.pp-close{position:absolute;top:6px;right:6px;width:44px;height:44px;border:0;background:none;font-size:28px;line-height:1;color:var(--muted,#526a7a);cursor:pointer}
.pp-lock{overflow:hidden}
@media (min-width:640px){.pp-modal{align-items:center}.pp-sheet{border-radius:18px;max-height:calc(100dvh - 64px)}}
