/* A quiet paper note, with an equally prominent yes and no. No layout shift. */
.footer-bottom {
  flex-wrap: wrap;
  gap: 12px 24px;
}
.analytics-choice {
  position: fixed;
  z-index: 100;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(480px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid #d6c8cf;
  border-radius: 20px;
  background: #fffcf8;
  color: #352936;
  box-shadow:
    0 12px 48px #35293620,
    0 2px 8px #3529360a;
  font-family: Satoshi, sans-serif;
  text-align: left;
  font-size: 14px;
  line-height: 1.55;
}
.analytics-choice[hidden],
.analytics-choice [hidden],
.analytics-settings[hidden] {
  display: none;
}
.analytics-choice-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.analytics-choice-heading img {
  flex: 0 0 28px;
}
.analytics-choice h2 {
  margin: 0;
  font:
    500 23px/1.2 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.025em;
}
.analytics-choice p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
  color: #5a4c5d;
}
.analytics-choice .analytics-privacy {
  display: inline;
  color: #804564;
  text-underline-offset: 4px;
  font-weight: 500;
}
.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.analytics-actions button {
  flex: 1 1 0;
  min-width: min-content;
  max-width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #b692a6;
  border-radius: 10px;
  background: #f3e9ee;
  color: #573147;
  font:
    500 14px/1.35 Satoshi,
    sans-serif;
  cursor: pointer;
  overflow-wrap: normal;
}
.analytics-actions button:hover {
  background: #e9d8e2;
  border-color: #804564;
}
.analytics-actions button:disabled {
  cursor: default;
  opacity: 0.55;
}
.analytics-choice button:focus-visible,
.analytics-choice a:focus-visible,
.analytics-choice summary:focus-visible,
.analytics-settings:focus-visible {
  outline: 3px solid #804564;
  outline-offset: 4px;
}
.analytics-choice .analytics-status {
  padding: 10px 12px;
  margin-top: 16px;
  border-left: 2px solid #804564;
  background: #f6f1eb;
}
.analytics-settings {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  text-align: left;
  overflow-wrap: anywhere;
}
.analytics-reference {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e2d8dc;
}
.analytics-reference summary {
  cursor: pointer;
  min-height: 32px;
  font-weight: 500;
}
.analytics-reference p {
  margin-top: 8px;
  font-size: 12px;
}
.analytics-reference code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  padding: 10px;
  background: #f6f1eb;
  border-radius: 6px;
  user-select: all;
}
.analytics-reference button {
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #804564;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font: inherit;
}
@media (max-width: 540px) {
  .analytics-choice {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px;
    border-radius: 16px;
  }
  .analytics-choice h2 {
    font-size: 21px;
  }
}
