.mcgf-address-search {grid-column:1/-1;width:100%;margin-bottom:12px;color:#23525e;}
.mcgf-address-label {font-weight:600;margin-bottom:8px;}
.mcgf-address-search gmp-place-autocomplete {width:100%;color-scheme:light;border-radius:10px;--gmp-mat-color-surface:#fff;}
.mcgf-address-search button {display:block;background:transparent;border:0;color:#23525e;text-decoration:underline;font:inherit;font-size:13px;padding:8px 0;cursor:pointer;}
.mcgf-address-search button[hidden] {display:none!important;}
.mcgf-address-status {font-size:13px;line-height:1.5;margin:8px 0;}
.mcgf-address-status:empty {display:none;}
.gfield.mcgf-address-hidden {display:none!important;}
/* Property-first short form. Scoped to this import only. */
.mcgf-property-form {--mcgf-color:#23525e;--mcgf-accent:#875696;max-width:740px;margin-inline:auto;}
.mcgf-property-form .gform_fields {column-gap:16px!important;row-gap:14px!important;}
.mcgf-property-form .gfield--type-page {grid-column:1/-1;}
.mcgf-property-form .mcgf-property-type .gfield_radio {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;}
.mcgf-property-form .mcgf-property-type .gchoice {position:relative;margin:0!important;}
.mcgf-property-form .mcgf-property-type input[type=radio] {position:absolute;opacity:0;width:1px;height:1px;}
.mcgf-property-form .mcgf-property-type label {display:flex!important;align-items:center;justify-content:center;text-align:center;min-height:62px;padding:12px 5px;border:2px solid #dce1e3;border-radius:9px;cursor:pointer;font-size:clamp(13px,2.4vw,19px)!important;font-weight:600;max-width:none!important;margin:0!important;color:var(--mcgf-color);}
.mcgf-property-form .mcgf-property-type input:checked+label {border-color:var(--mcgf-accent);background:#f3edf7;}
.mcgf-property-form .mcgf-property-type input:focus-visible+label {outline:3px solid var(--mcgf-color);outline-offset:3px;}
.mcgf-property-form input[type=text] {width:100%;min-height:56px;border:1px solid #cdd5d8!important;border-radius:8px!important;padding:14px!important;font-size:17px!important;}
.mcgf-property-active .mcgf-address-part,.mcgf-property-active .mcgf-building-name {grid-column:span 12!important;}
.mcgf-property-active .mcgf-has-unit,.mcgf-property-active .mcgf-city {grid-column:span 8!important;}
.mcgf-property-active .mcgf-unit,.mcgf-property-active .mcgf-zip {grid-column:span 4!important;}
.mcgf-property-active .mcgf-property-hidden,.mcgf-property-active [hidden] {display:none!important;}
.mcgf-property-form .mcgf-address-search {grid-column:1/-1;margin:0;}
.mcgf-property-form .mcgf-address-search gmp-place-autocomplete {min-height:56px;}
.mcgf-property-form .gform_next_button,.mcgf-property-form .gform_button {width:100%!important;border:0!important;border-radius:8px!important;background:var(--mcgf-color)!important;color:#fff!important;min-height:58px;font-size:20px!important;font-weight:700!important;cursor:pointer;}
.mcgf-property-form .gform_next_button:disabled {opacity:.55;cursor:default;}
.mcgf-property-form .gform_page_footer {display:flex;flex-wrap:wrap;gap:12px;}
.mcgf-property-form .mcgf-area-notice {width:100%;padding:24px 16px;background:var(--mcgf-color);color:#fff;border-radius:9px;text-align:center;font-size:19px;}
.mcgf-property-form .mcgf-area-notice strong {display:block;font-size:30px;margin-bottom:12px;}
.mcgf-property-form .mcgf-area-notice p {margin:0;}
.mcgf-property-form .mcgf-change-address,.mcgf-property-form .mcgf-add-unit {grid-column:1/-1;justify-self:start;border:0;background:none;color:var(--mcgf-color);text-decoration:underline;cursor:pointer;font:inherit;font-size:13px;padding:0;}
@media(max-width:380px){.mcgf-property-form .mcgf-property-type .gfield_radio {gap:5px!important;}.mcgf-property-form input[type=text]{font-size:15px!important;padding:10px!important;}}
/* Property choices occupy three equal columns, including inside theme-styled forms. */
form.mcgf-property-form .mcgf-property-type .gfield_radio {width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;justify-items:stretch!important;}
form.mcgf-property-form .mcgf-property-type .gchoice {display:block!important;width:100%!important;min-width:0!important;max-width:none!important;}
form.mcgf-property-form .mcgf-property-type .gchoice label {box-sizing:border-box!important;width:100%!important;max-width:none!important;height:100%!important;border:2px solid #718b91!important;background:#fff!important;color:#23525e!important;opacity:1!important;white-space:normal!important;}
form.mcgf-property-form .mcgf-property-type .gchoice input:checked+label {border-color:#875696!important;background:#f3edf7!important;box-shadow:inset 0 0 0 1px #875696!important;}
form.mcgf-property-form .mcgf-property-type .gchoice label:hover {border-color:#23525e!important;}
form.mcgf-property-form .mcgf-address-search gmp-place-autocomplete {display:block;width:100%!important;box-sizing:border-box;background:#fff!important;background-color:#fff!important;color-scheme:light!important;border:1px solid #cdd5d8!important;border-radius:8px!important;}
/* Link-style action lives inside the input outline, with room reserved for its text. */
.mcgf-property-active .mcgf-street-control {position:relative;width:100%;min-width:0;}
form.mcgf-property-form .mcgf-street-control .mcgf-add-unit {position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;display:inline!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:4px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#23525e!important;font:inherit!important;font-size:13px!important;line-height:1.3!important;font-weight:500!important;text-decoration:underline!important;white-space:nowrap!important;cursor:pointer;}
form.mcgf-property-form .mcgf-street-control .mcgf-add-unit[hidden] {display:none!important;}
form.mcgf-property-form .mcgf-street-with-link input[type=text] {padding-right:145px!important;}
form.mcgf-property-form .mcgf-street-control .mcgf-add-unit:focus-visible {outline:2px solid #875696!important;outline-offset:3px!important;}
@media(max-width:480px){form.mcgf-property-form .mcgf-street-control .mcgf-add-unit {right:10px!important;font-size:11px!important;}form.mcgf-property-form .mcgf-street-with-link input[type=text] {padding-right:115px!important;}}
/* Let the Google host follow the actual input height rather than adding a blank strip. */
form.mcgf-property-form .mcgf-address-search {height:auto!important;min-height:0!important;padding:0!important;}
form.mcgf-property-form .mcgf-address-search gmp-place-autocomplete {height:auto!important;min-height:0!important;padding:0!important;vertical-align:top;}
form.mcgf-property-form .mcgf-address-search gmp-place-autocomplete::part(focus-ring) {border:2px solid rgb(35,82,94)!important;outline:none!important;box-shadow:none!important;}
form.mcgf-property-form .mcgf-address-error {grid-column:1/-1;width:100%;box-sizing:border-box;padding:16px 20px;border-radius:9px;background:rgb(35,82,94);color:#fff;text-align:center;font:inherit;font-weight:600;line-height:1.5;}
form.mcgf-property-form .mcgf-address-error[hidden] {display:none!important;}
/* Manual address: City, State, ZIP on the same twelve-column GF row. */
form.mcgf-property-active.mcgf-manual-address .mcgf-city {grid-column:span 6!important;min-width:0;}
form.mcgf-property-active.mcgf-manual-address .mcgf-state,
form.mcgf-property-active.mcgf-manual-address .mcgf-zip {grid-column:span 3!important;min-width:0;}
form.mcgf-property-form .mcgf-state select {box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;min-height:0!important;height:auto;max-height:none!important;border:1px solid #cdd5d8!important;border-radius:8px!important;background-color:#fff!important;color:#23525e;font:inherit;padding:0 28px 0 10px!important;line-height:normal!important;margin:0!important;}
@media(max-width:480px){form.mcgf-property-active.mcgf-manual-address .gform_fields {column-gap:8px!important;}}

/* Also suppress counters inserted after the property controller by GF scripts. */
form.mcgf-property-form .mcgf-state .ginput_counter,
form.mcgf-property-form .mcgf-state .charleft {display:none!important;}

/* Explicit arrow and text metrics avoid theme/native select alignment conflicts. */
form.mcgf-property-form .mcgf-state select {
  appearance:none!important;-webkit-appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%2323525e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;
  background-size:12px 8px!important;text-indent:0!important;
  padding-right:32px!important;-webkit-text-fill-color:#23525e!important;color:#23525e!important;
}

/* Short-form address search action: a compact link with keyboard button behavior. */
form.mcgf-property-form button.mcgf-address-search-link {
  display:inline-block!important;justify-self:start!important;
  width:auto!important;min-width:0!important;max-width:100%!important;
  height:auto!important;min-height:0!important;margin:0!important;padding:3px 0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;color:#23525e!important;
  font-family:inherit!important;font-size:13px!important;font-weight:400!important;
  line-height:1.4!important;text-transform:none!important;letter-spacing:normal!important;
  text-decoration:underline!important;text-underline-offset:3px;cursor:pointer;
}
form.mcgf-property-form button.mcgf-address-search-link:focus-visible {
  outline:2px solid #23525e!important;outline-offset:3px!important;
}
form.mcgf-property-form button.mcgf-address-search-link[hidden] {display:none!important;}

/* 0.8.7: keep navigation labels readable while Gravity Forms 3 is submitting. */
.gform_wrapper form:is(.mcgf-form,.mcgf-property-form) button:is(.gform_next_button,.gform_button).gform-has-spinner {
    display:inline-flex!important; align-items:center!important;
    justify-content:center!important; gap:12px!important; color:#fff!important;
}
.gform_wrapper form:is(.mcgf-form,.mcgf-property-form) button:is(.gform_next_button,.gform_button).gform-has-spinner::before {
    color:inherit!important;
}
.gform_wrapper form:is(.mcgf-form,.mcgf-property-form) button:is(.gform_next_button,.gform_button) .gform-loader {
    position:static!important; inset:auto!important; margin:0!important;
    flex:0 0 20px; width:20px!important; height:20px!important;
    inline-size:20px!important; block-size:20px!important;
}
.gform_wrapper form:is(.mcgf-form,.mcgf-property-form) button.gform_previous_button.gform-has-spinner {
    position:relative!important; overflow:visible!important; color:#23525e!important;
    margin-inline-end:36px!important;
}
.gform_wrapper form:is(.mcgf-form,.mcgf-property-form) button.gform_previous_button.gform-has-spinner::before {color:inherit!important;}
.gform_wrapper form:is(.mcgf-form,.mcgf-property-form) button.gform_previous_button .gform-loader {
    position:absolute!important; inset:auto!important;
    left:auto!important; right:-32px!important; top:0!important; bottom:0!important;
    margin:auto 0!important; width:20px!important; height:20px!important;
    inline-size:20px!important; block-size:20px!important;
    border-block-end-color:#a473b2; border-inline-start-color:#a473b2;
}
