/* «Группы репетиторов» и «Группа школы» (docs/stage5/tutor_feed.md). Каркас — как у «Чатов учеников» (chatfiles.css). */
.tf-badge { min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--marker); color: #fff; font: 600 12px/20px var(--mono); text-align: center; }
.tf-th .msg.tf-site .bubble { background: var(--sticky-soft); border-color: var(--sticky); }
.tf-th .msg.tf-site .meta { color: var(--sticky-ink); }
.tf-quote { margin-bottom: 4px; padding: 3px 8px; border-left: 3px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-reply { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; padding: 6px 10px; border-left: 3px solid var(--marker); background: var(--paper-2); border-radius: 8px; font-size: 13.5px; }
.tf-reply span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-th .mmore.tf-re { font-size: 16px; }
.tf-th .cmp-row .btn { width: auto; padding: 0 14px; flex: none; }

/* ── вариант Б: метка «нужно ответить», вложения, сводка, сроки (docs/stage5/tutor_feed_b.md) ── */
.tf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 780px; margin: 6px auto 0; }
.tf-ask { min-width: 0; max-width: 100%; flex: 1 1 220px; }
.tf-picked { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tf-askline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.tf-chip { padding: 2px 9px; border-radius: 99px; font: 600 12px/1.5 var(--mono); border: 1px solid var(--line); background: var(--paper-2); }
.tf-chip.wait { background: var(--sticky-soft); border-color: var(--sticky); color: var(--sticky-ink); }
.tf-chip.ok { background: var(--marker-soft); border-color: #c3e4cf; color: var(--marker-ink); }
.tf-chip.red { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.tf-th .msg.tf-red .bubble { border-color: var(--red); }
.tf-card { margin-bottom: 4px; }
.tf-audio { display: grid; gap: 2px; margin-bottom: 4px; }
.tf-audio audio { width: min(100%, 320px); height: 36px; }
.tf-th .mfile { display: block; margin-bottom: 4px; }
.tf-summary { display: grid; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.tf-summary h3 { margin-bottom: 4px; }
.tf-sumlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tf-sumitem { display: block; width: 100%; text-align: left; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); cursor: pointer; font: inherit; color: inherit; overflow-wrap: anywhere; }
.tf-sumitem:hover, .tf-sumitem:focus-visible { border-color: var(--marker); }
.tf-sumitem.red { border-color: var(--red); background: var(--red-soft); }
.tc-item.tf-redrow { border-color: var(--red); }
.tf-settings { margin-top: 14px; }
.tf-set-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; align-items: end; margin-top: 8px; }
.tf-set { display: grid; gap: 4px; font-size: 14px; }
.tf-details summary { cursor: pointer; font-weight: 600; }

/* ── лента внутри окна «Моего кабинета» академии: высота — у .tc-tutor в chatfiles.css (11 нояб. 2026) ── */
.tf-tools .tf-unpick { flex: none; }
