/* Быстрые ответы репетитора в «Чатах учеников» (assets/tutorreplies.js, docs/stage5/tutor_replies.md). */
.tr-wrap { position: relative; display: inline-flex; flex: none; }
.tr-pop { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; width: min(380px, calc(100vw - 32px)); max-height: min(50vh, 360px); overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.tr-pop[hidden] { display: none; }
.tr-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tr-item { display: grid; gap: 2px; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: none; cursor: pointer; font: inherit; color: inherit; }
.tr-item:hover, .tr-item:focus-visible { border-color: var(--marker); background: var(--marker-soft); }
.tr-text { color: var(--ink-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tr-lesson { white-space: nowrap; font-size: 13px; padding-inline: 8px; }
