.analytics-consent {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  left: 24px;
  width: min(920px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  margin-inline: auto;
  padding: 25px;
  overflow-y: auto;
  color: #192d32;
  background: #f7f7f2;
  border: 1px solid #aab8ad;
  border-radius: 5px;
  box-shadow: 0 8px 40px #192d3233;
  font-family: Arial, Helvetica, sans-serif;
}
.analytics-consent[hidden] { display: none !important; }
.analytics-consent h2 {
  margin: 0 0 12px;
  color: #192d32;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.analytics-consent p {
  max-width: 760px;
  margin: 0;
  color: #384c4b;
  font-size: 13px;
  line-height: 1.65;
}
.analytics-consent .analytics-consent-status {
  margin-top: 10px;
  font-size: 12px;
}
.analytics-consent .analytics-consent-status:empty { display: none; }
.analytics-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(360px, 100%);
  margin-top: 20px;
}
.analytics-consent-actions button {
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  background: #192d32;
  border: 1px solid #192d32;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #30474c; }
.analytics-consent-close {
  margin-top: 16px;
  padding: 5px 0;
  color: #192d32;
  background: transparent;
  border: 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-analytics-settings] {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.analytics-consent button:focus-visible,
[data-analytics-settings]:focus-visible {
  outline: 3px solid #436329;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .analytics-consent {
    right: 12px;
    bottom: calc(67px + env(safe-area-inset-bottom));
    left: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 100px - env(safe-area-inset-bottom));
    padding: 20px;
  }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent p { font-size: 12px; }
}
