.analytics-consent,
.analytics-settings {
  box-sizing: border-box;
  color: #303630;
  background: #fff;
  font: 400 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border: 1px solid #c9c7bd;
  box-shadow: 0 8px 30px #30363018;
  z-index: 90;
}
.analytics-consent {
  position: fixed;
  inset: auto 20px 20px auto;
  width: min(580px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px 24px 16px;
  border-radius: 6px;
}
.analytics-consent h2 {
  margin: 0 0 8px;
  font: 600 23px/1.2 "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
.analytics-consent p { margin: 0 0 10px; }
.analytics-consent a { color: #66513b; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.analytics-consent button,
.analytics-settings {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #82715d;
  border-radius: 3px;
  font: inherit;
  color: #554736;
  background: #fff;
  cursor: pointer;
}
.analytics-consent-actions button:not(.analytics-consent-close) { flex: 1 1 160px; }
.analytics-consent button:hover,
.analytics-settings:hover { background: #f4f2ed; }
.analytics-consent :focus-visible,
.analytics-settings:focus-visible { outline: 3px solid #66513b; outline-offset: 3px; }
.analytics-consent .analytics-consent-close { border-color: #d9ddd6; flex-basis: 100%; }
.analytics-consent .analytics-consent-status { margin: 12px 0 0; color: #62695f; font-size: 13px; }
.analytics-settings { position: fixed; inset: auto 16px 12px auto; font-size: 13px; }
.analytics-consent[hidden],
.analytics-settings[hidden],
.analytics-consent button[hidden] { display: none; }
@media (max-width: 520px) {
  .analytics-consent { inset: auto 12px 12px; width: calc(100% - 24px); padding: 18px; max-height: calc(100dvh - 24px); }
  .analytics-consent-actions { gap: 8px; }
  .analytics-consent button { font-size: 16px; }
  .analytics-settings { inset-inline-end: 12px; inset-block-end: 8px; }
}
