/* Conversation du chef de projet (lot G2) : jauge « besoin compris » (EX-40 c), propositions d'étape chiffrées
   (EX-39 b), Expression du besoin d'un sprint précédent (EX-39 a), messages écrits de lui-même (EX-42). */
.p-projet .jauge-besoin{font-family: var(--sans);border: 1px solid var(--bord);border-radius: var(--r-m);background: var(--surface);padding: 10px 14px;margin: 6px 0 12px;max-width: 560px}
.p-projet .jauge-besoin .jb-tete{display: flex;justify-content: space-between;align-items: baseline;gap: 8px;font-size: 13px;margin-bottom: 6px}
.p-projet .jauge-besoin .jb-tete span{font-variant-numeric: tabular-nums;color: var(--texte-2)}
.p-projet .jauge-besoin [data-manque]{margin-top: 6px;color: var(--texte-2)}
.p-projet .jauge-besoin [data-manque].ok{color: var(--ok)}
.p-projet .proposition .cout{display: flex;align-items: center;gap: 6px;margin-top: 8px;color: var(--texte);font-weight: 550}
.p-projet .proposition .ligne{display: flex;flex-wrap: wrap;gap: 6px}
.p-projet .proposition .ligne .btn{max-width: 100%;white-space: normal;text-align: left}
.p-projet .bloc-besoin[data-besoin-garde]{opacity: .92}
.p-projet .bloc-besoin[data-besoin-garde] .bs2-q button{cursor: default}
.p-projet .msg-ia.spontane{border-left: 3px solid var(--info);padding-left: 12px}
.p-projet .spontane-tete{display: flex;align-items: center;gap: 6px;color: var(--info);margin-bottom: 4px;font-family: var(--sans)}
.p-projet .spontane-tete b{font-weight: 600}
.p-projet .demander-chef{box-shadow: 0 4px 14px rgba(0,0,0,.18)}
@media (max-width: 600px){
  .p-projet .proposition .ligne .btn{flex: 1 1 100%;justify-content: center}
  .p-projet .jauge-besoin{max-width: none}
  /* Téléphone : l'en-tête du projet et la saisie laissaient ~60 px à la conversation, et la saisie recouvrait les
     boutons des questions. Onglet Chef de projet ouvert, tout l'écran défile (en-tête compris) et la zone de saisie
     suit la conversation, dans le flux : rien ne flotte au-dessus d'un bouton. */
  .p-projet .contenu.projet:has(#p-chat:not([hidden])){overflow-y: auto}
  .p-projet .contenu.projet:has(#p-chat:not([hidden])) .panneaux{flex: none;overflow: visible}
  .p-projet #p-chat:not([hidden]){overflow: visible}
  .p-projet #p-chat .chat-defile{flex: none;overflow: visible}
  .p-projet #p-chat .chat-bas{padding-top: 6px}
}
