/* Native safe areas wrap the same simplified interface used on the web. */
:root { --native-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px)); --native-bottom: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)); }
.native-app { padding-top: var(--native-top); padding-left: var(--safe-area-inset-left, env(safe-area-inset-left, 0px)); padding-right: var(--safe-area-inset-right, env(safe-area-inset-right, 0px)); -webkit-tap-highlight-color: transparent; }
.native-app .home, .native-app .editor { min-height: calc(100svh - var(--native-top)); }
@media (max-width: 760px) {
  .native-app .home-main { padding-bottom: max(16px, var(--native-bottom)); }
  .native-app .hero-comparison { height: clamp(244px, calc(100svh - var(--native-top) - var(--native-bottom) - 384px), 560px); }
  .native-app .editor-grid { min-height: calc(100svh - var(--native-top) - 64px); }
  .native-app .workspace { height: calc(100svh - var(--native-top) - var(--native-bottom) - 364px); }
  .native-app .editor.has-result .workspace { height: calc(100svh - var(--native-top) - var(--native-bottom) - 276px); }
  .native-app .edit-panel { padding-bottom: max(20px, var(--native-bottom)); }
  .native-app dialog { max-height: calc(100svh - var(--native-top) - 16px); padding-bottom: max(24px, var(--native-bottom)); }
}
