.analytics-choice[hidden] { display: none; }
.analytics-choice {
  position: fixed;
  z-index: 110;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, calc(100% - 32px));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #0a1c3c;
  border: 1px solid #cbd8f4;
  border-radius: 16px;
  box-shadow: 0 8px 32px #081c4030;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.analytics-choice strong { display: block; font-size: 15px; font-weight: 750; }
.analytics-choice p { margin: 5px 0 0; color: #53617d; }
.analytics-choice p a { color: #1652ff; text-decoration: underline; white-space: nowrap; }
.analytics-choice-actions { display: flex; flex-shrink: 0; gap: 8px; }
.analytics-choice button {
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 9px 15px;
  color: #1652ff;
  background: #fff;
  border: 1px solid #1652ff;
  border-radius: 8px;
  min-height: 42px;
}
.analytics-choice button[data-stat-choice="granted"] { background: #1652ff; color: #fff; }
.analytics-settings { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 16px; font-size: 13px; color: #c5d6fa; }
.analytics-settings a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-settings button { cursor: pointer; color: inherit; background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.analytics-settings .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.analytics-choice button:focus-visible, .analytics-settings button:focus-visible { outline: 3px solid #1652ff; outline-offset: 3px; }
@media (max-width: 900px) {
  .analytics-choice { bottom: 82px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 540px) {
  .analytics-choice { display: block; padding: 13px 15px; font-size: 12px; border-radius: 12px; }
  .analytics-choice strong { font-size: 14px; }
  .analytics-choice-actions { margin-top: 10px; justify-content: flex-end; }
  .analytics-choice button { padding: 7px 18px; min-height: 40px; font-size: 13px; }
}
