/* G435: KOMFA MyPage-only mobile layout. Does not alter other presets, theme or fixed global nav. */
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top,
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top-left{min-width:0}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-main{min-width:0;width:100%}
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-content,
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-record,
body.komfa-g432-theme-integrated .komfa-g432-shell .komfa-g433-card{max-width:100%;min-width:0;overflow-wrap:anywhere}
body.komfa-g432-theme-integrated .komfa-g432-shell #kp-nav-toggle{
  color:#153a63!important;background:#fff!important;border:1px solid #c1cfdf!important;
  border-radius:12px!important;align-items:center;justify-content:center;
  min-height:44px;min-width:44px;line-height:1.1;font-size:24px!important;opacity:1!important;
}
body.komfa-g432-theme-integrated .komfa-g432-shell a.kp-button,
body.komfa-g432-theme-integrated .komfa-g432-shell a.kp-button:visited,
body.komfa-g432-theme-integrated .komfa-g432-shell .kp-form button,
body.komfa-g432-theme-integrated .komfa-g432-shell .komfa-g433-card button[type=submit]{
  background-color:#175591!important;color:#fff!important;border:1px solid #175591!important;
  opacity:1!important;text-decoration:none!important;min-height:48px;max-width:100%;
}
body.komfa-g432-theme-integrated .komfa-g432-shell a.kp-button:focus-visible,
body.komfa-g432-theme-integrated .komfa-g432-shell button:focus-visible{outline:3px solid #f5ae3b!important;outline-offset:2px}
body.komfa-g432-theme-integrated [data-komfa-g435-broken-logo="1"]{display:none!important}
body.komfa-g432-theme-integrated .komfa-g435-logo-fallback{
  display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;
  width:44px;min-width:44px;height:44px;border-radius:10px;background:#102a4b;color:#fff;
  font-size:12px;font-weight:800;letter-spacing:-.02em;line-height:1.1;text-align:center;
}
body.komfa-g432-theme-integrated [data-komfa-g435-duplicate-header="1"]{display:none!important}
@media (max-width:921px){
  /* A fixed bottom service navigation may cover the last actionable controls.
     Reserve scrollable space after the real theme footer, not a second fixed bar. */
  body.komfa-g432-theme-integrated .komfa-g432-shell #kp-nav-toggle{display:inline-flex!important}
  body.komfa-g432-theme-integrated{padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))!important}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-content{padding-bottom:calc(45px + env(safe-area-inset-bottom,0px))!important}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top{padding:12px 14px!important}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top-left{flex:1 1 100%;gap:12px}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top-left h1{font-size:19px!important;line-height:1.25}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top-right{width:100%;max-width:100%}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-top-right select{max-width:100%;width:100%}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-work-tabs{max-width:100%;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}
  body.komfa-g432-theme-integrated .komfa-g432-shell .komfa-g433-inside .kp-form{grid-template-columns:minmax(0,1fr)}
  body.komfa-g432-theme-integrated .komfa-g432-shell .kp-card,
  body.komfa-g432-theme-integrated .komfa-g432-shell .komfa-g433-card{scroll-margin-bottom:calc(142px + env(safe-area-inset-bottom,0px))}
  body.komfa-g432-theme-integrated .site-header .custom-logo-link img,
  body.komfa-g432-theme-integrated #masthead .custom-logo-link img,
  body.komfa-g432-theme-integrated .ast-mobile-header .site-logo-img img{
    width:auto!important;height:auto!important;max-width:min(46vw,170px)!important;
    max-height:60px!important;object-fit:contain!important;vertical-align:middle!important;
  }
  body.komfa-g432-theme-integrated .site-header .site-title,
  body.komfa-g432-theme-integrated .ast-mobile-header .site-title{overflow-wrap:anywhere;max-width:100%}
}
