:root{--ab-navy:#071f3a;--ab-gold:#b99152;--ab-cream:#fbf8f2;--ab-border:rgba(7,31,58,.14);--ab-text:#24364a;--ab-muted:#667486;--ab-shadow:0 18px 55px rgba(7,31,58,.18)}
.ab-consent-banner,.ab-consent-modal,.ab-consent-settings{font-family:inherit;box-sizing:border-box}
.ab-consent-banner[hidden],.ab-consent-modal[hidden],.ab-consent-overlay[hidden],.ab-consent-settings[hidden]{display:none!important}
.ab-consent-banner{position:fixed;left:22px;right:22px;bottom:22px;z-index:2147483000;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:26px;align-items:center;max-width:1180px;margin:0 auto;padding:24px;border:1px solid var(--ab-border);border-radius:20px;background:rgba(251,248,242,.98);color:var(--ab-text);box-shadow:var(--ab-shadow);backdrop-filter:blur(12px)}
.ab-consent-copy strong{display:block;margin-bottom:7px;color:var(--ab-navy);font-size:1.12rem}.ab-consent-copy p{max-width:760px;margin:0 0 7px;color:var(--ab-muted);font-size:.94rem;line-height:1.55}.ab-consent-copy a{color:var(--ab-navy);font-size:.9rem;font-weight:700;text-underline-offset:3px}
.ab-consent-actions,.ab-consent-modal__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.ab-consent-button{min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:12px;font:inherit;font-size:.9rem;font-weight:750;cursor:pointer}.ab-consent-button--primary{background:var(--ab-navy);color:#fff}.ab-consent-button--secondary{border-color:var(--ab-border);background:#fff;color:var(--ab-navy)}.ab-consent-button--ghost{background:transparent;color:var(--ab-navy)}
.ab-consent-settings{position:fixed;left:16px;bottom:16px;z-index:2147482990;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 13px;border:1px solid var(--ab-border);border-radius:999px;background:var(--ab-cream);color:var(--ab-navy);box-shadow:0 9px 28px rgba(7,31,58,.16);font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}
.ab-consent-overlay{position:fixed;inset:0;z-index:2147483005;background:rgba(3,15,29,.62);backdrop-filter:blur(3px)}
.ab-consent-modal{position:fixed;top:50%;left:50%;z-index:2147483010;width:min(680px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;transform:translate(-50%,-50%);padding:28px;border:1px solid var(--ab-border);border-radius:22px;background:var(--ab-cream);color:var(--ab-text);box-shadow:0 28px 80px rgba(3,15,29,.34)}
.ab-consent-modal__header{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.ab-consent-kicker{color:var(--ab-gold);font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.ab-consent-modal h2{margin:5px 0 0;color:var(--ab-navy);font-size:clamp(1.35rem,3vw,1.85rem);line-height:1.18}.ab-consent-close{flex:0 0 auto;width:42px;height:42px;border:1px solid var(--ab-border);border-radius:50%;background:#fff;color:var(--ab-navy);font-size:1.55rem;cursor:pointer}
.ab-consent-category{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:12px;padding:18px;border:1px solid var(--ab-border);border-radius:16px;background:#fff}.ab-consent-category strong{color:var(--ab-navy)}.ab-consent-category p{margin:5px 0 0;color:var(--ab-muted);font-size:.88rem;line-height:1.48}.ab-consent-required{color:var(--ab-gold);font-size:.78rem;font-weight:800}.ab-consent-category--selectable{cursor:pointer}.ab-consent-category--selectable input{position:absolute;opacity:0}.ab-consent-switch{position:relative;width:48px;height:27px;border-radius:999px;background:#d7dde4}.ab-consent-switch:after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(7,31,58,.2)}.ab-consent-category--selectable input:checked+.ab-consent-switch{background:var(--ab-navy)}.ab-consent-category--selectable input:checked+.ab-consent-switch:after{transform:translateX(21px)}.ab-consent-modal__actions{margin-top:22px}html.ab-consent-modal-open{overflow:hidden}
@media(max-width:860px){.ab-consent-banner{grid-template-columns:1fr;gap:17px}.ab-consent-actions{justify-content:stretch}.ab-consent-actions .ab-consent-button{flex:1 1 190px}}
@media(max-width:560px){.ab-consent-banner{left:10px;right:10px;bottom:10px;padding:18px;border-radius:17px}.ab-consent-actions,.ab-consent-modal__actions{display:grid;grid-template-columns:1fr}.ab-consent-button{width:100%}.ab-consent-modal{width:calc(100vw - 20px);padding:20px;border-radius:18px}.ab-consent-category{gap:12px;padding:15px}.ab-consent-settings{left:10px;bottom:10px}}
