.barre-haut { background: #0d3b66; }
.contenu { padding-bottom: 5.5rem; }

.tuile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; aspect-ratio: 1 / 1; padding: .5rem;
  background: #fff; border: 1px solid #e3e6ea; border-radius: 1rem;
  text-decoration: none; color: #212529; text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.tuile i { font-size: 2.2rem; line-height: 1; }
.tuile span { font-size: .9rem; font-weight: 600; }
.tuile small { font-size: .7rem; color: #8a929a; }
a.tuile:active { transform: scale(.97); }
.tuile.inactive { background: #f3f4f6; color: #8a929a; }
.tuile.inactive i { color: #b6bcc2; }

h2.famille { font-size: 1rem; font-weight: 700; color: #0d3b66; margin: 1.25rem 0 .4rem; }
.tableau-cat { background: #fff; font-size: .9rem; }
.tableau-cat td.num { font-weight: 700; white-space: nowrap; }
.tableau-cat small { color: #6c757d; }
.b2y { font-size: .65rem; background: #f4d35e; padding: 0 .3rem; border-radius: .25rem; font-weight: 400; }
.legende { color: #6c757d; font-size: .85rem; }

.etape { font-weight: 700; margin: .25rem 0 .5rem; }
.etape .numero {
  display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; background: #0d3b66; color: #fff; font-size: .85rem; margin-right: .35rem;
}
.choix { display: flex; flex-wrap: wrap; gap: .4rem; }
.choix .btn { border-radius: .7rem; }

/* Agenda : appartements en lignes, jours en colonnes */
.agenda-cadre { background: #fff; border: 1px solid #e3e6ea; border-radius: .5rem; }
.agenda { border-collapse: separate; border-spacing: 0; font-size: .75rem; }
.agenda th, .agenda td { min-width: 2.6rem; height: 2.6rem; text-align: center; border-right: 1px solid #eef0f2; border-bottom: 1px solid #eef0f2; padding: 0; }
.agenda thead th { font-weight: 600; color: #495057; padding: .2rem 0; line-height: 1.15; }
.agenda th.fixe { position: sticky; left: 0; background: #0d3b66; color: #fff; min-width: 3.2rem; z-index: 2; font-size: .85rem; }
.agenda th.weekend { background: #f6f7f9; }
.agenda th.aujourdhui, .agenda td.aujourdhui { box-shadow: inset 0 0 0 2px #0d3b66; }
.agenda td a { display: block; height: 100%; line-height: 2.6rem; text-decoration: none; color: #fff; font-weight: 600; overflow: hidden; white-space: nowrap; }
.agenda td.libre a { color: transparent; }
.etat-OPTION { background: #f4a261; }
.etat-VALIDEE { background: #3a86ff; }
.etat-ENCAISSEE { background: #d62828; }
.pastille { display: inline-block; width: .9rem; height: .9rem; border-radius: .2rem; vertical-align: middle; }

/* Etats comptables */
table.etat { background: #fff; font-size: .88rem; }
table.etat .num { text-align: right; white-space: nowrap; }
table.etat td.cpt { color: #6c757d; width: 4.5rem; }
table.etat tr.titre td { font-weight: 700; background: #f4f6f8; }
table.etat tr.total td { font-weight: 700; border-top: 2px solid #adb5bd; }
table.etat tr.net td { font-weight: 700; font-size: 1.05rem; background: #0d3b66; color: #fff; }
h2.sous-titre { font-size: 1rem; font-weight: 700; color: #0d3b66; margin: 1.25rem 0 .4rem; }
h2.sous-titre small { font-size: .78rem; color: #6c757d; font-weight: 400; }
table.deux { width: 100%; }
table.deux > tbody > tr > td { vertical-align: top; padding: 0 .25rem; width: 50%; }
@media (max-width: 767px) { table.deux > tbody > tr > td { display: block; width: 100%; } }

.barre-bas { padding: .25rem 0; }
.lien-bas {
  display: flex; flex-direction: column; align-items: center;
  font-size: .72rem; text-decoration: none; color: #0d3b66; min-width: 4rem;
}
.lien-bas i { font-size: 1.4rem; }
.lien-bas.inactif { color: #b6bcc2; }
