.analytics-consent {
  position: fixed;
  inset: auto 20px 20px 20px;
  z-index: 10000;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  color: #1c1c1a;
  background: #ffffff;
  border: 1px solid #9eb5b1;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(16, 54, 60, 0.22);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.analytics-consent[hidden], .analytics-preferences[hidden] { display: none; }
.analytics-consent__title { margin: 0 0 8px; color: #10363c; font-size: 1rem; font-weight: 700; }
.analytics-consent__text { margin: 0; color: #3e403c; font-size: .88rem; line-height: 1.5; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.analytics-consent__button, .analytics-preferences {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #17464d;
  border-radius: 7px;
  font: 600 .82rem/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
.analytics-consent__button--accept { color: #fff; background: #17464d; }
.analytics-consent__button--reject { color: #17464d; background: #fff; }
.analytics-consent__button:focus-visible, .analytics-preferences:focus-visible { outline: 3px solid #8db7bd; outline-offset: 2px; }
.analytics-preferences {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9999;
  min-height: 34px;
  padding: 7px 10px;
  color: #17464d;
  background: rgba(255,255,255,.96);
  border-color: #9eb5b1;
  box-shadow: 0 4px 14px rgba(16,54,60,.14);
  font-size: .72rem;
}
@media (max-width: 600px) {
  .analytics-consent { inset: auto 10px 10px 10px; padding: 15px; }
  .analytics-consent__actions { flex-direction: column; }
  .analytics-consent__button { width: 100%; }
}
