.rehabita-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 2000;
  inset: auto auto 1rem 1rem;
  width: min(30rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: 0;
  overflow: auto;
  padding: 1.35rem;
  border: 1px solid #c5c7bc;
  background: #f5f4ef;
  color: #242621;
  font: inherit;
  box-shadow: 0 12px 36px #0003;
}
.rehabita-consent:modal { inset: 0; margin: auto; }
.rehabita-consent::backdrop { background: #1118; }
.rehabita-consent h2 { margin: 0 2.25rem .65rem 0; font-size: 1.3rem; }
.rehabita-consent p { margin: .55rem 0; line-height: 1.45; }
.rehabita-consent a { color: inherit; text-decoration: underline; }
.rehabita-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.rehabita-consent button {
  min-height: 44px;
  border: 1px solid #37463c;
  padding: .45rem .75rem;
  font: inherit;
  font-weight: 600;
  color: #24382d;
  background: #fff;
  cursor: pointer;
}
.rehabita-consent-actions button { flex: 1 1 10rem; }
.rehabita-consent .rehabita-consent-close { position: absolute; top: .55rem; right: .55rem; min-width: 44px; }
.rehabita-consent :focus-visible, [data-cookie-preferences]:focus-visible { outline: 2px solid #52785f; outline-offset: 3px; }
