.analytics-consent {
  position: fixed; inset: auto 20px 20px auto; z-index: 1000;
  box-sizing: border-box; width: min(540px, calc(100% - 40px));
  max-height: calc(100dvh - 40px); overflow-y: auto; margin: 0; padding: 24px;
  border: 1px solid #bccfbd; border-radius: 18px;
  background: #fffefa; color: #113b2d; box-shadow: 0 8px 36px rgb(6 28 22 / 16%);
  font-family: Arial, sans-serif; font-size: 16px; line-height: 1.55;
}
.analytics-consent h2 { margin: 0 0 12px; font: 700 22px/1.3 Arial, sans-serif; }
.analytics-consent p { margin: 0 0 16px; }
.analytics-consent a { color: #113b2d; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; gap: 12px; }
.analytics-consent-actions button {
  flex: 1; min-height: 46px; padding: 10px 14px; border: 1px solid #9db69f;
  border-radius: 10px; background: #eef3e8; color: #113b2d;
  font: 700 16px/1.4 Arial, sans-serif; cursor: pointer;
}
.analytics-consent-actions button:hover { background: #e1ead8; }
.analytics-preferences {
  border: 0; padding: 10px 4px; min-height: 44px; background: transparent;
  color: inherit; font: inherit; text-decoration: underline; cursor: pointer;
}
.analytics-consent :focus-visible, .analytics-preferences:focus-visible {
  outline: 3px solid #113b2d; outline-offset: 3px;
}
@media (max-width: 420px) {
  .analytics-consent { inset: auto 12px 12px; width: calc(100% - 24px); padding: 18px; }
}
