.analytics-consent[hidden], .analytics-settings[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 1500;
  max-width: 1040px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid #cdd8e3;
  border-radius: 12px;
  background: #fff;
  color: #081c40;
  box-shadow: 0 8px 32px rgba(8, 28, 64, .2);
  display: flex;
  align-items: center;
  gap: 24px;
}
.analytics-consent h2 { margin: 0 0 6px; font-size: 18px; }
.analytics-consent p { margin: 0; font-size: 14px; line-height: 1.5; }
.analytics-consent a { color: #081c40; text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.analytics-consent-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #081c40;
  border-radius: 8px;
  background: #081c40;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #17385e; }
.analytics-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.analytics-settings:hover { text-decoration: underline; }
.analytics-consent :focus-visible, .analytics-settings:focus-visible { outline: 3px solid #e05a00; outline-offset: 3px; }
@media (max-width: 780px) {
  .analytics-consent { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .analytics-consent-actions button { flex: 1; }
}
