/* StroyKalk v136 — cross-browser stabilization with v195 mobile/tablet isolation */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  overflow-x:hidden;
}
body{
  min-width:0!important;
  max-width:100%;
  overflow-x:hidden;
  overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
*,*::before,*::after{box-sizing:border-box;}
img,picture,video{max-width:100%;height:auto;}
canvas,svg{max-width:100%;}
iframe{max-width:100%;}
button,input,select,textarea{font:inherit;max-width:100%;}
button,[role="button"],summary,a{touch-action:manipulation;}
input,select,textarea{min-width:0;}
#calculator,
#calculator form,
#calculator section,
#calculator article,
#calculator aside,
#calculator div,
#calculator label,
.calc-ad-shell-v112,
.calc-ad-main-v112,
.calc-ad-rail-v112{
  min-width:0;
}
#calculator table{max-width:100%;}
#calculator :is(.table-wrap,.table-scroll-v173,[class*="table-wrap"],[class*="table-scroll"]){
  max-width:100%;
  -webkit-overflow-scrolling:touch;
}
@supports (overflow:clip){
  html.calc-ad-layout-v112,html.calc-ad-layout-v112 body{overflow-x:clip!important;}
}
@supports not (overflow:clip){
  html.calc-ad-layout-v112,html.calc-ad-layout-v112 body{overflow-x:hidden!important;}
}
@supports not (position:sticky){
  #calculator [style*="sticky"],
  #calculator [class*="sticky"],
  #calculator :is(.sf-live,.slp-live,.pg-live,.bp-live,.sp-live,.lathpro-live,.efh-live,.calc-wizard-summary-v219){
    position:static!important;
    top:auto!important;
  }
}
@media (max-width:1199px){
  #calculator :is(
    .sf-workbench,.slp-workbench,.pg-workbench,.bp-workbench,.sp-workbench,.lathpro-workbench,
    .efh-calc-shell,.calc-wizard-v219
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }
  #calculator :is(.sf-live,.slp-live,.pg-live,.bp-live,.sp-live,.lathpro-live,.efh-live,.calc-wizard-summary-v219){
    position:static!important;
    top:auto!important;
  }
}
@media (max-width:767px){
  html{scroll-padding-top:72px;}
  body{min-width:320px!important;}
  .wrap{width:calc(100% - 24px)!important;max-width:none!important;}
  #calculator{max-width:100%!important;}
  #calculator input,
  #calculator select,
  #calculator textarea{
    font-size:16px!important;
  }
  #calculator button,
  #calculator [role="button"],
  #calculator summary{
    min-height:42px;
  }
  #calculator :is(svg,canvas){max-width:100%!important;}
  #calculator [class*="stage-nav"],
  #calculator [class*="view-tabs"],
  #calculator [role="tablist"]{
    max-width:100%;
  }
}
@media (max-width:420px){
  .wrap{width:calc(100% - 18px)!important;}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}

/* browser-engine fallbacks */
.site-header,
[class*="backdrop"],
[class*="sticky"]{
  -webkit-backdrop-filter:inherit;
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header{background:rgba(255,255,255,.98)!important;}
}
@media (hover:none){
  .btn:hover,
  button:hover,
  a:hover{transform:none;}
}
