/* Consent UI stays light; accept and necessary-only choices have equal prominence. */
.bfg-consent-banner[hidden], [data-consent-open][hidden], [data-consent-reset][hidden], [data-consent-storage][hidden] { display: none; }
.bfg-consent-banner { position: fixed; z-index: 70; inset: auto 20px 20px; width: min(1184px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; padding: 26px 30px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 8px 40px rgb(23 32 27 / .16); }
.bfg-consent-banner h2 { font-size: 1.375rem; line-height: 1.25; }
.bfg-consent-banner p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.bfg-consent-banner__copy > a { display: inline-block; margin-top: 8px; font-size: 14px; }
.bfg-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.bfg-consent-actions .bfg-button { min-height: 46px; padding: 11px 14px; font-size: 15px; }
.bfg-consent-settings, .bfg-cookie-open { appearance: none; border: 0; padding: 0; color: var(--brand-ink); background: none; font: 500 15px/1.5 var(--font); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.bfg-consent-actions > .bfg-consent-settings { grid-column: 1 / -1; justify-self: center; min-height: 36px; }
.bfg-cookie-open { font: inherit; color: inherit; }
.bfg-consent-settings:hover, .bfg-cookie-open:hover { text-decoration-thickness: 2px; }
.bfg-consent-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 20px 72px rgb(23 32 27 / .18); overflow: auto; }
.bfg-consent-dialog::backdrop { background: rgb(23 32 27 / .22); }
.bfg-consent-dialog__head { position: sticky; top: 0; display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fff; z-index: 1; }
.bfg-consent-dialog__head h2 { font-size: 1.375rem; }
.bfg-consent-close { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; color: var(--ink); font: 400 28px/1 var(--font); cursor: pointer; }
.bfg-consent-close:hover { background: var(--surface); }
.bfg-consent-dialog__body { padding: 22px 24px 24px; font-size: 15px; line-height: 1.55; }
.bfg-consent-dialog__body > p { color: var(--muted); }
.bfg-consent-purpose { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.bfg-consent-purpose h3 { font-size: 1rem; }
.bfg-consent-purpose p { margin-top: 8px; color: var(--muted); }
.bfg-consent-purpose__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.bfg-consent-purpose__head > span { color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.bfg-consent-details { margin-top: 14px; padding: 14px 16px; border-radius: 4px; background: var(--surface); font-size: 13px; }
.bfg-consent-details > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 4px 14px; }
.bfg-consent-details > div + div { margin-top: 8px; }
.bfg-consent-details dt { font-weight: 500; }
.bfg-consent-details dd { overflow-wrap: anywhere; color: var(--muted); }
.bfg-consent-current { margin-top: 22px; }
.bfg-consent-storage { margin-top: 10px; }
.bfg-consent-dialog__body > .bfg-consent-settings { margin-top: 10px; text-align: left; }
.bfg-consent-dialog__body > .bfg-consent-privacy { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.bfg-consent-dialog__foot { position: sticky; bottom: 0; padding: 16px 24px; border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 767px) {
  .bfg-consent-banner { inset: auto 12px 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .bfg-consent-banner h2 { font-size: 1.25rem; }
  .bfg-consent-banner p { font-size: 14px; }
  .bfg-consent-actions { gap: 8px; }
  .bfg-consent-actions .bfg-button { padding: 10px 8px; font-size: 14px; }
  .bfg-consent-dialog__head { padding: 14px 16px; }
  .bfg-consent-dialog__body { padding: 18px 16px 20px; }
  .bfg-consent-dialog__foot { padding: 12px 16px; }
}
@media print { .bfg-consent-banner, .bfg-consent-dialog, .bfg-cookie-open { display: none !important; } }
