/* v287: one stable iOS result scroller; no document-scroll conflict. */
:root{
  --gq-safe-top:max(env(safe-area-inset-top, 0px), 10px);
  --gq-safe-bottom:max(env(safe-area-inset-bottom, 0px), 12px);
  --gq-result-header:66px;
}

html.gq-estimator-active{
  height:100%!important;
  overflow:hidden!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode){
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:var(--gq-app-height,100dvh)!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  touch-action:pan-y!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) #home,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .quote-zone,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .quote-zone>.wrap,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .quote-shell,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .quote-body,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) #estimator{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:var(--gq-app-height,100dvh)!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  touch-action:pan-y!important;
}

body.estimator-mode:not(.site-browse-mode) .quote-head{
  top:0!important;
  height:calc(var(--gq-result-header) + var(--gq-safe-top))!important;
  padding:var(--gq-safe-top) 12px 6px!important;
}
body.estimator-mode:not(.site-browse-mode) .quote-progress-track{
  top:calc(var(--gq-result-header) + var(--gq-safe-top))!important;
}

body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority{
  position:fixed!important;
  top:calc(var(--gq-result-header) + var(--gq-safe-top) + 8px)!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  inset:calc(var(--gq-result-header) + var(--gq-safe-top) + 8px) 0 0 0!important;
  z-index:1420!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:16px 12px calc(132px + var(--gq-safe-bottom))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain!important;
  touch-action:pan-y!important;
  scroll-behavior:auto!important;
  will-change:auto!important;
  transform:none!important;
  pointer-events:auto!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-app-card.priority-panel,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-app-card.priority-panel.gq-result-v278{
  position:relative!important;
  width:100%!important;
  max-width:630px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 auto 28px!important;
  overflow:visible!important;
  transform:none!important;
  pointer-events:auto!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority button,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority a,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority input,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority textarea,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority label,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority summary{
  pointer-events:auto!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority button,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority a,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority label,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority summary{
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(7,29,53,.08)!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority *::before,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority *::after{
  pointer-events:none!important;
}
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .sticky-cta,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .landing-top-controls,
body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .back-top{
  display:none!important;
}
@media(max-width:430px){
  body.estimator-mode:not(.site-browse-mode) .quote-head>strong{font-size:1rem!important}
  body.gq-result-redesign-active.estimator-mode:not(.site-browse-mode) .result-priority{
    padding-left:8px!important;
    padding-right:8px!important;
  }
}
