/*
 * Telerik provider typography bindings for Yess components.
 *
 * Semantic ownership stays in Yess components. These selectors only translate those roles
 * to Telerik/Kendo DOM. Keep this file free of tenant-specific font names and CSS priority overrides.
 */

/* Provider defaults */
.yess-theme-host .k-component,
.yess-theme-host .k-input,
.yess-theme-host .k-window,
.yess-theme-host .k-popup,
.yess-theme-host .k-animation-container {
    font-family: var(--yess-font-family-body);
}

/* Buttons and clickable provider actions */
.yess-theme-host .k-button,
.yess-theme-host .yess-grid .k-command-cell .k-button,
.yess-theme-host .yess-wizard .k-wizard-buttons .k-button {
    font-family: var(--yess-font-family-button);
}

/* YessGrid */
.yess-theme-host .yess-grid .k-grid,
.yess-theme-host .yess-grid .k-grid-content,
.yess-theme-host .yess-grid .k-table,
.yess-theme-host .yess-grid .k-table-tbody,
.yess-theme-host .yess-grid .k-table-td {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-grid .k-grid-header,
.yess-theme-host .yess-grid .k-grid-header-wrap,
.yess-theme-host .yess-grid .k-grid-header-table,
.yess-theme-host .yess-grid .k-table-th,
.yess-theme-host .yess-grid .k-column-title {
    font-family: var(--yess-font-family-label);
}

.yess-theme-host .yess-grid .k-pager,
.yess-theme-host .yess-grid .k-pager-info,
.yess-theme-host .yess-grid .k-pager-sizes,
.yess-theme-host .yess-grid .k-pager-numbers-wrap {
    font-family: var(--yess-font-family-supporting);
}

/* YessTextBox / YessComboBox / YessDropDownList and sibling form controls */
.yess-theme-host .yess-form-control .k-input,
.yess-theme-host .yess-form-control .k-input-inner,
.yess-theme-host .yess-form-control .k-input-value-text,
.yess-theme-host .yess-form-control .k-textbox,
.yess-theme-host .yess-form-control .k-dropdownlist,
.yess-theme-host .yess-form-control .k-combobox,
.yess-theme-host .yess-form-control__input.k-input,
.yess-theme-host .yess-form-control__input .k-input-inner,
.yess-theme-host .yess-form-control__input .k-input-value-text {
    font-family: var(--yess-font-family-body);
}

/* Telerik popup lists can be rendered outside the originating control wrapper. */
.yess-theme-host .k-list-container,
.yess-theme-host .k-list,
.yess-theme-host .k-list-content,
.yess-theme-host .k-list-item,
.yess-theme-host .k-popup .k-list-item {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .k-label,
.yess-theme-host .k-form-label {
    font-family: var(--yess-font-family-label);
}

.yess-theme-host .k-form-hint,
.yess-theme-host .k-form-error {
    font-family: var(--yess-font-family-supporting);
}

/* YessTabs */
.yess-theme-host .yess-tabs .k-tabstrip,
.yess-theme-host .yess-tabs .k-tabstrip-content {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-tabs .k-tabstrip-item .k-link,
.yess-theme-host .yess-tabs .k-tabstrip-items .k-link {
    font-family: var(--yess-font-family-button);
}

/* YessWizard */
.yess-theme-host .yess-wizard .k-wizard,
.yess-theme-host .yess-wizard .k-wizard-content {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-wizard .k-step,
.yess-theme-host .yess-wizard .k-step-text,
.yess-theme-host .yess-wizard .k-step-label {
    font-family: var(--yess-font-family-button);
}

/* Dialog/window */
.yess-theme-host .yess-dialog .k-window-content,
.yess-theme-host .yess-modal .k-window-content {
    font-family: var(--yess-font-family-body);
}

.yess-theme-host .yess-dialog .k-window-titlebar,
.yess-theme-host .yess-dialog .k-window-title,
.yess-theme-host .yess-modal .k-window-titlebar,
.yess-theme-host .yess-modal .k-window-title {
    font-family: var(--yess-font-family-heading);
}
