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

@font-face {
  font-family: 'HarmonyOS Sans TC';
  src: url('/assets/fonts/HarmonyOS_Sans_TC_Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+2E80-9FFF, U+F900-FAFF, U+FE10-FE4F, U+FF00-FFEF, U+20000-323AF;
}
:root { --small-type: 'Kode Mono', 'HarmonyOS Sans TC', 'PingFang TC', 'Microsoft JhengHei', monospace; }

body.theme-a {
  --body: var(--small-type);
  --sans: var(--body);
  font-family: var(--body);
  font-weight: 500;
}

body.theme-a :is(h1, h2, h3, h4) { font-family: var(--display); }

body.theme-a :is(p, nav, a, button, input, select, textarea, label, label span, summary, figcaption,
  caption, th, td, dt, li, .optional-fields > summary > span, .industry-list > span, .paper-top, .paper-bottom, .carousel-count,
  .material-carousel-caption > span, .header-roll, .grade-family, .part-panel dl) {
  font-family: var(--body);
  font-weight: 500;
}
body.theme-a .part-panel dd,
body.theme-a .catalogue-table td:first-child a { font-family: var(--body); font-weight: 500; }
.orb-story .opening p { max-width: 43ch; }
