/*
 * Sharper, cleaner text in the CRM (owner 21/11/2026: "the fonts need to be a
 * bit sharper, they have a kind of soft glow feel").
 *
 * The font itself is the --crm-font token in axis-theme.css (the device's own
 * interface font), which the built theme already reads. This file draws text
 * at its natural weight and makes labels and tabs firmer. Loaded right after
 * axis-theme.css, so its rules win over the built theme by load order;
 * nothing is marked important.
 */

/*
 * Filament and the built theme turn on thin font smoothing, which
 * on a Mac draws every letter thinner and lighter (the "soft glow"). Back to
 * the system's own drawing. Windows, phones and tablets ignore this setting.
 */
html,
body,
.fi-body,
.fi-main,
.fi-sidebar,
.fi-topbar,
.fi-ta,
.fi-section,
.fi-modal,
input,
select,
textarea,
button {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

/* Tabs: semi-bold, and darker grey when not selected (the selected tab keeps the brand colour). */
.fi-tabs-item {
    font-weight: 600;
}

.fi-tabs-item .fi-tabs-item-label {
    color: var(--gray-700);
}

/* Form labels: semi-bold, so they stand apart from what's typed. */
.fi-fo-field .fi-fo-field-label-content {
    font-weight: 600;
}

/* Section descriptions: a step darker than Filament's light grey. */
.fi-section .fi-section-header-description {
    color: var(--gray-600);
}
