.stModel {
    position: absolute;
    left: calc(var(--i-manage-widgets-sidebar, 0px) * -1);
    bottom: 0;
    right: 0;
    height: 100%;
    z-index: 20000;
}

.stModel.stModel_fixed {
    position: fixed;
}

.stModel>div {
    display: block;
    width: 94vw;
    max-width: 1200px;
    background: var(--i-box--ba-co);
    margin: calc(5vh + env(safe-area-inset-top)) auto 0 auto;
    box-shadow: var(--i-dialog--bo-sh);
    position: relative;
    border-radius: var(--i-box--bo-ra);
}

.stModel.stModel_fixed>div {
    height: 90%;
    max-height: 90%;
}

.stModel .stModel_loading {
    background: var(--i-box--ba-co);
    height: 200px;
}

.stModel.stModel_narrow>div {
    max-width: 500px;
}

.stModel.stModel_medium>div {
    max-width: 850px;
}

.stModel.stModel_wide>div {
    max-width: 1000px;
}

.stModel.stModel_fullscreen>div {
    position: absolute;
    inset: 10px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0;
}

.stModel_close {
    position: absolute;
    top: 3px;
    inset-inline-end: 4px;
    display: block;
    color: var(--i-color_hard) !important;
    width: 44px;
    height: 44px;
    line-height: 48px;
    font-size: 34px;
    font-weight: 300;
    text-align: center;
    z-index: 1000;
    transition: 0.2s all linear;
}

.stModel_title {
    color: var(--i-color_hard);
    font-size: 1.2em;
    font-weight: bold;
    text-align: start;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
    padding: 1.15em;
}

.stModel_title+.ipsHr {
    display: none;
}

.stModel_fixed .stModel_content {
    inset: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

.stModel_fixed .stModel_title~.stModel_content {
    top: 56px;
}

.stModel_footer {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
}

.stModel_inlineContent {
    display: none;
}

.stModel .stModel_inlineContent {
    display: block;
}

.stModel .ipsField_autocomplete [data-action="addToken"] {
    background: var(--i-secondary);
    color: var(--i-secondary-contrast);
    display: inline-flex;
    align-items: center;
    gap: .6em;
    font-size: .9em;
    border-radius: min(5px, var(--i-design-radius));
    padding: 0 1em;
    cursor: pointer;
    max-width: 100%;
    overflow: hidden;
    font-weight: 500;
    line-height: 2;
}

 :where(.ipsMenu, .stModel) .ipsTabs {
     background: var(--i-background_2);
     border: 1px solid var(--i-background_4);
     border-width: 1px 0;
 }




  @media screen and (max-width:767px) {
      .stModel.stModel_fixed>div {
          position: fixed;
          inset: 0;
          margin-top: 0;
          width: auto;
          height: auto;
          max-width: 100%;
          max-height: 100%;
      }

      .ipsAlert {
          top: auto;
          bottom: 40px;
          left: 2%;
          right: 2%;
          margin: 0;
          width: auto;
      }

      .ipsHovercard.ipsHovercard_stemLeft {
          margin-left: 0;
      }

      .ipsHovercard.ipsHovercard_stemRight {
          margin-left: 0;
      }

      .ipsPageAction {
          left: 10px;
          right: 10px;
          margin-left: 0;
      }

      .ipsPageAction>[data-role="actionItems"] {
          flex-wrap: wrap;
      }

      .ipsPageAction>[data-role="actionItems"]>li:first-child {
          flex: 1 1 100%;
          padding: .5em;
      }
  }

   :where(.ipsBox, .ipsWidget, .stModel) .ipsModerated {
       outline-width: 0 !important;
   }