.filter-dropdown-wrap {
  width: 400px;
  min-width: 250px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  max-height: 60vh;
  max-width: 80vw;
  overflow: auto;

  &--phone-drawer {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    padding: 0;
    overflow: visible;

    .filter-dropdown-container-title-wrap {
      display: none;
    }

    .filter-dropdown-wrap-content {
      padding: 0;
    }

    .filter-dropdown-container-wrap {
      min-height: 0;
      margin-bottom: 8px;
    }

    .filter-dropdown-container-filter-wrap {
      min-height: 0;
      padding: 0;
    }

    .filter-dropdown-drag-item {
      align-items: flex-start;
      padding: 3px 4px 4px;
      margin-bottom: 4px;

      &:last-child {
        margin-bottom: 0;
      }

      .dots-six-icon {
        margin-top: 1px;
        font-size: 16px;
      }

      /**
       * Form size=small + 抽屉内二次收紧：标题 12px，控件约 28px（低于此前 32px）。
       */
      .filter-dropdown-form-item--phone {
        .pisell-lowcode-form-item-label {
          padding: 0 0 2px;

          > label {
            font-size: 12px;
            font-weight: 600;
            line-height: 16px;
            color: var(--gray-700, #344054);
          }
        }

        .pisell-single-select {
          height: auto !important;
          min-height: 0 !important;
        }

        .pisell-lowcode-select-selector,
        .ant-select-selector {
          min-height: 28px !important;
          height: 28px !important;
          padding-block: 0 !important;
          padding-inline: 8px !important;
          align-items: center;
          border-radius: 8px;
        }

        .pisell-lowcode-select-selection-item,
        .pisell-lowcode-select-selection-placeholder,
        .ant-select-selection-item,
        .ant-select-selection-placeholder {
          font-size: 12px !important;
          line-height: 16px !important;
        }

        .pisell-lowcode-input-affix-wrapper,
        .ant-input-affix-wrapper {
          min-height: 28px;
          padding-block: 0;
          padding-inline: 8px;
          border-radius: 8px;
        }

        .pisell-lowcode-input,
        .ant-input {
          font-size: 12px;
          line-height: 16px;
        }

        .pisell-lowcode-picker,
        .ant-picker {
          min-height: 28px;
          padding-block: 0;
          padding-inline: 8px;
          border-radius: 8px;
          font-size: 12px;
          line-height: 16px;
        }

        .pisell-lowcode-picker-input > input {
          font-size: 12px;
          line-height: 16px;
        }

        /** 手机日期范围（顶栏 toolbar 变体在抽屉内同步压到 28px） */
        .pisell-mobile-date-range-picker__trigger {
          height: 28px;
          min-height: 28px;
          padding: 0 8px;
          border-radius: 8px;
          font-size: 12px;
          line-height: 16px;
          font-weight: 400;
        }

        .pisell-mobile-date-range-picker__trigger-icon {
          font-size: 14px;
        }

        .pisell-mobile-date-range-picker--filter {
          .pisell-mobile-date-range-picker__trigger {
            height: 28px;
            min-height: 28px;
            padding: 0 8px;
            font-size: 12px;
            line-height: 16px;
            box-shadow: none;
          }
        }

        .pisell-lowcode-range-picker-wrap .pisell-lowcode-range {
          min-height: 28px;
          height: 28px;
          padding: 0 8px;
          font-size: 12px;
          line-height: 16px;

          .pisell-lowcode-picker-input {
            height: 26px;

            > input {
              font-size: 12px;
              line-height: 16px;
            }
          }
        }
      }

      .filter-dropdown-drag-item-right {
        min-width: 0;
        margin-left: 4px;

        .pisell-lowcode-form-item-row {
          flex-direction: column;
          align-items: stretch;
        }

        .pisell-lowcode-form-item-label {
          width: 100%;
          max-width: 100%;
          flex: none;
          text-align: left;
          padding: 0 0 1px;

          > label {
            height: auto;
            white-space: normal;
          }

          &::after {
            display: none;
          }
        }

        .pisell-lowcode-form-item-control {
          width: 100%;
          max-width: 100%;
          flex: none;
        }
      }
    }
  }
  .filter-dropdown-wrap-content {
    flex: 1;
  }
  .filter-dropdown-wrap-footer {

  }
  .filter-dropdown-drag-item {
    display: flex;
    padding: 8px 12px 12px;
    align-items: center;
    border-radius: 8px;
    background: var(--gray-50, #F9FAFB);
    margin-bottom: 12px;
    .dots-six-icon {
      font-size: 24px;
      color: #98A2B3;
      cursor: pointer;
    }
    .pisell-lowcode-form-item {
      margin-bottom: 0;
    }
    .filter-dropdown-drag-item-right {
      margin-left: 16px;
      flex: 1;
      .filter-dropdown-drag-item-title {
        color: var(--text-text-2, #777);
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
      }
    }
  }

  [role="status"] {
    display: none;
  }
}
.filter-dropdown-container-wrap {
  border-bottom: 1px solid var(--surface-surface-4, #e2e2e2);
  min-height: 70px;
  margin-bottom: 20px;
  &:last-child {
    border: none;
  }
  .filter-dropdown-container-title-wrap {
    color: var(--text-text-3, #919191);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    .filter-dropdown-container-title {
      margin-right: 6px;
      color: var(--gray-900, #101828);
      font-size: 16px;
      font-style: normal;
      font-weight: 600;
      line-height: 24px;
    }
    .filter-dropdown-container-icon-help {
      font-size: 20px;
      color: var(--gray-400,#98A2B3)
    }
  }
  .filter-dropdown-container-filter-wrap {
    min-height: 80px;
  }

}
