[data-analytics-preferences] { position: fixed; bottom: 12px; left: 12px; z-index: 1000; padding: 7px 11px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; color: #334155; font: 12px/1.4 system-ui, sans-serif; cursor: pointer; }
[data-analytics-preferences]:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }

/* Ook zonder inline styles blijft de toestemmingsdialoog bruikbaar. */
dialog.cf_modal { box-sizing: border-box; position: fixed; margin: auto; padding: 28px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; color: #172033; font: 15px/1.6 system-ui, sans-serif; box-shadow: 0 20px 70px #0003; }
dialog.cf_modal::backdrop { background: #0f172a66; backdrop-filter: blur(3px); }
.cf_modal h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.3; font-weight: 700; color: inherit; }
.cf_modal h3 { margin: 0 0 4px; font-size: 15px; color: inherit; }
.cf_modal p { margin: 0; font: inherit; }
.cf_modal hr { border: 0; border-top: 1px solid #e2e8f0; margin: 20px 0; }
.cf_modal .cf_consent-container { list-style: none; padding: 0; margin: 0 0 24px; }
.cf_modal .cf_consent-element { display: flex; gap: 12px; }
.cf_modal .cf_consent-element label { flex: 1; }
.cf_modal .cf_consent-element__checkbox-wrapper { padding-top: 3px; }
.cf_modal input[type=checkbox] { width: 18px; height: 18px; accent-color: #2563eb; }
.cf_modal .cf_consent-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; background: transparent; }
.cf_modal .cf_button { flex: 1 1 auto; margin: 0; height: auto; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #172033; font: 600 13px/1.4 system-ui, sans-serif; cursor: pointer; }
.cf_modal .cf_button:hover { background: #f1f5f9; }
.cf_modal .cf_button:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
