/* Keep feature modules visually aligned with the typography selected by the AvidIMS shell. */
.cupps-shell,
.maintenance-module {
    font-family: inherit;
    font-size: inherit;
}

.cupps-shell button,
.cupps-shell input,
.cupps-shell select,
.cupps-shell textarea,
.maintenance-module button,
.maintenance-module input,
.maintenance-module select,
.maintenance-module textarea {
    font: inherit;
}

/* Header actions use one compact enterprise control height across every component page. */
.cupps-hero .hero-actions > button,
.cupps-hero .hero-actions > a,
.cupps-page-head .header-actions > button,
.cupps-page-head .header-actions > a,
.cupps-page-head > button,
.cupps-page-head > a,
.maintenance-module > header > button,
.maintenance-module > header > a,
.maintenance-header-actions > button,
.maintenance-header-actions > a {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    padding-block: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

/* Avoid browser-native font fallbacks inside module tables and labels. */
.cupps-shell table,
.cupps-shell label,
.cupps-shell .pill,
.maintenance-module table,
.maintenance-module label,
.maintenance-module .maintenance-status {
    font-family: inherit;
}


/* Organization typography variables must win over module-local fallbacks. */
.app-shell,
.app-sidebar,
.sidebar-navigation,
.topbar,
.page-content {
    font-family: var(--body-font, Vazirmatn), Tahoma, sans-serif !important;
}

.app-shell :where(p, span, small, strong, em, b, a, label, input, select, textarea, button, option, li, div, section, article, aside) {
    font-family: var(--body-font, Vazirmatn), Tahoma, sans-serif !important;
}

.app-shell :where(h1, h2, h3, h4, h5, h6, .page-title, .panel-title, .topbar-title) {
    font-family: var(--header-font, Vazirmatn), Tahoma, sans-serif !important;
}

.app-shell :where(table, thead, tbody, tfoot, tr, th, td, caption, table input, table select, table button) {
    font-family: var(--table-font, Vazirmatn), Tahoma, sans-serif !important;
}

.app-footer,
.app-footer * {
    font-family: var(--footer-font, Vazirmatn), Tahoma, sans-serif !important;
}

/*
 * Component page headers are intentionally kept in the markup for future reuse,
 * but the application shell owns the visible page title for now.
 * This targets only the top-level module header; modal/dialog headers remain visible.
 */
.maintenance-module > header,
.maintenance-module > .maintenance-hero,
.cupps-shell > .cupps-page-head,
.cupps-shell > .cupps-hero {
    display: none !important;
}

