/* Escala única del sistema interno. No afecta a los layouts de familias o portal. */
.acrd-shell {
    --acrd-text-xs: .75rem;       /* 12px: metadatos compactos */
    --acrd-text-small: .875rem;   /* 14px: ayudas, etiquetas y metadatos */
    --acrd-text-medium: 1rem;     /* 16px: contenido */
    --acrd-text-high: 1.25rem;    /* 20px: texto destacado */
    --acrd-heading-1: 2rem;
    --acrd-heading-2: 1.75rem;
    --acrd-heading-3: 1.5rem;
    --acrd-heading-4: 1.25rem;
    --acrd-heading-5: 1.125rem;
    --acrd-heading-6: 1rem;
    --acrd-display-value: 2rem;
    --acrd-font-base: var(--acrd-text-medium);
    --acrd-font-sm: var(--acrd-text-small);
    --acrd-font-lg: var(--acrd-text-high);
    font-family:var(--acrd-font, 'Inter', system-ui, sans-serif) !important;
    font-size:var(--acrd-text-medium) !important;
    line-height:1.5;
}
.acrd-shell :is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6) { font-family:inherit; font-weight:600; line-height:1.3; }
.acrd-shell :is(h1,.h1,.fs-1) { font-size:var(--acrd-heading-1) !important; }
.acrd-shell :is(h2,.h2,.fs-2) { font-size:var(--acrd-heading-2) !important; }
.acrd-shell :is(h3,.h3,.fs-3) { font-size:var(--acrd-heading-3) !important; }
.acrd-shell :is(h4,.h4,.fs-4) { font-size:var(--acrd-heading-4) !important; }
.acrd-shell :is(h5,.h5,.fs-5) { font-size:var(--acrd-heading-5) !important; }
.acrd-shell :is(h6,.h6,.fs-6) { font-size:var(--acrd-heading-6) !important; }
.acrd-shell :is(small,.small,.text-sm,.acrd-text-small) { font-size:var(--acrd-text-small) !important; }
.acrd-shell :is(.acrd-text-medium,.acrd-record-detail,.card-body) { font-size:var(--acrd-text-medium) !important; }
.acrd-shell :is(.lead,.text-lg,.acrd-text-high) { font-size:var(--acrd-text-high) !important; }
.acrd-shell .card-header .card-title,
.acrd-shell .card-header .card-title :is(h3,h4,h5,h6,strong),
.acrd-shell .acrd-form-section-heading strong { font-size:var(--acrd-heading-6) !important; line-height:1.35; }
.acrd-shell .acrd-page-header .acrd-header-content h4 { font-size:var(--acrd-heading-3) !important; }
.acrd-shell :is(.acrd-record-breadcrumb,.acrd-header-meta,.acrd-header-subtitle,.acrd-record-demographics,.acrd-record-summary,.acrd-record-code,.acrd-record-status,.acrd-verification) { font-size:var(--acrd-text-small) !important; }
.acrd-shell .badge { font-size:var(--acrd-text-small); line-height:1.3; }
.acrd-shell :is(.acrd-detail-field dt,.acrd-field-hint,.acrd-form-help,.acrd-switch-hint,.acrd-form-section-heading p,.acrd-form-actions > span,.acrd-review-heading p,.acrd-review-guidance,.acrd-review-audit) { font-size:var(--acrd-text-small) !important; line-height:1.5; }
.acrd-shell :is(.acrd-detail-field dd,.acrd-record-list-item,.acrd-record-list-item strong,.acrd-record-list-item b,.acrd-switch-label,.acrd-review-check-text strong) { font-size:var(--acrd-text-medium) !important; line-height:1.5; }
.acrd-shell :is(.acrd-record-list-item small,.acrd-record-list-item .small,.acrd-record-list-item .badge) { font-size:var(--acrd-text-small) !important; }
.acrd-shell :is(input.form-control,select.form-select,textarea.form-control,.acrd-date-trigger-value,.acrd-date-wheels select,.acrd-tabs button,.btn,.btn-sm) { font-family:inherit; font-size:var(--acrd-text-medium); }
.acrd-shell :is(.acrd-date-trigger-label,.acrd-date-popup-footer,.acrd-date-popup-title,.acrd-recipient small,.acrd-recipient-choice,.acrd-document-text small,.acrd-review-progress small) { font-size:var(--acrd-text-small) !important; }
.acrd-shell :is(.acrd-kpi-v2-label,.acrd-kpi-v2-sub) { font-size:var(--acrd-text-small) !important; }
.acrd-shell .acrd-kpi-v2-value { font-size:var(--acrd-display-value) !important; }
/* Los iconos conservan la fuente propia de Font Awesome/Radzen. */

.acrd-shell :is(.text-xs,.acrd-text-xs) { font-size:var(--acrd-text-xs) !important; }
.acrd-shell .text-md { font-size:var(--acrd-text-medium) !important; }
