/* PHM site chrome (Development) — ported verbatim from wp_template_part footer (id 147) (DB override, modified 2026-11-02).
   PHM_SITE_CHROME_PARTS_V1 / step 1 of the header-footer-forms refactor plan, 2026-11-05.
   Layers are kept in their original order for parity; collapsing superseded layers is a later step. */
/* Printed at wp_footer priority 1 (same cascade position as the old inline footer styles: after page content styles). */

/* ---- footer block 05: style#phm-forms-monochrome-v1 ---- */
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form), body.phm-forms-frame{background:#000!important;color:#fff!important;color-scheme:dark;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog){border:1px solid #555!important;border-radius:20px!important;box-shadow:0 24px 80px #0008!important;}
body:not(.phm-legacy-landing) .phm-resource-popup__backdrop{background:rgba(0,0,0,.75)!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(h1,h2,h3,h4,p,label,legend,.textWrapper,.phm-form-privacy,.phm-trial-step-copy,.phm-trial-step-heading,.phm-form-success-title,.phm-form-success-copy),body.phm-forms-frame :is(h1,h2,h3,h4,p,label,legend,.textWrapper,.phm-form-privacy,.phm-trial-step-copy,.phm-trial-step-heading,.phm-form-success-title,.phm-form-success-copy){color:#fff!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(label,p,.textWrapper) span,body.phm-forms-frame :is(label,p,.textWrapper) span{color:inherit!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(form,.marketingForm,[data-layout="true"],.emptyContainer,.columnContainer,.outer),body.phm-forms-frame :is(form,.marketingForm,[data-layout="true"],.emptyContainer,.columnContainer,.outer){background:transparent!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea),body.phm-forms-frame :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea){background:#1c1c1c!important;color:#fff!important;border:1px solid transparent!important;border-radius:8px!important;caret-color:#fff;box-shadow:none!important;transition:background-color .18s,box-shadow .18s;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea)::placeholder,body.phm-forms-frame :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea)::placeholder{color:#bdbdbd!important;opacity:1;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) select option,body.phm-forms-frame select option{background:#1c1c1c!important;color:#fff!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea):focus,body.phm-forms-frame :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea):focus{border-color:transparent!important;outline:2px solid #fff!important;outline-offset:3px;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) input:is([type="checkbox"],[type="radio"]),body.phm-forms-frame input:is([type="checkbox"],[type="radio"]){accent-color:#fff!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(button,input[type="submit"],input[type="button"],.submitButton),body.phm-forms-frame :is(button,input[type="submit"],input[type="button"],.submitButton){background:#000!important;color:#fff!important;border:1px solid #fff!important;border-radius:8px!important;transition:background-color .18s,color .18s;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(button,input[type="submit"],input[type="button"],.submitButton) span,body.phm-forms-frame :is(button,input[type="submit"],input[type="button"],.submitButton) span{color:inherit!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(button,input[type="submit"],input[type="button"],.submitButton):hover,body.phm-forms-frame :is(button,input[type="submit"],input[type="button"],.submitButton):hover{background:#fff!important;color:#000!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(a,button,input,select,textarea):focus-visible,body.phm-forms-frame :is(a,button,input,select,textarea):focus-visible{outline:2px solid #fff!important;outline-offset:3px;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) a,body.phm-forms-frame a{color:#fff!important;text-decoration:underline;text-underline-offset:3px;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) :is(.error,.errorMessage,.error-message,.notification-message-error,[role="alert"]),body.phm-forms-frame :is(.error,.errorMessage,.error-message,.notification-message-error,[role="alert"]){color:#ffbaba!important;}
body:not(.phm-legacy-landing) :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog,.phm-dynamics-form,.phm-forms-frame) [aria-invalid="true"],body.phm-forms-frame [aria-invalid="true"]{border-color:#ffbaba!important;}
html:has(> body.phm-forms-frame){background:#000!important;color-scheme:dark;}



body:not(.phm-legacy-landing) .phm-dynamics-form .phoneCountryCode,body.phm-forms-frame .phoneCountryCode{border:0!important;background:transparent!important;box-shadow:none!important;}

/* ---- footer block 08: style#phm-section-containment-v1 ---- */
/* Keep content sections within their actual parent as well as the page gutters.
   Hero geometry, gated previews, media crops and carousel scrolling are independent. */
html body.phm-marketing-standard:not(.phm-legacy-landing) .wp-site-blocks .entry-content section:not([class*="hero"]):not(:has(.phm-hero)):not(section:not(:has(.phm-hero)) section){
  box-sizing:border-box!important;
  min-width:0!important;
  width:min(100%,var(--phm-section-max,1224px),calc(100vw - 2 * var(--phm-section-gutter,48px)))!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body.phm-marketing-standard .entry-content :is(.phm-made-grid,.phm-made-module-grid,.phm-made-cap-grid,.phm-made-split,.phm-made-intro-grid,.phm-resource-grid,.phm-about-grid,.fa-grid)>*{
  min-width:0;
}
