/* widget « Assistant » de l'accueil (js/assistant.js) */
/* 20/11/2026 : l'assistant est un widget de demi-largeur comme les autres (cases .wslot de l'accueil, accueil.css) ; sa conversation grandit avec la hauteur de la ligne */
.wslot .w-assistant{display:flex;flex-direction:column}
.wslot .w-assistant .asst{flex:1}
.wslot .w-assistant .asst-fil{flex:1 1 auto;min-height:150px;max-height:320px}
.asst{display:flex;flex-direction:column;gap:10px}
.asst-fil{display:flex;flex-direction:column;gap:8px;min-height:120px;max-height:380px;overflow-y:auto;padding:2px 2px 4px}
.asst-b{max-width:78%;padding:9px 13px;border-radius:16px;font-size:13.5px;line-height:1.5;word-wrap:break-word}
.asst-b p{margin:0 0 6px}.asst-b p:last-child{margin-bottom:0}
.asst-b ul{margin:2px 0 6px;padding-left:18px}
.asst-b li{margin:2px 0}
.asst-moi{align-self:flex-end;background:var(--jaune-pale,#FBF1C4);color:#1D1D1B;border-bottom-right-radius:5px}
.asst-ia{align-self:flex-start;background:var(--gris,rgba(29,29,27,.05));color:inherit;border-bottom-left-radius:5px}
.asst-err{background:#FCE6E2;color:#7E1D17}
.asst-att{display:inline-flex;gap:5px;align-items:center;padding:12px 16px}
.asst-att span{width:7px;height:7px;border-radius:50%;background:#8A887F;animation:asst-p 1.1s infinite ease-in-out}
.asst-att span:nth-child(2){animation-delay:.18s}.asst-att span:nth-child(3){animation-delay:.36s}
@keyframes asst-p{0%,80%,100%{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}
.asst-form{display:flex;gap:8px;align-items:flex-end}
.asst-in{flex:1;min-width:0;resize:none;border:1px solid var(--line,#E6E2D8);border-radius:14px;padding:9px 13px;font:inherit;font-size:13.5px;line-height:1.4;background:#FAF9F7;color:inherit;max-height:140px}
.asst-in:focus{outline:0;border-color:rgba(29,29,27,.35);background:#fff;box-shadow:0 0 0 4px rgba(241,201,47,.45)}
.asst-pied{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.asst-don{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--mute,#8A887F);cursor:pointer}
@media (max-width:700px){.asst-b{max-width:92%}}
