.analytics-choice[hidden], .analytics-settings[hidden] { display: none; }

.analytics-choice {
  position: fixed;
  z-index: 10;
  inset: auto 1rem 1rem auto;
  width: min(calc(100% - 2rem), 27rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: .95rem 1.1rem;
  border: 1px solid #c8cec4;
  border-radius: .7rem;
  background: #fffefb;
  color: #1a211e;
  box-shadow: 0 .5rem 2rem #1a211e36;
  font: .9rem/1.45 "Avenir Next", Avenir, system-ui, sans-serif;
}

.analytics-choice p { margin: .25rem 0 0; }
.analytics-choice a { text-decoration: underline; }
.analytics-choice [role="status"]:empty { display: none; }

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.analytics-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid #49534b;
  border-radius: .4rem;
  background: #f0f2ec;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-actions button:hover { background: #e2e8dc; }
.analytics-settings:focus-visible, .analytics-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.analytics-settings {
  padding: .4rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  column-gap: 1.15rem;
  font-size: .86rem;
  font-weight: 700;
}
