/* ==========================================================================
   Composants
   ========================================================================== */

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 32px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--text);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.btn:hover { background: var(--surface-active); }
.btn:active { transform: translateY(0.5px); }

.btn--primary {
  background: var(--accent);
  color: var(--surface);
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--outline {
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.btn--outline:hover { background: var(--surface-hover); }

.btn--ghost { background: transparent; }

.btn--danger { color: var(--danger); }
.btn--danger:hover { background: var(--danger-soft); }

.btn--icon {
  width: 32px;
  padding: 0;
  color: var(--text-muted);
}
.btn--icon:hover { color: var(--text); }

.btn--block { width: 100%; justify-content: flex-start; }

.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------- Entrées de navigation ---------- */

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 32px;
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  color: var(--text-muted);
  text-align: left;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.nav-item:hover { background: var(--surface-active); color: var(--text); }

.nav-item[aria-current="page"],
.nav-item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: var(--weight-medium);
}

.nav-item__icon { flex: 0 0 auto; width: 16px; height: 16px; }
.nav-item__label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item__count {
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
}

.nav-item__trigger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  color: inherit;
}

.nav-item__actions { display: flex; gap: 2px; opacity: 0; transition: opacity var(--dur-fast) var(--ease); }
.nav-item:hover .nav-item__actions,
.nav-item:focus-within .nav-item__actions { opacity: 1; }

.nav-item__action {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: var(--radius-sm);
  color: var(--text-faint);
}
.nav-item__action:hover { background: var(--surface); color: var(--text); }

/* ---------- Pastille de couleur ---------- */

.dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--label-color, var(--text-faint));
}

/* ---------- Champ d'ajout rapide ---------- */

.quick-add {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.quick-add:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.quick-add__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: var(--text-md);
  padding: var(--space-1) 0;
}
.quick-add__input::placeholder { color: var(--text-faint); }
.quick-add__hint { font-size: var(--text-xs); color: var(--text-faint); }

/* ---------- Carte de tâche ---------- */

.task {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  /* Safari iOS ouvre son menu contextuel sur un appui long, ce qui entre en
     conflit avec l'appui long qui démarre un déplacement. */
  -webkit-touch-callout: none;
  transition: box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

.task:hover { box-shadow: var(--shadow-raised); }

/* Rangée principale : case, corps, menu. */
.task__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.task__check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.task__check:hover { border-color: var(--accent); }

.task__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: inherit;
}

.task__title {
  font-size: var(--text-md);
  line-height: var(--leading-tight);
  overflow-wrap: break-word;
}

.task__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.task__label { display: inline-flex; align-items: center; gap: var(--space-1); }

/* Priorité : forme + libellé, jamais la couleur seule. */
.task__priority {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: var(--weight-medium);
  color: var(--text);
}
.task__priority::before {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid currentColor;
}

.task__note-flag { color: var(--text-faint); }

.task__menu {
  /* Hors flux : les colonnes étroites gardent toute leur largeur pour le titre. */
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-faint);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.task:hover .task__menu,
.task:focus-within .task__menu,
.task__menu:focus-visible,
.task__menu[aria-expanded="true"] { opacity: 1; }
.task__menu:hover { background: var(--surface-active); color: var(--text); }

.task.is-completed { background: var(--surface-hover); }
.task.is-completed .task__title { text-decoration: line-through; color: var(--text-muted); }
.task.is-completed .task__body { opacity: 0.65; }
.task__check svg { width: 9px; height: 9px; }
.task.is-completed .task__check {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

.task.is-important { border-left: 2px solid var(--text); padding-left: calc(var(--space-2) - 1px); }

/* Toutes les sous-tâches sont faites : la case du parent est mise en avant,
   sans rien cocher ni rien demander. */
.task.is-ready .task__check {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Sous-tâches ---------- */

.task__subs {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  align-self: flex-start;
  margin-left: 24px;                 /* aligné sur le titre, pas sur la case */
  padding: 2px var(--space-1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.task__subs:hover { background: var(--surface-active); color: var(--text); }

.task__chevron {
  display: grid;
  place-items: center;
  color: var(--text-faint);
  transition: transform var(--dur-fast) var(--ease);
}
.task__subs.is-expanded .task__chevron { transform: rotate(90deg); }

.subtasks {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-1);
  border-top: 1px solid var(--border);
  /* La carte coupe le geste natif ; le panneau le rend, pour que le doigt
     puisse faire défiler la colonne depuis une sous-tâche. */
  touch-action: auto;
}

.subtasks__list { display: flex; flex-direction: column; gap: 2px; }

.subtask {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  /* L'espace de la poignée est réservé en permanence : elle est hors flux,
     rien ne bouge quand elle apparaît. */
  padding: 2px 2px 2px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.subtask:hover { background: var(--surface-active); }

.subtask__grip {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 12px;
  color: var(--text-faint);
  opacity: 0;
  cursor: grab;
  /* Seule la poignée coupe le geste natif : le reste de la ligne défile. */
  touch-action: none;
  transition: opacity var(--dur-fast) var(--ease);
}
.subtask:hover .subtask__grip,
.subtask:focus-within .subtask__grip { opacity: 1; }

.subtask__check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.subtask__check:hover { border-color: var(--accent); }

.subtask__title {
  flex: 1 1 auto;
  min-width: 0;
  /* Le champ hérite sinon du `user-select: none` de la carte, ce qui empêche
     de placer le curseur et de sélectionner le texte sous Safari. */
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: default;
  padding: 2px var(--space-1);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  color: var(--text);
  text-overflow: ellipsis;
}
.subtask__title:hover { border-color: var(--border); }
.subtask__title:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-ring);
}

/* Priorité d'une sous-tâche : forme + libellé lu, jamais la couleur seule. */
.subtask__priority {
  flex: 0 0 auto;
  width: 0; height: 0;
  margin-left: 2px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 5px solid var(--text);
}

.subtask__label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 14px;
  height: 16px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.subtask__label:hover { background: var(--surface-active); }
.subtask__label .dot { width: 6px; height: 6px; }
/* Étiquette héritée du parent : présente mais discrète. */
.subtask__label.is-inherited .dot { opacity: 0.45; }
/* Aucune étiquette, ni propre ni héritée : un simple anneau, toujours cliquable. */
.subtask__label:not([data-color]) .dot {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.subtask.is-completed .subtask__check {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.subtask.is-completed .subtask__title { text-decoration: line-through; color: var(--text-muted); }

.subtask.is-ghost { opacity: 0.32; }
.subtask-clone {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-drag);
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-drag);
  pointer-events: none;
}

.subtasks__add {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  align-self: flex-start;
  padding: var(--space-1) var(--space-1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.subtasks__add:hover { background: var(--surface-active); color: var(--accent); }

/* Masquée par un filtre : retirée du flux, jamais des données. */
.task.is-filtered { display: none; }

/* États de glisser-déposer */
.task.is-ghost { opacity: 0.32; box-shadow: none; }
.task.is-dropped { animation: task-drop var(--dur-slow) var(--ease); }

.task-clone {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-drag);
  margin: 0;
  pointer-events: none;
  box-shadow: var(--shadow-drag);
  transform-origin: 20% 50%;
  cursor: grabbing;
}

/* Cible d'une conversion en sous-tâche. Contour sur la carte elle-même,
   volontairement distinct de la teinte de colonne d'une simple réorganisation. */
.task--adopt {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: var(--accent-soft);
  box-shadow: var(--shadow-raised);
}

/* Fantôme mis de côté pendant une conversion : plus aucun intervalle
   d'insertion à l'écran, la seule action proposée est l'adoption. */
.task.is-parked, .subtask.is-parked { display: none !important; }

/* Pastille qui suit le pointeur et nomme l'action proposée. */
.drag-hint {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-toast);
  max-width: min(320px, 70vw);
  padding: var(--space-2) var(--space-3);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay);
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  pointer-events: none;
}

/* Sous-tâche en cours d'extraction vers une colonne : elle occupe la place
   d'une future carte plutôt qu'une ligne perdue au milieu des cartes. */
.column__list > .subtask.is-ghost {
  padding: var(--space-2);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.drop-slot {
  height: 8px;
  margin: calc(var(--space-1) * -1) 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  opacity: 0.5;
}

@keyframes task-drop {
  0%   { transform: scale(1.02); box-shadow: var(--shadow-drag); }
  100% { transform: scale(1); box-shadow: var(--shadow-card); }
}

@keyframes task-pop {
  0%   { transform: scale(0.94); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}
.task.is-new { animation: task-pop var(--dur-base) var(--ease); }

/* Confirmation d'insertion d'une sous-tâche, cohérente avec le drop d'une
   carte mais sans son ombre, qu'une ligne ne porte pas. */
@keyframes subtask-drop {
  0%   { transform: translateX(6px); background: var(--accent-soft); }
  100% { transform: none; background: transparent; }
}
.subtask.is-dropped { animation: subtask-drop var(--dur-slow) var(--ease); }

/* ---------- Zone de dépôt et états vides ---------- */

.empty {
  padding: var(--space-3) var(--space-2);
  text-align: left;
  color: var(--text-faint);
  font-size: var(--text-sm);
  line-height: var(--leading-base);
}

/* Sept messages d'état vide côte à côte : on allège dans les jours. */
.column--day .empty { font-size: var(--text-xs); padding: var(--space-2); }
.empty__title { color: var(--text-muted); }

.dropzone {
  display: none;
  min-height: 56px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  margin: var(--space-1);
  place-items: center;
  font-size: var(--text-sm);
  color: var(--text-faint);
}
/* La zone pointillée n'apparaît que pendant un drag ; le message d'état vide
   s'efface pour ne pas se retrouver au-dessus de la carte déposée. */
body.is-dragging .column__list .dropzone { display: grid; }
body.is-adopting .column__list .dropzone { display: none; }
body.is-dragging .column__list .empty { display: none; }
body.is-dragging .column--over .dropzone { border-color: var(--accent); color: var(--accent); }

/* ---------- Filtres ---------- */

.filters { display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 28px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.chip:hover { background: var(--surface-hover); color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 1px var(--surface); }

/* ---------- Menu contextuel ---------- */

.menu {
  position: fixed;
  z-index: var(--z-menu);
  min-width: 200px;
  max-height: 60vh;
  overflow-y: auto;
  padding: var(--space-1);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay);
  animation: menu-in var(--dur-fast) var(--ease);
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.menu__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-md);
  text-align: left;
  white-space: nowrap;
}
.menu__item:hover, .menu__item:focus-visible { background: var(--surface-active); }
.menu__item[disabled] { color: var(--text-faint); }
.menu__item--danger { color: var(--danger); }
.menu__item--danger:hover { background: var(--danger-soft); }
.menu__sep { height: 1px; margin: var(--space-1) 0; background: var(--border); }
.menu__title {
  padding: var(--space-2) var(--space-3) var(--space-1);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

/* ---------- Modale ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: start center;
  padding: var(--space-6) var(--space-4);
  background: rgba(15, 15, 15, 0.28);
  overflow-y: auto;
  animation: fade-in var(--dur-fast) var(--ease);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to   { opacity: 1; transform: none; }
}

.modal {
  width: 100%;
  max-width: 480px;
  margin-top: 6vh;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-overlay);
  animation: modal-in var(--dur-base) var(--ease);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5) var(--space-2);
}
.modal__title { font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.modal__body { padding: var(--space-3) var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.modal__text { font-size: var(--text-md); color: var(--text-muted); line-height: var(--leading-base); }
.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5) var(--space-5);
}

/* ---------- Formulaire ---------- */

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field__label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-muted); }

.input, .textarea, .select {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.input--lg { font-size: var(--text-lg); padding: var(--space-3); }
.textarea { min-height: 76px; resize: vertical; line-height: var(--leading-base); }

.segmented { display: flex; gap: var(--space-1); }
.segmented .chip { height: 32px; }

.swatches { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.swatch {
  width: var(--tap-target);
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.swatch .dot { width: 12px; height: 12px; }
.swatch[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }

/* ---------- Bandeau et région live ---------- */

.toasts {
  position: fixed;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  pointer-events: none;
  width: min(560px, calc(100vw - var(--space-5) * 2));
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay);
  font-size: var(--text-md);
  pointer-events: auto;
  animation: modal-in var(--dur-base) var(--ease);
}
.toast--error { background: var(--danger); color: #fff; }
.toast__close { color: inherit; opacity: 0.7; }
.toast__close:hover { opacity: 1; }

/* ---------- Statistiques ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
}

.stat {
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.stat__label { font-size: var(--text-sm); color: var(--text-muted); }
.stat__value {
  margin-top: var(--space-1);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__hint { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--text-muted); }
.stat__delta--up { color: var(--positive); }
.stat__delta--down { color: var(--danger); }

.panel {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.panel__title { font-size: var(--text-md); font-weight: var(--weight-semibold); margin-bottom: var(--space-4); }

.chart { width: 100%; height: auto; }
.chart__bar { fill: var(--accent); }
.chart__bar--empty { fill: var(--border); }
.chart__axis { stroke: var(--border); }
.chart__label { fill: var(--text-muted); font-size: 11px; }
.chart__label--today { fill: var(--accent); font-weight: 600; }
.chart__value { fill: var(--text); font-size: 11px; font-weight: 600; }

.stats-empty { text-align: center; padding: var(--space-7) var(--space-4); color: var(--text-muted); }
.stats-empty__title { font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--text); }
.stats-empty__hint { margin-top: var(--space-2); font-size: var(--text-md); }
