/* The quote form is the only vertical scrolling surface on this page.
   The prior document-scroll override is intentionally superseded here. */
@media screen{
 html:has(body.workflow-quote){height:100%;min-height:0;overflow:hidden!important;}
 html body.workflow-quote{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden!important;}
 html body.workflow-quote>.site-header,html body.workflow-quote>.sd-quote-footer-links{flex:0 0 auto;}
 html body.workflow-quote>main{display:flex;flex:1 1 0;min-height:0;height:auto;overflow:hidden;}
 html body.workflow-quote #quote{display:flex;flex:1 1 0;height:100%;min-height:0;overflow:hidden;padding:10px 0 14px;box-sizing:border-box;}
 html body.workflow-quote #quote>.container{height:100%;min-height:0;max-height:100%;overflow:visible;box-sizing:border-box;align-items:start;}
 html body.workflow-quote #quote .quote-layout{display:contents;min-height:0;}
 html body.workflow-quote #quote #quote-form{position:static;top:auto;align-self:stretch;box-sizing:border-box;height:100%;min-height:0;max-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;padding-bottom:32px;}
 html body.workflow-quote>.sd-site-footer{display:none;}
}
@media screen and (max-width:1100px),screen and (max-height:700px){
 /* Short screens devote the available workspace to the form, keeping every
    field reachable instead of putting it below a stationary introduction. */
 html body.workflow-quote #quote>.container{display:block;}
 html body.workflow-quote #quote :is(.page-breadcrumb,.section-title,.quote-next-steps,.quote-info){display:none;}
 html body.workflow-quote #quote .quote-layout{display:contents!important;}
 html body.workflow-quote #quote #quote-form{grid-column:auto;grid-row:auto;width:100%;margin:0;}
 html body.workflow-quote>.sd-quote-footer-links{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:4px 16px;padding-block:4px;}
 html body.workflow-quote>.sd-quote-footer-links :is(a,strong){flex:0 0 auto;white-space:nowrap;}
}
