/* V226 étape 1 (§415) : la barre latérale de l'ordinateur et de la tablette, fidèle à la maquette validée le 28/11/2026
   (https://claude.ai/artifact/FngYyJ8rZUy48tCJ5ARUxw) : claire, légèrement en verre, logo LFC en tête ; trois groupes ; une icône de couleur
   par page, sur la palette LFC (bleu marine, bleu acier, or) ; les pastilles à droite ; repliable en colonne d'icônes (barre.js).
   Le téléphone (700 px et moins) ne change pas : sa barre du bas garde ses règles (mobile.css, theme.css). Chargé APRÈS les autres feuilles. */
.sidebar .nav-groupe, .sidebar .barre-plier { display: none; }  /* le téléphone : ni titres de groupe ni bouton « replier » dans la barre du bas */
@media (min-width: 701px) {
  .app-shell { background: linear-gradient(180deg, #f6f2ec 0%, #efe9e1 100%); }
  .sidebar {
    position: sticky; top: 12px; align-self: flex-start; height: calc(100vh - 24px); overflow-y: auto; box-sizing: border-box;
    margin: 12px 0 12px 12px; width: 272px; padding: 16px 12px; border-radius: 28px; color: var(--p-102a43, #102a43) !important;
    background: rgba(255, 255, 255, .78) !important; border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 20px 50px rgba(16, 42, 67, .10); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: width .2s ease;
  }
  .sidebar .brand { display: flex; align-items: center; gap: 10px; margin: 0 4px 14px; }
  .sidebar .brand .lfc-logo { width: 96px; height: 56px; border-radius: 12px; background-size: 130px auto; background-position: 3px -9px; box-shadow: 0 0 0 1px #e3e8ee; }
  .sidebar .brand-name { flex: 1 1 auto; color: var(--p-102a43, #102a43); font-weight: 700; font-size: 16px; }
  .sidebar .barre-plier { display: grid; flex: none; width: 36px; height: 36px; border-radius: 18px; border: 1px solid #dfe4ea; background: #ffffff; color: #102a43; font: 600 18px/1 var(--police, system-ui, sans-serif); cursor: pointer; place-items: center; }
  .sidebar .barre-plier:focus-visible { outline: 2px solid #2b5b84; outline-offset: 2px; }
  .sidebar nav { display: flex !important; flex-direction: column; gap: 4px; }
  .sidebar nav > * { order: var(--barre-order, 50); }
  .sidebar .nav-groupe { display: block; margin: 12px 10px 2px; font: 600 12px/1.3 var(--police, system-ui, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #5b6b7d; }
  .sidebar .nav-groupe[hidden] { display: none; }
  .sidebar .nav-item {
    position: relative; min-height: 46px; padding: 6px 10px !important; border-radius: 16px !important; gap: 12px;
    color: #102a43 !important; background: transparent; box-shadow: none !important; font-weight: 500; font-size: 15px !important;
  }
  .sidebar .nav-item:hover { background: rgba(16, 42, 67, .05) !important; color: #102a43 !important; }
  .sidebar .nav-item.active { background: #ffffff !important; color: #102a43 !important; font-weight: 700; box-shadow: 0 6px 18px rgba(16, 42, 67, .10) !important; }
  .sidebar .nav-item .nav-icon {
    flex: none; width: 32px !important; height: 32px; border-radius: 10px; display: grid; place-items: center;
    background: var(--barre-couleur, #102a43); color: var(--barre-trait, #ffffff);
  }
  .sidebar .nav-item .nav-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
  .sidebar .nav-item .nav-badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: #fde2cf; color: #7a4f00; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; box-shadow: none; }
  .sidebar .sidebar-bottom { margin-top: 14px; display: grid; gap: 8px; }
  .sidebar .sync-card { border: 0 !important; background: #ffffff !important; color: #102a43; border-radius: 18px !important; }
  .sidebar .sync-card small { color: #5b6b7d !important; }
  .sidebar .account-button { min-height: 44px; border-radius: 14px; border: 1px solid #dfe4ea; background: #ffffff; color: #102a43; font-weight: 600; }
  .sidebar .version { color: #5b6b7d !important; margin: 4px 10px 0 !important; }
  .sidebar :where(button, a):focus-visible { outline-color: #2b5b84 !important; }

  /* Repliée : une colonne d'icônes ; le nom se lit au survol (title) et reste dit aux lecteurs d'écran (aria-label). */
  body.barre-repliee .sidebar { width: 84px; padding: 14px 10px; }
  body.barre-repliee .sidebar .brand { flex-direction: column; margin: 0 0 10px; }
  body.barre-repliee .sidebar .brand .lfc-logo { width: 56px; height: 34px; background-size: 76px auto; background-position: 2px -5px; }
  body.barre-repliee .sidebar .brand-name, body.barre-repliee .sidebar .nav-groupe, body.barre-repliee .sidebar .sidebar-bottom { display: none !important; }
  body.barre-repliee .sidebar .nav-item { font-size: 0 !important; justify-content: center; padding: 6px !important; }
  body.barre-repliee .sidebar .nav-item .nav-badge { position: absolute; top: 0; right: 0; min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; line-height: 20px; background: #a12620; color: #ffffff; }
}
@media (min-width: 701px) and (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }

/* V227 (§419, Eduardo le 28/11/2026) : sur l'ordinateur et la tablette, « Messages » est dans la barre avec sa pastille : la bulle du haut
   s'en va (le doublon). Le téléphone à la verticale garde la bulle. */
@media (min-width: 701px) { #messages-button { display: none !important; } }

/* V227 (§419) : le menu « ⋯ » du téléphone habillé comme la barre — clair, groupes, une icône de couleur par page, les pastilles. */
.more-dialog { background: #f6f2ec; color: #102a43; }
.more-panel { background: linear-gradient(180deg, #fbfaf7 0%, #f1ebe3 100%); }
.more-logo { border-radius: 12px; box-shadow: 0 0 0 1px #e3e8ee; }
.more-head .icon-button { background: #ffffff; color: #102a43; border: 1px solid #dfe4ea; }
.more-list { gap: 2px; }
.more-groupe { margin: 14px 10px 4px; font: 600 12px/1.3 var(--police, system-ui, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #5b6b7d; }
.more-list > .more-groupe:first-child { margin-top: 0; }
.more-item { min-height: 48px; padding: 6px 10px; gap: 12px; border-radius: 16px; color: #102a43; }
.more-item > span:first-child:not(.nav-icon) { flex: 1; padding-left: 4px; }
.more-item .nav-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--barre-couleur, #102a43); color: var(--barre-trait, #ffffff); }
.more-item .nav-icon svg { width: 18px; height: 18px; }
.more-item.active { background: #ffffff; color: #102a43; font-weight: 700; box-shadow: 0 6px 18px rgba(16, 42, 67, .10); }
.more-item:focus-visible { outline: 2px solid #2b5b84; outline-offset: 2px; }
.more-pastille { flex: none; min-width: 24px; height: 24px; padding: 0 8px; box-sizing: border-box; border-radius: 12px; background: #fde2cf; color: #7a4f00; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; }
.more-chevron { color: #8a97a8; opacity: 1; }
.more-tagline { color: #2b5b84; }

/* V226 étape 2 (§416) : « Où aider cette semaine » — seulement des tuiles ; chacune ouvre sa partie. Toutes largeurs. */
.aider-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.aider-tuile { all: unset; box-sizing: border-box; width: 100%; min-height: 148px; padding: 18px 20px; border-radius: 22px; background: #ffffff; border: 1px solid #e6e0d8; box-shadow: 0 8px 22px rgba(16, 42, 67, .06); display: flex; flex-direction: column; gap: 6px; cursor: pointer; color: #102a43; transition: transform .15s ease, box-shadow .15s ease; }
.aider-tuile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 42, 67, .10); }
.aider-tuile:focus-visible { outline: 3px solid #2b5b84; outline-offset: 3px; }
.aider-tuile-titre { font: 600 15px/1.3 var(--police, system-ui, sans-serif); color: #3d4b5e; }
.aider-tuile-valeur { font: 700 34px/1.1 var(--police, system-ui, sans-serif); color: #102a43; }
.aider-tuile-sous { margin-top: auto; font-size: 14px; color: #55657a; }
.aider-attention { background: #fdf3e8; border-color: #f0d3b4; }
.aider-attention .aider-tuile-valeur { color: #8a3b12; }
.aider-calme .aider-tuile-valeur { color: #1f6e4f; }
.aider-chantier { padding: 14px; border-radius: 16px; background: #fbf7f1; margin-bottom: 12px; display: grid; gap: 8px; }
.aider-chantier ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.aider-aide { color: #2b5b84; }
.aider-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 12px; }
.aider-service { display: grid; justify-items: center; text-align: center; gap: 4px; }
@media (prefers-reduced-motion: reduce) { .aider-tuile { transition: none; } .aider-tuile:hover { transform: none; } }

/* V226 étape 3 (§417) : la rentabilité — les chiffres du dossier en tuiles, un anneau par lot (marge provisoire, seuils 40 / 33 %, §419). */
.renta-fiche .renta-chiffres { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.renta-fiche .renta-chiffre:not(.renta-vert):not(.renta-orange):not(.renta-rouge):not(.renta-depasse) { background: #ffffff; }
.renta-fiche .renta-chiffre { padding: 14px 16px; border-radius: 18px; border: 1px solid #e6e0d8; }
.renta-fiche .renta-chiffre strong { font-size: 1.5rem; }
.renta-lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.renta-lot { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 10px; border-radius: 18px; background: #ffffff; border: 1px solid #e6e0d8; }
.renta-lot .renta-anneau { order: -1; display: grid; place-items: center; width: 112px; height: 112px; }
.renta-lot .renta-anneau > * { grid-area: 1 / 1; }
.renta-anneau-svg { width: 112px; height: 112px; }
.renta-lot-marge { font-weight: 700; font-size: 1.05rem; color: #102a43; max-width: 84px; line-height: 1.15; }
.renta-lot.renta-inconnu .renta-lot-marge { font-size: .8rem; font-weight: 600; color: #55657a; }
.renta-lot-nom { order: -1; font-size: 1rem; color: #102a43; }
.renta-lot .renta-anneau { order: -2; }
.renta-lot-val { font-size: .9rem; color: #3d4b5e; }
.renta-lot-val::before { content: attr(data-libelle) " : "; color: #6b7686; }
.renta-lot.renta-vert .renta-anneau-arc { stroke: #1f8a62; }
.renta-lot.renta-orange .renta-anneau-arc { stroke: #a7720f; }
.renta-lot.renta-rouge .renta-anneau-arc { stroke: #a12620; }
@media (max-width: 700px) {
  .renta-lot { padding: 10px 6px; }
  .renta-lot .renta-anneau, .renta-anneau-svg { width: 92px; height: 92px; }
  .renta-lot-marge { font-size: .95rem; max-width: 70px; }
  .renta-lot.renta-inconnu .renta-lot-marge { font-size: .72rem; }
  .renta-lot-val { font-size: .82rem; }
}

/* V226 étape 4 (§418) : « Pointer le personnel » — une carte par chantier, des lignes à − et +, 44 px au doigt. */
.pointage-carte { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: #ffffff; border: 1px solid #e6e0d8; margin-bottom: 12px; }
.pointage-carte.pointage-a-faire { border-color: #f0d3b4; background: #fffaf4; }
.pointage-carte header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pointage-ligne { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; align-items: end; padding: 10px; border-radius: 14px; background: #f7f4ef; }
.pointage-ligne label { display: grid; gap: 4px; font-size: 13px; color: #55657a; }
.pointage-ligne select, .pointage-ligne input { min-height: 44px; font-size: 16px; border: 1px solid #d5dee7; border-radius: 10px; padding: 6px 10px; background: #ffffff; color: #102a43; box-sizing: border-box; width: 100%; }
.pointage-nombre { display: flex; align-items: center; gap: 8px; }
.pointage-nombre .button { min-width: 44px; min-height: 44px; font-size: 20px; padding: 0; }
.pointage-nombre output { min-width: 28px; text-align: center; font-weight: 700; font-size: 18px; color: #102a43; }
.pointage-retirer { min-height: 44px; }
/* V235 (§426, maquette V226) : une rangée « Sous-traitant · Plâtrerie  − 4 + » ; l'ajout = le lot, puis « Salariés LFC » ou « Sous-traitant » */
.pointage-ligne.pointage-rangee { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; border-radius: 0; background: transparent; }
.pointage-quoi { font-size: 15px; color: #0f2a47; overflow-wrap: anywhere; min-width: 0; }
.pointage-rangee .pointage-nombre { flex: none; }
.pointage-rangee .pointage-nombre .button { width: 44px; border-radius: 22px; }
.pointage-zero .pointage-quoi, .pointage-zero output { color: #8a96a6; }
.pointage-ajout { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: #f7f4ef; }
.pointage-ajout label { display: grid; gap: 4px; font-size: 13px; color: #55657a; }
.pointage-ajout select { min-height: 44px; font-size: 16px; border: 1px solid #d5dee7; border-radius: 10px; padding: 6px 10px; background: #ffffff; color: #102a43; width: 100%; box-sizing: border-box; }
.pointage-ajout-qui { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pointage-ajout-qui .button { min-height: 44px; }
.pointage-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pointage-actions .button { min-height: 44px; }
.pointage-message { color: #1f6e4f; font-weight: 600; }
.pointage-reprise { margin: 0 0 4px; font-size: 14px; color: #55657a; }  /* V235 : les lignes d'hier déjà posées, à vérifier */
.pointage-erreur { color: #a12620; font-weight: 600; }

/* ---------------------------------------------------------------- V232 (§423, maquette validée le 28/11/2026) : la barre du bas du téléphone, par groupes.
   En bas, les groupes (icône de couleur, nom, pastille = somme des pages), qui glissent au doigt ; un groupe touché ouvre ses tuiles en haut.
   La barre garde son emprise et son verre (§374, §381) ; l'ordinateur ne change pas. */
.barre-groupes, .groupe-panneau { display: none; }
@media (max-width: 700px) {
  .sidebar nav { display: none !important; }
  .bell-button.menu-button#header-more { display: none !important; }
  .barre-groupes { display: flex; align-items: center; gap: 4px; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .barre-groupes::-webkit-scrollbar { display: none; }
  .groupe-onglet { position: relative; flex: 1 0 76px; min-width: 76px; min-height: 56px; scroll-snap-align: start; display: grid; justify-items: center; align-content: center; gap: 3px; padding: 4px 6px; border: 0; border-radius: 20px; background: transparent; color: #4d6073; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.15; white-space: nowrap; cursor: pointer; }
  .groupe-onglet[aria-pressed="true"] { background: var(--p-bleu-pale, #e7f1fa); color: var(--p-marine-texte, #17324d); font-weight: 800; box-shadow: inset 0 -3px 0 #f2c45f; }
  .groupe-onglet:focus-visible { outline: 2px solid #2b5b84; outline-offset: 2px; }
  .groupe-pic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--groupe-couleur, #102a43); color: #ffffff; }
  .groupe-scan .groupe-pic { background: linear-gradient(150deg, var(--p-acier-fonce, #2b5b84), var(--p-marine-2, #0f2a47)); border-radius: 50%; }
  .groupe-pic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .groupe-pastille { position: absolute; top: 2px; right: 12%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--p-rouge, #c0302b); color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; font-variant-numeric: tabular-nums; }
  .groupe-panneau:not([hidden]) { display: block; position: fixed; inset: 0 0 calc(72px + env(safe-area-inset-bottom, 0px)) 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain; padding: calc(env(safe-area-inset-top, 0px) + 18px) max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); background: var(--p-fond, #f4f6f8); }
  .groupe-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .groupe-tete h2 { margin: 0; font-size: 26px; color: #102a43; }
  .groupe-fermer { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #dbe2e8; background: #ffffff; font-size: 24px; line-height: 1; color: #102a43; cursor: pointer; }
  .groupe-sous { margin: 4px 0 14px; color: #5b6b7c; }
  .groupe-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .groupe-tuile { display: grid; align-content: start; gap: 8px; min-height: 104px; padding: 14px; border: 1px solid #dbe2e8; border-radius: 18px; background: #ffffff; color: #102a43; text-align: left; font: inherit; cursor: pointer; min-width: 0; }
  .groupe-tuile strong { font-size: 16px; overflow-wrap: anywhere; }
  .groupe-tuile .nav-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--barre-couleur, #102a43); color: var(--barre-trait, #ffffff); }
  .groupe-tuile .nav-icon svg { width: 20px; height: 20px; }
  .groupe-tuile .nav-icon svg.groupe-trait { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .groupe-tuile-chiffre { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .groupe-tuile-rien { color: #6b7b8b; font-size: 14px; }
  .groupe-section { grid-column: 1 / -1; margin: 6px 0 -2px; color: #5b6b7c; font-size: 14px; font-weight: 700; }  /* V238 (§429) : « Mes gestes du jour », « Mes pages » */
  .groupe-tuile:focus-visible { outline: 2px solid #2b5b84; outline-offset: 2px; }
}
/* La maquette validée (V232) : une barre CLAIRE. Un iPhone en mode sombre la rendait bleu marine (design-system.css, V207) sur une page claire :
   au téléphone du bureau, elle reste claire, en verre, quel que soit le mode du téléphone (vu sur le vrai iPhone d'Eduardo le 28/11/2026). */
@media (max-width: 700px) and (prefers-color-scheme: dark) {
  .sidebar { background: rgba(255, 255, 255, .84); box-shadow: 0 -1px 0 rgba(15, 42, 71, .08), 0 -10px 30px rgba(15, 42, 71, .16); }
}

/* ---------------------------------------------------------------- V230 (§422) : la Rentabilité d'un chantier, comme la maquette V226 validée
   (quatre tuiles, l'alerte, « Sur place aujourd'hui », lot par lot en doubles anneaux, l'engagé mois par mois). */
.renta-cartes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.renta-carte { width: 100%; min-height: 120px; display: grid; gap: 6px; align-content: start; padding: 16px 18px; border: 1px solid #e6e0d8; border-radius: 22px; background: #ffffff; color: #0f2a47; text-align: left; font: inherit; cursor: pointer; }
.renta-carte strong { font-size: 17px; }
.renta-carte-chiffres { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #55657a; font-size: 14px; }
.renta-carte-chiffres b { color: #0f2a47; }
.renta-pastille-marge { justify-self: start; padding: 4px 12px; border-radius: 14px; font-weight: 700; background: #eef1f4; color: #3d4b5e; }
.renta-pastille-marge.renta-vert { background: #e7f5ef; color: #1d6b43; } .renta-pastille-marge.renta-orange { background: #fdf0e4; color: #8a4b12; } .renta-pastille-marge.renta-rouge { background: #fbe9e7; color: #a8281f; }
.renta-sans-chiffres { margin-top: 14px; }
.renta-chantier { display: grid; gap: 18px; margin-top: 8px; }
.renta-retour { justify-self: start; min-height: 44px; }
.renta-chantier-tete h3 { margin: 2px 0 0; font-size: 28px; color: #0f2a47; }
.renta-chantier-tete .eyebrow { margin: 0; }
.renta-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.renta-tuile { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: 22px; background: #ffffff; border: 1px solid #ece6de; min-width: 0; }
.renta-tuile > span { font-size: 14px; color: #55657a; }
.renta-tuile strong { font-size: 26px; color: #0f2a47; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.renta-tuile small { font-size: 13px; color: #55657a; }
.renta-tuile-marge.renta-vert { background: #e7f5ef; } .renta-tuile-marge.renta-vert strong, .renta-tuile-marge.renta-vert span, .renta-tuile-marge.renta-vert small { color: #1d6b43; }
.renta-tuile-marge.renta-orange { background: #fdf0e4; } .renta-tuile-marge.renta-orange strong, .renta-tuile-marge.renta-orange span, .renta-tuile-marge.renta-orange small { color: #8a4b12; }
.renta-tuile-marge.renta-rouge { background: #fbe9e7; } .renta-tuile-marge.renta-rouge strong, .renta-tuile-marge.renta-rouge span, .renta-tuile-marge.renta-rouge small { color: #a8281f; }
.renta-pastille { justify-self: start; padding: 3px 10px; border-radius: 12px; background: #fde2cf; color: #8a3b12; font-size: 13px; font-weight: 600; }
.renta-alerte-bloc { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #fdf0e4; border: 1px solid #f3cfae; color: #0f2a47; }
.renta-alerte-bloc p { margin: 0; flex: 1 1 260px; }
.renta-alerte-bloc .button { min-height: 44px; }
.renta-point { width: 12px; height: 12px; border-radius: 6px; background: #d9822b; flex: none; }
.renta-bloc { padding: 18px 20px; border-radius: 22px; background: #ffffff; border: 1px solid #ece6de; display: grid; gap: 12px; min-width: 0; }
.renta-bloc-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.renta-bloc-tete h4 { margin: 0; font-size: 18px; color: #0f2a47; }
.renta-lots2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.renta-lot2 { display: grid; justify-items: center; gap: 4px; padding: 12px; border-radius: 18px; background: #f4f5f7; text-align: center; min-width: 0; }
.renta-lot2.renta-vert { background: #f3f8f5; } .renta-lot2.renta-orange { background: #fbf3ec; } .renta-lot2.renta-rouge { background: #fbf0ee; }
.renta-lot2 strong { font-size: 15px; color: #0f2a47; } .renta-lot2 small { font-size: 13px; color: #55657a; }
.renta-legende-barres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #3d4b5e; }
.renta-carre { display: inline-block; width: 10px; height: 10px; border-radius: 3px; } .renta-carre-engage { background: #0f2a47; } .renta-carre-facture { background: #9cc3ea; margin-left: 8px; }
.renta-barres { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; align-items: end; min-height: 190px; padding: 0 4px; border-bottom: 1px solid #e3d6c8; overflow-x: auto; }
.renta-barre { display: grid; justify-items: center; align-content: end; gap: 4px; min-width: 44px; }
.renta-barre-engage { width: 60%; min-width: 18px; border-radius: 8px 8px 0 0; background: #0f2a47; }
.renta-barre small { font-size: 12px; color: #55657a; white-space: nowrap; } .renta-barre .renta-barre-valeur { font-size: 11px; }
@media (max-width: 700px) {
  .renta-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .renta-tuile { padding: 12px 14px; } .renta-tuile strong { font-size: 20px; }
  .renta-chantier-tete h3 { font-size: 24px; }
  .renta-lots2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .renta-lot2 .renta-anneau-double { width: 104px; height: 104px; }
}
