.author-analytics-panel[hidden] {
  display: none;
}
.author-analytics-panel {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(25rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid #d5d2cb;
  border-radius: .75rem;
  background: #fffdfa;
  color: #262321;
  box-shadow: 0 4px 20px #0003;
  font: 1rem/1.45 system-ui, sans-serif;
  text-align: left;
}
.author-analytics-panel h2 {
  color: inherit;
  font: 700 1.125rem/1.3 system-ui, sans-serif;
  margin: 0 0 .5rem;
}
.author-analytics-panel p {
  color: inherit;
  margin: 0 0 .75rem;
}
.author-analytics-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.author-analytics-actions button {
  padding: .45rem .65rem;
  border: 1px solid #595350;
  border-radius: .3rem;
  background: #fffdfa;
  color: #262321;
  font: inherit;
  cursor: pointer;
}
.author-analytics-actions a {
  color: inherit;
  text-decoration: underline;
}
.author-analytics-settings {
  padding: .35rem .5rem;
  border: 1px solid currentColor;
  border-radius: .3rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
