.locals-analytics-footer {
  padding: 20px 12px 28px; text-align: center;
}
.locals-analytics-settings {
  border: 0; background: #fff; color: #555; border-radius: 16px;
  padding: 8px 10px; font: 12px system-ui, sans-serif; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.locals-analytics-panel {
  position: relative; margin: 12px auto 0; text-align: left;
  box-sizing: border-box; width: min(360px, calc(100vw - 24px)); padding: 15px;
  border: 1px solid #ddd; border-radius: 12px; background: #fff; color: #303030;
  box-shadow: 0 6px 30px #0002; font: 13px/1.5 system-ui, sans-serif;
}
.locals-analytics-panel[hidden] { display: none; }
.locals-analytics-panel p { margin: 0 0 12px; }
.locals-analytics-panel div { display: flex; gap: 8px; }
.locals-analytics-panel div + label { margin-top: 12px; }
.locals-analytics-panel label { display: block; margin: 0 0 12px; }
.locals-analytics-panel input { margin: 0 4px 0 0; }
.locals-analytics-panel button {
  border: 1px solid #aaa; border-radius: 6px; background: #fff; color: #303030;
  padding: 7px 10px; font: inherit; cursor: pointer;
}
.locals-analytics-panel button:first-child { background: #303030; color: #fff; border-color: #303030; }
