.rv2-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--rv2-consent-z-index, 1000);
  box-sizing: border-box;
  max-height: 65vh;
  max-height: 65dvh;
  overflow: auto;
  padding: 1rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  border-top: 1px solid var(--rv2-consent-border, #cbd5e1);
  background: var(--rv2-consent-background, #fff);
  color: var(--rv2-consent-text, #172033);
  box-shadow: 0 -4px 24px #00000012;
  font-family: var(--rv2-consent-font, inherit);
  font-size: .875rem;
  line-height: 1.5;
}
.rv2-consent[hidden], .rv2-consent [hidden] { display: none !important; }
.rv2-consent__inner { display: flex; align-items: center; gap: 1.5rem; max-width: var(--rv2-consent-width, 72rem); margin-inline: auto; }
.rv2-consent__copy { flex: 1; min-width: 0; }
.rv2-consent h2 { margin: 0 0 .25rem; font: inherit; font-weight: 700; }
.rv2-consent p { margin: .25rem 0; }
.rv2-consent a, .rv2-consent-reopen { color: var(--rv2-consent-link, inherit); text-decoration: underline; text-underline-offset: .2em; }
.rv2-consent__status { font-size: .8125rem; }
.rv2-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.rv2-consent__button, .rv2-consent__dismiss, .rv2-consent-reopen {
  font: inherit; cursor: pointer; min-height: 44px; padding: .5rem .75rem; border-radius: var(--rv2-consent-radius, .375rem);
}
.rv2-consent__button { border: 1px solid var(--rv2-consent-border, #cbd5e1); background: var(--rv2-consent-button-background, #fff); color: var(--rv2-consent-button-text, #172033); }
.rv2-consent__dismiss, .rv2-consent-reopen { border: 0; background: transparent; color: inherit; }
.rv2-consent__button:disabled { opacity: .55; cursor: not-allowed; }
.rv2-consent button:focus-visible, .rv2-consent a:focus-visible, .rv2-consent-reopen:focus-visible { outline: 2px solid var(--rv2-consent-focus, #2563eb); outline-offset: 3px; }
@media (max-width: 640px) {
  .rv2-consent__inner { flex-direction: column; align-items: stretch; gap: .75rem; }
  .rv2-consent__actions { gap: .375rem; }
}
