.analytics-panel {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 90;
  width: min(480px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px;
  background: #fff;
  color: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 48px #0e17262b;
}
.analytics-panel h2 { color: var(--navy); font-size: 19px; line-height: 1.35; }
.analytics-panel p { margin-top: 10px; font-size: 14px; line-height: 1.65; }
.analytics-panel a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-status { color: var(--muted); }
.analytics-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.analytics-actions button {
  background: var(--cloud);
  color: var(--navy);
  border: 1px solid #97a7bd;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  padding: 8px 10px;
  cursor: pointer;
}
.analytics-actions button:hover { background: #e4edf5; }
.analytics-panel button:focus-visible, .analytics-settings:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.analytics-settings { background: none; color: inherit; border: 0; padding: 0; font: inherit; cursor: pointer; }
.analytics-settings:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-links { flex-wrap: wrap; }
.footer-links .analytics-settings { padding: 14px 0; }
@media (max-width: 540px) {
  .analytics-panel { inset: auto 12px 12px 12px; width: auto; padding: 16px; max-height: calc(100vh - 24px); }
  .footer-links { column-gap: 20px; row-gap: 0; }
}
