/* ─── NEXUS v2 — Dashboard (handoff 06/09/2026, tokens Prisme) ───────────────
   Feuille AUTONOME : la page Dashboard ne charge que ce fichier, pas style.css.
   Les tokens portent les mêmes noms que le handoff (`tokens.css`) ; le jour où tout
   NEXUS bascule, ce bloc :root devient celui de style.css et les composants .nx-*
   deviennent les composants communs. D'ici là, aucun ancien token ne peut déteindre.
   Contraintes : pas de framework, pas de librairie de graphiques, pas de serif, pas
   de grille de points, pas de cartes KPI à bordures colorées.                     */

:root {
  --bg: #0b0f1e; --panel: #141a2e; --panel-2: #1d2438; --side: #0e1325;
  --border: #2a3048; --border-soft: #242a40;
  --text: #ecebf3; --text2: #a8a5ba; --text3: #767389;
  --purple: #7c6cd4; --purple-light: #a99cdc; --purple-soft: rgba(124,108,212,.14);
  --orange: #d9834a; --orange-text: #e8a473; --orange-soft: rgba(217,131,74,.12);
  --pos: #7fc9a6; --pos-soft: rgba(127,201,166,.12);
  --neg: #e08d95; --neg-soft: rgba(224,141,149,.12);
  --warn: #dcb783;
  --brand-violet: #7c6cd4; --brand-orange: #d9834a;
  --grad: linear-gradient(110deg, #7c6cd4, #d9834a);
  --cta-text: #fff;
  --hero: radial-gradient(ellipse at 100% 100%, rgba(217,131,74,.10), transparent 65%),
          radial-gradient(ellipse at 0 0, rgba(124,108,212,.18), transparent 85%), #181d33;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --ring: inset 0 1px 0 rgba(255,255,255,.03);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f3f1ec; --panel: #fff; --panel-2: #eeecf2; --side: #f6f4f7;
  --border: #d9d5de; --border-soft: #e6e3ea;
  --text: #2b2733; --text2: #645f70; --text3: #8b8796;
  --purple: #6a5bc4; --purple-light: #5b4da8; --purple-soft: rgba(106,91,196,.09);
  --orange: #c26a35; --orange-text: #9a4e1c; --orange-soft: rgba(194,106,53,.09);
  --pos: #2a6b52; --pos-soft: rgba(42,107,82,.09);
  --neg: #a13a48; --neg-soft: rgba(161,58,72,.09);
  --warn: #8a5a1c;
  --grad: linear-gradient(110deg, #6a5bc4, #c26a35);
  --cta-text: #fff;
  --hero: radial-gradient(ellipse at 100% 100%, rgba(194,106,53,.06), transparent 65%), linear-gradient(120deg, #ece7f5, #f4efe9);
  --shadow: 0 5px 20px rgba(49,30,72,.04);
  --ring: none;
  color-scheme: light;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden;
}
body.nx-sheet-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: var(--purple-light); text-decoration: none; }
a:hover { color: var(--orange-text); }
b { font-weight: 600; }
h1, h2, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 2px; }
svg { flex: none; }

/* ── Masquage des montants (classe posée avant le premier rendu) ── */
.nx-veil { display: none; letter-spacing: 1px; }
.nx-root.is-masked .nx-real { display: none; }
.nx-root.is-masked .nx-veil { display: inline; }
.nx-eye-off, .nx-theme-light { display: none; }
.nx-root.is-masked .nx-eye-on { display: none; }
.nx-root.is-masked .nx-eye-off { display: block; }
html[data-theme="light"] .nx-theme-dark { display: none; }
html[data-theme="light"] .nx-theme-light { display: block; }

/* ── Barre haute ── */
.nx-topbar {
  height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 30px;
  border-bottom: 1px solid var(--border-soft); background: var(--side); position: sticky; top: 0; z-index: 20;
}
.nx-logo { display: flex; align-items: center; gap: 11px; font-size: 26px; font-weight: 600; letter-spacing: -1.5px; color: var(--text); line-height: 1; margin-right: 18px; }
.nx-logo:hover { color: var(--text); }
.nx-logo-mark { width: 22px; height: 24px; display: flex; align-items: center; gap: 4px; transform: skewY(-28deg); }
.nx-logo-mark i { display: block; width: 7px; height: 21px; border-radius: 2px; background: var(--brand-violet); }
.nx-logo-mark i + i { height: 14px; background: var(--brand-orange); }
.nx-dot { color: var(--orange-text); }
.nx-nav { display: flex; gap: 4px; font-size: 13px; }
.nx-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--text2); font-weight: 500; white-space: nowrap; }
.nx-link:hover { color: var(--text); background: var(--panel); }
.nx-link.is-active { background: var(--panel-2); color: var(--text); }
.nx-tools, .nx-user { position: relative; }
.nx-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 6px; z-index: 30;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow), 0 8px 24px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
}
.nx-user .nx-dropdown { left: auto; right: 0; min-width: 160px; }
.nx-dropdown a { padding: 8px 10px; border-radius: 8px; color: var(--text2); display: flex; align-items: center; gap: 8px; font-size: 13px; }
.nx-dropdown a:hover { background: var(--panel-2); color: var(--text); }
.nx-spacer { flex: 1; }
.nx-source { font-size: 12px; color: var(--text2); white-space: nowrap; margin-right: 6px; }
.nx-iconbtn {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--panel);
  display: grid; place-items: center; color: var(--text2); flex: none;
}
.nx-iconbtn:hover { color: var(--text); border-color: var(--purple); }
.nx-avatar {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--purple-light);
}
.nx-menu-btn { display: none; }
.nx-sheet { position: fixed; inset: 64px 0 0 0; background: var(--bg); z-index: 40; padding: 12px 16px 32px; overflow: auto; }
.nx-sheet nav { display: flex; flex-direction: column; gap: 2px; }
.nx-sheet a { padding: 12px 14px; border-radius: 10px; color: var(--text2); font-size: 15px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.nx-sheet a.is-active { background: var(--panel-2); color: var(--text); }
.nx-sheet-group { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text3); padding: 16px 14px 4px; }
.nx-sheet .nx-sheet-logout { margin-top: 12px; border-top: 1px solid var(--border-soft); border-radius: 0; padding-top: 18px; color: var(--neg); }

/* ── Page ── */
.nx-page { max-width: 1400px; margin: 0 auto; padding: 30px 30px 40px; display: flex; flex-direction: column; gap: 18px; }
.nx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.nx-head-text { max-width: 900px; }
.nx-eyebrow { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text2); }
.nx-h1 { margin-top: 8px; font-size: 32px; font-weight: 600; line-height: 1.16; letter-spacing: -1.25px; text-wrap: pretty; }
.nx-num { color: var(--orange-text); }
.nx-neg { color: var(--neg); }
.nx-lede { margin-top: 10px; font-size: 14px; color: var(--text2); max-width: 820px; text-wrap: pretty; }
.nx-lede b { color: var(--text); }
.nx-lede b.pos { color: var(--pos); }
.nx-lede b.neg { color: var(--neg); }
.nx-head-actions { display: flex; gap: 10px; flex: none; }

.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 9px; border: 1px solid var(--border); background: var(--panel); color: var(--text);
  font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer;
}
.nx-btn:hover { border-color: var(--purple); color: var(--text); }
.nx-btn.primary { background: var(--grad); color: var(--cta-text); border-color: transparent; font-weight: 600; }
.nx-btn.primary:hover { color: var(--cta-text); filter: brightness(1.06); }
.nx-btn.secondary { background: var(--panel-2); }
.nx-row .nx-btn, .nx-objectifs > summary { height: 32px; padding: 0 12px; font-size: 12px; }

/* ── KPI : héros Solde + ruban ── */
.nx-kpis { display: grid; grid-template-columns: 1.35fr 2fr; gap: 18px; }
.nx-panel, .nx-hero, .nx-ribbon { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow), var(--ring); }
.nx-hero { background: var(--hero); padding: 23px; display: flex; flex-direction: column; }
.nx-hero-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.nx-hero-sync { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); font-weight: 400; white-space: nowrap; }
.nx-sync { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); display: inline-block; }
.nx-sync[data-state="ko"] { background: var(--warn); }
.nx-hero-value { font-size: 44px; font-weight: 600; letter-spacing: -2px; margin: 14px 0 2px; white-space: nowrap; }
.nx-hero-sub { font-size: 12px; color: var(--text2); margin-bottom: 16px; }
.nx-hero-sub b { color: var(--text); }
.nx-hero-sub .neg { color: var(--neg); }
.nx-hero-foot { border-top: 1px solid var(--border); margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text2); }
.nx-hero-foot b { color: var(--text); }
.nx-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.nx-cell { padding: 20px 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.nx-cell:last-child { border-right: 0; }
.nx-cell-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--text2); }
.nx-cell-head a, .nx-cell-head span + span { font-size: 12px; white-space: nowrap; }
.nx-cell-value { font-size: 30px; font-weight: 600; letter-spacing: -1.2px; margin: 12px 0 4px; white-space: nowrap; }
.nx-cell-sub { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
.nx-cell-foot { font-size: 12px; color: var(--text3); margin-top: auto; }
.nx-cell-foot.neg { color: var(--neg); }
.nx-bar { height: 4px; background: var(--panel-2); border-radius: 2px; margin-top: auto; }
.nx-bar > div { height: 100%; background: var(--grad); border-radius: 2px; }
.nx-cell--objectif { display: none; }

/* ── Grille principale ── */
.nx-main { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; align-items: start; }
.nx-main.is-week { grid-template-columns: 1fr; }
.nx-side { display: flex; flex-direction: column; gap: 18px; }
.nx-main.is-week .nx-side { display: grid; grid-template-columns: 1fr; }   /* un seul panneau latéral (Skills retirés, décision 06/09) */
.nx-main.is-week .nx-okr-row { grid-template-columns: 160px 1fr 160px; }
.nx-panel { padding: 23px; }
.nx-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.nx-panel h2 { font-size: 16px; font-weight: 600; letter-spacing: -.25px; white-space: nowrap; }
.nx-panel-meta { font-size: 12px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.nx-week-nav { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border); color: var(--text2); font-size: 16px; line-height: 1; }
.nx-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--panel-2); }
.nx-tab { padding: 7px 14px; border-radius: 8px; font-weight: 500; font-size: 13px; color: var(--text2); white-space: nowrap; }
.nx-tab:hover { color: var(--text); }
.nx-tab.is-active { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.2); }

/* Aujourd'hui */
.nx-group-title { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text2); margin: 16px 0 4px; display: flex; align-items: center; gap: 10px; }
.nx-rule { flex: 1; border-top: 1px solid var(--border-soft); }
.nx-count { letter-spacing: 0; }
.nx-row { display: grid; grid-template-columns: 18px 52px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; }
.nx-state { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border); }
.nx-state[data-state="neg"] { border-color: var(--neg); }
.nx-state[data-state="warn"] { border-color: var(--warn); }
.nx-state[data-state="accent"] { border-color: var(--purple-light); }
.nx-time { font-size: 12px; color: var(--text2); }
.nx-row-text { min-width: 0; display: flex; flex-direction: column; }
.nx-title { font-weight: 500; }
.nx-meta { font-size: 12px; color: var(--text3); }
.nx-meta[data-state="neg"] { color: var(--neg); }
.nx-meta[data-state="warn"] { color: var(--warn); }
.nx-meta[data-state="accent"] { color: var(--text2); }
.nx-empty { font-size: 12px; color: var(--text3); padding: 8px 0; }
.nx-notice { font-size: 12px; padding: 8px 10px; border-radius: 8px; margin: 6px 0; }
.nx-notice.warn { background: var(--orange-soft); color: var(--warn); }

/* Semaine */
.nx-week { display: grid; grid-template-columns: 96px repeat(7, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 12px; }
.nx-week-corner { border-bottom: 1px solid var(--border); }
.nx-week-day { padding: 10px 12px; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border-soft); }
.nx-week-day span { display: block; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text2); }
.nx-week-day b { font-size: 18px; font-weight: 600; color: var(--text); }
.nx-week-day.is-weekend b { color: var(--text3); }
.nx-week-day.is-today { background: var(--purple-soft); }
.nx-week-day.is-today span { color: var(--purple-light); }
.nx-week-day.is-today b { color: var(--text); }
.nx-week-label { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text2); display: flex; flex-direction: column; justify-content: space-between; min-height: 92px; }
.nx-week-label small { letter-spacing: 0; text-transform: none; font-size: 12px; color: var(--text3); }
.nx-week-cell { padding: 6px; border-bottom: 1px solid var(--border-soft); border-left: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 5px; min-height: 92px; }
.nx-week-cell.is-today { background: var(--purple-soft); }
.nx-week-item { display: block; padding: 6px 8px; border-radius: 7px; background: var(--panel-2); border-left: 3px solid var(--border); font-size: 12px; line-height: 1.3; color: var(--text); }
.nx-week-item b { display: block; font-weight: 500; }
.nx-week-item span { display: block; color: var(--text2); font-size: 11px; }
.nx-week-item[data-state="neg"] { border-left-color: var(--neg); }
.nx-week-item[data-state="warn"] { border-left-color: var(--warn); }
.nx-week-item[data-state="pos"] { border-left-color: var(--pos); }
.nx-week-item[data-state="accent"] { border-left-color: var(--purple-light); }
.nx-week-item[data-state="orange"] { border-left-color: var(--orange-text); }

/* Pilotage / OKR */
.nx-okr .nx-panel-head { margin-bottom: 10px; }
.nx-objectifs > summary { display: inline-flex; }
.nx-objectifs[open] > summary { background: var(--purple-soft); }
.nx-objectifs-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); margin: 12px 0; font-size: 12px; }
.nx-objectifs-form label { color: var(--text2); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nx-objectifs-form input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font: inherit; font-size: 13px; background: var(--bg); }
.nx-objectifs-form .nx-btn { height: 36px; }
.nx-okr-row { display: grid; grid-template-columns: 120px 1fr 124px; align-items: center; gap: 14px; padding: 8px 0; font-size: 13px; }
.nx-okr-label { color: var(--text2); }
.nx-okr-value { text-align: right; font-weight: 500; white-space: nowrap; }
.nx-okr-row .nx-bar { margin: 0; }

/* Ligne de vie */
.nx-lifeline { padding-bottom: 18px; }
.nx-panel-head .nx-legend { font-size: 12px; color: var(--text2); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nx-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; background: var(--grad); }
.nx-swatch.out { background: var(--border); }
.nx-swatch.cumul { width: 14px; height: 2px; background: var(--orange-text); vertical-align: 3px; }
.nx-chart { position: relative; height: 220px; margin-top: 22px; }
.nx-axis { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--border); }
.nx-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.nx-col { position: relative; height: 100%; max-width: 56px; width: 100%; margin: 0 auto; }
.nx-in, .nx-out { position: absolute; left: 0; right: 0; }
.nx-in { bottom: 50%; background: var(--grad); border-radius: 4px 4px 0 0; }
.nx-out { top: 50%; background: var(--border); border-radius: 0 0 4px 4px; }
.nx-col.is-current .nx-in { opacity: .5; }
.nx-in span, .nx-out span { position: absolute; left: -20px; right: -20px; text-align: center; font-size: 11px; white-space: nowrap; }
.nx-in span { bottom: calc(100% + 4px); color: var(--text2); }
.nx-out span { top: calc(100% + 4px); color: var(--text3); }
.nx-cumul-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nx-cumul-halo { fill: none; stroke: var(--panel); stroke-width: 6; stroke-opacity: .8; stroke-linejoin: round; }
.nx-cumul { fill: none; stroke: var(--orange-text); stroke-width: 2; stroke-linejoin: round; }
.nx-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; margin-top: 8px; font-size: 11px; color: var(--text2); text-align: center; }
.nx-months .is-current { color: var(--orange-text); }

/* ── Mobile (< 900 px) — README §7.3 : défilement vertical unique, cibles 44 px ── */
@media (max-width: 899px) {
  .nx-topbar { height: 56px; padding: 0 16px; gap: 8px; }
  .nx-logo { font-size: 22px; letter-spacing: -1.3px; margin-right: auto; }
  .nx-logo-mark { width: 18px; height: 20px; gap: 3px; }
  .nx-logo-mark i { width: 6px; height: 18px; }
  .nx-logo-mark i + i { height: 12px; }
  .nx-nav, .nx-source, .nx-user, .nx-spacer { display: none; }
  .nx-iconbtn { width: 40px; height: 40px; border-radius: 10px; }
  .nx-menu-btn { display: grid; }
  .nx-sheet { inset: 56px 0 0 0; }

  .nx-page { padding: 8px 16px 32px; gap: 12px; }
  .nx-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .nx-eyebrow { font-size: 10px; }
  .nx-h1 { font-size: 26px; letter-spacing: -1px; margin-top: 6px; }
  .nx-lede { font-size: 13px; margin-top: 8px; }
  .nx-head-actions { display: none; }

  .nx-kpis { grid-template-columns: 1fr; gap: 12px; }
  .nx-hero { padding: 20px; }
  .nx-hero-value { font-size: 38px; letter-spacing: -1.8px; margin: 12px 0 4px; }
  .nx-hero-sub { margin-bottom: 12px; }
  .nx-ribbon { grid-template-columns: 1fr 1fr; }
  .nx-cell { padding: 16px 14px; border-bottom: 1px solid var(--border); }
  .nx-cell:nth-child(2n) { border-right: 0; }
  .nx-cell:nth-child(n + 3) { border-bottom: 0; }
  .nx-cell-head { font-size: 12px; }
  .nx-cell-head a, .nx-cell-head span + span { display: none; }
  .nx-cell-value { font-size: 24px; letter-spacing: -1px; margin: 6px 0 2px; }
  .nx-cell-sub { font-size: 11px; margin-bottom: 8px; }
  .nx-cell-foot { font-size: 11px; }
  .nx-bar { height: 3px; }
  .nx-cell--objectif { display: flex; }

  .nx-main, .nx-main.is-week .nx-side { grid-template-columns: 1fr; gap: 12px; }
  .nx-panel { padding: 16px; }
  .nx-panel h2 { font-size: 15px; }
  .nx-panel-head { flex-wrap: wrap; }
  .nx-tabs { width: 100%; }
  .nx-tab { flex: 1; text-align: center; padding: 9px; }
  .nx-today .nx-panel-meta { width: 100%; justify-content: center; }
  .nx-group-title { font-size: 10px; margin: 12px 0 2px; }
  .nx-row { grid-template-columns: 14px 1fr auto; min-height: 48px; padding: 6px 0; gap: 10px; }
  .nx-time { display: none; }
  .nx-state { width: 12px; height: 12px; }
  .nx-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nx-row .nx-btn { height: 44px; }

  /* Semaine : bande de 7 jours, puis les 4 rangées du jour choisi (dashboard.js) */
  .nx-week { grid-template-columns: repeat(7, 1fr); gap: 4px; border: 0; border-radius: 0; overflow: visible; margin-top: 8px; }
  .nx-week-corner, .nx-week-label { display: none; }
  .nx-week-day { padding: 8px 0; border: 0; border-radius: 10px; text-align: center; min-height: 44px; cursor: pointer; background: transparent; }
  .nx-week-day span { font-size: 10px; letter-spacing: 1px; }
  .nx-week-day b { font-size: 16px; }
  .nx-week-day.is-today { background: transparent; }          /* sur mobile, seul le jour CHOISI est teinté */
  .nx-week-day.is-today span { color: var(--text2); }
  .nx-week-day.is-picked { background: var(--purple-soft); }
  .nx-week-day.is-picked span { color: var(--purple-light); }
  .nx-week-cell { grid-column: 1 / -1; border: 0; padding: 0; min-height: 0; margin-top: 8px; background: transparent; gap: 6px; }
  .nx-week-cell::before { content: attr(data-row); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text2); margin-bottom: 2px; }
  .nx-week-cell:not(:has(.nx-week-item))::after { content: '—'; font-size: 12px; color: var(--text3); }
  .nx-root.js .nx-week-cell:not(.is-picked) { display: none; }
  .nx-week-item { padding: 8px 10px; font-size: 13px; min-height: 44px; }
  .nx-week-item span { font-size: 12px; }

  .nx-objectifs-form { grid-template-columns: 1fr; }
  .nx-okr-row { grid-template-columns: 92px 1fr 104px; gap: 10px; font-size: 12px; padding: 6px 0; }

  .nx-lifeline { padding-bottom: 12px; }
  .nx-panel-head .nx-legend span { display: none; }
  .nx-chart { height: 110px; margin-top: 12px; }
  .nx-cols { gap: 5px; transform: scaleY(.5); }       /* hauteurs rendues serveur sur 104 px de demi-hauteur */
  .nx-col { max-width: none; }
  .nx-in, .nx-out { border-radius: 2px; }
  .nx-in span, .nx-out span { display: none; }
  .nx-cumul-halo { display: none; }
  .nx-months { gap: 5px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
