.question-modal[hidden]{display:none!important}
.question-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px;font-family:"Roboto",Arial,sans-serif}
.question-modal__backdrop{position:absolute;inset:0;background:rgba(0,26,52,.66);backdrop-filter:blur(3px)}
.question-modal__dialog{position:relative;z-index:1;width:min(680px,100%);background:#fff;border:1px solid #dfe5ea;box-shadow:0 26px 80px rgba(0,37,70,.34)}
.question-modal__head{padding:20px 64px 16px 24px;border-bottom:1px solid #e4e9ee;position:relative}
.question-modal__head:before{content:"";position:absolute;left:24px;bottom:-2px;width:54px;height:3px;background:#f7941d}
.question-modal__head h2{margin:0;font-size:27px;line-height:1.15;color:#003a70}
.question-modal__head p{margin:0;color:#667684;line-height:1.5;font-size:14px}
.question-modal__close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:1px solid #dfe5ea;background:#fff;color:#536271;font-size:27px;line-height:1;cursor:pointer;display:grid;place-items:center}
.question-modal__close:hover{border-color:#003a70;color:#003a70}
.question-form{padding:20px 24px 22px}
.question-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.question-form__field{display:grid;gap:6px}
.question-form__field--wide{grid-column:1/-1}
.question-form label{font-size:13px;font-weight:700;color:#344554}
.question-form input,.question-form textarea{width:100%;border:1px solid #cfd8e1;background:#fff;color:#1d2a36;border-radius:2px;outline:none;transition:.15s ease;font:inherit}
.question-form input{height:44px;padding:0 12px}
.question-form textarea{height:108px;min-height:108px;max-height:160px;resize:vertical;padding:11px 12px;line-height:1.45}
.question-form input:focus,.question-form textarea:focus{border-color:#0b4d86;box-shadow:0 0 0 3px rgba(11,77,134,.09)}
.question-form [aria-invalid="true"]{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.08)}
.question-form__captcha-row{display:grid;grid-template-columns:190px 40px 1fr;gap:10px;align-items:center}
.question-form__captcha-image{display:block;width:190px;height:56px;object-fit:cover;border:0;background:#f4f6f8}
.question-form__captcha-refresh{width:40px;height:40px;border:1px solid #cfd8e1;background:#fff;color:#003a70;cursor:pointer;font-size:22px;display:grid;place-items:center}
.question-form__captcha-refresh:hover{background:#f4f7fa}
.question-form__captcha-input{height:44px!important}

.question-form__consent{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;cursor:pointer;font-size:12px!important;font-weight:400!important;line-height:1.35;color:#657581!important}
.question-form__consent input{width:18px!important;height:18px!important;margin:1px 0 0;padding:0;accent-color:#003a70;box-shadow:none!important;cursor:pointer}
.question-form__consent span{display:block}
.question-form__consent a{color:#003a70;text-decoration:underline;text-underline-offset:2px;font-weight:600}
.question-form__consent a:hover{color:#f7941d}
.question-form__consent input[aria-invalid="true"]{outline:2px solid #b42318;outline-offset:2px}
.question-form__consent input[aria-invalid="true"] + span{color:#8b1e16}
.question-form__honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.question-form__status{display:none;margin-top:12px;padding:12px 14px;font-size:14px;line-height:1.4}
.question-form__status.is-error{display:block;background:#fff3f2;border:1px solid #f0c4c0;color:#8b1e16}
.question-form__status.is-success{display:block;background:#eef8f2;border:1px solid #b8dfc7;color:#17643a}
.question-form__actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:14px}
.question-form__note{font-size:12px;line-height:1.45;color:#758491;max-width:330px}
.question-form__submit{min-width:190px;height:44px;border:0;background:#f7941d;color:#fff;font-weight:800;padding:0 24px;cursor:pointer;border-radius:2px}
.question-form__submit:hover{background:#e98611}
.question-form__submit:disabled{opacity:.6;cursor:wait}
body.question-modal-open{overflow:hidden}

.question-form.is-sent{padding:42px 28px 48px}
.question-form.is-sent .question-form__grid,
.question-form.is-sent .question-form__honeypot,
.question-form.is-sent .question-form__actions{display:none!important}
.question-form.is-sent .question-form__status.is-success{display:block;margin:0;padding:22px 24px;font-size:18px;line-height:1.45;text-align:center}
.question-modal__dialog.is-sent .question-modal__head{height:52px;padding:0;border-bottom:0}
.question-modal__dialog.is-sent .question-modal__head:before,
.question-modal__dialog.is-sent .question-modal__head h2,
.question-modal__dialog.is-sent .question-modal__head p{display:none}
.question-modal__dialog.is-sent .question-modal__close{top:8px;right:8px}

/* Scroll only as a safety fallback on genuinely short screens. */
@media(max-height:700px) and (min-width:681px){
  .question-modal{padding:10px}
  .question-modal__dialog{max-height:calc(100vh - 20px);overflow:auto}
}


@media(max-width:680px){
  .question-modal{padding:12px;align-items:end}
  .question-modal__dialog{max-height:calc(100vh - 24px);overflow:auto}
  .question-modal__head{padding:24px 60px 18px 20px}
  .question-modal__head:before{left:20px}
  .question-modal__head h2{font-size:25px}
  .question-modal__close{right:14px;top:14px}
  .question-form{padding:18px 18px 20px}
  .question-form__grid{grid-template-columns:1fr;gap:12px}
  .question-form__field--wide{grid-column:auto}
  .question-form__captcha-row{grid-template-columns:1fr 42px}
  .question-form__captcha-image{width:100%;height:56px;object-fit:cover}
  .question-form__captcha-input{grid-column:1/-1}
  .question-form__actions{align-items:stretch;flex-direction:column}
  .question-form__note{max-width:none}
  .question-form__submit{width:100%}
}
