/* The approved styles.css cookie-modal design, on Complianz's existing markup only.
   Complianz retains visibility states, active categories and all consent handlers. */
body.lec-consent-theme:has(.cmplz-cookiebanner.cmplz-show:not(.cmplz-hidden):not(.cmplz-dismissed))::before{
    content:"";position:fixed;inset:0;background:#15191a33;z-index:99999;pointer-events:none;
}
body.lec-consent-theme .cmplz-cookiebanner{
    position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);
    box-sizing:border-box;width:min(calc(100% - 2.5rem),43rem);min-width:0;max-width:43rem;
    height:auto;max-height:calc(100svh - 2.5rem);overflow:auto;margin:0;padding:clamp(1.5rem,4vw,2.5rem);
    grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:0;
    border:1px solid #ded3c9;border-radius:1.75rem;background:#f7f2eb;color:#15191a;
    box-shadow:0 16px 40px #15191a26;z-index:100000;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:1rem;line-height:1.55;text-align:left;
}
body.lec-consent-theme .cmplz-cookiebanner.cmplz-show,
body.lec-consent-theme .cmplz-cookiebanner.cmplz-show:hover{box-shadow:0 16px 40px #15191a26}
body.lec-consent-theme .cmplz-cookiebanner *{box-sizing:border-box}
body.lec-consent-theme .cmplz-cookiebanner>div{grid-column:1/-1}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-header{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.9rem .75rem;min-height:0;padding:0;margin:0 0 1rem;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-header::before{
    content:"Privacy" / "";grid-column:1/-1;font-size:.67rem;font-weight:750;letter-spacing:.15em;text-transform:uppercase;color:#cd6235;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-logo:empty{display:none}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-title{
    display:block;grid-column:1;grid-row:2;justify-self:start;margin:0;font-family:inherit;font-size:clamp(2rem,5vw,3rem);
    font-weight:500;line-height:1.05;letter-spacing:-.045em;color:#15191a;text-align:left;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-close{grid-column:2;grid-row:2;align-self:start;color:#15191a}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-close svg{width:14px;height:14px;fill:currentColor}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-divider{height:0;border:0;margin:0}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-body{width:100%;min-width:0;max-height:none;padding:0;overflow:visible}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-message{
    width:100%;max-width:38rem;margin:0 0 1.5rem;font-family:inherit;font-size:.93rem;font-weight:400;line-height:1.55;color:#6d706d;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-message p{margin:0;font:inherit;color:inherit}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:0;padding:0}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-btn{
    width:100%;height:auto;min-height:2.9rem;margin:0;padding:.7rem 1rem;border:1px solid #cd6235;border-radius:99px;
    background:transparent;color:#cd6235;box-shadow:none;font-family:inherit;font-size:.76rem;font-weight:700;
    line-height:1.55;white-space:normal;text-align:center;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:hover{background:#cd6235;color:#fff;border-color:#cd6235;transform:translateY(-1px)}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences,
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences{
    grid-column:1/-1;margin-top:.7rem;border:0;background:transparent;color:#15191a;text-decoration:underline;text-underline-offset:.22em;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences:hover,
body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences:hover{background:transparent;color:#15191a;transform:none}
body.lec-consent-theme .cmplz-cookiebanner.cmplz-categories-visible .cmplz-buttons .cmplz-save-preferences{
    order:-1;margin-top:0;border:1px solid #ded3c9;text-decoration:none;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-documents{margin:1.35rem 0 0;gap:1rem;justify-content:flex-start;text-align:left}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-links a{
    font-family:inherit;font-size:.76rem;font-weight:400;color:#15191a;text-decoration:underline;text-decoration-color:#cd6235;text-underline-offset:.25em;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-links a:hover{font-family:inherit;font-size:.76rem;color:#15191a}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories{width:100%;margin:1.5rem 0}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category{
    margin:0 0 .7rem;padding:1rem;border:1px solid #ded3c9;border-radius:1.1rem;background:transparent;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category:last-child{margin-bottom:0}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header{padding:0;gap:1rem;font-family:inherit;color:#15191a}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title{font-size:.85rem;font-weight:700;color:#15191a}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:.72rem;font-weight:400;color:#6d706d}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-description{padding-top:.7rem;font-family:inherit;font-size:.72rem;line-height:1.55;color:#6d706d}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-category-toggle{border:0;background:transparent;color:#15191a;box-shadow:none}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-category-toggle:hover{background:transparent;color:#15191a}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox{width:2.55rem;height:1.45rem;flex:none}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox{top:0;left:0;width:100%;height:100%;margin:0}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox .cmplz-label{display:block;padding:0;width:100%;height:100%}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox .cmplz-label::before{
    content:"";inset:0;width:100%;height:100%;padding:0;border:1px solid #b9aaa0;border-radius:99px;background:#fff;line-height:normal;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox .cmplz-label::after{
    content:"";top:50%;left:.2rem;width:.9rem;height:.9rem;border-radius:50%;background:#15191a;transform:translateY(-50%);transition:transform .2s,background .2s;
}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input:checked+.cmplz-label::before{padding:0;border-color:#cd6235;background:#cd6235}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input:checked+.cmplz-label::after{left:.2rem;background:#fff;transform:translate(1.05rem,-50%)}
body.lec-consent-theme .cmplz-cookiebanner input:disabled+.cmplz-label{opacity:.72}
body.lec-consent-theme .cmplz-cookiebanner .cmplz-btn:focus-visible,
body.lec-consent-theme .cmplz-cookiebanner a:focus-visible,
body.lec-consent-theme .cmplz-cookiebanner .cmplz-close:focus-visible,
body.lec-consent-theme .cmplz-cookiebanner .cmplz-category-toggle:focus-visible,
body.lec-consent-theme .cmplz-cookiebanner input:focus-visible+.cmplz-label{outline:2px solid #cd6235;outline-offset:3px}
@media(max-width:699px){
    body.lec-consent-theme .cmplz-cookiebanner{width:calc(100% - 2rem);max-height:calc(100svh - 2rem);padding:1.5rem}
    body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons{grid-template-columns:1fr}
    body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences,
    body.lec-consent-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){body.lec-consent-theme .cmplz-cookiebanner .cmplz-btn,body.lec-consent-theme .cmplz-cookiebanner .cmplz-label::after{transition:none}}

/* Existing floating Complianz control only: retain its position, visibility
   classes, slide animation and native consent handlers. */
body.lec-consent-theme #cmplz-manage-consent .cmplz-manage-consent{
    background:#cd6235;background-image:none;color:#fff;border:1px solid #cd6235;
    border-radius:99px;min-width:0;padding:.66rem 1rem;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:.7rem;font-weight:650;line-height:1.55;
    box-shadow:none;white-space:nowrap;transition:background .2s,border-color .2s;
}
body.lec-consent-theme #cmplz-manage-consent .cmplz-manage-consent:hover,
body.lec-consent-theme #cmplz-manage-consent .cmplz-manage-consent:focus-visible{
    background:#ad4826;background-image:none;color:#fff;border-color:#ad4826;
}
body.lec-consent-theme #cmplz-manage-consent .cmplz-manage-consent:focus-visible{outline:2px solid #cd6235;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body.lec-consent-theme #cmplz-manage-consent .cmplz-manage-consent{transition:none}}
