.analytics-preferences {
  position: fixed;
  z-index: 120;
  bottom: 20px;
  left: 20px;
  width: min(425px, calc(100% - 40px));
  padding: 20px 23px;
  color: var(--navy);
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 0 #18374114, 0 16px 35px #18374120;
}
.analytics-preferences[hidden], #analytics-settings[hidden] { display: none; }
.analytics-preferences h2 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: 0; }
.analytics-preferences p { margin: 8px 0 13px; font-size: 15px; line-height: 1.45; }
.analytics-preferences a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.analytics-actions button { padding: 8px 14px; min-height: 44px; border: 1px solid var(--navy); border-radius: 3px; font: inherit; font-size: 15px; }
.analytics-actions button:hover { background: var(--pale); }
#analytics-settings { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 480px) {
  .analytics-preferences { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 16px; }
}
