/* S33D HOSTING : demandes d'assistance (client et admin). */
.sup { padding: 1.6rem 0 3rem; min-height: 60vh; }
.sup h1 { font-size: 1.45rem; color: var(--encre); margin: .2rem 0 .3rem; }
.sup-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sup-fil { font-size: .84rem; color: var(--texte-doux); margin: 0 0 .2rem; }
.sup-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.sup-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.sup-connexion, .sup-vide { max-width: 560px; }
.sup-connexion p, .sup-vide p { margin: .4rem 0 1rem; }
.sup-form { max-width: 760px; }
.sup-form .champ textarea { font-family: inherit; font-size: .92rem; min-height: 120px; }
.sup-filtre { font: inherit; font-size: .9rem; border: 1px solid var(--trait-fort); border-radius: 6px; padding: .4rem .6rem; background: #fff; }

.sup-liste { display: grid; gap: .6rem; }
.sup-ligne { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center; padding: .85rem 1rem;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); color: inherit; text-decoration: none; box-shadow: var(--ombre); }
.sup-ligne:hover { border-color: var(--accent); text-decoration: none; }
.sup-ligne:focus-visible { outline: 3px solid var(--accent-doux); border-color: var(--accent); }
.sup-ligne strong { color: var(--encre); font-size: .98rem; overflow-wrap: anywhere; }
.sup-ligne .doux { font-size: .82rem; }
.sup-droite { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .8rem; color: var(--texte-doux); }

.sup-etat { display: inline-block; border-radius: 999px; padding: .12rem .55rem; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.sup-etat.ouverte { background: var(--ok-doux); color: var(--ok); }
.sup-etat.fermee { background: var(--fond-appui); color: var(--texte-doux); }
.sup-etat.attente { background: var(--alerte-doux); color: #7a4a06; }
.sup-etat.repondu { background: var(--accent-doux); color: var(--accent-fonce); }

.sup-conversation { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .8rem; max-width: 760px; }
.sup-message { border: 1px solid var(--trait); border-radius: var(--rayon); padding: .8rem 1rem; background: #fff; }
.sup-message.admin { background: var(--accent-doux); border-color: #cddcfb; margin-left: 2rem; }
.sup-message.client { margin-right: 2rem; }
.sup-message .qui { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; font-size: .8rem; color: var(--texte-doux); margin-bottom: .4rem; }
.sup-message .qui strong { color: var(--encre); }
.sup-message .corps { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; color: var(--texte); }

@media (max-width: 640px) {
  .sup-ligne { grid-template-columns: 1fr; }
  .sup-droite { flex-direction: row; align-items: center; justify-content: space-between; }
  .sup-message.admin { margin-left: .6rem; }
  .sup-message.client { margin-right: .6rem; }
}
