.analytics-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 90;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 440px;
  max-width: calc(100% - 40px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  margin: 0;
  padding: 16px 18px 6px;
  color: var(--grafite, #18201e);
  background: var(--papel, #f5f6f2);
  border: 1px solid var(--rule, #cfd6d2);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgb(10 41 36 / 12%);
  font-family: var(--font-b, 'Barlow', system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.45;
}
.analytics-consent h2 {
  margin: 0 0 6px;
  color: var(--azul, #0a2924);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: normal;
}
.analytics-consent p { margin: 0 0 8px; }
.analytics-consent [data-consent-status] { font-size: 12px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-consent-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 500;
  color: var(--azul, #0a2924);
  background: transparent;
  border: 1px solid var(--azul, #0a2924);
  border-radius: 4px;
  cursor: pointer;
}
.analytics-consent-actions button[data-consent-choice="accept"],
.analytics-consent-actions button[data-consent-choice="reject"] { flex: 1 1 0; }
.analytics-consent-actions button:hover { background: var(--rule, #cfd6d2); }
.analytics-consent > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--azul, #0a2924);
  font-size: 13px;
  text-underline-offset: 3px;
}
.analytics-consent :is(button, a):focus-visible {
  outline: 2px solid var(--azul, #0a2924);
  outline-offset: 3px;
}
.analytics-consent-actions button[hidden] { display: none; }
@media (max-width: 600px) {
  .analytics-consent {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100% - 24px);
    padding: 14px 14px 4px;
  }
}
