.analytics-consent[hidden], [data-analytics-settings][hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(390px, calc(100% - 40px));
  box-sizing: border-box;
  padding: 20px 22px;
  border-radius: 22px;
  background: #eef4ec;
  color: #284b49;
  box-shadow: 0 8px 32px #183c351a;
  font: 14px/1.7 -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}
.analytics-consent p { margin: 0 0 12px; }
.analytics-consent .analytics-consent__title { font-weight: 600; }
.analytics-consent a { color: inherit; text-decoration: underline; margin-left: .3em; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-consent__actions button {
  min-height: 44px;
  flex: 1;
  border: 1px solid #b7cebe;
  border-radius: 24px;
  padding: 8px 12px;
  background: #f9fbf7;
  color: #284b49;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.analytics-consent button:focus-visible, [data-analytics-settings]:focus-visible { outline: 2px solid #276d59; outline-offset: 3px; }
[data-analytics-settings] { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.analytics-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 480px) {
  .analytics-consent { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 16px 18px; font-size: 13px; }
}
