.analytics-consent[hidden], .analytics-settings[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 120;
  right: 16px;
  bottom: 16px;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #b9c4c9;
  border-radius: 6px;
  background: #fff;
  color: #101418;
  box-shadow: 0 8px 30px #0003;
  font-family: Gilroy, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}
.analytics-consent p { margin: 0 0 16px; font-size: 16px; line-height: 1.45; }
.analytics-consent a { color: #006f83; text-decoration: underline; }
.analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analytics-consent button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #66747b;
  border-radius: 4px;
  background: #fff;
  color: #101418;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}
.analytics-consent button[data-analytics-choice="granted"] { background: #101418; color: #fff; }
.analytics-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
}
.footer > .analytics-settings:not([hidden]) {
  display: block;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  text-align: left;
}
.analytics-consent button:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #008399; outline-offset: 3px; }
.analytics-noscript { font-size: 14px; text-align: center; }
@media (max-width: 720px) {
  .analytics-consent { right: 12px; bottom: 76px; width: calc(100% - 24px); max-height: calc(100dvh - 96px); padding: 16px; }
}
@media (max-width: 350px) {
  .analytics-consent-actions { grid-template-columns: 1fr; }
}
