/* Domain-local consent controls; optional services stay off until a choice. */
.be-consent-banner[hidden], .be-consent-dialog [hidden] { display: none !important; }
.be-consent-banner {
  position: fixed;
  z-index: 120;
  inset: auto 24px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 24px 32px;
  border: 1px solid var(--line, #ded8ce);
  background: var(--white, #fffdfa);
  color: var(--text, #25201e);
  box-shadow: 0 4px 24px rgb(37 32 30 / 10%);
}
.be-consent-banner h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.25; }
.be-consent-banner p { max-width: 760px; margin: 0 0 12px; font-size: 14px; line-height: 1.7; }
.be-consent-banner a, .be-consent-detail a { color: inherit; text-underline-offset: 4px; }
.be-consent-banner a { font-size: 13px; }
.be-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.be-consent-banner > .be-consent-actions { width: 248px; align-content: center; }
.be-consent-button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--rose-dark, #743c42);
  border-radius: 0;
  background: var(--white, #fffdfa);
  color: var(--rose-dark, #743c42);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.be-consent-banner .be-consent-button { width: 100%; }
.be-consent-button:hover { background: var(--paper, #f3f0e9); }
.be-consent-settings, .be-consent-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 8px 0;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.be-consent-settings { width: 100%; text-align: center; }
.be-consent-button:focus-visible, .be-consent-settings:focus-visible,
.be-consent-close:focus-visible, .be-consent-toggle input:focus-visible {
  outline: 2px solid var(--rose-dark, #743c42);
  outline-offset: 4px;
}
.be-consent-dialog {
  width: min(720px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  overflow-y: auto;
  padding: 32px;
  border: 1px solid var(--line, #ded8ce);
  border-radius: 0;
  background: var(--white, #fffdfa);
  color: var(--text, #25201e);
}
.be-consent-dialog::backdrop { background: rgb(37 32 30 / 45%); }
.be-consent-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.be-consent-dialog h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.be-consent-dialog p { font-size: 14px; line-height: 1.7; color: var(--secondary, #625d57); }
.be-consent-purpose { display: block; border-top: 1px solid var(--line, #ded8ce); padding: 24px 0; margin: 0; }
.be-consent-purpose h3, .be-consent-purpose strong { display: block; margin: 0 0 8px; font: inherit; font-size: 17px; color: var(--text, #25201e); }
.be-consent-purpose p { margin: 0 0 12px; }
.be-consent-required { font-size: 12px; color: var(--secondary, #625d57); }
.be-consent-toggle { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 24px; align-items: start; cursor: pointer; }
.be-consent-toggle span span { display: block; font-size: 14px; line-height: 1.7; color: var(--secondary, #625d57); }
.be-consent-toggle input { appearance: auto; width: 20px; height: 20px; margin: 4px 0 0; padding: 0; accent-color: var(--rose-dark, #743c42); }
.be-consent-detail { margin-bottom: 24px; }
.be-consent-status { min-height: 0; margin: 16px 0 0; }
.be-consent-status:empty { display: none; }
@media (max-width: 760px) {
  .be-consent-banner { inset: auto 12px 12px; grid-template-columns: 1fr; gap: 16px; padding: 24px; max-height: calc(100dvh - 24px); overflow-y: auto; }
  .be-consent-banner > .be-consent-actions { width: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .be-consent-banner .be-consent-settings { grid-column: 1 / -1; }
  .be-consent-banner .be-consent-button { padding-inline: 12px; }
  .be-consent-banner h2 { font-size: 24px; }
  .be-consent-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 24px; }
  .be-consent-dialog h2 { font-size: 28px; }
  .be-consent-dialog .be-consent-actions { display: grid; grid-template-columns: 1fr; }
  .be-consent-dialog .be-consent-button { width: 100%; }
  .be-consent-dialog-head { gap: 16px; }
}
