.analytics-consent {
  position: fixed;
  z-index: 1000;
  inset: auto 20px 20px;
  max-width: 1060px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin-inline: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  color: #142941;
  border: 1px solid #cdd9e8;
  border-top: 3px solid #245de9;
  border-radius: 12px;
  box-shadow: 0 12px 48px #14294126;
  font-size: 1rem;
  line-height: 1.5;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: normal; }
.analytics-consent p { margin: 8px 0 0; }
.analytics-consent a { color: #194dc6; text-decoration: underline; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 190px; }
.analytics-consent-actions button {
  width: 100%; padding: 11px 14px; border: 1px solid #245de9;
  border-radius: 6px; background: #f1f5ff; color: #173f9e;
  font: inherit; font-weight: 600; cursor: pointer;
}
.analytics-consent-actions button:hover { background: #e4ecff; }
.analytics-preferences { font: inherit; font-size: .875rem; padding: 8px; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.analytics-consent button:focus-visible, .analytics-preferences:focus-visible, .analytics-consent a:focus-visible { outline: 3px solid #245de9; outline-offset: 3px; }
.analytics-consent-status:empty { display: none; }
@media (max-width: 700px) {
  .analytics-consent { inset: auto 10px 10px; padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; }
  .analytics-consent-actions { flex: auto; }
  .analytics-consent-actions button { flex: 1 1 160px; width: auto; }
}
