.analytics-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 100;
  width: min(860px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #fff;
  color: #122033;
  box-shadow: 0 8px 40px rgb(7 25 46 / 18%);
  font-family: "DM Sans", sans-serif;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent-copy { flex: 1; }
.analytics-consent h2 {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.analytics-consent p { margin: 0 0 8px; font-size: .83rem; line-height: 1.55; }
.analytics-consent a { color: #122033; font-size: .78rem; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; flex-direction: column; gap: 10px; }
.analytics-consent-actions button {
  min-width: 152px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #07192e;
  border-radius: 3px;
  background: #fff;
  color: #07192e;
  font: inherit;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #f3f6f9; }
footer .cookie-preferences {
  padding: 0;
  border: 0;
  background: none;
  color: #c4d0db;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
  text-align: left;
}
footer .cookie-preferences:hover { color: #f0d9ad; }
@media (max-width: 600px) {
  .analytics-consent { inset: auto 12px 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .analytics-consent-actions { flex-direction: row; flex-wrap: wrap; }
  .analytics-consent-actions button { flex: 1; min-width: 115px; }
}
