.analytics-consent {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--line, #dfe5ec);
  border-radius: 8px;
  background: #fff;
  color: var(--text, #17212f);
  box-shadow: 0 6px 30px #17212f14;
}
.analytics-consent[hidden] {
  display: none;
}
.analytics-consent h2 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.4;
}
.analytics-consent p {
  margin: 0;
  max-width: 680px;
  color: var(--muted, #596579);
  font-size: 14px;
  line-height: 1.5;
}
.analytics-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.analytics-consent-actions button {
  min-height: 44px;
  min-width: 96px;
  padding: 9px 16px;
  border: 1px solid var(--line, #dfe5ec);
  border-radius: 5px;
  background: #fff;
  color: var(--text, #17212f);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.analytics-consent-actions button:hover {
  border-color: var(--accent, #2457a7);
}
.analytics-consent button:focus-visible,
.analytics-preferences:focus-visible {
  outline: 2px solid var(--accent, #2457a7);
  outline-offset: 3px;
}
.analytics-footer {
  padding: 24px 0;
}
.analytics-preferences {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted, #596579);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 620px) {
  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .analytics-consent-actions button {
    flex: 1;
  }
}
