/*
 * Yess semantic component typography contracts.
 *
 * This file is provider-neutral. A Yess component owns the semantic typography role;
 * Blazor/Telerik details are bound separately in yess-telerik-typography.css.
 * Do not add Telerik/Kendo selectors or tenant-specific font names here.
 */

/* Body/content roots. Plain text inside these components inherits tenant body typography. */
.yess-theme-host .yess-card,
.yess-theme-host .yess-grid,
.yess-theme-host .yess-form-control,
.yess-theme-host .yess-form-field,
.yess-theme-host .yess-toolbar,
.yess-theme-host .yess-tabs,
.yess-theme-host .yess-wizard,
.yess-theme-host .yess-dialog,
.yess-theme-host .yess-modal {
    font-family: var(--yess-font-family-body);
}

/* Cards */
.yess-theme-host .yess-card-body,
.yess-theme-host .yess-card__body,
.yess-theme-host .yess-card-content,
.yess-theme-host .yess-card__content {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-card-header,
.yess-theme-host .yess-card__header,
.yess-theme-host .yess-card-title,
.yess-theme-host .yess-card__title,
.yess-theme-host .yess-card-subtitle,
.yess-theme-host .yess-card__subtitle {
    font-family: var(--yess-font-family-heading);
}

/* Form controls: entered/displayed values are body text; labels and help have explicit roles. */
.yess-theme-host .yess-form-control__input,
.yess-theme-host .yess-form-control__value,
.yess-theme-host .yess-field-value {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-form-field__label,
.yess-theme-host .yess-form-control__label {
    font-family: var(--yess-font-family-label);
}

.yess-theme-host .yess-form-hint,
.yess-theme-host .yess-form-field__hint,
.yess-theme-host .yess-form-control__hint,
.yess-theme-host .yess-help-text,
.yess-theme-host .yess-supporting-text,
.yess-theme-host .yess-field-error {
    font-family: var(--yess-font-family-supporting);
}

/* Grid */
.yess-theme-host .yess-grid__title,
.yess-theme-host .yess-grid-title {
    font-family: var(--yess-font-family-heading);
}

.yess-theme-host .yess-grid__summary,
.yess-theme-host .yess-grid-summary,
.yess-theme-host .yess-grid__status,
.yess-theme-host .yess-grid-status {
    font-family: var(--yess-font-family-supporting);
}

/* Tabs / Wizard / Dialog semantic text */
.yess-theme-host .yess-tabs__tab,
.yess-theme-host .yess-tab,
.yess-theme-host .yess-wizard__step,
.yess-theme-host .yess-wizard-step {
    font-family: var(--yess-font-family-button);
}

.yess-theme-host .yess-tabs__content,
.yess-theme-host .yess-tab-content,
.yess-theme-host .yess-wizard__content,
.yess-theme-host .yess-wizard-content,
.yess-theme-host .yess-dialog__content,
.yess-theme-host .yess-modal__content {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-dialog__title,
.yess-theme-host .yess-dialog-title,
.yess-theme-host .yess-modal__title,
.yess-theme-host .yess-modal-title {
    font-family: var(--yess-font-family-heading);
}

/* Links are text, not an independent font family. Preserve the role of their semantic parent. */
.yess-theme-host a:not(.yess-button):not([class*="k-button"]) {
    font-family: inherit;
}
