/* RED accent layer (2026-11-29): brings the BORDERLINE site/portfolio red into the CRM and trainer cabinet.
   Neutral surfaces stay. Roll back by removing the <link> to this file in index.html. */
:root{--funk-bone:#f2f0ed;--brand-red:#d2373d}
[data-theme="dark"]{
  --primary:#d2373d;--primary-strong:#d2373d;--primary-hover:#e04a50;--primary-press:#b32d33;
  --primary-soft:rgba(210,55,61,.18);--primary-softer:rgba(210,55,61,.09);
  --accent:#d2373d;--accent-2:#d2373d;--accent-2-soft:rgba(210,55,61,.16);--accent-line:#d2373d;
  --on-primary:#ffffff;--focus:#e04a50;
  --border-strong:#4a3436;
}
[data-theme="light"]{
  --primary:#bd1c26;--primary-strong:#bd1c26;--primary-hover:#d2373d;--primary-press:#9c141d;
  --primary-soft:rgba(189,28,38,.12);--primary-softer:rgba(189,28,38,.06);
  --accent:#bd1c26;--accent-2:#bd1c26;--accent-2-soft:rgba(189,28,38,.1);--accent-line:#bd1c26;
  --on-primary:#ffffff;--focus:#bd1c26;
}
[data-theme="light"] .nav-item:hover{background:#bd1c26;color:#fff}
[data-theme="light"] .metric-primary:hover,[data-theme="light"] .metric-cell:hover,[data-theme="light"] .function-card:hover{border-color:#bd1c26}
.metric-primary:hover,.metric-cell:hover,.function-card:hover{border-color:var(--brand-red)}
::selection{background:#d2373d;color:#fff}
