@media (max-width: 760px) {
  .editor-panel {
    max-height: calc(100dvh - var(--focused-top)) !important;
  }

  .focused-tools.tool-accordion {
    position: relative !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .focused-tools .tool-section.open .tool-section-body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 58px !important;
    bottom: 0 !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding-bottom: max(112px, calc(96px + env(safe-area-inset-bottom))) !important;
  }

  .editor-footer {
    padding-bottom: max(9px, env(safe-area-inset-bottom));
  }
}
