.app > .sidebar .ym-mobile-menu-button {
  display: none;
}

@media (max-width: 900px) {
  #root .app > .sidebar.ym-mobile-navigation {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 5px 8px !important;
    padding: 16px 12px 8px !important;
    width: 100% !important;
    max-width: 100%;
    overflow-x: clip !important;
  }
  #root .app > .sidebar.ym-mobile-navigation > .brand-block {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    gap: 6px !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  #root .app > .sidebar.ym-mobile-navigation .brand-mark {
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px;
    height: 34px !important;
  }
  #root .app > .sidebar.ym-mobile-navigation .brand-title {
    font-size: 13px !important;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }
  #root .app > .sidebar.ym-mobile-navigation .brand-subtitle {
    display: none !important;
  }
  #root .app > .sidebar.ym-mobile-navigation > .ym-mobile-menu-button {
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 120px;
    max-width: 49vw;
    min-height: 54px;
    margin: 0 6px 0 0;
    padding: 9px 14px;
    border: 1px solid #a9d8cd;
    border-radius: 12px;
    background: #f8fdfb;
    color: #155e50;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
  }
  .ym-mobile-menu-label { min-width: 0; overflow-wrap: anywhere; }
  .ym-mobile-menu-icon { flex: none; font-size: 24px; font-weight: 500; line-height: 1; }
  #root .app > .sidebar.ym-mobile-navigation > :is(.sidebar-group, .sidebar-footer) {
    display: none !important;
  }
  #root .app > .sidebar.ym-mobile-navigation.ym-mobile-navigation-open {
    max-height: 75dvh;
    overflow-y: auto !important;
  }
  #root .app > .sidebar.ym-mobile-navigation-open > .sidebar-group {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    margin: 0 !important;
    padding: 4px 0 !important;
  }
  #root .app > .sidebar.ym-mobile-navigation-open .sidebar-group-title {
    display: block !important;
    grid-column: 1 / -1;
    padding: 5px 0 0;
  }
  #root .app > .sidebar.ym-mobile-navigation-open .sidebar-group > button {
    order: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    margin: 0 !important;
    white-space: normal !important;
    text-align: left;
    line-height: 1.2;
  }
  #root .app > .sidebar.ym-mobile-navigation-open .sidebar-group > button > span:last-child {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  #root .app > .sidebar.ym-mobile-navigation-open > .sidebar-footer {
    display: block !important;
    grid-column: 1 / -1;
  }
  #root .content-plan-header .content-center-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  #root .content-plan-header .content-center-tabs > button {
    justify-self: stretch;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.2;
    text-align: center;
  }
  #root .content-plan-header .content-center-tabs > .publication-create-action {
    grid-column: 1 / -1;
  }
}
