/* Rubriques de suivi et d'exploitation (chantier C2) : dashboard.js et administration.js.
 * Compléments de mise en page seulement ; les composants viennent de theme.css.
 * Jetons seulement : aucune valeur de couleur, d'espacement, de rayon ou de durée en dur. */

/* Notifications ----------------------------------------------------------- */

.app-notifs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-notifs__item {
  display: grid;
  grid-template-columns: 0.75rem minmax(0, 1fr) auto;
  gap: var(--space-xs) var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-line);
}

.app-notifs__item:last-child { border-bottom: 1px solid var(--color-line); }

.app-notifs__mark { padding-top: 0.45em; }

.app-notifs__body { display: grid; gap: var(--space-2xs); min-width: 0; }
.app-notifs__body p { margin: 0; }

.app-notifs__title { font-weight: var(--weight-regular); }
.app-notifs__item.is-unread .app-notifs__title { font-weight: var(--weight-semibold); }

.app-notifs__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-xs);
}

@media (max-width: 39.999rem) {
  .app-notifs__item { grid-template-columns: 0.75rem minmax(0, 1fr); }
  .app-notifs__actions { grid-column: 2; justify-content: flex-start; }
}

/* Textes d'introduction et colonnes ------------------------------------------ */

.app-intro { margin: 0 0 var(--space-lg); }

.app-columns {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 64rem) {
  .app-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Statistiques : barre proportionnelle dans le tableau (décorative, la valeur est écrite). */
.app-bar-cell {
  width: 30%;
  min-width: 6rem;
}

.app-bar-cell .ui-meter { width: 100%; }

@media (max-width: 39.999rem) {
  .app-bar-cell { display: none; }
}

/* Présences et facturation ------------------------------------------------ */

.app-presences { margin-top: var(--space-lg); }

.app-duration .ui-input { min-width: 0; }
