.hb-feedback-dialog{box-sizing:border-box;width:min(450px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:40px 30px 30px;border:0;border-radius:20px;overflow:auto;background:#fff;color:#1b1b1b}
.hb-feedback-dialog:not([open]){display:none}
.hb-feedback-dialog::backdrop{background:rgba(0,0,0,.45)}
.hb-feedback-dialog h2{margin:0 0 15px 0;font:400 24px/1.15 Wremena,Georgia,serif;letter-spacing:0;text-transform:none;text-align: center;}
.hb-feedback-dialog>p{margin:0 0 25px;font:400 14px/1.4 Inter,Arial,sans-serif;text-align: center;}
.hb-feedback-close{position:absolute;top:10px;right:12px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:none;color:inherit;font:400 28px/1 Arial,sans-serif;cursor:pointer}
.hb-feedback-fields{font-family:Inter,Arial,sans-serif}
.hb-feedback-fields.fluentform form{display:flex;flex-direction:column;gap:9px;margin:0}
.hb-feedback-fields form>fieldset{display:flex;flex-direction:column;gap:inherit;min-width:0}
.hb-feedback-fields .ff-el-group{margin:0;min-width:0}
.hb-feedback-fields .ff-el-input--label{display:none}
.hb-feedback-fields .hb-feedback-phone{position:relative}
.hb-feedback-fields .hb-feedback-phone:before{content:'';position:absolute;left:16px;top:25px;transform:translateY(-50%);width:22px;height:15px;background:linear-gradient(#fff 0 33.33%,#0039a6 33.33% 66.66%,#d52b1e 66.66%);box-shadow:0 0 0 1px #ddd;pointer-events:none}
.hb-feedback-dialog input[type=tel]{box-sizing:border-box;width:100%;min-width:0;height:50px;padding:0 15px 0 52px;border:1px solid #c9c9c9;border-radius:8px;background:#fff;color:#1b1b1b;font:400 14px Inter,Arial,sans-serif;box-shadow:none}
.fluentform.hb-feedback-fields .ff-el-tc label.ff_tc_label{display:flex;align-items:flex-start;gap:10px;margin:0;font:400 12px/1.4 Inter,Arial,sans-serif;color:#666;text-align:left;cursor:pointer}
.hb-feedback-fields .ff_tc_checkbox{display:block;flex:0 0 18px;padding:0}
.hb-feedback-fields .ff_tc_checkbox input[type=checkbox]{appearance:auto;position:static;width:18px;height:18px;margin:0;padding:0;border-radius:2px;accent-color:#E07A5F;vertical-align:top}
.hb-feedback-fields .ff_t_c{flex:1;min-width:0;font:inherit}
.hb-feedback-fields .ff_t_c p{margin:0;font:inherit}
.hb-feedback-fields .ff_t_c a{color:inherit;text-decoration:underline}
.hb-feedback-dialog .ff-btn-submit{display:block;width:100%;height:50px;padding:0 20px;border:0;border-radius:50px;background:#E07A5F;color:#fff;font:500 16px Inter,Arial,sans-serif;cursor:pointer;box-shadow:none}
.hb-feedback-dialog .ff-btn-submit:hover{background:#D96F52;color:#fff}
.hb-feedback-fields .error,.hb-feedback-fields .text-danger{color:#b42318;font:400 12px/1.4 Inter,Arial,sans-serif}
.hb-feedback-fields .ff-message-success{padding:15px;border-radius:8px;color:#193c38;font:400 14px/1.4 Inter,Arial,sans-serif}
.hb-feedback-fields :focus-visible,.hb-feedback-close:focus-visible{outline:2px solid #193c38;outline-offset:3px}
/* Page forms inherit each lead block's existing sizing, backgrounds and spacing. */
.hb-lead-form .hb-feedback-fields .ff-el-group{margin:0}
.hb-lead-form .hb-feedback-fields .ff_submit_btn_wrapper{width:100%}
.hb-lead-form .hb-feedback-fields .ff-btn-submit{width:100%}
.hb-lead-form .hb-feedback-fields .hb-feedback-phone input{padding-left:52px}
/* Bottom lead forms: color the actual form/fields, never the surrounding card. */
.hb-lead-form:not(.hb-lead-form--split) .hb-feedback-fields .frm-fluent-form{box-sizing:border-box;max-width:452px;padding:15px;border-radius:10px;background:#FAF6F1}
.hb-lead-form:not(.hb-lead-form--split) .hb-feedback-fields .frm-fluent-form input:not([type=hidden]):not([type=checkbox]):not([type=submit]),.hb-lead-form:not(.hb-lead-form--split) .hb-feedback-fields .frm-fluent-form textarea,.hb-lead-form:not(.hb-lead-form--split) .hb-feedback-fields .frm-fluent-form select{background:#FAF6F1}
@media(max-width:760px){.hb-feedback-dialog{padding:40px 20px 25px;border-radius:16px}}
/* Cooperation uses its own managed form while retaining the section's design controls. */
.hr-form[id]{scroll-margin-top:30px}
.hr-form__composition>.hb-cooperation-fields{width:min(100%,var(--hr-form-w));flex:none}
.hr-form .hb-cooperation-fields input:not([type=hidden]):not([type=checkbox]),.hr-form .hb-cooperation-fields textarea{height:var(--hr-field-h);border-radius:var(--hr-field-radius);background:var(--hr-field-bg);font:400 14px Inter,Arial,sans-serif}
.hr-form .hb-cooperation-fields .hb-feedback-phone input[type=tel]{padding-left:52px}
.hr-form .hb-cooperation-fields .hb-feedback-phone:before{top:calc(var(--hr-field-h)/2)}
.hr-form .hb-cooperation-fields textarea{height:auto;min-height:120px;padding:14px 12px;resize:vertical}
.hr-form .hb-cooperation-fields .ff_tc_checkbox input[type=checkbox]{width:18px;height:18px;padding:0;margin:0}
.hr-form .hb-cooperation-fields .ff-btn-submit{width:100%;height:52px;border-radius:999px;background:var(--hr-button-bg);color:var(--hr-button-color);font:500 16px Inter,Arial,sans-serif;cursor:pointer}
.ff-el-group.hb-feedback-consent.ff-el-input--content {margin-top: 15px;}
.ff-el-group.ff-text-center.ff_submit_btn_wrapper {margin-top: 30px;}
@media (max-width: 760px) {
    .hb-feedback-fields.fluentform form {
        gap: 5px;
    }
}