.analytics-prompt {
  box-sizing: border-box;
  position: fixed;
  inset: auto auto max(12px, env(safe-area-inset-bottom)) 16px;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  color: #292923;
  background: #fffcf5;
  border: 1px solid #d0cabe;
  border-radius: 12px;
  box-shadow: 0 4px 20px #352f201e;
  z-index: 1000;
  text-align: left;
  font: 14px/1.4 Inter, -apple-system, sans-serif;
}
.analytics-prompt:not([open]) { display: none; }
.analytics-prompt::backdrop { background: #24211b44; }
.analytics-prompt h2 { margin: 0 0 5px; color: inherit; font: 600 16px/1.3 Inter, -apple-system, sans-serif; }
.analytics-prompt p { margin: 0; color: inherit; font: inherit; }
.analytics-prompt a { color: inherit; text-decoration: underline; }
.analytics-actions { display: flex; gap: 8px; margin-top: 12px; }
.analytics-actions button {
  flex: 1;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #a7a293;
  border-radius: 7px;
  background: #fffefa;
  color: #292923;
  cursor: pointer;
  font: 600 14px/1.3 Inter, -apple-system, sans-serif;
}
.analytics-actions button:hover { background: #eeeae0; }
.analytics-actions button:focus-visible, .analytics-prompt a:focus-visible {
  outline: 2px solid #525a48;
  outline-offset: 2px;
}

[data-panel="print"] [data-analytics-settings] {
  margin-top: 14px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
