.ppd-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 8, 12, 0);
    transition: background .45s cubic-bezier(.16, 1, .3, 1);
}
.ppd-overlay.is-open { background: rgba(8, 8, 12, .55); }
.ppd-sheet {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    border-radius: 18px;
    border: 1px solid var(--border, #ececec);
    background: var(--surface, #fff);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45);
    opacity: 0;
    transform: translateY(18px) scale(.98);
    transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
}
.ppd-overlay.is-open .ppd-sheet { opacity: 1; transform: none; }
.ppd-corpo .hs-custom { padding: 22px 22px 22px; }
.ppd-fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted, #888);
    cursor: pointer;
    transition: background .4s cubic-bezier(.16, 1, .3, 1), color .4s cubic-bezier(.16, 1, .3, 1);
}
.ppd-fechar:hover { background: rgba(127, 127, 140, .12); color: var(--text, #1a1a1a); }
.ppd-fechar:focus-visible { outline: 2px solid #e01f1f; outline-offset: 2px; }

[data-theme="dark"] .ppd-sheet { background: #17171a; border-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .ppd-fechar:hover { color: #f4f4f5; }

@media (max-width: 560px) {
    .ppd-overlay { align-items: flex-end; padding: 0; }
    .ppd-sheet {
        max-width: none;
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        max-height: 92dvh;
        padding-bottom: env(safe-area-inset-bottom);
        transform: translateY(40px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ppd-overlay, .ppd-sheet { transition: none; }
}
