.acr-modal[hidden]{display:none!important}
.acr-modal{--acr-vv-height:100dvh;--acr-vv-top:0px;position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.acr-modal__backdrop{position:absolute;inset:0;background:rgba(12,20,16,.66);backdrop-filter:blur(3px)}
.acr-modal__dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(480px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;background:#fff;border-radius:18px;padding:28px;box-shadow:0 25px 80px rgba(0,0,0,.28)}
.acr-modal__header{position:relative;flex:0 0 auto}
.acr-modal__dialog h2{margin:0 40px 6px 0;font-size:26px;line-height:1.2}
.acr-modal__product{margin-bottom:20px;color:#52605a;font-weight:600}
.acr-modal__close{position:absolute;right:-14px;top:-16px;width:36px;height:36px;border:0;border-radius:50%;background:#f0f3f1;font-size:25px;line-height:1;cursor:pointer}
.acr-lead-form{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.acr-lead-form[hidden],.acr-success[hidden]{display:none!important}
.acr-form-scroll{box-sizing:border-box;width:100%;max-width:100%;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:auto;padding:2px 0}
.acr-form-actions{position:relative;z-index:2;flex:0 0 auto;margin:0 -2px -2px;padding:8px 2px 2px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 12px,#fff)}
.acr-field{margin:0 0 15px}
.acr-field label{display:block;font-weight:650}
.acr-field input{box-sizing:border-box;width:100%;margin-top:7px;padding:13px 14px;border:1px solid #c7d0cb;border-radius:10px;font:inherit;background:#fff}
.acr-field input:focus{outline:2px solid currentColor;outline-offset:2px}
.acr-submit{width:100%;margin-top:0}
.acr-submit[disabled]{opacity:.65;cursor:wait}
.acr-privacy{display:flex;align-items:flex-start;gap:8px;margin:4px 0 6px;color:#6d7772;font-size:12px;line-height:1.45}
.acr-privacy input{flex:0 0 auto;margin-top:2px}
.acr-privacy a{color:inherit;text-decoration:underline}
.acr-form-message{min-height:18px;margin-top:6px;font-size:13px;line-height:1.3}
.acr-form-message:empty{min-height:0;margin-top:0}
.acr-form-message--error{color:#b42318}
.acr-success{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;overflow:auto;text-align:center;padding:16px 4px}
.acr-success__icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#e8f7ed;color:#14823b;font-size:34px;font-weight:800}
.acr-success p{font-size:18px}
.acr-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.acr-modal-open{overflow:hidden}
.acr-product-cta .acr-open-form,.acr-cpa-block .acr-open-form{cursor:pointer}
@media(max-width:600px){
  .acr-modal{inset:auto 0 auto 0;top:var(--acr-vv-top,0px);height:var(--acr-vv-height,100dvh);align-items:end;padding:0}
  .acr-modal__dialog{box-sizing:border-box;width:100%;height:min(92dvh,calc(var(--acr-vv-height,100dvh) - 8px));max-height:calc(var(--acr-vv-height,100dvh) - 8px);border-radius:18px 18px 0 0;padding:20px 18px max(14px,env(safe-area-inset-bottom))}
  .acr-modal__dialog h2{font-size:22px}
  .acr-modal__product{margin-bottom:14px}
  .acr-modal__close{right:-8px;top:-8px}
  .acr-form-scroll{padding-right:0}
  .acr-field{margin-bottom:12px}
  .acr-field input{min-height:48px;margin-top:6px;padding:11px 12px}
  .acr-privacy{font-size:12px;line-height:1.35;margin-bottom:4px}
  .acr-form-actions{padding-top:10px;padding-bottom:max(2px,env(safe-area-inset-bottom))}
  .acr-submit{min-height:52px}
  .acr-modal--keyboard .acr-modal__dialog{height:calc(var(--acr-vv-height,100dvh) - 2px);max-height:calc(var(--acr-vv-height,100dvh) - 2px);border-radius:14px 14px 0 0;padding-top:12px;padding-bottom:6px}
  .acr-modal--keyboard .acr-modal__dialog h2{font-size:20px;line-height:1.15}
  .acr-modal--keyboard .acr-modal__product{margin-bottom:8px;font-size:14px}
  .acr-modal--keyboard .acr-field{margin-bottom:9px}
  .acr-modal--keyboard .acr-field input{min-height:44px;padding:9px 11px}
  .acr-modal--keyboard .acr-privacy{font-size:11px;line-height:1.25}
  .acr-modal--keyboard .acr-submit{min-height:48px}
}
.acr-modal__price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:-8px 0 18px;padding:12px 14px;border:1px solid #d8e2dc;border-radius:12px;background:#f5faf7}
.acr-modal__price>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.acr-modal__price span{color:#65716b;font-size:12px;font-weight:650}
.acr-modal__price strong{color:#0b6b35;font-size:18px;white-space:nowrap}
.acr-modal__price p{grid-column:1/-1;margin:0;color:#65716b;font-size:12px;line-height:1.4}
.acr-modal__price--confirm{display:block;background:#fff8e8;border-color:#ecd9a3}
.acr-modal__price--confirm p{color:#71551a;font-weight:650}
@media(max-width:600px){.acr-modal__price{grid-template-columns:1fr;margin:-4px 0 12px;padding:9px 11px}.acr-modal__price strong{font-size:17px}.acr-modal--keyboard .acr-modal__price{margin:0 0 7px;padding:7px 9px}.acr-modal--keyboard .acr-modal__price p{font-size:10px;line-height:1.2}}

/* Build 004.3: optimal-balance multilingual modal heading. */
.acr-modal .acr-modal__dialog .acr-modal__title{
  font-family:inherit;
  font-weight:700;
  letter-spacing:normal;
  text-transform:none;
}
@media(max-width:600px){
  .acr-modal .acr-modal__dialog .acr-modal__title{
    max-width:calc(100% - 38px);
    margin:0 38px 4px 0!important;
    font-size:20px!important;
    line-height:1.12!important;
    overflow-wrap:anywhere;
  }
  .acr-modal__product{
    margin-bottom:11px;
    font-size:15px;
    line-height:1.25;
  }
  .acr-modal__close{
    right:-6px;
    top:-7px;
    width:32px;
    height:32px;
    font-size:21px;
  }
  .acr-modal--keyboard .acr-modal__dialog .acr-modal__title{
    margin-bottom:3px!important;
    font-size:18px!important;
    line-height:1.1!important;
  }
}
@media(max-width:360px){
  .acr-modal .acr-modal__dialog .acr-modal__title{
    font-size:18px!important;
    line-height:1.1!important;
  }
  .acr-modal__product{
    margin-bottom:9px;
    font-size:14px;
  }
  .acr-modal--keyboard .acr-modal__dialog .acr-modal__title{
    font-size:17px!important;
  }
}

/* Build 005: keep the complete privacy consent scrollable above the keyboard CTA. */
@media(max-width:600px){
  .acr-form-scroll{
    box-sizing:border-box;
    padding-bottom:calc(var(--acr-action-reserve,56px) + 18px);
    scroll-padding-bottom:calc(var(--acr-action-reserve,56px) + 18px);
  }
  .acr-privacy{scroll-margin-bottom:calc(var(--acr-action-reserve,56px) + 18px)}
  .acr-modal--keyboard .acr-form-scroll{
    padding-bottom:calc(var(--acr-action-reserve,52px) + 14px);
    scroll-padding-bottom:calc(var(--acr-action-reserve,52px) + 14px);
  }
}
