/* MASTER P0: quick selection stays in document flow and clear of mobile controls. */
body.est-home #concept-a .quick-strip{position:relative;margin-top:28px!important;clear:both;z-index:1}
body.est-home .quick-inner{grid-template-columns:minmax(160px,1.2fr) repeat(3,minmax(0,1fr)) auto;align-items:stretch}
body.est-home .quick-inner>*{min-width:0}
body.est-home .quick-field select{width:100%;max-width:100%;min-width:0}
body.est-home .quick-inner>.btn{white-space:normal;min-height:48px}
body.est-home #lead-modal{max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px);overflow:auto}
body.est-home .modal-box{max-width:100%;min-width:0}
@media(max-width:1024px){body.est-home .quick-inner{grid-template-columns:repeat(2,minmax(0,1fr))}body.est-home .quick-title{grid-column:1/-1}body.est-home .quick-inner>.btn{width:100%}}
@media(max-width:900px){body.est-home .tz-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px}body.est-home .tz-hero-actions>a{min-width:0;width:100%;white-space:normal;text-align:center;justify-content:center;overflow-wrap:anywhere}}
@media(max-width:680px){
 body.est-home .est-header-inner .est-header-logo{flex:0 1 min(230px,calc(100vw - 128px))!important;min-width:0}
 body.est-home .est-header-inner{gap:8px}
 body.est-home .est-mobile-contact{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding-bottom:calc(8px + env(safe-area-inset-bottom));gap:6px}
 body.est-home .est-mobile-contact>*{min-width:0;white-space:normal;text-align:center;line-height:1.25;font-size:11px;padding:8px 4px}
 body.est-home .b24-widget-button-wrapper{display:none!important}
 body.est-home .toast{bottom:calc(84px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);left:14px;right:14px}
 body.est-home{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
}
@media(max-width:430px){body.est-home .quick-inner{grid-template-columns:minmax(0,1fr)}body.est-home .quick-title{grid-column:auto}body.est-home .quick-field{padding:14px 16px}}

/* P0 final fix: the following section previously had -24/-48px top margins. */
body.est-home #concept-a .legacy-shortcuts{margin-top:24px!important;top:auto;transform:none}
body.est-home .quick-inner{height:auto!important;align-items:center}
body.est-home .quick-inner>.btn{align-self:center;height:48px;min-height:48px;padding:10px 16px;line-height:1.2}
