/* Optional, non-modal choice. Both choices have equal visual weight. */
.analytics-choice {
  position: fixed;
  z-index: 100;
  inset: auto 24px 24px auto;
  width: min(640px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #bcb69e;
  background: #fffaf0;
  color: #304836;
  box-shadow: 4px 4px 0 #30483633;
}
.analytics-choice .analytics-copy h2 {
  font: 400 26px/1.15 Georgia, serif;
  letter-spacing: -.03em;
  margin: 0 0 12px;
  color: #304836;
}
.analytics-choice .analytics-copy p {
  font: 400 13px/1.65 Archivo, Arial, sans-serif;
  max-width: 65ch;
  margin: 0;
}
.analytics-choice .analytics-copy p + p { margin-top: 8px; }
.analytics-choice a { color: inherit; text-underline-offset: 3px; }
.analytics-actions { display: flex; gap: 12px; margin-top: 16px; }
.analytics-actions button {
  flex: 1;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid #304836;
  border-radius: 2px;
  background: transparent;
  color: #304836;
  font: 500 13px/1.4 Archivo, Arial, sans-serif;
  cursor: pointer;
}
.analytics-actions button:hover { background: #e7e9d7; }
.analytics-choice :focus-visible { outline: 3px solid #655522; outline-offset: 4px; }
[data-analytics-settings][hidden] { display: none !important; }
@media (max-width: 560px) {
  .analytics-choice { inset: auto 16px 16px; width: auto; padding: 16px; max-height: calc(100dvh - 32px); }
  .analytics-actions { gap: 8px; }
  .analytics-actions button { padding-inline: 8px; }
}
@media print { .analytics-choice, [data-analytics-settings] { display: none !important; } }
