/* PHM site chrome (Development) — ported verbatim from wp_template_part header (id 125) (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. */

/* ---- header block 17: style#phm-form-repair-v2 ---- */
/* Shared Development form geometry. Use flex centring so animation resets cannot remove dialog translation. */
html:root body .phm-gate-modal:not([hidden]){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100dvh!important;padding:16px!important;margin:0!important;z-index:999999!important;box-sizing:border-box!important;transform:none!important}
html:root body .phm-gate-modal[hidden]{display:none!important}
html:root body .phm-gate-modal .phm-gate-modal__dialog{position:relative!important;inset:auto!important;left:auto!important;top:auto!important;transform:none!important;margin:0!important;box-sizing:border-box!important;width:min(680px,100%)!important;max-width:100%!important;max-height:calc(100dvh - 32px)!important;height:auto!important;overflow:auto!important;overscroll-behavior:contain;padding:32px!important;flex:0 1 680px!important;min-width:0!important;z-index:1}
html:root body .phm-resource-popup__dialog{box-sizing:border-box!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;overscroll-behavior:contain}
html:root body :is(.phm-resource-popup__close,.phm-gate-modal__close){z-index:3!important;min-width:44px!important;min-height:44px!important}
html:root body :is(.phm-resource-popup__dialog,.phm-gate-modal__dialog) .phm-form-intro h2,html:root body .phm-gate-modal__dialog>h2{padding-right:44px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.2!important}
html:root body .phm-trial-page .phm-trial-grid{min-width:0!important;max-width:100%!important}
html:root body .phm-trial-page .phm-trial-grid>*{min-width:0!important;max-width:100%!important}
html:root body iframe.phm-trial-frame{scroll-margin-top:160px}
html:root body .phm-trial-page .phm-trial-form-card{width:100%!important;margin:0!important;background:#000!important;color:#fff!important;border:1px solid #444!important}
html:root body .phm-trial-page .phm-trial-form-head :is(p,h2,span),html:root body .phm-trial-page .phm-trial-security{color:#eee!important}
html:root body .phm-trial-page .phm-trial-security strong{color:#fff!important}
html:root body .phm-trial-page .phm-trial-form-head p{color:#bbb!important}
html:root body .phm-trial-page .phm-trial-form-card .phm-trial-step-heading{display:none!important}
html:root body .phm-trial-page .phm-trial-form-card [data-phm-trial-stage="2"] .phm-trial-step-heading{display:block!important}
html:root body .phm-dynamics-form{min-width:0!important;max-width:100%!important;background:#000!important;color:#fff!important;border-radius:16px!important;color-scheme:dark}
html:root body .phm-dynamics-form,html:root body .phm-dynamics-form *{box-sizing:border-box}
html:root body .phm-dynamics-form .marketingForm{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;font:16px/1.5 Manrope,system-ui,sans-serif!important}
html:root body .phm-dynamics-form main{background:transparent!important;color:inherit!important;padding:0!important;margin:0!important;min-width:0!important;max-width:100%!important}
html:root body .phm-dynamics-form :is([data-layout],.emptyContainer,.columnContainer,.outer,.phm-form-fields){min-width:0!important;max-width:100%!important;background:transparent!important}
html:root body .phm-dynamics-form :is(h2,h3,p,label,legend,.textWrapper,.phm-trial-step-copy){color:#fff!important}
html:root body .phm-dynamics-form .phm-form-fields>*,html:root body .phm-dynamics-form [data-editorblocktype]{min-width:0!important;max-width:100%!important}
html:root body .phm-dynamics-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),html:root body .phm-dynamics-form select,html:root body .phm-dynamics-form textarea:not([name="g-recaptcha-response"]){width:100%!important;max-width:100%!important;min-width:0!important;min-height:48px!important;padding:12px 14px!important;background:#1c1c1c!important;color:#fff!important;border:1px solid #555!important;border-radius:8px!important;font:16px/1.45 Manrope,system-ui,sans-serif!important}
html:root body .phm-dynamics-form input::placeholder,html:root body .phm-dynamics-form textarea::placeholder{color:#bdbdbd!important;opacity:1!important}
html:root body .phm-dynamics-form :is(label,p,span){white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
html:root body .phm-dynamics-form :is([data-editorblocktype="Consent"],.consentBlock,.twoOptionFormFieldBlock){width:100%!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
html:root body .phm-dynamics-form :is([data-editorblocktype="Consent"],.consentBlock,.twoOptionFormFieldBlock) label{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important}
html:root body .phm-dynamics-form :is([data-editorblocktype="Consent"],.consentBlock,.twoOptionFormFieldBlock) :is(p,span){min-width:0!important;white-space:normal!important;overflow:visible!important;height:auto!important;line-height:1.5!important;margin:0!important}
html:root body .phm-dynamics-form input:is([type="checkbox"],[type="radio"]){width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;margin-top:3px!important;accent-color:#fff}
html:root body .phm-dynamics-form :is(button[type="submit"],.submitButton){min-height:48px!important;max-width:100%!important;padding:12px 20px!important;background:#000!important;color:#fff!important;border:1px solid #fff!important;border-radius:8px!important;font:700 16px/1.4 Manrope,system-ui,sans-serif!important;white-space:normal!important}
html:root body .phm-dynamics-form :is(input,select,textarea,button):focus-visible{outline:2px solid #fff!important;outline-offset:3px!important}
html:root body .phm-dynamics-form .phm-form-privacy{font-size:13px!important;line-height:1.5!important;color:#ddd!important;margin-top:20px!important}
html:root body .phm-dynamics-form .phm-form-privacy a{color:#fff!important;text-decoration:underline!important}
html:root body .phm-dynamics-form [aria-invalid="true"]{border-color:#ff9b91!important}
/* Microsoft's feedback inherits a fixed pixel height and desktop width from the replaced form. */
html:root body .phm-dynamics-form .onFormSubmittedFeedback{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
html:root body .phm-dynamics-form .onFormSubmittedFeedbackInternalContainer{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:20px!important;background:#151515!important;border:1px solid #666!important;border-radius:12px!important}
html:root body .phm-dynamics-form .onFormSubmittedFeedbackInternalContainer[data-submissionresponse="error"]{background:#25110f!important;border-color:#ff9b91!important}
html:root body .phm-dynamics-form .onFormSubmittedFeedbackIcon{display:none!important}
html:root body .phm-dynamics-form .onFormSubmittedFeedbackMessage{display:block!important;position:static!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;color:#fff!important;font:16px/1.5 Manrope,system-ui,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important}
html:root body .phm-dynamics-form .onFormSubmittedFeedbackMessage:focus-visible{outline:2px solid #fff!important;outline-offset:6px!important}
html:root body .phm-trial-submit-error{padding:16px!important;margin:16px 0!important;border:1px solid #ff9b91!important;border-radius:8px!important;background:#25110f!important;color:#fff!important;font:16px/1.5 Manrope,system-ui,sans-serif!important;overflow-wrap:anywhere!important}
html:root body :is(.phm-ci-migrated,.phm-resource-page>.phm-dynamics-form){padding:28px!important;background:#000!important;border:1px solid #444!important;border-radius:16px!important;color:#fff!important;max-width:100%!important;min-width:0!important}
html:root body .phm-ci-migrated :is(.phm-form-intro h2,.phm-form-intro p){color:#fff!important}
html:root body .phm-ci-migrated{scroll-margin-top:150px}
html:root body :is(.phm-ci-migrated,.phm-dynamics-form,.phm-trial-stages){opacity:1!important;visibility:visible!important;transform:none!important;animation:none!important;transition:none!important}
html:root body .phm-ci-migrated :is(.phm-trial-step-heading,.phm-trial-step-copy){color:#fff!important}
html:root body.page-id-572 .entry-content .phm-dynamics-form{width:min(680px,calc(100% - 40px))!important;margin:28px auto 64px!important;padding:24px!important;border:1px solid #444!important;border-radius:16px!important}
html:root body .phm-dynamics-form [data-editorblocktype="Consent"] :is(label,p,span){text-align:left!important}
@media(max-width:700px){
html:root body .phm-trial-page .phm-trial-hero{padding-left:20px!important;padding-right:20px!important}
html:root body .phm-trial-page .phm-trial-wrap{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
html:root body .phm-trial-page .phm-trial-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
html:root body .phm-trial-page .phm-trial-copy{padding:0!important;width:100%!important}
html:root body .phm-trial-page .phm-trial-form-card{padding:24px 18px!important;border-radius:16px!important}
html:root body .phm-gate-modal .phm-gate-modal__dialog{padding:24px 20px!important}
html:root body .phm-dynamics-form .phm-form-name-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
html:root body .phm-ci-migrated{padding:20px!important}
html:root body .phm-legacy-landing .card:has(.phm-ci-migrated){padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
}
@media(max-width:360px){html:root body .phm-resource-popup__dialog{padding:20px 10px!important}}

/* ---- header block 20: style#phm-form-close-glow-v1 ---- */
html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close),
html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close):is(:hover,:focus,:focus-visible,:active){
background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;color:#fff!important;text-decoration:none!important;transform:none!important;
}
html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close){min-width:44px!important;min-height:44px!important;text-shadow:none!important;transition:text-shadow .18s ease!important;cursor:pointer}
html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close):is(:hover,:focus-visible){text-shadow:0 0 6px rgba(255,255,255,.95),0 0 16px rgba(255,255,255,.65)!important}
html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close)::before,
html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close)::after{content:none!important;display:none!important}
@media(prefers-reduced-motion:reduce){html:root body :is(#phm-resource-popup,#phm-enquiry-popup,#phm-trial-popup,.phm-gate-modal) :is(.phm-resource-popup__close,.phm-gate-modal__close){transition:none!important}}
