.gg-measurement-consent { font: inherit; color: #17243a; }
.gg-measurement-consent [hidden] { display: none !important; }
.gg-consent-banner, .gg-consent-dialog { box-sizing: border-box; background: #fff; color: #17243a; border: 1px solid #8393a9; border-radius: 12px; padding: 20px; }
.gg-consent-banner { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 64px; max-width: 820px; margin: auto; max-height: calc(100dvh - 96px); overflow: auto; box-shadow: 0 8px 32px #17243a33; }
.gg-consent-banner h2, .gg-consent-dialog h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 12px; }
.gg-consent-banner p, .gg-consent-dialog p { font-size: 1rem; line-height: 1.5; margin: 8px 0 16px; }
.gg-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gg-consent-button { font: inherit; font-weight: 600; line-height: 1.25; border: 1px solid #345878; border-radius: 8px; background: #fff; color: #17243a; min-height: 44px; padding: 10px 14px; cursor: pointer; }
.gg-consent-button:hover { background: #eef5ff; }
.gg-consent-button:focus-visible, .gg-consent-option input:focus-visible, .gg-consent-legal a:focus-visible { outline: 3px solid #0062cc; outline-offset: 3px; }
.gg-consent-button:disabled { cursor: wait; opacity: .65; }
.gg-consent-preferences { position: fixed; z-index: 1000; left: 16px; bottom: 12px; box-shadow: 0 2px 12px #17243a22; }
.gg-consent-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.gg-consent-dialog::backdrop { background: #17243a99; }
.gg-consent-dialog:not([open]) { display: none; }
.gg-consent-dialog[open] { display: block; }
.gg-consent-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; cursor: pointer; border-top: 1px solid #d9e2ed; }
.gg-consent-option input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: #0062cc; }
.gg-consent-description { display: block; margin-top: 5px; line-height: 1.5; }
.gg-consent-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.gg-consent-legal a { color: #004d9e; text-decoration: underline; }
.gg-consent-status:empty { display: none; }
@media (max-width: 420px) {
  .gg-consent-banner { left: 8px; right: 8px; padding: 16px; }
  .gg-consent-actions { flex-direction: column; align-items: stretch; }
  .gg-consent-dialog { padding: 16px; }
  .gg-consent-preferences { left: 8px; }
}
