/* =====================================================
   INRADR Design System — Typography (Ch. 02)
   Ported from .docs/context/design/design-system-inradr.html
   inradr-design layer · light theme only

   Ubuntu is the only permitted typeface (weights 400/500/700), served from
   wwwroot/lib/ubuntu-font. Each type token is a fixed px triplet
   --text-<token>-size / -weight / -line-height (decision OQ-24).
   13px is the floor for secondary text (A 8561275, InradrVizTypography.MinSize = 13).
   DevExpress components get the family through --dxds-font-family-sans-serif
   (inradr-feature layer).
   ===================================================== */

:root {
    /* --- Font family --- */
    --inradr-font-body: Ubuntu, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --inradr-font-heading: var(--inradr-font-body);   /* single-face system */

    /* --- Display — page title (e.g. "Wien, Ziedlergasse 4-6") --- */
    --inradr-text-display-size: 32px;
    --inradr-text-display-weight: 500;
    --inradr-text-display-line-height: 1;

    /* --- H1 — breadcrumb path, KPI metric value/change --- */
    --inradr-text-h1-size: 24px;
    --inradr-text-h1-weight: 500;
    --inradr-text-h1-line-height: 1;

    /* --- H2 — section headers (e.g. "Stammdaten") --- */
    --inradr-text-h2-size: 20px;
    --inradr-text-h2-weight: 500;
    --inradr-text-h2-line-height: 1;

    /* --- H3 — nav-bar menu items --- */
    --inradr-text-h3-size: 16px;
    --inradr-text-h3-weight: 400;
    --inradr-text-h3-line-height: 22px;

    /* --- Body — table cell content, values --- */
    --inradr-text-body-size: 14px;
    --inradr-text-body-weight: 400;
    --inradr-text-body-line-height: 20px;

    /* --- Body Strong — inactive tab label --- */
    --inradr-text-body-strong-size: 14px;
    --inradr-text-body-strong-weight: 500;
    --inradr-text-body-strong-line-height: 1;

    /* --- Body Bold — active tab label --- */
    --inradr-text-body-bold-size: 14px;
    --inradr-text-body-bold-weight: 700;
    --inradr-text-body-bold-line-height: 1;

    /* --- Caption — axis text, timestamps --- */
    --inradr-text-caption-size: 13px;
    --inradr-text-caption-weight: 400;
    --inradr-text-caption-line-height: 16px;

    /* --- Badge — status/data badges & counters --- */
    --inradr-text-badge-size: 13px;
    --inradr-text-badge-weight: 500;
    --inradr-text-badge-line-height: 1;

    /* --- KPI Label — e.g. "Marktwert", "WAULT" --- */
    --inradr-text-kpi-label-size: 14px;
    --inradr-text-kpi-label-weight: 400;
    --inradr-text-kpi-label-line-height: 16px;

    /* --- List Header — table header --- */
    --inradr-text-list-header-size: 13px;
    --inradr-text-list-header-weight: 700;
    --inradr-text-list-header-line-height: 1;

    /* --- Display texts for booleans in read-only views (CSS content). German is the neutral language; the
       other languages follow the culture XAF writes into <html lang>. --- */
    --inradr-bool-true-label: 'ja';
    --inradr-bool-false-label: 'nein';
}

:root:lang(en) {
    --inradr-bool-true-label: 'yes';
    --inradr-bool-false-label: 'no';
}

:root:lang(es) {
    --inradr-bool-true-label: 'sí';
    --inradr-bool-false-label: 'no';
}
