#jrh-ga4-consent-settings,
#jrh-ga4-consent-banner,
#jrh-ga4-consent-banner * {
  box-sizing: border-box;
}
#jrh-ga4-consent-settings {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483646;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #254c42;
  border-radius: 999px;
  background: #fff;
  color: #193c33;
  font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .18);
  cursor: pointer;
}
#jrh-ga4-consent-banner {
  position: fixed;
  right: 16px;
  bottom: 70px;
  z-index: 2147483647;
  width: min(680px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #d8ddd9;
  border-radius: 14px;
  background: #fff;
  color: #242824;
  box-shadow: 0 8px 36px rgba(0, 0, 0, .24);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
#jrh-ga4-consent-banner .jrh-ga4-title {
  margin: 0 0 8px;
  color: #193c33;
  font-size: 20px;
  line-height: 1.3;
}
#jrh-ga4-consent-banner .jrh-ga4-description {
  margin: 0 0 10px;
}
#jrh-ga4-consent-banner .jrh-ga4-privacy {
  color: #205b49;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#jrh-ga4-consent-banner .jrh-ga4-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
#jrh-ga4-consent-banner .jrh-ga4-choice {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #254c42;
  border-radius: 8px;
  background: #fff;
  color: #193c33;
  font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
#jrh-ga4-consent-banner .jrh-ga4-choice:last-child {
  background: #254c42;
  color: #fff;
}
#jrh-ga4-consent-banner button:focus-visible,
#jrh-ga4-consent-settings:focus-visible,
#jrh-ga4-consent-banner a:focus-visible,
.ga4-privacy-disclosure button:focus-visible,
.ga4-privacy-disclosure a:focus-visible {
  outline: 3px solid #d69e36;
  outline-offset: 3px;
}
.ga4-privacy-disclosure {
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 1px solid #dedede;
}
.ga4-privacy-disclosure a {
  color: #205b49;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ga4-privacy-disclosure button {
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #254c42;
  border-radius: 6px;
  background: #fff;
  color: #193c33;
  cursor: pointer;
}
@media (max-width: 520px) {
  #jrh-ga4-consent-banner .jrh-ga4-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #jrh-ga4-consent-banner .jrh-ga4-choice {
    padding-inline: 8px;
  }
}
