/* Optional GA4 preference controls; independent of third-party widgets. */
#tp-ga4-consent[hidden] { display: none !important; }
#tp-ga4-consent { position: fixed; z-index: 2147483000; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); margin: 0 auto; max-width: 560px; box-sizing: border-box; background: #fff; color: #15283b; border: 1px solid #bfc8d1; border-radius: 12px; box-shadow: 0 12px 38px rgba(0,0,0,.25); padding: 20px; font: 400 15px/1.5 system-ui, sans-serif; }
#tp-ga4-consent h2 { font-size: 20px; line-height: 1.2; margin: 0 0 10px; color: #091b47; }
#tp-ga4-consent p { margin: 0 0 10px; }
#tp-ga4-consent-state { font-size: 13px; color: #455468; }
.tp-ga4-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-ga4-consent-actions button { font: inherit; font-weight: 600; background: #091b47; color: #fff; border: 1px solid #091b47; border-radius: 6px; min-height: 44px; padding: 8px 14px; cursor: pointer; }
.tp-ga4-consent-actions button[data-tp-ga4-deny], .tp-ga4-consent-actions button[data-tp-ga4-close] { background: #fff; color: #091b47; }
.tp-ga4-consent-actions button:disabled { opacity: .5; cursor: not-allowed; }
.tp-ga4-consent-actions button:focus-visible, [data-tp-privacy-settings]:focus-visible { outline: 3px solid #1e6bb8; outline-offset: 3px; }
[data-tp-privacy-settings] { color: inherit; font: inherit; border: 0; background: transparent; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { #tp-ga4-consent { max-height: 75vh; overflow: auto; padding: 16px; bottom: max(12px, env(safe-area-inset-bottom)); } }
