.analytics-consent {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 1000;
  box-sizing: border-box;
  width: min(410px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid #b7c9dc;
  background: #fff;
  color: #20324a;
  box-shadow: 0 12px 36px #20324a26;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 6px; font-size: 18px; }
.analytics-consent p { margin: 0; font-size: 15px; line-height: 1.5; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.analytics-consent-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #315c91;
  background: #fff;
  color: #315c91;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #edf3fb; }
.analytics-consent-settings {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #315c91;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.analytics-consent button:focus-visible,
.analytics-consent-settings:focus-visible { outline: 2px solid #315c91; outline-offset: 3px; }
