/* Applied only inside the native HubSpot defects form. */
form.htn-defects-wizard .hs-field-desc{display:none!important}
form.htn-defects-wizard .dw-checkbox{display:flex!important;align-items:flex-start;gap:12px;margin:0;padding:18px;border:1px solid #ccd6cc;background:#f8f9f5;border-radius:18px;cursor:pointer}
form.htn-defects-wizard .dw-checkbox input[type=checkbox]{width:20px!important;height:20px!important;min-height:20px!important;min-width:20px!important;padding:0!important;margin:3px 0 0!important;border-radius:4px!important;accent-color:#192b40;flex-shrink:0}
form.htn-defects-wizard .dw-checkbox:has(:checked){background:#d4ee80;border-color:#9bb746}
form.htn-defects-wizard .dw-extra:has(.dw-checkbox){margin-bottom:24px}
form.htn-defects-wizard .hs_ingangsdatum_van_uw_huurcontract.dw-visible{display:none!important}
.htn-defects-wizard .dw-extra input,.htn-defects-wizard .dw-extra textarea{height:auto!important;min-height:52px!important;padding:13px 15px!important;border-radius:14px!important;font-size:16px!important}
form.htn-defects-wizard a{color:#192b40!important}
form.htn-defects-wizard a.dw-link-button{color:#fff!important}
form.htn-defects-wizard .dw-result .dw-help a{display:inline;margin:0}
.htn-defects-wizard{display:flex!important;flex-direction:column;gap:0;font-size:16px!important;line-height:1.6!important;overflow-wrap:anywhere}
.htn-defects-wizard fieldset{display:contents!important}
.htn-defects-wizard .hs-form-field{display:none!important;float:none!important;width:100%!important;max-width:none!important}
.htn-defects-wizard .hs-form-field.dw-visible{display:block!important;margin-bottom:24px!important}
.htn-defects-wizard .hs-richtext,.htn-defects-wizard .hs_submit{display:none!important}
.htn-defects-wizard.dw-final .hs_submit{display:block!important;order:850;width:100%}
.htn-defects-wizard .hs_error_rollup{order:840}
.htn-defects-wizard .input{margin:0!important}
.htn-defects-wizard .hs-input:not([type=checkbox]):not([type=radio]){width:100%!important;max-width:none!important}
.dw-header{order:-100;margin:0 0 30px}.dw-step-label{display:flex;justify-content:space-between;gap:16px;color:#52616b;font-size:14px;font-weight:600}.dw-track{height:6px;background:#edf0e7;border-radius:999px;margin:12px 0 28px;overflow:hidden}.dw-track span{display:block;height:100%;background:#abc951;border-radius:999px;transition:width .2s}.dw-header h3{color:#192b40!important;font:600 clamp(26px,5vw,34px)/1.2 'DM Sans',Arial,sans-serif!important;margin:0 0 12px!important;letter-spacing:-.7px}.dw-header p{margin:0;color:#52616b;font-size:16px;line-height:1.6}
.dw-extra{display:none;order:100}.dw-extra.dw-visible{display:block}.dw-question{margin:0 0 26px}.dw-question>label,.dw-question>p:first-child{display:block!important;margin:0 0 10px!important;font-size:16px!important;font-weight:600!important;color:#203247!important}.dw-question small,.dw-help{display:block;color:#52616b;font:400 14px/1.6 'DM Sans',Arial,sans-serif;margin:8px 0 0}.dw-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dw-option{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #ccd6cc;border-radius:18px;background:#f8f9f5;color:#192b40;padding:18px;text-align:left;min-height:68px;cursor:pointer;font:500 16px/1.4 'DM Sans',Arial,sans-serif;white-space:normal;width:100%}.dw-option:after{content:'';width:18px;height:18px;border:1.5px solid #74817a;border-radius:50%;flex-shrink:0}.dw-option[aria-checked=true]{background:#d4ee80;border-color:#9bb746}.dw-option[aria-checked=true]:after{background:#192b40;border:5px solid #192b40;box-shadow:inset 0 0 0 3px #d4ee80}.dw-option:hover{border-color:#192b40}.dw-option:focus-visible,.dw-navigation button:focus-visible,.dw-extra input:focus-visible,.dw-extra textarea:focus-visible{outline:3px solid #748c27;outline-offset:3px}
.htn-defects-wizard .dw-extra input,.htn-defects-wizard .dw-extra textarea{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:52px;border:1px solid #b9c5c3;border-radius:14px;padding:13px 15px;background:#f8f9f5;color:#192b40;font:400 16px/1.5 'DM Sans',Arial,sans-serif}.htn-defects-wizard .dw-extra textarea{min-height:160px;resize:vertical}.dw-two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dw-conditional[hidden],.dw-extra [hidden],.dw-navigation [hidden],.dw-header[hidden]{display:none!important}
.dw-note{padding:18px 20px;border-radius:18px;background:#eef3e8;line-height:1.6;margin:14px 0 26px;font-size:15px}.dw-note strong{display:block;color:#192b40;margin-bottom:5px}.dw-note a{font-weight:600}.dw-result{padding:24px;border-radius:22px;background:#f2f5e9;border:1px solid #d4ddbf}.dw-result h4{margin:0 0 12px;font-size:23px;line-height:1.3}.dw-result p{font-size:16px;margin:0 0 14px}.dw-result a{display:inline-block;margin:5px 14px 5px 0;font-weight:600}.dw-result .dw-link-button{padding:12px 18px;background:#192b40;color:white;border-radius:999px;text-decoration:none!important}.dw-error{order:780;background:#fff2ef;border:1px solid #efb0a7;border-radius:14px;color:#972417;padding:14px 18px;font-size:15px;margin:16px 0}.dw-error:empty{display:none}.dw-navigation{order:900;border-top:1px solid #e1e6dc;margin-top:18px;padding-top:24px;display:flex;justify-content:space-between;gap:12px;align-items:center}.dw-navigation button{border:0;border-radius:999px;font:600 16px/1.4 'DM Sans',Arial,sans-serif;min-height:52px;padding:14px 25px;cursor:pointer}.dw-next{color:#192b40;background:#d4ee80}.dw-back{background:#f0f3ed;color:#203247}.dw-navigation button:disabled{opacity:.45;cursor:default}.dw-smallprint{order:950;color:#52616b;font-size:13px;margin:20px 0 0}.dw-review{margin:8px 0 26px;border:1px solid #d5decf;border-radius:18px;padding:18px}.dw-review summary{cursor:pointer;font-weight:600}.dw-review pre{white-space:pre-wrap;font:400 14px/1.65 'DM Sans',Arial,sans-serif;max-height:350px;overflow:auto;margin:16px 0 0}.dw-decline{border:0;background:none;padding:8px 0;color:#52616b;text-decoration:underline;font:400 14px/1.6 'DM Sans',Arial,sans-serif;cursor:pointer}.dw-terms-note{font-size:14px;color:#52616b;margin:10px 0 16px}.dw-terms-note[role=alert]{color:#972417}.htn-defects-wizard .hs_submit .actions{padding-top:0;margin-top:10px}.htn-defects-wizard .hs_submit .hs-button{width:100%;text-align:center}
@media(max-width:430px){.dw-options,.dw-two-fields{grid-template-columns:minmax(0,1fr)}.dw-option{min-height:60px;padding:16px}.dw-header{margin-bottom:24px}.dw-navigation button{padding:14px 18px}.dw-result{padding:20px}.dw-header h3{font-size:27px!important}}
@media(prefers-reduced-motion:reduce){.dw-track span{transition:none}}


.rw-tree .dw-header h3:focus,.htn-rent-wizard .dw-header h3:focus{outline:none}
.rw-tree [hidden],.rw-selection[hidden],.rw-tree[hidden],.rw-reset[hidden]{display:none!important}
.rw-tree{font-family:'DM Sans',Arial,sans-serif;color:#203247;max-width:100%}.rw-tree .dw-options{grid-template-columns:repeat(2,minmax(0,1fr))}.rw-tree [data-choice=counting]{grid-template-columns:1fr}.rw-tree .dw-option{border-radius:18px}.rw-tree input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:54px;border:1px solid #b9c5c3;border-radius:14px;padding:13px 15px;font:400 16px/1.5 'DM Sans',Arial,sans-serif;background:#f8f9f5;color:#192b40}.rw-tree .dw-note a{color:#192b40;text-decoration:underline}.rw-selection{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#eef3e8;border-radius:18px;font-size:14px;margin:0 0 28px}.rw-selection>span{flex:1;min-width:180px;font-weight:600}.rw-selection button{border:0;background:none;color:#203247;text-decoration:underline;font:inherit;cursor:pointer;padding:6px}.rw-reset{flex-basis:100%;border-top:1px solid #d1dbbf}.rw-reset button{margin-right:15px}.rw-tree :focus-visible,.rw-selection :focus-visible{outline:3px solid #748c27;outline-offset:3px}
form.htn-rent-wizard{display:flex!important;flex-direction:column;gap:0;font:400 16px/1.6 'DM Sans',Arial,sans-serif!important;overflow-wrap:anywhere}
.htn-rent-wizard fieldset{display:contents!important}.htn-rent-wizard .hs-form-field{display:none!important;float:none!important;width:100%!important;max-width:none!important}.htn-rent-wizard .hs-form-field.dw-visible{display:block!important;margin-bottom:24px!important}.htn-rent-wizard .hs-richtext,.htn-rent-wizard .hs_submit{display:none!important}.htn-rent-wizard.dw-final .hs_submit{display:block!important;order:850;width:100%}.htn-rent-wizard .hs_error_rollup{order:840}.htn-rent-wizard .input{margin:0!important}.htn-rent-wizard .hs-input:not([type=checkbox]):not([type=radio]){width:100%!important;max-width:none!important}.htn-rent-wizard .hs-field-desc{display:none!important}.htn-rent-wizard a{color:#192b40!important}.htn-rent-wizard .dw-extra textarea{box-sizing:border-box;display:block;min-height:130px;width:100%;max-width:100%;border:1px solid #b9c5c3;border-radius:14px;padding:13px 15px;font:400 16px/1.5 'DM Sans',Arial,sans-serif;background:#f8f9f5;color:#192b40}.htn-rent-wizard .dw-question{margin-top:20px}.htn-rent-wizard .hs_submit .actions{padding-top:0;margin-top:10px}.htn-rent-wizard .hs_submit .hs-button{width:100%;text-align:center}.htn-rent-wizard .rw-confirm{display:flex!important;align-items:flex-start;gap:10px;margin:18px 0;font-size:15px!important}.htn-rent-wizard .rw-confirm input{flex:0 0 19px;margin-top:4px}
@media(max-width:430px){.rw-tree .dw-options{grid-template-columns:1fr}.rw-selection{padding:14px}.rw-tree .dw-step-label{font-size:12px;gap:8px}}

form.htn-staged-form{display:flex!important;flex-direction:column;gap:0}form.htn-staged-form fieldset{display:contents!important}form.htn-staged-form .hs-form-field{display:none!important;float:none!important;width:100%!important;order:10}form.htn-staged-form .hs-form-field.si-visible{display:block!important}form.htn-staged-form .hs-form-field .input{margin-right:0!important}form.htn-staged-form .hs_submit,form.htn-staged-form .hs-recaptcha,form.htn-staged-form .hs_recaptcha,form.htn-staged-form .legal-consent-container{display:none!important;order:90}form.htn-staged-form.si-final .hs_submit,form.htn-staged-form.si-final .hs-recaptcha,form.htn-staged-form.si-final .hs_recaptcha,form.htn-staged-form.si-final .legal-consent-container{display:block!important}.si-header{order:-100;margin-bottom:28px}.si-kicker{display:flex;justify-content:space-between;gap:15px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.si-progress{height:6px;background:#e5ebdf;border-radius:99px;overflow:hidden;margin:16px 0 26px}.si-progress>span{height:100%;display:block;background:#8ba437;border-radius:99px}.si-header h3{font:600 29px/1.2 'DM Sans',Arial,sans-serif!important;color:#203247;letter-spacing:-.03em;margin:0 0 12px}.si-header p{font:16px/1.6 'DM Sans',Arial,sans-serif;color:#52616b;margin:0}.si-navigation{order:80;display:flex;justify-content:space-between;gap:15px;margin:20px 0}.si-navigation button{font:600 16px/1.5 'DM Sans',Arial,sans-serif;border-radius:999px;padding:13px 24px;min-height:50px;border:1px solid #b9c5c3;cursor:pointer;color:#203247;background:#fff}.si-navigation .si-next{background:#d4ee80;border-color:#d4ee80}.si-navigation button:disabled{opacity:.4;cursor:default}.si-error{order:75;color:#a32920;font:15px/1.6 'DM Sans',Arial,sans-serif}.si-error:empty{display:none}.si-note{order:0;border-radius:17px;padding:19px;background:#eff4e7;margin-bottom:24px;font:15px/1.7 'DM Sans',Arial,sans-serif;color:#203247}.si-note p{margin:8px 0 0}.si-small{order:100;font:12px/1.6 'DM Sans',Arial,sans-serif;color:#627068}.htn-staged-form [hidden]{display:none!important}.htn-staged-form .hs_error_rollup{order:78}.htn-staged-form .hs-richtext{order:70}.htn-staged-form .hs-form-checkbox-display,.htn-staged-form .hs-form-radio-display{display:block;padding:12px 14px!important;border:1px solid #d5ddd1;border-radius:13px;background:#f8f9f5;margin:8px 0}.htn-staged-form .hs-form-checkbox-display:has(input:checked),.htn-staged-form .hs-form-radio-display:has(input:checked){background:#edf5d5;border-color:#91aa42}.htn-staged-form .hs-form-checkbox-display input,.htn-staged-form .hs-form-radio-display input{margin-right:9px}.htn-staged-form .hs-form-checkbox-display span,.htn-staged-form .hs-form-radio-display span{font-size:15px!important}@media(max-width:480px){.si-kicker{font-size:11px}.si-header h3{font-size:25px!important}.si-navigation button{padding:13px 19px}}
form.htn-staged-form:not(.si-final) .hs-richtext{display:none!important}.htn-staged-form [data-si-field="niet_eens_met_afrekening"] .inputs-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.htn-staged-form [data-si-field="niet_eens_met_afrekening"] .inputs-list li{margin:0}.htn-staged-form [data-si-field="niet_eens_met_afrekening"] .hs-form-checkbox-display{margin:0}.htn-staged-form [data-si-field="kostenposten_op_de_afrekening"] .inputs-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.htn-staged-form [data-si-field="kostenposten_op_de_afrekening"] .inputs-list li{margin:0}.htn-staged-form [data-si-field="kostenposten_op_de_afrekening"] .hs-form-checkbox-display{margin:0;height:100%}@media(max-width:440px){.htn-staged-form [data-si-field="kostenposten_op_de_afrekening"] .inputs-list{grid-template-columns:1fr}}

/* Native CAPTCHA remains intact and visible with the native final submit. */
form.htn-rent-wizard.dw-final .hs_recaptcha.hs-recaptcha.hs-form-field,form.htn-defects-wizard.dw-final .hs_recaptcha.hs-recaptcha.hs-form-field{display:block!important;order:840}

/* Rent intake only: retain the chosen municipality without repeating its panel. */
.application-panel>.htn-municipality-choice[hidden]{display:none!important}
.application-panel .rw-tree button.dw-option[aria-checked=true],.application-panel .rw-tree button.dw-option[aria-checked=true]:is(:hover,:focus,:active){color:#192b40!important}
