.alta-analytics-consent[hidden] { display: none; }
.alta-analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid #dce2ee;
  background: #fff;
  color: #151a27;
  box-shadow: 0 14px 40px rgb(10 31 79 / .16);
  font: 400 .9375rem/1.5 Onest, sans-serif;
}
.alta-analytics-consent h2 { margin: 0 0 8px; font: 700 1.1875rem/1.25 Onest, sans-serif; }
.alta-analytics-consent p { margin: 0 0 8px; }
.alta-analytics-consent a { color: #112691; text-underline-offset: .2em; }
.alta-analytics-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.alta-analytics-consent__actions button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #112691;
  background: #112691;
  color: #fff;
  font: 600 .9375rem Onest, sans-serif;
  cursor: pointer;
}
.alta-analytics-consent__actions button[data-consent="declined"] { background: #fff; color: #112691; }
.alta-analytics-consent__actions button:hover { background: #1b38ad; color: #fff; }
.alta-analytics-consent :focus-visible,
.alta-analytics-settings:focus-visible { outline: 3px solid #7e9bff; outline-offset: 3px; }
.alta-analytics-settings {
  display: block;
  margin: 0 auto;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
@media (max-width: 420px) {
  .alta-analytics-consent { right: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 16px; }
  .alta-analytics-consent__actions button { flex: 1 1 120px; }
}
