/* Shared type system: local-first so the medical service remains fast and reliable. */
:root {
  --sz-font-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  --sz-font-display: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  --sz-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
  font-family: var(--sz-font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
  font-family: var(--sz-font-sans) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.topbar-title,
.nav-logo,
.brand,
.logo-text {
  font-family: var(--sz-font-display) !important;
  font-weight: 650;
}

code,
pre,
kbd,
samp,
.code-block,
.code-content {
  font-family: var(--sz-font-mono) !important;
  font-variant-ligatures: none;
}

.price,
.metric-value,
.stat-value,
.usage-number,
time {
  font-variant-numeric: tabular-nums;
}
