/* Digital Space — polish.css (v101): app-wide fixes. Loads last. */

/* Pop-ups are capped to the screen height (fresh.css) but did not scroll, so long ones
   (Pricing, Quote branding, Discovery…) spilled outside their own box. Scroll inside
   instead, with the title bar and the button bar pinned. */
html body .overlay .modal{ overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; }
html body .overlay .modal > .modal-h{ position:sticky; top:0; z-index:6; }
html body .overlay .modal .mfoot{ position:sticky; bottom:0; z-index:5; background:var(--card); }
html body.glass:not(.dark) .overlay .modal .mfoot{ background:color-mix(in srgb,var(--card) 92%,transparent); backdrop-filter:blur(8px); }
html body .overlay .modal{ margin-bottom:0!important; }
@media (min-width:861px){ html body .overlay{ padding-top:16px!important; padding-bottom:16px!important; } }
