/* Compact, nonmodal and keyboard-accessible. No backdrop or scroll lock. */
.analytics-consent-banner[hidden] { display: none !important; }
.analytics-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 14px;
  bottom: 14px;
  width: min(470px, calc(100vw - 28px));
  box-sizing: border-box;
  display: grid;
  gap: 9px;
  padding: 13px 38px 13px 16px;
  color: #243747;
  background: #fff;
  border: 1px solid #c9d3db;
  border-left: 4px solid #082b49;
  border-radius: 9px;
  box-shadow: 0 5px 20px rgba(8,43,73,.17);
  font: 13px/1.4 Arial, Helvetica, sans-serif;
}
.analytics-consent-copy { min-width: 0; }
.analytics-consent-title {
  margin: 0 0 3px;
  color: #082b49;
  font: 700 14px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
.analytics-consent-copy p { font: inherit; margin: 0; }
.analytics-consent-copy a { color: #082b49; text-decoration: underline; text-underline-offset: 2px; }
.analytics-consent-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.analytics-consent-choice {
  min-height: 36px;
  min-width: 109px;
  padding: 7px 12px;
  border: 1px solid #082b49;
  border-radius: 5px;
  background: #082b49;
  color: white;
  font: 700 12px/1.3 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.analytics-consent-choice:hover { background: #164663; }
.analytics-consent-decline { background: white; color: #082b49; }
.analytics-consent-decline:hover { background: #f0f4f7; }
.analytics-consent-close {
  position: absolute;
  right: 6px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #263d50;
  font: 24px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.analytics-consent-close:hover { background: #edf1f4; }
.analytics-consent-choice:focus-visible,
.analytics-consent-close:focus-visible,
.privacy-choice-trigger:focus-visible {
  outline: 3px solid #c8943c;
  outline-offset: 2px;
}
.analytics-consent-status { font-weight: 700 !important; margin-top: 5px !important; }
.privacy-choice-trigger {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 520px) {
  .analytics-consent-banner {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    padding: 10px 36px 10px 12px;
    gap: 7px;
    font-size: 12px;
  }
  .analytics-consent-title { font-size: 13px; }
  .analytics-consent-choice { min-height: 34px; padding: 6px 10px; }
}
