/* Redbrook cookie preferences: isolated from the existing public design system. */
.rb-cookie-banner[hidden] { display: none !important; }
.rb-cookie-banner { position: fixed; z-index: 10050; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); max-width: 1080px; margin: 0 auto; padding: 20px 22px; background: #fff; border: 1px solid #d9dfe9; border-radius: 16px; box-shadow: 0 14px 50px rgba(15, 23, 42, .24); color: #111827; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.rb-cookie-banner-copy { flex: 1 1 auto; min-width: 0; }
.rb-cookie-banner-copy strong { display: block; font-weight: 800; font-size: 17px; line-height: 1.35; }
.rb-cookie-banner-copy p { margin: 6px 0 0; color: #475569; font-size: 13px; line-height: 1.6; }
.rb-cookie-banner-copy a { color: #ac253a; text-decoration: underline; text-underline-offset: 2px; }
.rb-cookie-banner-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-cookie-banner-actions button { appearance: none; cursor: pointer; border: 1px solid #ccd3dc; background: #fff; border-radius: 9px; padding: 11px 13px; font-family: inherit; font-size: 13px; line-height: 1.2; font-weight: 700; color: #192234; min-height: 42px; white-space: nowrap; }
.rb-cookie-banner-actions button:hover, .rb-cookie-banner-actions button:focus-visible { border-color: #ba3044; box-shadow: 0 0 0 2px rgba(186,48,68,.12); }
.rb-cookie-banner-actions .rb-cookie-all { background: #ba3044; color: #fff; border-color: #ba3044; }
.rb-cookie-settings-link { border: 0; background: none; color: inherit; font: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; margin-left: 10px; cursor: pointer; }
.rb-cookie-settings-link:hover, .rb-cookie-settings-link:focus-visible { color: #fff; text-decoration-thickness: 2px; }
@media (max-width: 820px) { .rb-cookie-banner { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; max-height: min(82vh, 520px); overflow: auto; } .rb-cookie-banner-actions { width: 100%; } .rb-cookie-banner-actions button { flex: 1 1 130px; } }
@media (max-width: 420px) { .rb-cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; } .rb-cookie-banner-actions .rb-cookie-all { grid-column: 1 / -1; } }

.prose button[data-rb-consent-open] { background: transparent; border: 0; padding: 0; color: #ba3044; text-decoration: underline; font: inherit; cursor: pointer; }
