#sa-analytics-notice {
  position: fixed;
  inset: auto 0 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  align-items: center;
  max-height: 45vh;
  max-height: 45dvh;
  overflow-y: auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 1rem max(1.25rem, calc((100vw - 75rem) / 2));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: #fff;
  color: #304b38;
  border-top: 1px solid #c7d2b7;
  box-shadow: 0 -3px 18px rgb(48 75 56 / 10%);
  font: .9375rem/1.5 system-ui, sans-serif;
}
#sa-analytics-notice[hidden] { display: none; }
#sa-analytics-notice h2 { margin: 0 0 .5rem; font: 600 1.125rem/1.3 system-ui, sans-serif; color: inherit; }
#sa-analytics-notice p { grid-column: 1; margin: 0; }
#sa-analytics-notice > div { grid-column: 2; grid-row: 1 / span 2; }
#sa-analytics-notice [data-status]:empty { display: none; }
#sa-analytics-notice [data-status]:not(:empty) { margin: 1rem 0 0; }
#sa-analytics-notice div { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }
#sa-analytics-notice button {
  font: inherit;
  font-weight: 500;
  min-height: 44px;
  padding: .6rem .875rem;
  border: 1px solid #809775;
  border-radius: .5rem;
  cursor: pointer;
  background: #f6f8f1;
  color: #304b38;
}
#sa-analytics-notice button:hover { background: #eaf0df; }
#sa-analytics-notice button[hidden] { display: none; }
#sa-analytics-notice a { color: inherit; text-decoration: underline; text-underline-offset: .2em; padding: .6rem .25rem; }
#sa-analytics-notice button:focus-visible, #sa-analytics-notice a:focus-visible, .sa-privacy-choices:focus-visible { outline: 3px solid #bd6500; outline-offset: 3px; }
.sa-privacy-choices { font: inherit; margin: 1rem; min-height: 44px; padding: .5rem; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (max-width: 900px) {
  #sa-analytics-notice { display: block; padding: .875rem 1rem max(.875rem, env(safe-area-inset-bottom)); font-size: .875rem; }
  #sa-analytics-notice p { margin-bottom: .75rem; }
  #sa-analytics-notice [data-choice] { flex: 1 1 8rem; }
}
