/* Carte de consentement non modale. */
.mistral-consent{box-sizing:border-box;position:fixed;inset:auto 1.25rem 1.25rem auto;width:min(35rem,calc(100% - 2.5rem));max-height:calc(100dvh - 2.5rem);overflow:auto;margin:0;padding:1.5rem;border:1px solid #17254220;border-radius:1rem;background:var(--editor-site-background,#f9f7f7);color:var(--editor-mistral-primary,#172542);box-shadow:0 .5rem 2rem #17254225;font:.875rem/1.55 'DM Sans',sans-serif;z-index:100000;transition:width .25s ease}
.mistral-consent.is-expanded{width:min(44rem,calc(100% - 2.5rem))}
.mistral-consent[hidden],.mistral-consent [hidden]{display:none!important}
.mistral-consent h2{margin:.35rem 1.5rem .75rem 0;font:500 1.85rem/1.1 'Cormorant Garamond',serif;text-transform:none;color:inherit}
.consent-eyebrow{font-size:.7rem;letter-spacing:.1em;color:var(--editor-mistral-highlight,#5364e6)}
.mistral-consent p{margin:.65rem 0;font:inherit;color:inherit}
.mistral-consent .consent-close{position:absolute;top:.5rem;right:.75rem;padding:.25rem;border:0;background:transparent;color:inherit;font:1.6rem/1 'DM Sans',sans-serif;cursor:pointer}
.mistral-consent button{outline:none;box-shadow:none;cursor:pointer}
.mistral-consent .consent-actions{display:flex;gap:.5rem;margin:1.25rem 0 .75rem;flex-wrap:wrap}
.mistral-consent .consent-actions button{display:inline-flex;align-items:center;justify-content:center;flex:1 1 auto;min-height:2.25rem;padding:.6rem .85rem;border:1px solid var(--editor-mistral-primary,#172542);border-radius:999px;background:transparent;color:var(--editor-mistral-primary,#172542);font:500 .75rem/1.2 'DM Sans',sans-serif;letter-spacing:.025em;text-transform:uppercase;transition:background-color .25s ease,border-color .25s ease,transform .25s ease}
.mistral-consent .consent-actions [data-accept],.mistral-consent .consent-actions [data-save]{background:var(--editor-mistral-highlight,#5364e6);border-color:var(--editor-mistral-highlight,#5364e6);color:var(--editor-site-background,#f9f7f7)}
.mistral-consent .consent-actions button:is(:hover,:focus-visible){background:var(--editor-mistral-highlight,#5364e6);border-color:var(--editor-mistral-highlight,#5364e6);color:var(--editor-site-background,#f9f7f7);transform:translateY(-1px);outline:none;box-shadow:none}
.mistral-consent button:disabled{opacity:.6;cursor:wait}
.mistral-consent .consent-links{font-size:.75rem;margin:0}
.mistral-consent a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
.mistral-consent a:focus-visible{outline:1px solid currentColor;outline-offset:3px}
.mistral-consent [data-preferences]{margin-top:1rem;border-top:1px solid #17254225;padding-top:1rem}
.mistral-consent h3{margin:0 0 .75rem;font:600 1rem/1.4 'DM Sans',sans-serif}
.consent-category{border-bottom:1px solid #17254220;padding:.75rem 0}
.mistral-consent .consent-option{display:flex;align-items:center;gap:.65rem;font-weight:600}
.mistral-consent input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:var(--editor-mistral-highlight,#5364e6)}
.mistral-consent .consent-retention{font-size:.75rem}
.mistral-consent [data-consent-error]{color:#922c35}
@media(max-width:35rem){.mistral-consent,.mistral-consent.is-expanded{inset:auto .75rem .75rem;width:calc(100% - 1.5rem);max-height:calc(100dvh - 1.5rem);padding:1.15rem}.mistral-consent h2{font-size:1.65rem}.mistral-consent .consent-actions{gap:.4rem}.mistral-consent .consent-actions button{font-size:.65rem;padding:.6rem .65rem}}
@media(prefers-reduced-motion:reduce){.mistral-consent,.mistral-consent .consent-actions button{transition:none}}
.privacy-acknowledgement{display:flex!important;align-items:flex-start;gap:.75rem;margin:1rem 0!important}.privacy-acknowledgement input{width:1.1rem!important;min-width:1.1rem;height:1.1rem!important;min-height:0!important;padding:0!important;appearance:auto;flex:0 0 1.1rem;margin-top:.3rem;accent-color:var(--editor-mistral-highlight,#5364e6)}.privacy-acknowledgement span{font-size:.85rem;line-height:1.55}
.privacy-ack-error{color:#922c35!important;font-size:.85rem!important}
