.analytics-consent {
  position: fixed;
  z-index: 1000;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid #526756;
  border-radius: 12px;
  background: #0d1a0f;
  color: #f2f5f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  font: 14px/1.5 'Space Grotesk', system-ui, sans-serif;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 6px 0 0; max-width: 68ch; color: #c0cdc2; }
.analytics-consent a { color: #8ee7a3; text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.analytics-consent button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #8aab92;
  border-radius: 8px;
  color: #f2f5f0;
  background: #17351f;
  cursor: pointer;
  font: inherit;
}
.analytics-consent button:hover { background: #254b30; }
.analytics-consent button:focus-visible, .analytics-preferences:focus-visible { outline: 2px solid #f2f5f0; outline-offset: 3px; }
.analytics-preferences { border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 8px; }
@media (max-width: 700px) {
  .analytics-consent { flex-direction: column; align-items: stretch; gap: 16px; inset: auto 12px 12px; }
  .analytics-consent-actions { flex-wrap: wrap; }
  .analytics-consent-actions button { flex: 1; }
}
