.fs-consent-panel{position:fixed;bottom:0;left:0;right:0;z-index:10000;max-height:85vh;overflow:auto;background:linear-gradient(120deg,#f3f6fc,#fff 70%);color:#30343b;border-top:3px solid #233854;padding:24px max(24px,calc((100vw - 1100px)/2));box-shadow:0 -5px 30px #0003;font:16px/1.5 system-ui,sans-serif}
.fs-consent-panel[hidden]{display:none!important}body #fs-consent-panel h2{font-size:22px;margin:0 0 8px;color:#1d304b!important;text-shadow:none!important}.fs-consent-panel p{margin:8px 0 16px}body #fs-consent-panel a{color:#315781!important;text-decoration:underline;text-underline-offset:3px}
.fs-consent-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.fs-consent-categories label{position:relative;display:flex;align-items:center;gap:12px;cursor:pointer;line-height:1.45;padding:8px 0}
body #fs-consent-panel .fs-consent-categories input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;margin:0!important;padding:0!important;overflow:hidden;clip-path:inset(50%)}
.fs-consent-switch{position:relative;display:inline-block;flex:0 0 44px;width:44px;height:26px;background:#a8b4ae;border:1px solid #8b9991;border-radius:999px;transition:background .18s,border-color .18s}
.fs-consent-switch:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .18s}
.fs-consent-categories input:checked+.fs-consent-switch{background:#238453;border-color:#238453}.fs-consent-categories input:checked+.fs-consent-switch:after{transform:translateX(18px)}.fs-consent-categories input:disabled+.fs-consent-switch{opacity:.7}.fs-consent-categories input:focus-visible+.fs-consent-switch{outline:3px solid #557aa8;outline-offset:3px}
.fs-consent-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.fs-consent-actions button,[data-fs-external-placeholder]{min-height:46px;border:1px solid #d5d9dd;background:#f1f3f5;color:#353b40;border-radius:10px;padding:11px 20px;font:inherit;font-weight:600;line-height:1.25;cursor:pointer;white-space:nowrap;transition:filter .15s}
.fs-consent-actions button[data-fs-consent-choice="deny"]{background:#eaf0f8;border-color:#c4d0e1;color:#233854}.fs-consent-actions button[data-fs-consent-choice="save"]{background:#3c5575;border-color:#3c5575;color:#fff}.fs-consent-actions button[data-fs-consent-choice="allow"]{background:#1d304b;border-color:#1d304b;color:#fff}.fs-consent-actions button[data-fs-consent-close]{background:#fff;border-color:#c8cdd0;color:#505765}.fs-consent-actions button:hover{filter:brightness(.94)}.fs-consent-actions button:disabled{opacity:.6;cursor:wait}.fs-consent-panel :focus-visible{outline:3px solid #557aa8;outline-offset:3px}.fs-consent-panel h2:focus{outline:none}.fs-consent-panel [role=alert]{color:#b00020}[data-fs-external-src]:not([src]){display:none}[data-fs-external-placeholder][hidden]{display:none!important}
@media(max-width:600px){.fs-consent-panel{padding:20px 20px calc(20px + env(safe-area-inset-bottom));max-height:90dvh;font-size:14px}body #fs-consent-panel h2{font-size:20px}.fs-consent-panel p{margin-bottom:12px}.fs-consent-categories{grid-template-columns:1fr;gap:4px}.fs-consent-categories label{padding:6px 0}.fs-consent-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:16px}.fs-consent-actions button{width:100%;min-height:44px;padding:11px 14px}.fs-consent-actions button[hidden]{display:none!important}}
@media(prefers-reduced-motion:reduce){.fs-consent-switch,.fs-consent-switch:after,.fs-consent-actions button{transition:none}}
/* Desktop: use the available width while preserving the mobile layout. */
@media(min-width:1000px){
 .fs-consent-panel{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(520px,1.15fr);column-gap:40px;row-gap:8px;padding:18px clamp(24px,4vw,80px);align-items:start;font-size:14px}
 body #fs-consent-panel h2{grid-column:1;grid-row:1;font-size:20px;margin:0}
 .fs-consent-panel>p:not([role=alert]){grid-column:1;grid-row:2;margin:0}
 .fs-consent-panel>p:not([role=alert]):nth-of-type(2){grid-column:1;grid-row:3;margin:0}
 .fs-consent-categories{grid-column:2;grid-row:1 / span 3;gap:6px 24px;align-self:center}
 .fs-consent-categories label{padding:6px 0;font-size:14px}
 .fs-consent-actions{grid-column:2;grid-row:4;justify-content:flex-end;margin:0;gap:8px}
 .fs-consent-actions button{min-height:40px;padding:9px 16px;font-size:14px}
 .fs-consent-panel>[role=alert]{grid-column:1 / -1;grid-row:5;margin:0}
}
.fs-privacy-cookie-preferences{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #dce0e3}.fs-privacy-consent-button{border:1px solid #1d304b;border-radius:10px;background:#1d304b;color:#fff;padding:12px 20px;font:inherit;font-weight:600;cursor:pointer}.fs-privacy-consent-button:focus-visible{outline:3px solid #557aa8;outline-offset:3px}
