/* История сообщений (history module): «Сообщение удалено» / «изменено» as a link for the people with the right, and the
   window of the kept versions. */
.mh-link { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.mh-link:hover, .mh-link:focus-visible { color: var(--primary); outline: none; }
.mh-modal { max-width: 620px; }
.mh-box { display: grid; gap: 12px; }
.mh-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; display: grid; gap: 8px; background: var(--surface); }
.mh-card.mh-now { border-color: var(--primary); }
.mh-card-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mh-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.mh-images { display: flex; flex-wrap: wrap; gap: 6px; }
.mh-images img { max-width: 260px; max-height: 260px; border-radius: 8px; display: block; }
.mh-files { display: flex; flex-wrap: wrap; gap: 6px; }
.mh-end { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 6px; }
.mh-end.deleted { color: var(--danger); }
.mh-silent { background: var(--surface-2); color: var(--muted); border-radius: 99px; padding: 1px 8px; font-size: 11.5px; }
.mh-answers { display: grid; gap: 8px; }
.mh-answers-head { font-weight: 600; margin-top: 4px; }
.mh-only { display: flex; align-items: center; gap: 6px; }
