/* Reading history remains separate from the conversation selection button. */
.conversation-entry { border-bottom: 1px solid var(--line, #e7ebf2); background: #fff; }
.conversation-entry.active { background: #f7f9ff; box-shadow: inset 3px 0 0 var(--blue); }
[dir="rtl"] .conversation-entry.active { box-shadow: inset -3px 0 0 var(--blue); }
.conversation-entry .conversation-item { border-bottom: 0; background: transparent; }
.conversation-entry .conversation-item:hover { background: #f7f9ff; }
.conversation-entry .conversation-item.active { box-shadow: none; }
.conversation-readers { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: .76rem; line-height: 1.7; }
.conversation-entry > .conversation-readers { margin: 0 16px 13px; padding: 10px 12px; background: #f8faff; border: 1px solid #e7edf7; border-radius: 10px; }
.conversation-reader-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 12px; }
.conversation-reader-row > span { color: #66758c; }
.conversation-reader-row > bdi { font-weight: 600; overflow-wrap: anywhere; }
.conversation-reader-history { min-width: 0; }
.conversation-reader-history summary { width: fit-content; max-width: 100%; padding: 5px 9px; margin-top: 2px; border: 1px solid #dce5f5; border-radius: 8px; color: var(--navy); background: #fff; font: inherit; cursor: pointer; overflow-wrap: anywhere; }
.conversation-reader-history summary:hover { background: var(--blue-soft); }
.conversation-reader-history summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.conversation-reader-history ul { list-style: none; display: grid; gap: 9px; padding: 10px 0 0; margin: 0; }
.conversation-reader-history li { display: grid; gap: 2px; padding: 8px 10px; border-inline-start: 2px solid #cad8f4; background: #fff; border-radius: 6px; overflow-wrap: anywhere; }
.conversation-reader-history li bdi { font-weight: 600; }
.conversation-reader-history small { color: #66758c; line-height: 1.7; }
#conversationReadersDetails .conversation-readers { font-size: .82rem; }
@media (max-width: 600px) { .conversation-entry > .conversation-readers { margin-inline: 12px; } .conversation-reader-row { gap: 2px 10px; } }
