/* User-provided AHS fonts. Keep this CSS beside fonts/web/. */
@font-face {
  font-family: "AHS Inter";
  src: url("./fonts/web/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "AHS Inter";
  src: url("./fonts/web/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
/* Named MiSans faces are mapped to conventional CSS UI weights. */
@font-face {
  font-family: "AHS MiSans";
  src: url("./fonts/web/MiSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "AHS MiSans";
  src: url("./fonts/web/MiSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "AHS MiSans";
  src: url("./fonts/web/MiSans-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "AHS MiSans";
  src: url("./fonts/web/MiSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --ahs-font-zh: "AHS MiSans", system-ui, sans-serif;
  --ahs-font-en: "AHS Inter", "AHS MiSans", system-ui, sans-serif;
  --ahs-body: var(--ahs-font-en);
  --ahs-display: var(--ahs-font-en);
}
.ahs-scope {
  font-family: var(--ahs-body);
  font-optical-sizing: auto;
  font-synthesis: none;
}
.ahs-scope :where(button,input,textarea,select) { font-family: inherit; }
.ahs-chinese { font-family: var(--ahs-font-zh); }
.ahs-english { font-family: var(--ahs-font-en); }
.ahs-number { font-variant-numeric: tabular-nums; }
