/* Site-specific overrides. The preserved layout styles load before this file. */

.analytics-preferences {
  display: block;
  margin: 12px auto 28px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #aaa;
  font: 14px/1.5 "Instrument Sans", sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  z-index: 10001;
  bottom: 20px;
  left: 20px;
  width: min(580px, calc(100% - 40px));
  box-sizing: border-box;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #383838;
  border-radius: 16px;
  background: #111;
  color: #fff;
  box-shadow: 0 8px 40px #0008;
  font-family: "Instrument Sans", sans-serif;
  text-align: left;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 8px; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.4; }
.analytics-consent p { margin: 0; color: #bcbcbc; font-size: 15px; line-height: 1.6; }
.analytics-consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent .analytics-consent-status { margin-top: 8px; font-size: 13px; }
.analytics-consent .analytics-consent-status:empty { display: none; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.analytics-consent button {
  min-height: 44px;
  flex: 1 1 auto;
  padding: 11px 16px;
  border: 1px solid #777;
  border-radius: 9px;
  background: #202020;
  color: #fff;
  font: 500 15px/1.4 "Instrument Sans", sans-serif;
  cursor: pointer;
}
.analytics-consent button:hover { background: #333; }
.analytics-consent button:disabled { opacity: .45; cursor: default; }
.analytics-consent button[hidden] { display: none; }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible, .analytics-preferences:focus-visible { outline: 2px solid #ff5c00; outline-offset: 4px; }
@media (max-width: 480px) {
  .analytics-consent { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
}
