.analytics-banner[hidden] { display: none !important; }
.analytics-banner {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(960px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #c7bda9;
  border-radius: 16px;
  background: #f7f4ed;
  box-shadow: 0 18px 60px rgb(16 18 20 / 22%);
  color: #2e3338;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
}
.analytics-banner strong { display: block; margin-bottom: 4px; font: 700 1rem/1.3 "Sora", system-ui, sans-serif; }
.analytics-banner p { margin: 0; color: #4d545c; font-size: .9rem; }
.analytics-banner a { color: inherit; text-underline-offset: 3px; }
.analytics-banner details { margin-top: 8px; font-size: .82rem; color: #4d545c; }
.analytics-banner summary { width: fit-content; cursor: pointer; font-weight: 600; }
.analytics-banner details p { margin-top: 7px; font-size: inherit; }
.analytics-banner__actions { display: flex; gap: 10px; align-items: center; }
.analytics-banner button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #2e3338;
  border-radius: 8px;
  background: transparent;
  color: #2e3338;
  font: 600 .86rem/1.3 "Inter", system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.analytics-banner button:hover { background: #e9e3d7; }
.analytics-banner button[data-analytics-accept] { background: #2e3338; color: #fff; }
.analytics-banner button[data-analytics-accept]:hover { background: #414a52; }
.analytics-banner :focus-visible,
.analytics-manage:focus-visible { outline: 2px solid #b8924a; outline-offset: 3px; }
.analytics-manage {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .analytics-banner { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .analytics-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-banner button { width: 100%; white-space: normal; }
}
