/* Shared by all web portals, administration and static pages. */
:root {
  --type-font-family:
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --type-title-size: 24px;
  --type-body-size: 16px;
  --type-caption-size: 14px;
  --font-family: var(--type-font-family);
  --font-size-base: var(--type-body-size);
  --menu-font-size: var(--type-body-size);
  --el-font-family: var(--type-font-family);
  --el-font-size-extra-large: var(--type-title-size);
  --el-font-size-large: var(--type-body-size);
  --el-font-size-medium: var(--type-body-size);
  --el-font-size-base: var(--type-body-size);
  --el-font-size-small: var(--type-caption-size);
  --el-font-size-extra-small: var(--type-caption-size);
  --el-font-weight-primary: 400;
  --text-xs: var(--type-caption-size);
  --text-sm: var(--type-body-size);
  --text-base: var(--type-body-size);
  --text-lg: var(--type-body-size);
  --text-xl: var(--type-body-size);
  --text-2xl: var(--type-title-size);
  --text-3xl: var(--type-title-size);
  --text-4xl: var(--type-title-size);
  --text-5xl: var(--type-title-size);
  --text-6xl: var(--type-title-size);
  --text-7xl: var(--type-title-size);
  --text-8xl: var(--type-title-size);
  --text-9xl: var(--type-title-size);
}

html {
  font-size: 16px;
}
body {
  font-family: var(--type-font-family);
  font-size: var(--type-body-size);
  font-weight: 400;
  line-height: 1.5;
}
button,
input,
textarea,
select,
optgroup {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
code,
pre,
kbd,
samp {
  font-family: inherit;
  font-size: inherit;
}
h1,
.type-title {
  font-size: var(--type-title-size);
  font-weight: 700;
  line-height: 1.4;
}
h2,
h3,
h4,
h5,
h6 {
  font-size: var(--type-body-size);
  font-weight: 700;
  line-height: 1.5;
}
.type-body {
  font-size: var(--type-body-size);
}
small,
.type-caption {
  font-size: var(--type-caption-size);
  font-weight: 400 !important;
  line-height: 1.5;
}
/* A nested emphasis or selected label must not bold a caption. */
:is(small, .type-caption, .text-caption, .text-xs)
  :is(b, strong, .font-medium, .font-semibold, .font-bold, .font-extrabold, .font-black) {
  font-weight: 400 !important;
}
/* Chart libraries often specify font size as SVG presentation attributes. */
.recharts-text,
.recharts-legend-item-text,
.recharts-tooltip-wrapper {
  font-family: var(--type-font-family);
  font-size: var(--type-caption-size);
  font-weight: 400;
}
