/* App-shell compatibility only. No visual redesign. */
:root{
  --app-safe-top: env(safe-area-inset-top, 0px);
  --app-safe-right: env(safe-area-inset-right, 0px);
  --app-safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-safe-left: env(safe-area-inset-left, 0px);
}
html{min-height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{min-height:100%;overscroll-behavior-y:none;}
img,video,iframe{max-width:100%;}
@supports (height:100dvh){.is-native-shell body{min-height:100dvh;}}
.is-native-shell .site-header{padding-top:max(var(--app-safe-top),0px);}
.is-native-shell .mobile-actionbar{bottom:calc(8px + var(--app-safe-bottom))!important;}
.is-native-shell .wa-sheet-v90{padding-bottom:calc(18px + var(--app-safe-bottom))!important;}

/* V130 — installed PWA shell fixes (iOS/Android). */
.is-standalone-shell body{
  padding-left:var(--app-safe-left);
  padding-right:var(--app-safe-right);
}
.is-standalone-shell .site-header{
  padding-top:max(var(--app-safe-top),0px);
}
.is-standalone-shell .mobile-actionbar{
  bottom:calc(8px + var(--app-safe-bottom))!important;
  left:max(12px,var(--app-safe-left))!important;
  right:max(12px,var(--app-safe-right))!important;
  width:auto!important;
  max-width:none!important;
  transform:none!important;
  box-sizing:border-box!important;
}
.is-standalone-shell .wa-sheet-v90{
  padding-bottom:calc(18px + var(--app-safe-bottom))!important;
}
@supports (height:100dvh){
  .is-standalone-shell body{min-height:100dvh;}
}
