/* Cookie preferences use the existing warm BAR LAB palette. */
.bl-consent-banner {
  position: fixed;
  z-index: 60;
  inset-inline: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  width: auto;
  max-width: 1040px;
  max-height: calc(100dvh - 32px);
  margin-inline: auto;
  overflow: auto;
  padding: 16px 20px;
  border: 1px solid #d8d2cc;
  border-radius: 12px;
  background: #f9f7f2;
  color: #202026;
  box-shadow: 0 8px 32px #20202625;
  font-family: inherit;
}
.bl-consent-banner[hidden], .bl-consent-options[hidden] { display: none; }
.bl-consent-copy h2 { margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.bl-consent-banner p { max-width: 62ch; margin: 0; font-size: 14px; line-height: 1.45; }
.bl-consent-actions { display: flex; align-items: center; gap: 8px; }
.bl-consent-banner button, .bl-consent-footer {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #28272e;
  border-radius: 6px;
  color: #202026;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}
.bl-consent-banner button:hover, .bl-consent-footer:hover { background: #ebe7e1; }
.bl-consent-banner button[data-consent-settings] { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.bl-consent-banner :is(button, a, input):focus-visible, .bl-consent-footer:focus-visible { outline: 2px solid #51341d; outline-offset: 2px; }
.bl-consent-options { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 9px; border-top: 1px solid #d8d2cc; }
.bl-consent-options label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.bl-consent-options a { margin-left: 9px; color: #202026; text-decoration: underline; font-size: 14px; }
.bl-consent-footer { color: inherit; border: 0; text-decoration: underline; }
@media (max-width: 720px) {
  .bl-consent-banner { grid-template-columns: 1fr; gap: 8px; inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 13px 14px 8px; }
  .bl-consent-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 8px; }
  .bl-consent-actions button[data-consent-settings] { grid-row: 2; grid-column: 1 / -1; justify-self: start; padding-inline: 0; }
  .bl-consent-actions button[data-consent-decision] { grid-row: 1; padding-inline: 4px; }
}
