@charset "UTF-8";
/*
  @component form
  @display Form
  @chinese 表单
  @family data-entry
*/
:root {
  /*
    @desc bg-color
    @namespace style/common
    @semantic 表单背景色
  */
  --form-bg-color: var(--color-white);
  /*
    @desc label-size-small
    @namespace size/label
    @semantic 标签字号(小)
  */
  --form-label-small-font-size: var(--p-caption-font-size);
  /*
    @desc label-size-medium
    @namespace size/label
    @semantic 标签字号(中)
  */
  --form-label-medium-font-size: var(--p-caption-font-size);
  /*
    @desc label-size-large
    @semantic 标签字号(大)
    @namespace size/label
  */
  --form-label-large-font-size: var(--p-body-1-font-size);
  /*
    @desc label-small-margin-bottom
    @namespace size/label
    @semantic 标签底部外边距(小)
  */
  --form-label-small-margin-bottom: var(--s-zero);
  /*
    @desc label-medium-margin-bottom
    @namespace size/label
    @semantic 标签底部外边距(中)
  */
  --form-label-medium-margin-bottom: var(--s-1);
  /*
    @desc label-large-margin-bottom
    @namespace size/label
    @semantic 标签底部外边距(大)
  */
  --form-label-large-margin-bottom: var(--s-2);
  /*
    @desc small-preview-form-size
    @namespace size/preview-form
    @semantic 预览字号(小)
  */
  --form-preview-small-font-size: var(--p-body-1-font-size);
  /*
    @desc medium-preview-form-size
    @namespace size/preview-form
    @semantic 预览字号(中)
  */
  --form-preview-medium-font-size: var(--p-body-2-font-size);
  /*
    @desc large-preview-form-size
    @namespace size/preview-form
    @semantic 预览字号(大)
  */
  --form-preview-large-font-size: var(--p-subhead-font-size);
  /*
    @desc inset-small-label-size
    @namespace size/label
    @semantic 内嵌标签字号(小)
  */
  --form-label-inset-small-font-size: var(--p-body-1-font-size);
  /*
    @desc inset-medium-label-size
    @namespace size/label
    @semantic 内嵌标签字号(中)
  */
  --form-label-inset-medium-font-size: var(--p-body-2-font-size);
  /*
    @desc inset-large-label-size
    @namespace size/label
    @semantic 内嵌标签字号(大)
  */
  --form-label-inset-large-font-size: var(--p-subhead-font-size);
  /*
    @desc small-help-font-size
    @namespace size/help
    @semantic 辅助文案字号(小)
  */
  --form-help-small-font-size: var(--p-caption-font-size);
  /*
    @desc medium-help-font-size
    @namespace size/help
    @semantic 辅助文案字号(中)
  */
  --form-help-medium-font-size: var(--p-caption-font-size);
  /*
    @desc large-help-font-size
    @namespace size/help
    @semantic 辅助文案字号(大)
  */
  --form-help-large-font-size: var(--p-body-1-font-size);
  /*
    @desc inset-label-margin-right
    @namespace size/label
    @semantic 内嵌标签右边距
  */
  --form-label-inset-margin-right: var(--s-3);
  /*
    @desc label-color
    @namespace style/label
    @semantic 标签颜色
  */
  --form-label-color: var(--color-text1-4);
  /*
    @desc help-color
    @namespace style/help
    @semantic 帮助态提示颜色
  */
  --form-help-color: var(--color-text1-2);
  /*
    @desc error-color
    @namespace style/help
    @semantic 错误态提示颜色
  */
  --form-error-color: var(--color-error-3);
  /*
    @desc border-color
    @namespace style/common
    @semantic 分割线颜色
  */
  --form-border-color: var(--color-line1-3);
  /*
    @desc inset-required-font-size
    @namespace size/required
    @semantic 内嵌模式必填项提示字号
  */
  --form-required-inset-font-size: var(--s-1);
  /*
    @desc required-font-size
    @namespace size/required
    @semantic 必填项提示字号
  */
  --form-required-font-size: var(--s-2);
  /*
    @desc required-color
    @namespace style/common
    @semantic 必填项提示颜色
  */
  --form-required-color: var(--color-error-3);
  /*
    @desc padding(l,r)
    @namespace size/bounding
    @semantic 左右内边距
  */
  --form-item-padding-lr: var(--s-4);
  /*
    @desc padding(t,b)
    @namespace size/bounding
    @semantic 上下内边距
  */
  --form-item-padding-tb: var(--s-2);
  /*
    @desc inset-padding(t,b)
    @namespace size/bounding
    @semantic 内嵌模式上下内边距
  */
  --form-item-inset-padding-tb: var(--s-4);
  --form-highlighted-border-color: var(--color-brand-3);
  --form-highlighted-shadow: 0 0 0 0.5333333333333333vw var(--color-brand-1);
  --form-inverse-highlighted-border-color: var(--color-brand-1);
  --form-inverse-highlighted-shadow: 0 0 0 0.5333333333333333vw var(--color-brand-3); }

.mt-form-item-input--preview-small {
  font-size: var(--form-preview-small-font-size);
  line-height: 1.5; }

.mt-form-item-input--preview-medium {
  font-size: var(--form-preview-medium-font-size);
  line-height: 1.5; }

.mt-form-item-input--preview-large {
  font-size: var(--form-preview-large-font-size);
  line-height: 1.5; }

/*
  @component select
  @display Search
  @chinese 下拉选择框
  @family data-entry
*/
:root {
  /*
    @desc search-padding
    @semantic 搜索框边距
    @namespace size/search
   */
  --select-search-padding: var(--box-medium-padding);
  /*
    @desc search-empty-tip-color
    @semantic 无搜索项时提示文字颜色
    @namespace style/common
   */
  --select-search-empty-color: var(--color-text1-2); }

.mt-select-value--inverse {
  color: var(--color-text2-4); }

.mt-select-value--disabled {
  color: var(--color-text1-1); }

.mt-select-value--inverse-disabled {
  color: var(--color-text2-1); }

.mt-select-tag-item {
  margin: var(--s-1) var(--s-1) var(--s-1) 0; }
  .mt-select-tag-item:last-child {
    margin-right: 0; }

.mt-select-tag-value {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; }

.mt-select-drawer {
  height: auto; }

.mt-select--searchable {
  height: 80vh; }

.mt-select--tag-small {
  padding: var(--tag-select-small-spacing); }

.mt-select--tag-medium {
  padding: var(--tag-select-medium-spacing); }

.mt-select--tag-large {
  padding: var(--tag-select-large-spacing); }

.mt-select-drawer-content {
  max-height: 75vh; }

.mt-select-option-list {
  flex: 1;
  overscroll-behavior: contain;
  overflow-y: scroll;
  transition: all var(--motion-time-1); }

.mt-select-search-wrapper {
  box-sizing: border-box;
  padding: var(--select-search-padding);
  border-bottom-width: var(--line-1);
  border-bottom-style: solid;
  border-bottom-color: var(--color-line1-3); }

.mt-select-search-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center; }
  .mt-select-search-empty-tip {
    color: var(--select-search-empty-color); }

.mt-select-footer-counter {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  color: var(--box-normal-text-font-color);
  font-size: var(--p-body-1-font-size); }

.mt-select-total-num {
  margin: 0 var(--box-medium-spacing);
  color: var(--box-primary-text-font-color); }

.mt-select-option-icon {
  color: var(--color-brand-4); }
  .mt-select-option-icon--disabled {
    color: var(--color-text1-1); }

.mt-select-option-checkbox {
  padding: 0; }

.mt-select-option--disabled {
  --list-title-color: var(--color-text1-1); }

.mt-select-drawer {
  width: 100%; }

.mt-select-confirm-drawer-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 60vh; }

.mt-select-confirm-drawer-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: var(--s-2) 0 var(--s-2) var(--box-medium-padding-ver); }

.mt-select-confirm-drawer-body {
  flex: 1;
  overscroll-behavior: contain;
  overflow-y: scroll; }

.mt-select-confirm-total {
  flex: 1; }

.mt-select-safe-area {
  flex: 0 0 auto; }
