.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #173f5f;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 63, 95, 0.2);
  color: #173f5f;
}

.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 6px; font-size: 1.15rem; }
.analytics-consent p { max-width: 650px; margin: 0; line-height: 1.45; }
.analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 0 0 310px; }
.analytics-consent-actions button,
.analytics-privacy-choices {
  min-height: 44px;
  border: 2px solid #173f5f;
  border-radius: 999px;
  background: #fff;
  color: #173f5f;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.analytics-consent-actions button:hover,
.analytics-consent-actions button:focus-visible,
.analytics-privacy-choices:hover,
.analytics-privacy-choices:focus-visible { background: #eaf8fb; outline: 3px solid #ffd34e; outline-offset: 2px; }
.analytics-privacy-choices { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-weight: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  .analytics-consent { align-items: stretch; flex-direction: column; gap: 16px; }
  .analytics-consent-actions { flex: none; width: 100%; }
}
