/* © 2026 Peter G (Peter's HVAC Advisory). All rights reserved. */
/* P-H plot colours. The only place plot colours are set. Light on :root, dark under html.dark. Drawing code and ph-chart.css read these settings and never a colour. */

:root {
    --ph-cycle: var(--text-light);
    --ph-isotherm: #ea580c;
    --ph-target: #9A9A9A;
    --ph-current: #000000;
    --ph-compare: #15803d;
    --report-frame: var(--text);
    --report-paper: var(--surface);
    --report-ink: var(--text);
    --report-unit: var(--text-light);
    --report-rule: var(--border);
    --report-band: var(--surface-raised);
    --psy-axis: #0f172a;
    --psy-grid: #64748b;
    --psy-grid-minor: #cbd5e1;
    --psy-sat: #0f172a;
    --psy-rh: #0f766e;
    --psy-h: #c2410c;
    --psy-wb: #15803d;
    --psy-v: #6d28d9;
    --psy-process: #1d4ed8;
    --psy-return: #1d4ed8;
    --psy-supply: #b91c1c;
    --psy-label: #0f172a;
    --psy-title: #0f172a;
}

html.dark {
    --ph-cycle: #9aa8bc;
    --ph-isotherm: #ea580c;
    --ph-target: #9A9A9A;
    --ph-current: #e8edf4;
    --ph-compare: #22c55e;
    --report-frame: var(--border-strong);
    --report-paper: var(--surface);
    --report-ink: var(--text);
    --report-unit: var(--text-light);
    --report-rule: var(--border);
    --report-band: var(--surface-raised);
    --psy-axis: #e8edf4;
    --psy-grid: #94a3b8;
    --psy-grid-minor: #475569;
    --psy-sat: #f8fafc;
    --psy-rh: #5eead4;
    --psy-h: #fdba74;
    --psy-wb: #86efac;
    --psy-v: #d8b4fe;
    --psy-process: #93c5fd;
    --psy-return: #93c5fd;
    --psy-supply: #fca5a5;
    --psy-label: #e8edf4;
    --psy-title: #e8edf4;
}

a.ref-chip:focus-visible {
    outline: 3px solid #0d9488;
    outline-offset: 2px;
}
html.dark a.ref-chip:focus-visible {
    outline-color: #2dd4bf;
}
