/* V50 — Informations discrètes, réponse ciblée et accès aux derniers messages. */
html .chat50{position:relative;min-width:0;overflow:hidden}
html .chat50 .msgs{overflow-anchor:none;min-width:0;min-height:30px;scroll-behavior:auto}
html .chat50 .chat-row{display:flex;flex:none;flex-direction:column;align-items:flex-start;width:100%;min-width:0;gap:2px}
html .chat50 .chat-row.mine{align-items:flex-end}
html .chat50 .chat-row .bub{flex:none;min-width:0;overflow-wrap:anywhere;transition:transform .14s ease}
html .chat50 .chat-row .bub.reply-drag{transition:none}
html .chat50 .chat-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:13px;max-width:100%;font-size:10px;line-height:1.3;color:var(--muted);padding:0 5px}
html .chat50 .chat-time{display:none;overflow-wrap:anywhere}
html .chat50 .show-time .chat-time{display:inline}
html .chat50 .chat-state{font-family:system-ui,sans-serif;letter-spacing:-2px;font-size:12px;padding-right:3px}
html .chat50 .chat-state.is-read{color:var(--acc);font-weight:700}
html .chat50 .chat-day,html .chat50 .chat-unread{align-self:center;text-align:center;color:var(--muted);font-size:11px;line-height:1.4;margin:12px 0 6px;max-width:100%;overflow-wrap:anywhere;flex:none}
html .chat50 .chat-unread{color:var(--acc);font-weight:600;border-top:1px solid var(--line);width:100%;padding-top:8px}
html .chat50 .chat-quote{display:flex;flex-direction:column;text-align:left;gap:3px;max-width:min(78%,540px);min-width:0;padding:7px 10px;border:0;border-left:3px solid var(--acc);border-radius:8px;background:var(--surface2);color:var(--fg);font:inherit;font-size:12px;cursor:pointer}
html .chat50 .chat-quote span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .chat50 .chat-quote b{font-size:11px}
html .chat50 .quote-flash{outline:2px solid var(--acc);outline-offset:3px;border-radius:10px}
html .chat50 .chat-reply-compose{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 16px;background:var(--surface2);border-top:1px solid var(--line);font-size:12px;flex:none;min-width:0}
html .chat50 .chat-reply-compose[hidden]{display:none!important}
html .chat50 .chat-reply-compose span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html .chat50 .chat-reply-cancel{flex:none;border:0;background:transparent;color:var(--fg);min-width:40px;min-height:40px;font-size:22px;cursor:pointer}
html .chat50 .chat-latest{position:absolute;right:14px;bottom:calc(var(--chat-bottom50,80px) + 12px);z-index:5;max-width:calc(100% - 28px);border:1px solid var(--line2);border-radius:22px;background:var(--surface);color:var(--fg);box-shadow:0 3px 14px #0002;font:inherit;font-size:12px;min-height:40px;padding:9px 14px;cursor:pointer}
html .chat50 .chat-latest[hidden],html .chat50 .chat-older[hidden]{display:none!important}
html .chat50 .chat-older{flex:none;align-self:center;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--muted);font:inherit;font-size:12px;min-height:38px;padding:8px 14px;cursor:pointer}
html .chat50 .chat-pending{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:100%;width:100%}
html .chat50 .chat-pending .bub{opacity:.8;white-space:pre-wrap;overflow-wrap:anywhere}
html .chat50 .chat-send-state{font:inherit;font-size:10px;line-height:1.4;background:transparent;color:var(--muted);border:0;padding:3px 5px;cursor:pointer;min-height:24px}
html .chat50 .chat-send-state.failed{color:var(--acc);font-weight:600;min-height:36px}
html #cChat .jx-quick{padding:10px 16px 12px;flex:none}
html #cChat .jx-quick-btn{justify-content:center;max-width:100%;min-height:40px}
html #cChat .compose{margin-top:0;flex:none;min-width:0}
html .chat50 .compose input[type=text]{min-width:0}
@media(prefers-reduced-motion:reduce){html .chat50 .chat-row .bub{transition:none}}
