/* ============================================
 * Thème HIVE - terminal minimaliste N/B/Gris
 * ============================================ */

:root[data-theme="dark"] {
  --bg            : #0a0a0a;
  --bg-2          : #141414;
  --bg-3          : #1c1c1c;
  --border        : #2a2a2a;
  --border-strong : #444444;
  --text          : #e8e8e8;
  --text-strong   : #ffffff;
  --text-muted    : #888888;
  --accent        : #ffffff;
  --error         : #ff4444;
  --success       : #44ff88;
  --warning       : #ffc800;
  --link          : #ffffff;
  --shadow        : 0 1px 0 0 rgba(255,255,255,0.04);

  --urgency-moyenne-bg     : rgba(255, 200, 0, 0.08);
  --urgency-moyenne-border : #ffc800;
  --urgency-haute-bg       : rgba(255, 120, 0, 0.12);
  --urgency-haute-border   : #ff7800;
  --urgency-urgent-bg      : rgba(255, 50, 50, 0.18);
  --urgency-urgent-border  : #ff3232;

  --peloton-PI  : #3b82f6;
  --peloton-P2  : #ef4444;
  --peloton-P3  : #eab308;
  --peloton-P4  : #22c55e;
  --peloton-PHR : #9ca3af;
}

:root[data-theme="light"] {
  --bg            : #f5f5f0;
  --bg-2          : #ffffff;
  --bg-3          : #ebebe6;
  --border        : #d4d4d0;
  --border-strong : #aaaaa5;
  --text          : #1a1a1a;
  --text-strong   : #000000;
  --text-muted    : #666666;
  --accent        : #000000;
  --error         : #c40000;
  --success       : #008844;
  --warning       : #c08000;
  --link          : #000000;
  --shadow        : 0 1px 0 0 rgba(0,0,0,0.04);

  --urgency-moyenne-bg     : rgba(255, 200, 0, 0.18);
  --urgency-moyenne-border : #b08000;
  --urgency-haute-bg       : rgba(255, 120, 0, 0.18);
  --urgency-haute-border   : #c46000;
  --urgency-urgent-bg      : rgba(255, 50, 50, 0.18);
  --urgency-urgent-border  : #c40000;

  --peloton-PI  : #2563eb;
  --peloton-P2  : #dc2626;
  --peloton-P3  : #ca8a04;
  --peloton-P4  : #16a34a;
  --peloton-PHR : #6b7280;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
}

::selection { background: var(--text); color: var(--bg); }

/* Scrollbar discret */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
