/* Anaum global typography — Helvetica family; slashed-zero (line 0) for numbers */
:root {
  --anaum-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Consolas / Segoe UI give a clear slashed 0 on Windows for serials & refs */
  --anaum-digit-font: Consolas, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bs-font-sans-serif: var(--anaum-font-family);
  --bs-body-font-family: var(--anaum-font-family);
}

html,
body,
button,
input,
select,
textarea,
optgroup,
legend,
label,
.form-control,
.form-select,
.form-check-label,
.btn,
.dropdown-menu,
.dropdown-item,
.navbar,
.navbar-brand,
.card,
.card-title,
.card-text,
.modal,
.modal-title,
.table,
.badge,
.alert,
.nav,
.nav-link,
.pagination,
.page-link,
.list-group,
.list-group-item,
.toast,
.tooltip,
.popover,
input::placeholder,
textarea::placeholder,
h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th, div, small, strong, em {
  font-family: var(--anaum-font-family);
}

/* Slashed / lined zero (e.g. 230118086 → 0 with line through) */
.anaum-num,
.ref-counter-card__val,
.ref-counter-card__next,
.ref-counter-card__meta,
.kpi-stat__val,
.detail-val,
.ref-only-title,
.ticket-no,
.ticket-pill,
.cardx .tno,
.tno,
.hi-tno,
.col-ticket b,
td.col-ticket b,
[class*="ref-counter"],
.search-result-serial,
.search-result-ref {
  font-family: var(--anaum-digit-font) !important;
  font-variant-numeric: slashed-zero lining-nums tabular-nums !important;
  font-feature-settings: "zero" 1, "tnum" 1 !important;
  letter-spacing: 0.02em !important;
}

/* Ticket / ref columns in tables */
table tbody td:first-child b,
table tbody td b:first-child {
  font-family: var(--anaum-digit-font);
  font-variant-numeric: slashed-zero tabular-nums;
  font-feature-settings: "zero" 1, "tnum" 1;
}

code,
kbd,
pre,
samp,
.ql-code-block,
.font-monospace {
  font-family: Consolas, SFMono-Regular, Menlo, Monaco, "Liberation Mono", "Courier New", monospace;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
}
