/* Babenef — préférences de cookies (T110). Fichier partagé byte-identique Django / thème WP.
 * Reprend les tokens existants (babenef-tokens.css, .lp45, style.css WP) avec repli sur leurs valeurs. */
.bb-consent{--bc-ink:var(--ink,var(--bb-text,#10283b));--bc-muted:var(--text-secondary,var(--bb-muted,#5b6b7b));--bc-line:var(--hairline,var(--bb-line,#e3e8ee));--bc-surface:var(--surface,var(--bb-bg,#fff));--bc-subtle:var(--surface-sidebar,var(--bb-surface,#f6f8fa));--bc-focus:var(--focus,var(--bb-link,#1a6fc4));--bc-danger:var(--danger,#c0303f);--bc-danger-tint:var(--danger-tint,#fdecee);--bc-radius:var(--radius-md,10px);--bc-radius-lg:var(--radius-lg,14px);font-family:var(--font-ui,inherit)}
.bb-consent .bb-consent-open{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--bc-muted);font:inherit;font-size:.9em;font-weight:400;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bb-consent .bb-consent-open:hover{color:var(--bc-ink);filter:none}
.bb-consent .bb-consent-open[hidden],.bb-consent [hidden]{display:none!important}
.bb-consent .bb-consent-dialog{box-sizing:border-box;width:min(100% - 32px,520px);max-height:calc(100% - 32px);margin:auto;padding:24px;overflow:auto;border:1px solid var(--bc-line);border-radius:var(--bc-radius-lg);background:var(--bc-surface);color:var(--bc-ink);box-shadow:var(--shadow-md,0 12px 32px rgba(16,40,59,.12));font-size:15px;line-height:1.5;text-align:left}
.bb-consent .bb-consent-dialog:not([open]){display:none}
.bb-consent .bb-consent-dialog[open]{position:fixed;inset:0;z-index:1000;height:fit-content}
.bb-consent .bb-consent-dialog::backdrop{background:rgba(16,40,59,.35)}
.bb-consent .bb-consent-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 8px}
.bb-consent .bb-consent-head h2{margin:8px 0 0;color:var(--bc-ink);font-family:inherit;font-size:18px;font-weight:650;line-height:1.35;letter-spacing:0}
.bb-consent p{margin:0 0 12px;color:var(--bc-muted);font-size:15px;line-height:1.5}
.bb-consent .bb-consent-notice{padding:10px 12px;border:1px solid var(--bc-line);border-radius:var(--bc-radius);background:var(--bc-subtle);color:var(--bc-ink)}
.bb-consent .bb-consent-current{color:var(--bc-ink)}
.bb-consent .bb-consent-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 12px}
.bb-consent .bb-consent-btn{flex:1 1 200px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 16px;border:1px solid var(--bc-ink);border-radius:var(--bc-radius);background:var(--bc-surface);box-shadow:none;color:var(--bc-ink);font:inherit;font-size:15px;font-weight:600;line-height:1.3;text-align:center;white-space:normal;cursor:pointer}
.bb-consent .bb-consent-btn:hover{background:var(--bc-subtle);filter:none}
.bb-consent .bb-consent-link{min-height:44px;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--bc-ink);font:inherit;font-size:15px;font-weight:400;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bb-consent .bb-consent-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;margin:-6px -6px 0 0;padding:0;border:0;border-radius:var(--radius-pill,999px);background:transparent;box-shadow:none;color:var(--bc-ink);font:inherit;font-size:24px;line-height:1;cursor:pointer}
.bb-consent .bb-consent-close:hover{background:var(--bc-subtle);filter:none}
.bb-consent .bb-consent-status{margin:12px 0 0;padding:10px 12px;border:1px solid var(--bc-line);border-radius:var(--bc-radius);background:var(--bc-subtle);color:var(--bc-ink)}
.bb-consent .bb-consent-status[data-kind=error]{border-color:var(--bc-danger);background:var(--bc-danger-tint)}
.bb-consent button:focus-visible,.bb-consent .bb-consent-status:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px}
.bb-consent .bb-consent-status:focus:not(:focus-visible){outline:none}
@media (max-width:600px){.bb-consent .bb-consent-dialog{padding:20px 16px}.bb-consent .bb-consent-btn{flex-basis:100%;min-height:64px}.bb-consent .bb-consent-actions{position:sticky;bottom:0;z-index:1;padding:12px 0;background:var(--bc-surface);border-top:1px solid var(--bc-line)}}
