html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Cartes de statistiques */
.stat-card .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.stat-card .stat-value {
  font-size: 1.35rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Tableaux financiers */
.table-finance th[data-sortable] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.table-finance th[data-sortable]:hover {
  color: var(--bs-primary);
}

.table-finance td,
.table-finance th {
  vertical-align: middle;
}

/* Alpine : masque les éléments avant initialisation */
[x-cloak] {
  display: none !important;
}
