#privacy-consent { box-sizing: border-box; width: min(38rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; margin: auto; padding: 1.5rem; border: 1px solid #cbd5e1; border-radius: 1.5rem; background: #fff; color: #1e293b; font: inherit; box-shadow: 0 20px 70px #0f172a40; }
#privacy-consent::backdrop { background: #0f172a80; }
#privacy-consent p { margin: 1rem 0; line-height: 1.6; }
#privacy-consent a, .privacy-document a, .privacy-no-script a { color: #1d4ed8; text-decoration: underline; overflow-wrap: anywhere; }
.privacy-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.privacy-dialog-header h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.privacy-dialog-header button { min-width: 44px; min-height: 44px; font-size: 1.6rem; border: 1px solid #cbd5e1; border-radius: .75rem; background: white; color: #1e293b; }
#privacy-consent fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#privacy-consent legend { font-weight: 700; }
.privacy-choice { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 0; line-height: 1.5; }
.privacy-choice input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: #1d4ed8; }
.privacy-choice strong { display: block; margin-bottom: .25rem; }
.privacy-note { font-size: .875rem; color: #475569; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.privacy-actions button { flex: 1 1 9rem; min-height: 44px; padding: .75rem; border: 1px solid #1d4ed8; border-radius: .75rem; background: #fff; color: #1d4ed8; font-weight: 700; }
.privacy-actions button:hover { background: #eff6ff; }
#privacy-consent button, #privacy-chat-launcher { cursor: pointer; }
#privacy-consent :focus-visible, #privacy-chat-launcher:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
#privacy-chat-launcher { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 45; max-width: calc(100% - 2rem); min-height: 48px; padding: .75rem 1rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #1e293b; font-weight: 700; box-shadow: 0 4px 15px #0f172a30; }
#privacy-chat-status { position: fixed; right: 1rem; bottom: calc(5rem + env(safe-area-inset-bottom)); max-width: min(22rem, calc(100% - 2rem)); z-index: 46; background: white; padding: .75rem; border: 1px solid #cbd5e1; border-radius: .75rem; color: #1e293b; }
.privacy-no-script { margin: 1rem; text-align: center; }
.privacy-document { max-width: 64rem; margin: 0 auto; padding: 2rem 1rem 6rem; line-height: 1.75; overflow-wrap: anywhere; }
.privacy-document h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.privacy-document h2 { font-size: 1.4rem; font-weight: 750; margin-bottom: .75rem; }
.privacy-document section { border: 1px solid #e2e8f0; border-radius: 1.5rem; padding: 1.5rem; background: white; margin: 1.5rem 0; scroll-margin-top: 6rem; }
.privacy-document p, .privacy-document ul { margin: .75rem 0; }
.privacy-document ul { padding-left: 1.5rem; list-style: disc; }
/* Hide only the site's floating CTA while the chat is open, never the provider widget. */
html[data-support-chat-open] [data-whatsapp-collaboration-placement="floating"] { visibility: hidden; }
@media (max-width: 480px) { #privacy-consent { padding: 1rem; } .privacy-actions { flex-direction: column; } .privacy-actions button { flex-basis: auto; } }
