/* Fil d'avant (autres comptes support, lecture seule) et conversation pas encore commencée (03/11) */
.earlier-history { display: flex; flex-direction: column; gap: inherit; flex-shrink: 0; }
.earlier-day { display: flex; flex-direction: column; gap: inherit; flex-shrink: 0; }
.thread-divider { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; color: var(--text-dim); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0; }
.thread-divider::before, .thread-divider::after { content: ''; flex: 1; border-top: 1px solid var(--border-strong); }
.thread-divider small { font-weight: 400; letter-spacing: 0; text-transform: none; }
.thread-divider.is-current { color: var(--accent); }
.thread-divider.is-current::before, .thread-divider.is-current::after { border-top-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.earlier-older { align-self: center; }
#chat-panel .msg.earlier-msg { background: transparent; color: var(--text-muted); border: 1px dashed var(--border-strong); box-shadow: none; }
.earlier-attachment { font-size: 11px; font-style: italic; color: var(--text-dim); }
.thread-start { align-self: center; max-width: 440px; margin: 18px 0; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; background: var(--bg-card); border: 1px dashed var(--border-strong); border-radius: 14px; flex-shrink: 0; }
.thread-start .empty-symbol { margin: 0; font-size: 28px; }
.thread-start p { margin: 0; }
.thread-start-title { font-size: 14px; font-weight: 600; color: var(--text-main); }
.thread-start-hint { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.thread-start-error { font-size: 12px; line-height: 1.5; color: var(--red); background: var(--red-soft); padding: 8px 11px; border-radius: 8px; }
.thread-start .send-btn { margin-top: 4px; cursor: pointer; }
/* Client qu'on ne peut pas écrire (03/11) : raison du rattachement, encart en bas du fil */
.thread-match { align-self: center; margin: -2px 0 4px; font-size: 11px; color: var(--text-muted); text-align: center; flex-shrink: 0; }
.reach-card { align-self: center; width: min(100%, 520px); margin: 14px 0 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-card); border: 1px solid var(--border-strong); border-left: 3px solid var(--orange); border-radius: 12px; box-shadow: var(--shadow-bubble); flex-shrink: 0; font-size: 12.5px; color: var(--text-main); }
.reach-card p { margin: 0; }
.reach-card header { display: flex; gap: 11px; align-items: flex-start; }
.reach-icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-size: 15px; font-weight: 700; }
.reach-title { font-size: 14px; font-weight: 650; }
.reach-reason { margin-top: 3px !important; color: var(--text-muted); line-height: 1.45; }
.reach-shared { display: flex; gap: 9px; padding: 9px 11px; border-radius: 9px; background: var(--yellow-soft); color: var(--text-main); line-height: 1.4; }
.reach-shared small { display: block; color: var(--text-muted); }
.reach-rows { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.reach-row { font: inherit; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-card); color: var(--text-main); cursor: pointer; }
.reach-row[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.reach-last, .reach-phone { line-height: 1.5; color: var(--text-muted); }
.reach-last b, .reach-phone b { color: var(--text-main); font-weight: 600; }
.reach-form { display: flex; flex-direction: column; gap: 5px; padding-top: 10px; border-top: 1px solid var(--border); }
.reach-form label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); }
.reach-field { display: flex; align-items: center; gap: 6px; }
.reach-field input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--composer-input-border, var(--border-strong)); background: var(--bg-input); color: var(--text-main); }
.reach-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.reach-prefix { color: var(--text-dim); font-weight: 600; margin-right: -2px; }
.reach-note { font-size: 11.5px; color: var(--text-dim); line-height: 1.4; }
.reach-note.is-error { color: var(--red); }
.reach-note.is-ok { color: var(--green); }
@media (max-width: 640px) { .reach-card { padding: 14px; } .reach-field .btn-tool { flex: none; } }
