.analytics-consent[hidden] { display: none !important; }
.analytics-consent {
  position: fixed; z-index: 1000; inset: auto 20px 20px auto;
  box-sizing: border-box; width: min(440px, calc(100% - 40px));
  padding: 22px; border: 1px solid #cbd8ce; border-radius: 18px;
  background: #fff; color: #203329; box-shadow: 0 8px 40px #13271c26;
  font: 15px/1.5 system-ui, -apple-system, sans-serif;
  max-height: calc(100dvh - 40px); overflow-y: auto;
}
.analytics-consent h2 { font: 700 19px/1.3 system-ui, sans-serif; margin: 0 0 10px; }
.analytics-consent p { margin: 0 0 10px; }
.analytics-consent a { color: #245a3c; text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.analytics-choice { flex: 1 1 140px; background: #f5f8f5; color: #203329; border: 1px solid #687c6d;
  border-radius: 10px; padding: 11px 14px; font: 600 14px/1.3 system-ui, sans-serif; cursor: pointer; }
.analytics-choice:hover { background: #e6efe8; }
.analytics-consent :focus-visible, .analytics-settings:focus-visible { outline: 3px solid #347450; outline-offset: 3px; }
.analytics-settings { appearance: none; background: none; border: 0; padding: 5px; margin: 0;
  color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 480px) { .analytics-consent { inset: auto 12px 12px; width: auto; padding: 18px; max-height: calc(100dvh - 24px); } }
