/* Optional analytics choices match the publication without blocking its content. */
.analytics-choice { position: fixed; z-index: 80; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 24px; max-width: 1140px; margin-inline: auto; padding: 22px 26px; border: 1px solid var(--ink); background: var(--surface); box-shadow: 0 8px 36px #1a263b26; font: 16px/1.55 var(--sans); }
.analytics-choice h2 { margin-bottom: 8px; font-size: 25px; line-height: 1.2; letter-spacing: -.4px; }
.analytics-choice p { max-width: 680px; }
.analytics-choice p a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 10px; max-width: 330px; }
.analytics-actions button { min-height: 44px; padding: 11px 15px; border: 1px solid var(--ink); color: var(--ink); background: var(--surface); font-size: 15px; font-weight: 700; }
.analytics-actions button:hover { background: var(--bg); }
.analytics-actions .analytics-close { width: 100%; border: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 400; }
.analytics-choice .analytics-current { margin-top: 8px; color: var(--muted); font-size: 14px; }
.analytics-settings { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; }
.analytics-settings:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .analytics-choice { right: 12px; bottom: 12px; left: 12px; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 20px; }
  .analytics-actions { max-width: none; }
  .analytics-actions button:not(.analytics-close) { flex: 1; }
}
