/*
  Onix BI — the Home app's pages (KPIs, scorecards, reports, analytics, Mayla, warnings, imports, settings).

  The legacy OnixBI's own colouring, kept on purpose (the port's brief): the MudBlazor palette it was built on
  (Primary #1976D2, Secondary #00897B, Tertiary #6A1B9A, Info #1565C0, Success #2E7D32, Warning #E65100,
  Error #C62828) with its dark-mode twins (#90CAF9 / #80CBC4 / #CE93D8 / #64B5F6 / #81C784 / #FFB74D / #EF5350),
  its page gradients and its KPI colours — exposed as --bi-* tokens so no page hard-codes a colour
  (docs/CONVENTIONS.md "UI Gateway pages"). Everything else (cards, chips, overlines, rows) is the fleet's glass
  design system (onix-glass.css). Surfaces follow the fleet's --bg / --panel tokens.
*/

:root {
  --bi-primary: #1976D2;
  --bi-primary-dark: #1565C0;
  --bi-primary-ink: #0D47A1;
  --bi-secondary: #00897B;
  --bi-tertiary: #6A1B9A;
  --bi-tertiary-2: #8E24AA;
  --bi-info: #1565C0;
  --bi-success: #2E7D32;
  --bi-warning: #E65100;
  --bi-error: #C62828;
  --bi-watch: #F9A825;
  --bi-on-color: #FFFFFF;
  --bi-on-color-soft: rgba(255, 255, 255, 0.2);   /* chips and tiles on a coloured surface */
  --bi-on-color-tile: rgba(255, 255, 255, 0.18);
  --bi-on-color-ring: rgba(255, 255, 255, 0.6);   /* the focus ring on a coloured surface */
  --bi-watch-ink: #1A1A2E;                          /* ink on the amber watch chip */
  --bi-hero-shadow: 0 18px 40px rgba(13, 71, 161, 0.25);
  --bi-hero-shadow-purple: 0 18px 40px rgba(106, 27, 154, 0.25);
  --bi-hero-shadow-teal: 0 18px 40px rgba(0, 137, 123, 0.25);
  --bi-scrim: rgba(16, 27, 65, 0.45);
  --bi-panel-shadow: 0 0 40px rgba(16, 27, 65, 0.3);

  --bi-primary-soft: rgba(25, 118, 210, 0.08);
  --bi-tertiary-soft: rgba(106, 27, 154, 0.05);
  --bi-tertiary-faint: rgba(106, 27, 154, 0.04);
  --bi-success-soft: rgba(46, 125, 50, 0.08);
  --bi-warning-soft: rgba(230, 81, 0, 0.08);
  --bi-error-soft: rgba(198, 40, 40, 0.08);
  --bi-info-soft: rgba(21, 101, 192, 0.08);

  /* The gradients below keep one value in both themes on purpose: white-on-colour cards read the same in the dark. */
  /* The hero / app-bar gradient of the legacy. */
  --bi-gradient: #0D47A1;
  --bi-gradient-purple: #6A1B9A;

  /* The legacy executive dashboard's four metric cards. */
  --bi-card-revenue: #1976D2;
  --bi-card-margin: #00897B;
  --bi-card-ebit: #6A1B9A;
  --bi-card-ros: #E65100;
  /* The legacy Home's own four KPI cards (Revenue green, Gross Margin blue, EBIT purple, ROS orange) — the dashboard block keeps them. */
  --bi-home-card-revenue: #2E7D32;
  --bi-home-card-margin: #1565C0;
  --bi-home-card-ebit: #6A1B9A;
  --bi-home-card-ros: #E65100;

  /* The KPI chips / series colours of the legacy Home and Analytics pages. */
  --bi-kpi-revenue: #2E7D32;
  --bi-kpi-ebit: #6A1B9A;
  --bi-kpi-ros: #00838F;
  --bi-kpi-gross-margin: #1565C0;
  --bi-kpi-working-capital: #283593;
  --bi-kpi-days-receivable: #4E342E;
  --bi-kpi-days-payable: #37474F;
  --bi-kpi-ccc: #AD1457;
  --bi-kpi-opex: #E65100;
  --bi-kpi-cost-of-sales: #827717;
  --bi-chart-1: #1976D2;
  --bi-chart-2: #00897B;
  --bi-chart-3: #6A1B9A;
  --bi-chart-4: #E65100;
  --bi-chart-5: #2E7D32;
  --bi-chart-6: #C62828;

  /* Business Analytics: one gradient per analysis (risk, seasonal, profitability, benchmark, cash flow, strategy). */
  --bi-ba-risk: #FF6F00;
  --bi-ba-seasonal: #00897B;
  --bi-ba-profitability: #1565C0;
  --bi-ba-benchmark: #F57C00;
  --bi-ba-cashflow: #3F51B5;
  --bi-ba-strategy: #6A1B9A;
  --bi-ba-risk-ink: #FF6F00;
  --bi-ba-seasonal-ink: #00897B;
  --bi-ba-profitability-ink: #1565C0;
  --bi-ba-benchmark-ink: #F57C00;
  --bi-ba-cashflow-ink: #3F51B5;
  --bi-ba-strategy-ink: #6A1B9A;
  --bi-ba-hero: #6A1B9A;

  /* The assistant's bubbles. */
  --bi-bubble-user: rgba(25, 118, 210, 0.08);
  --bi-bubble-assistant: rgba(106, 27, 154, 0.05);
  --bi-code-bg: rgba(0, 0, 0, 0.05);

  /* The reports page's ledger greys. */
  --bi-ledger-bg: #f8f9fa;
  --bi-ledger-paper: #ffffff;
  --bi-ledger-line: #dee2e6;
  --bi-ledger-ink: #212529;
  --bi-ledger-ink-2: #495057;
  --bi-ledger-muted: #868e96;
  --bi-ledger-row: #e9ecef;
  --bi-ledger-row-2: #f1f3f5;
  --bi-ledger-negative: #e03131;
  --bi-ledger-active-bg: #e7f5ff;
  --bi-ledger-active-ink: #1971c2;
  --bi-ledger-pl-bg: #dbe4ff;
  --bi-ledger-pl-ink: #364fc7;
  --bi-ledger-bs-bg: #d3f9d8;
  --bi-ledger-bs-ink: #2b8a3e;

}

:root[data-theme="dark"],
:root:not([data-theme="light"]) {
  color-scheme: inherit;
}

:root[data-theme="dark"] {
  --bi-primary: #90CAF9;
  --bi-primary-dark: #64B5F6;
  --bi-primary-ink: #BBDEFB;
  --bi-secondary: #80CBC4;
  --bi-tertiary: #CE93D8;
  --bi-tertiary-2: #BA68C8;
  --bi-info: #64B5F6;
  --bi-success: #81C784;
  --bi-warning: #FFB74D;
  --bi-error: #EF5350;
  --bi-watch: #FFD54F;
  --bi-on-color: #0F0F1A;
  --bi-on-color-soft: rgba(255, 255, 255, 0.2);
  --bi-on-color-tile: rgba(255, 255, 255, 0.18);
  --bi-on-color-ring: rgba(255, 255, 255, 0.6);
  --bi-watch-ink: #1A1A2E;
  --bi-hero-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --bi-hero-shadow-purple: 0 18px 40px rgba(0, 0, 0, 0.45);
  --bi-hero-shadow-teal: 0 18px 40px rgba(0, 0, 0, 0.45);
  --bi-scrim: rgba(0, 0, 0, 0.6);
  --bi-panel-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  --bi-primary-soft: rgba(144, 202, 249, 0.14);
  --bi-tertiary-soft: rgba(206, 147, 216, 0.12);
  --bi-tertiary-faint: rgba(206, 147, 216, 0.08);
  --bi-success-soft: rgba(129, 199, 132, 0.14);
  --bi-warning-soft: rgba(255, 183, 77, 0.14);
  --bi-error-soft: rgba(239, 83, 80, 0.14);
  --bi-info-soft: rgba(100, 181, 246, 0.14);
  --bi-kpi-revenue: #81C784;
  --bi-kpi-ebit: #CE93D8;
  --bi-kpi-ros: #4DD0E1;
  --bi-kpi-gross-margin: #64B5F6;
  --bi-kpi-working-capital: #9FA8DA;
  --bi-kpi-days-receivable: #BCAAA4;
  --bi-kpi-days-payable: #B0BEC5;
  --bi-kpi-ccc: #F48FB1;
  --bi-kpi-opex: #FFB74D;
  --bi-kpi-cost-of-sales: #DCE775;
  --bi-chart-1: #90CAF9;
  --bi-chart-2: #80CBC4;
  --bi-chart-3: #CE93D8;
  --bi-chart-4: #FFB74D;
  --bi-chart-5: #81C784;
  --bi-chart-6: #EF5350;
  --bi-bubble-user: rgba(144, 202, 249, 0.14);
  --bi-bubble-assistant: rgba(206, 147, 216, 0.12);
  --bi-code-bg: rgba(255, 255, 255, 0.08);
  --bi-ledger-bg: #0F0F1A;
  --bi-ledger-paper: #1A1A2E;
  --bi-ledger-line: #2D2D44;
  --bi-ledger-ink: #E8EAF6;
  --bi-ledger-ink-2: #C5CAE9;
  --bi-ledger-muted: #9FA8DA;
  --bi-ledger-row: #22223A;
  --bi-ledger-row-2: #1E1E33;
  --bi-ledger-negative: #EF5350;
  --bi-ledger-active-bg: #1E2A44;
  --bi-ledger-active-ink: #90CAF9;
  --bi-ledger-pl-bg: #2A2F55;
  --bi-ledger-pl-ink: #9FA8DA;
  --bi-ledger-bs-bg: #1F3A2A;
  --bi-ledger-bs-ink: #81C784;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bi-primary: #90CAF9;
    --bi-primary-dark: #64B5F6;
    --bi-primary-ink: #BBDEFB;
    --bi-secondary: #80CBC4;
    --bi-tertiary: #CE93D8;
    --bi-tertiary-2: #BA68C8;
    --bi-info: #64B5F6;
    --bi-success: #81C784;
    --bi-warning: #FFB74D;
    --bi-error: #EF5350;
    --bi-watch: #FFD54F;
    --bi-on-color: #0F0F1A;
    --bi-on-color-soft: rgba(255, 255, 255, 0.2);
    --bi-on-color-tile: rgba(255, 255, 255, 0.18);
    --bi-on-color-ring: rgba(255, 255, 255, 0.6);
    --bi-watch-ink: #1A1A2E;
    --bi-hero-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    --bi-hero-shadow-purple: 0 18px 40px rgba(0, 0, 0, 0.45);
    --bi-hero-shadow-teal: 0 18px 40px rgba(0, 0, 0, 0.45);
    --bi-scrim: rgba(0, 0, 0, 0.6);
    --bi-panel-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
    --bi-primary-soft: rgba(144, 202, 249, 0.14);
    --bi-tertiary-soft: rgba(206, 147, 216, 0.12);
    --bi-tertiary-faint: rgba(206, 147, 216, 0.08);
    --bi-success-soft: rgba(129, 199, 132, 0.14);
    --bi-warning-soft: rgba(255, 183, 77, 0.14);
    --bi-error-soft: rgba(239, 83, 80, 0.14);
    --bi-info-soft: rgba(100, 181, 246, 0.14);
    --bi-kpi-revenue: #81C784;
    --bi-kpi-ebit: #CE93D8;
    --bi-kpi-ros: #4DD0E1;
    --bi-kpi-gross-margin: #64B5F6;
    --bi-kpi-working-capital: #9FA8DA;
    --bi-kpi-days-receivable: #BCAAA4;
    --bi-kpi-days-payable: #B0BEC5;
    --bi-kpi-ccc: #F48FB1;
    --bi-kpi-opex: #FFB74D;
    --bi-kpi-cost-of-sales: #DCE775;
    --bi-chart-1: #90CAF9;
    --bi-chart-2: #80CBC4;
    --bi-chart-3: #CE93D8;
    --bi-chart-4: #FFB74D;
    --bi-chart-5: #81C784;
    --bi-chart-6: #EF5350;
    --bi-bubble-user: rgba(144, 202, 249, 0.14);
    --bi-bubble-assistant: rgba(206, 147, 216, 0.12);
    --bi-code-bg: rgba(255, 255, 255, 0.08);
    --bi-ledger-bg: #0F0F1A;
    --bi-ledger-paper: #1A1A2E;
    --bi-ledger-line: #2D2D44;
    --bi-ledger-ink: #E8EAF6;
    --bi-ledger-ink-2: #C5CAE9;
    --bi-ledger-muted: #9FA8DA;
    --bi-ledger-row: #22223A;
    --bi-ledger-row-2: #1E1E33;
    --bi-ledger-negative: #EF5350;
    --bi-ledger-active-bg: #1E2A44;
    --bi-ledger-active-ink: #90CAF9;
    --bi-ledger-pl-bg: #2A2F55;
    --bi-ledger-pl-ink: #9FA8DA;
    --bi-ledger-bs-bg: #1F3A2A;
    --bi-ledger-bs-ink: #81C784;
  }
}

/* ---------- shared page frame ---------- */

.bi { max-width: 1560px; }
.bi-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.bi-head h1 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.015em; }
.bi-head .bi-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.bi-head-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; color: var(--bi-on-color); background: var(--bi-gradient); flex: none; }
.bi-head-icon svg { width: 24px; height: 24px; }
.bi-head-title { display: flex; align-items: center; gap: 14px; }
.bi-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bi-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.bi-toolbar select, .bi-toolbar input[type="number"], .bi-toolbar input[type="text"] { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; }
.bi-grid { display: grid; gap: 20px; }
.bi-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bi-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bi-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bi-stack { display: flex; flex-direction: column; gap: 20px; }

/* The legacy hero (blue gradient) and the four metric cards. */
.bi-hero { padding: 28px 32px; border-radius: 24px; color: var(--bi-on-color); background: var(--bi-gradient); box-shadow: var(--bi-hero-shadow); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.bi-hero h1, .bi-hero h2 { margin: 0; color: inherit; }
.bi-hero p { margin: 6px 0 0; opacity: 0.85; }
.bi-hero--purple { background: var(--bi-ba-hero); box-shadow: var(--bi-hero-shadow-purple); }
.bi-metric { position: relative; overflow: hidden; padding: 20px 22px; border-radius: 20px; color: var(--bi-on-color); min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.bi-metric--revenue { background: var(--bi-card-revenue); }
.bi-metric--margin { background: var(--bi-card-margin); }
.bi-metric--ebit { background: var(--bi-card-ebit); }
.bi-metric--ros { background: var(--bi-card-ros); }
/* On the Home the four cards wear the legacy Home's gradients; the Analytics Center keeps the page's theme colours. */
.home-bi-metrics .bi-metric--revenue { background: var(--bi-home-card-revenue); }
.home-bi-metrics .bi-metric--margin { background: var(--bi-home-card-margin); }
.home-bi-metrics .bi-metric--ebit { background: var(--bi-home-card-ebit); }
.home-bi-metrics .bi-metric--ros { background: var(--bi-home-card-ros); }
.bi-metric-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.bi-metric-value { font-family: var(--font-display); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bi-metric-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: 0.9; }
.bi-metric-chip { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--bi-on-color-soft); font-weight: 600; }
.bi-metric-icon { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; opacity: 0.22; }

/* KPI chips (the legacy "Supported KPIs" row) and severities. */
.bi-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--bi-on-color); background: var(--bi-kpi-color, var(--bi-primary)); }
.bi-chip--outline { color: var(--bi-kpi-color, var(--bi-primary)); background: transparent; border: 1px solid currentColor; }
.bi-chip--critical { background: var(--bi-error); }
.bi-chip--warning { background: var(--bi-warning); }
.bi-chip--watch { background: var(--bi-watch); color: var(--bi-watch-ink); }
.bi-severity--critical { --bi-severity: var(--bi-error); }
.bi-severity--warning { --bi-severity: var(--bi-warning); }
.bi-severity--watch { --bi-severity: var(--bi-watch); }
.bi-card--severity { border-left: 5px solid var(--bi-severity, var(--bi-primary)); }
.bi-card--topline { border-top: 4px solid var(--bi-severity, var(--bi-primary)); }
.bi-up { color: var(--bi-success); }
.bi-down { color: var(--bi-error); }
.bi-flat { color: var(--muted); }

/* Charts drawn inline (SVG / CSS), no chart library. */
.bi-chart { width: 100%; height: auto; display: block; }
.bi-chart .bi-axis { stroke: var(--line); stroke-width: 1; }
.bi-chart .bi-grid { stroke: var(--hairline); stroke-width: 1; stroke-dasharray: 3 4; }
.bi-chart .bi-line { fill: none; stroke: var(--bi-series, var(--bi-chart-1)); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.bi-chart .bi-area { fill: var(--bi-series, var(--bi-chart-1)); opacity: 0.12; }
.bi-chart .bi-dot { fill: var(--bi-series, var(--bi-chart-1)); stroke: var(--panel); stroke-width: 2; }
.bi-chart .bi-bar { fill: var(--bi-series, var(--bi-chart-1)); rx: 3; }
.bi-chart .bi-label { font-size: 11px; fill: var(--muted); }
.bi-chart .bi-value { font-size: 11px; fill: var(--ink); font-weight: 600; }
.bi-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.bi-legend-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--bi-series, var(--bi-chart-1)); margin-right: 6px; }
.bi-donut { width: 160px; height: 160px; }
.bi-donut .bi-donut-ring { fill: none; stroke-width: 22; }
.bi-gauge { width: 100%; max-width: 260px; margin: 0 auto; display: block; }
.bi-bar-row { display: grid; grid-template-columns: 140px 1fr 56px; align-items: center; gap: 10px; font-size: 13px; }
.bi-bar-track { height: 8px; border-radius: 999px; background: var(--panel-hover); overflow: hidden; }
.bi-bar-fill { height: 100%; border-radius: 999px; background: var(--bi-series, var(--bi-primary)); }

/* Tables of figures. */
.bi-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.bi-table th { text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bi-table td { padding: 10px; border-bottom: 1px solid var(--hairline); }
.bi-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bi-table tr:last-child td { border-bottom: 0; }

/* The assistant. */
.bi-chat { display: flex; flex-direction: column; gap: 12px; }
.bi-bubble { max-width: 80%; padding: 12px 14px; border-radius: 12px; line-height: 1.5; white-space: pre-wrap; }
.bi-bubble--user { align-self: flex-end; background: var(--bi-bubble-user); border-top-right-radius: 4px; }
.bi-bubble--assistant { align-self: flex-start; background: var(--bi-bubble-assistant); border-top-left-radius: 4px; }
.bi-bubble code { background: var(--bi-code-bg); padding: 2px 4px; border-radius: 3px; }
.bi-bubble-meta { margin-top: 6px; font-size: 11px; color: var(--muted); }
.bi-answer { padding: 16px 18px; border-radius: 16px; background: var(--bi-tertiary-faint); white-space: pre-wrap; line-height: 1.55; }
.bi-answer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 14px 14px 0 0; color: var(--bi-on-color); background: var(--bi-answer-gradient, var(--bi-gradient-purple)); }
.bi-pending { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }

/* Mayla's answers as BiMarkdown renders them (the assistant, the business analyses, the price recommendation, the report summaries). */
.bi-md-h { font-weight: 700; margin: 10px 0 4px; }
.bi-md-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.bi-md-table th, .bi-md-table td { padding: 6px 8px; border-bottom: 1px solid var(--hairline); text-align: left; }
.bi-md-table th { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.bi-code { background: var(--bi-code-bg); padding: 2px 4px; border-radius: 3px; }

/* The ledger-styled statements (the legacy Reports page). */
.bi-ledger { background: var(--bi-ledger-paper); color: var(--bi-ledger-ink); border: 1px solid var(--bi-ledger-line); border-radius: 12px; overflow: hidden; }
.bi-ledger-row { display: grid; grid-template-columns: 1fr 160px; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--bi-ledger-row); }
.bi-ledger-row--section { background: var(--bi-ledger-row-2); font-weight: 600; }
.bi-ledger-row--total { font-weight: 700; border-top: 1px solid var(--bi-ledger-line); }
.bi-ledger-row--grand { background: var(--bi-ledger-row); font-weight: 700; }
.bi-ledger-row--net { background: var(--bi-ledger-pl-bg); color: var(--bi-ledger-pl-ink); font-weight: 700; }
.bi-ledger-amount { text-align: right; font-variant-numeric: tabular-nums; }
.bi-ledger-amount.is-negative { color: var(--bi-ledger-negative); }
.bi-ledger-list-item.is-active { background: var(--bi-ledger-active-bg); color: var(--bi-ledger-active-ink); }
.bi-ledger-icon--pl { background: var(--bi-ledger-pl-bg); color: var(--bi-ledger-pl-ink); }
.bi-ledger-icon--bs { background: var(--bi-ledger-bs-bg); color: var(--bi-ledger-bs-ink); }

@media (max-width: 1040px) {
  .bi-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bi-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .bi-grid--2, .bi-grid--3, .bi-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .bi-bubble { max-width: 100%; }
  .bi-bar-row { grid-template-columns: 100px 1fr 48px; }
  .bi-hero { padding: 20px; }
  .bi-metric-value { font-size: 24px; }
}

/* ---- OP-040: a figure's last twelve months as a small line (the KPI cards, the Home's operational block) ---- */
.bi-spark { display: block; width: 100%; height: 28px; overflow: visible; }
.bi-spark polyline { fill: none; stroke: var(--bi-secondary); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bi-spark--up polyline { stroke: var(--bi-success); }
.bi-spark--down polyline { stroke: var(--bi-error); }
.bi-metric-chip--year { margin-left: 6px; }
