/* Only the Canvas header CTA dialog; never changes theme/footer/menu styles. */
html body .wcb346-header-cta-overlay[hidden]{display:none!important}
html body .wcb346-header-cta-overlay{
    position:fixed;inset:0;z-index:2147483000;
    display:flex;align-items:center;justify-content:center;
    padding:22px;background:rgba(10,19,34,.78);box-sizing:border-box;
}
body.wcb346-cta-dialog-open{overflow:hidden!important}
html body .wcb346-header-cta-dialog{
    position:relative;box-sizing:border-box;display:flex;flex-direction:column;
    width:min(100%,680px);max-height:calc(100vh - 44px);max-height:calc(100dvh - 44px);
    background:#fff;color:#172033;border-radius:18px;overflow:hidden;
    box-shadow:0 24px 80px rgba(0,0,0,.28);
}
html body .wcb346-header-cta-dialog *{box-sizing:border-box}
html body .wcb346-header-cta-head{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    padding:18px 24px;border-bottom:1px solid #e8ecf2;flex:0 0 auto;
}
html body .wcb346-header-cta-head h2{
    color:#172033;font-size:clamp(19px,2.6vw,25px);line-height:1.25;
    font-weight:750;margin:0;padding:0;
}
html body .wcb346-header-cta-close{
    display:flex;align-items:center;justify-content:center;flex:0 0 38px;
    border:0;border-radius:50%;padding:0;width:38px;height:38px;
    background:#eef1f5;color:#172033;cursor:pointer;font:normal 30px/1 Arial,sans-serif;
}
html body .wcb346-header-cta-close:hover{background:#dfe5ee}
html body .wcb346-header-cta-close:focus-visible{outline:3px solid var(--wcb346-cta-bg,#0067ff);outline-offset:2px}
html body .wcb346-header-cta-content{
    padding:24px;min-height:0;overflow-y:auto;overscroll-behavior:contain;
    color:#172033;background:#fff;
}
@media(max-width:767px){
    html body .wcb346-header-cta-overlay{align-items:flex-end;padding:0}
    html body .wcb346-header-cta-dialog{
        width:100%;max-height:94vh;max-height:94dvh;border-radius:20px 20px 0 0;
    }
    html body .wcb346-header-cta-head{padding:16px 18px}
    html body .wcb346-header-cta-content{padding:18px 16px max(24px,env(safe-area-inset-bottom))}
}
