.ga-consent,
.ga-consent__toggle {
  color: #162535;
  font-family: inherit;
  font-size: 0.95rem;
}

.ga-consent {
  position: fixed;
  z-index: 1000;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(4.5rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  width: min(32rem, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid #c2d0dc;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 35, 45, 0.18);
}

.ga-consent[hidden] {
  display: none;
}

.ga-consent h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.ga-consent p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.ga-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ga-consent button {
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #234f70;
  border-radius: 0.4rem;
  font: inherit;
  cursor: pointer;
}

.ga-consent__accept {
  color: #fff;
  background: #234f70;
}

.ga-consent__reject,
.ga-consent__toggle {
  color: #234f70;
  background: #fff;
}

.ga-consent button:focus-visible,
.ga-consent__toggle:focus-visible {
  outline: 3px solid #2f6f9f;
  outline-offset: 3px;
}

.ga-consent__toggle {
  position: fixed;
  z-index: 999;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #234f70;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(24, 35, 45, 0.16);
  cursor: pointer;
}
