@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/ui-support/inter-latin-variable-v20.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ui-support/jetbrains-mono-latin-500-v24.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-ui: "Min Sans VF", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --font-print: Inter, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --font-code: "JetBrains Mono", Consolas, "Courier New", monospace;
}

code,
pre,
.diagnostic-code {
  font-family: var(--font-code);
}

/* Existing font-mono utilities are primarily used for amounts and dates. */
.font-mono:not(code):not(pre) {
  font-family: var(--font-ui) !important;
}

/* Screen UI only. Printed/legal forms keep their page-specific typography. */
@media screen {
  html,
  body,
  button,
  input,
  select,
  textarea,
  table {
    font-family: var(--font-ui);
  }
}

table,
.tabular-nums,
[data-numeric="true"],
input[inputmode="numeric"],
input[inputmode="decimal"] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
