/* Midnight Signature: shared property and form surfaces; the white site header stays intact. */
:root{--ivey-midnight:#0c151b;--ivey-panel:#111e26;--ivey-white:#f5f4ef;--ivey-muted:#c0ced5;--ivey-line:#405764;--ivey-ice:#d1e4ed}
html.ivey-property-dark body,html.ivey-property-dark #main,html.ivey-property-dark #wrapper,html.ivey-property-dark #ct-idx-app{background:#0c151b!important;color:#f5f4ef!important}
body .gi-signature-contact,body .gi-contact-balanced>.vc_column_container:last-child>.vc_column-inner,body #ivey-seller .is-card{background:#111e26!important;color:#f5f4ef!important;border-color:#405764!important}
body #ivey-seller{background:#0c151b!important;color:#f5f4ef!important}
body .gi-signature-contact :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select),body .ig-seller :is(input:not([type=hidden]),textarea,select),body #ivey-seller :is(input:not([type=submit]):not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select),body .gi-signature-dialog :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#0c151b!important;color:#f5f4ef!important;border:1px solid #405764!important;border-radius:3px!important;color-scheme:dark!important;font-size:16px!important;box-sizing:border-box;max-width:100%}
body :is(.gi-signature-contact,.ig-seller,#ivey-seller,.gi-signature-dialog) :is(input,textarea)::placeholder{color:#acbcc6!important;opacity:1}
body :is(.gi-signature-contact,.ig-seller,#ivey-seller,.gi-signature-dialog) :is(label,.gi-field-label){color:#d1e4ed!important}
body :is(.gi-signature-contact,.ig-seller,#ivey-seller) :is(button[type=submit],input[type=submit],.is-submit){background:#eef0ed!important;color:#1d3543!important;border:1px solid #eef0ed!important;border-radius:3px!important;letter-spacing:.08em!important;min-height:44px}
body :is(.gi-signature-contact,.ig-seller,#ivey-seller) :is(button[type=submit],input[type=submit]):hover{background:#d1e4ed!important;color:#0c151b!important}
body :is(.gi-signature-contact,.ig-seller,#ivey-seller,.gi-signature-dialog) :is(a,button,input,textarea,select):focus-visible{outline:2px solid #d1e4ed!important;outline-offset:3px}
body .gi-midnight-phone{display:inline-block;color:#d1e4ed!important;font:14px/1.6 Arial,sans-serif;letter-spacing:.04em;text-decoration:none;margin:14px 0 0;min-height:24px}
body .gi-midnight-phone:hover{text-decoration:underline;text-underline-offset:4px}
/* Higher specificity than the existing IDX account-dialog compatibility styles. */
html.ivey-property-dark body.gi-idx-page .chakra-modal__content.chakra-modal__content{background:#111e26!important;color:#f5f4ef!important;border-color:#405764!important}
html.ivey-property-dark body.gi-idx-page .chakra-modal__content.chakra-modal__content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){background:#0c151b!important;color:#f5f4ef!important;border-color:#405764!important;color-scheme:dark!important}
html.ivey-property-dark body.gi-idx-page .chakra-modal__content.chakra-modal__content :is(input,textarea)::placeholder{color:#acbcc6!important}
html.ivey-property-dark body.gi-idx-page .chakra-modal__content.chakra-modal__content button[type=submit]{background:#eef0ed!important;color:#1d3543!important;border-color:#eef0ed!important}
html.ivey-property-dark body.gi-idx-page .chakra-modal__content.chakra-modal__content .chakra-select__icon-wrapper *{color:#d1e4ed!important}
/* User refinement: keep the homepage contact area quiet, with blue limited to details. */
html body .gi-contact-balanced>.vc_column_container:last-child>.vc_column-inner,
html body #wpcf7-f5992-o1.gi-signature-contact{background:#000!important;border-color:#405764!important}
html body #wpcf7-f5992-o1 .gi-form-intro{margin-bottom:10px!important}
html body #wpcf7-f5992-o1 a.gi-midnight-phone{display:inline-block;margin:0 0 20px!important;font:14px/1.6 Arial,sans-serif!important;color:#d1e4ed!important;letter-spacing:.04em!important}
html body #wpcf7-f5992-o1.gi-signature-contact :is(input:not([type=submit]):not([type=checkbox]):not([type=hidden]),textarea){background:transparent!important;border:0!important;border-bottom:1px solid #405764!important;border-radius:0!important;color:#f5f4ef!important}
