@font-face {
  /* macOS exposes its installed FangSong face as STFangsong rather than the
     Chinese family name used by court-document templates. Register a local
     alias so preview styles declaring “仿宋” resolve to the real face. */
  font-family: "仿宋";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    local("STFangsong"),
    local("FangSong"),
    local("仿宋"),
    local("仿宋_GB2312");
}

@font-face {
  font-family: "仿宋_GB2312";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    local("STFangsong"),
    local("FangSong"),
    local("仿宋_GB2312"),
    local("仿宋");
}

@font-face {
  /* Keep the template family alias using an installed Kai-style face.
     This release does not package the development-only font files;
     when no local face exists, the declared system fallback remains. */
  font-family: "Kaiti SC Regular";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: local("LXGW WenKai"), local("Kaiti SC"), local("KaiTi");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../assets/fonts/inter/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../assets/fonts/inter/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../assets/fonts/inter/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../assets/fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../assets/fonts/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../assets/fonts/jetbrains-mono/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-display: block;
  font-weight: 100 700;
  src: url("../assets/fonts/material-symbols/material-symbols-rounded.woff2") format("woff2");
}

.material-symbols-rounded {
  direction: ltr;
  display: inline-block;
  font-family: "Material Symbols Rounded";
  font-feature-settings: "liga";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-rendering: optimizeLegibility;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
