.analytics-consent[hidden] { display: none; }

.analytics-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 10040;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  max-height: calc(100dvh - 32px);
  margin-inline: auto;
  padding: 22px 26px;
  overflow-y: auto;
  color: #1a2230;
  background: #fff;
  border: 1px solid #17345f;
  border-radius: 14px;
  box-shadow: 0 8px 40px #1f2f4633;
  font: 14px/1.5 Manrope, Arial, sans-serif;
}

.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: #17345f; }
.analytics-consent p { margin: 0 0 8px; }
.analytics-consent a { color: #17345f; text-decoration: underline; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.analytics-consent-actions button {
  flex: 1;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #17345f;
  border-radius: 8px;
  background: #17345f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #234d86; }
.analytics-settings {
  display: block;
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.analytics-consent :focus-visible, .analytics-settings:focus-visible {
  outline: 3px solid #ff5700;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .analytics-consent { inset: auto 10px 10px; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
}
