/* ==== Meetings (/teamsmeetings) and the text lines of the Knowledge Base (ep-, mt-, nt-); written for the Jira epics app
   (/epics), gone in V1.47 with Meetings (Loom): some ep- rules of its list, epic page and minutes form are no longer used ====
   Same look as the rest of OneStop (app.css: panels, panel-head, table, hint, notice, error, empty, btn, toolbar, grid-2).
   Loaded by Components\App.razor for every page, after monitoring2.css (the "?" tips and the Guide of the pages).
   Pages: TTech.Platform.Client\Apps\Epics. Classes built in code (grep the prefix): ep-status todo / progress / done
   (the epics' status, gone), ep-h1..ep-h6, ep-li, ep-p, ep-quote, ep-code (Ep.LineClass). Colours only through the tokens of
   app.css, so the dark theme follows. Phones: one column under 1000px (the grid of app.css), the action items wrap. */

/* The Jira bar above a meeting (MeetingsJiraBar) */
.ep-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ep-bar .spacer { flex: 1; }
.ep-bar-text { flex: 1 1 240px; min-width: 0; }
.ep-bar-quiet { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-2); font-size: 0.86rem; }

/* The list (EpicsPage) */
.ep-toolbar { margin-bottom: 10px; }
.ep-input {
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  min-width: 0;
}
.ep-search { flex: 1 1 280px; }
.ep-project { flex: 0 1 110px; text-transform: uppercase; }
.ep-check { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.ep-primary { background: var(--os-accent-fill); color: var(--os-on-accent-fill); border-color: var(--os-accent-fill); display: inline-flex; align-items: center; gap: 4px; }
.ep-primary:hover:not(:disabled) { background: var(--os-accent-fill-hover); }
.ep-row { cursor: pointer; }
.ep-row:hover td { background: var(--accent-soft); }
.ep-more { display: flex; justify-content: center; margin-top: 10px; }

.ep-status { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.ep-status.todo { background: var(--chip); color: var(--chip-text); }
.ep-status.progress { background: var(--info-soft); color: var(--info); }
.ep-status.done { background: var(--good-soft); color: var(--good-text); }

/* An epic (EpicPage) */
.ep-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ep-head h2 { margin: 4px 0 6px; font-size: 1.2rem; font-weight: 900; }
.ep-head-main { min-width: 0; flex: 1 1 360px; }
.ep-head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ep-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.ep-grid { align-items: start; }
.ep-grid .panel-head h3 { margin: 0; }
.ep-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.ep-date { padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-size: 0.78rem; font-weight: 700; }

/* The description and the preview (EpicText) */
.ep-text { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.ep-h { font-weight: 800; margin-top: 8px; }
.ep-h1 { font-size: 1.15rem; }
.ep-h2 { font-size: 1.05rem; }
.ep-h3, .ep-h4, .ep-h5, .ep-h6 { font-size: 0.95rem; }
.ep-li { position: relative; }
.ep-li::before { content: "•"; position: absolute; left: -12px; color: var(--muted); }
.ep-quote { padding-left: 10px; border-left: 3px solid var(--border); color: var(--muted); }
.ep-code { padding: 6px 8px; border-radius: 6px; background: var(--code-bg); font-family: Consolas, "Courier New", monospace; font-size: 0.82rem; }
.ep-rule { width: 100%; margin: 8px 0; border: 0; border-top: 1px solid var(--border); }

/* The minutes form (MinutesForm) */
.ep-form { display: flex; flex-direction: column; gap: 6px; }
.ep-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 160px; }
.ep-label { display: flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--muted); font-size: 0.8rem; font-weight: 800; }
.ep-field .ep-label { margin-top: 0; }
.ep-notes { width: 100%; resize: vertical; }
.ep-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--field); }
.ep-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--chip); color: var(--chip-text); font-size: 0.84rem; }
.ep-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0 4px; }
.ep-chip-input { flex: 1 1 160px; border: 0; padding: 4px; }
.ep-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ep-line .ep-input { flex: 1 1 200px; }
.ep-action .ep-task { flex: 3 1 220px; }
.ep-action .ep-owner { flex: 1 1 120px; }
.ep-action .ep-due { flex: 0 1 150px; }
.ep-remove { border: 1px solid var(--border); border-radius: 8px; background: var(--btn); color: var(--muted); cursor: pointer; padding: 6px 9px; }
.ep-remove:hover { background: var(--btn-hover); }
.ep-add { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 0.84rem; }
.ep-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ep-foot .spacer { flex: 1; }
.ep-preview { margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--panel-2); }

/* V1.18, the meetings (/teamsmeetings, Apps/Epics/Meeting*.razor; the Loom form RecordingForm, gone in V1.47): the form, the question and the brief,
   the open action items by person, a meeting's head, its notes, action items, recordings and transcript (mt-) */
.mt-form .mt-fields, .mt-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 12px; margin-bottom: 8px; }
.mt-field { display: flex; flex-direction: column; gap: 3px; font-size: 0.86rem; min-width: 0; }
.mt-field > span { font-weight: 700; color: var(--muted); }
.mt-wide { grid-column: 1 / -1; }
.mt-transcript { font-family: var(--mono, ui-monospace, monospace); font-size: 0.82rem; min-height: 140px; }
.mt-file { margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mt-ask { display: flex; flex-direction: column; gap: 6px; }
/* V1.57: TTech Assistant (2/3) and Ask the meetings (1/3) side by side; stacked on a narrow screen */
.mt-assist { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
/* V1.59 (the owner, 2026-11-05: "align the TTech Assistant and Ask boxes"): the same height, the same accent border and the
   same head (the height of TTech Assistant's button, no h3 margin), so that their tops, titles and first lines line up */
.mt-assist > .panel { margin: 0; display: flex; flex-direction: column; }
.mt-assist > .mt-ask-panel { border-left: 4px solid var(--accent); }
.mt-assist .panel-head { min-height: 38px; margin-bottom: 8px; }
.mt-assist .panel-head h3 { margin: 0; }
/* V1.59: meetings ticked into a series (MeetingsPage's other meetings), Add meetings and Take out (SeriesPage) */
.mt-pick-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.mt-pick-name { flex: 1 1 240px; max-width: 420px; }
.mt-pick { width: 32px; text-align: center; }
.mt-oneoffs tr.mt-picked > td { background: var(--accent-soft); }
.mt-pick-head { display: inline-flex; align-items: center; gap: 6px; }
.mt-add-box { margin: 0 0 12px; padding: 10px 12px; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--panel-2); }
.mt-add-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.mt-add-list label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; cursor: pointer; }
.mt-take-out { margin-left: auto; }
@media (max-width: 1100px) { .mt-assist { grid-template-columns: minmax(0, 1fr); } }
.mt-answer { white-space: pre-wrap; margin: 10px 0 6px; padding: 10px 12px; border-radius: 8px; background: var(--info-soft); }
.mt-source { margin-left: 6px; }
.mt-sub { font-size: 0.92rem; margin: 10px 0 4px; }
.mt-list { margin: 4px 0 8px; padding-left: 20px; }
.mt-list li { margin: 3px 0; }
.mt-owners { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 18px; }
.mt-owner h4 { margin: 4px 0; }
.mt-late { color: var(--bad); font-weight: 700; }
.mt-series { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--chip); color: var(--chip-text); font-size: 0.76rem; font-weight: 700; }
.mt-headline { margin-top: 3px; font-size: 0.86rem; color: var(--muted); }
.mt-nowrap { white-space: nowrap; }
.mt-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; justify-content: space-between; }
.mt-head-main { min-width: 0; flex: 1 1 320px; }
.mt-title { margin: 2px 0 6px; font-size: 1.3rem; }
.mt-summary { font-size: 1rem; margin: 4px 0 8px; }
.mt-actions td { vertical-align: middle; }
.mt-closed td:first-child { text-decoration: line-through; color: var(--muted); }
.mt-ai { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 4px; background: var(--info-soft); color: var(--info); font-size: 0.7rem; font-weight: 800; }
.mt-small { padding: 2px 8px; font-size: 0.8rem; }
.mt-jira { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 12px; padding: 8px; border-radius: 8px; background: var(--panel-2); }
.mt-users { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.mt-add-action { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
/* V1.21: the Loom import's line, the next meeting of a series prepared */
.mt-loom .error.mt-loom-error { flex-basis: 100%; margin: 4px 0 0; overflow-wrap: anywhere; }
.mt-prepared { border-left: 4px solid var(--info); }
.mt-grow { flex: 1 1 260px; }
.mt-merge { margin-top: 10px; flex-wrap: wrap; }
.mt-text { white-space: pre-wrap; max-height: 480px; overflow: auto; margin-top: 8px; padding: 10px; border-radius: 8px; background: var(--panel-2); font-size: 0.86rem; }
.mt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mt-row .spacer { flex: 1; }
.mt-gap { margin-left: 4px; }

/* V1.18, the Knowledge Base (/knowledge, Apps/Knowledge: the same look as the meetings, mt- and ep- classes, plus kb-) */
.kb-hit { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.kb-passage { white-space: pre-wrap; max-height: 7.5em; overflow: hidden; }
.kb-shown td { font-weight: 700; }
.kb-prompt { max-height: none; margin-bottom: 8px; }
.kb-markdown { font-family: Consolas, "Courier New", monospace; font-size: 0.84rem; min-height: 360px; }
.kb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 12px; margin-bottom: 8px; }
/* V1.44, the Knowledge Base's SharePoint (/knowledge/sharepoint, Apps/Knowledge/KnowledgeSharePointPage.razor): what Microsoft
   365 found, the switch, the steps of the access, the state of each file; a SharePoint hit or source links to the file */
.kb-sp-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 10px 0; }
.kb-sp-facts dt { color: var(--muted); font-weight: 600; }
.kb-sp-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.kb-sp-check { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-weight: 600; }
.kb-sp-steps { margin: 4px 0 0; padding-left: 20px; }
.kb-sp-steps code { overflow-wrap: anywhere; }
.kb-sp-state { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--chip); color: var(--chip-text); font-size: 0.76rem; font-weight: 700; }
.kb-sp-off { background: var(--panel-2); color: var(--muted); }
.kb-sp-link { display: inline-flex; align-items: center; gap: 4px; }

/* V1.44, TTech Assistant, the notetaker of Meetings (Apps/Epics/NotetakerPanel.razor on the meetings' page,
   NotetakerPage.razor at /teamsmeetings/notetaker): the panel, the box to paste a link, the visits and their state chips
   (NotetakerView.StateClass: nt-rec recording, nt-warn in the lobby, nt-bad failed, nt-good stored, nt-quiet cancelled or
   off), the set-up's checks, the cost table, the camera tiles (nt-) */
.nt-panel { border-left: 4px solid var(--gold-text); }
.nt-panel .panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nt-mark { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
.nt-line { margin: 2px 0 8px; }
.nt-join { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.nt-url { flex: 3 1 320px; }
.nt-join > .ep-input:not(.nt-url) { flex: 1 1 180px; }
.nt-when { display: inline-flex; align-items: center; gap: 6px; }
.nt-bots { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nt-bots li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.9rem; }
.nt-state { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--chip); color: var(--chip-text); font-size: 0.74rem; font-weight: 800; white-space: nowrap; }
.nt-state.nt-rec { background: var(--bad-soft); color: var(--bad); }
.nt-state.nt-warn { background: var(--gold-soft); color: var(--gold-text); }
.nt-state.nt-bad { background: var(--bad-soft); color: var(--bad); }
.nt-state.nt-good { background: var(--good-soft); color: var(--good-text); }
.nt-state.nt-quiet { background: var(--panel-2); color: var(--muted); }
.nt-checks { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 0.88rem; }
.nt-checks li { padding-left: 22px; position: relative; overflow-wrap: anywhere; }
.nt-checks li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.nt-checks li.ok::before { content: "✓"; color: var(--good-text); }
.nt-checks li.no::before { content: "✕"; color: var(--bad); }
.nt-checks li.wait::before { content: "…"; color: var(--muted); }
.nt-settings { display: flex; flex-direction: column; gap: 8px; }
.nt-cost th { width: 40%; text-align: left; font-weight: 700; color: var(--muted); }
.nt-cost .nt-total td, .nt-cost .nt-total th { font-weight: 900; color: var(--text); }
.nt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 8px; }
.nt-tiles figure { margin: 0; }
.nt-tiles img { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); }
.nt-link { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* V1.47: the visits' table (the owner, 2026-11-04: "lines are not correctly aligned"): every cell at the top, the buttons in a
   wrapper (a cell in display: flex left the table's rows), on one line at the right; the error under the state, not wider than it */
.nt-visits td { vertical-align: top; }
.nt-visits .nt-actions { width: 1%; white-space: nowrap; text-align: right; }
.nt-visits .nt-actions .mt-row { justify-content: flex-end; flex-wrap: nowrap; }
.nt-visits .nt-actions .btn { white-space: nowrap; }
.nt-visits .error { max-width: 480px; margin-top: 6px; font-size: 0.8rem; }
.nt-visits .hint { margin-top: 2px; }
.nt-video { text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }

/* V1.44: the recurring meetings (MeetingsPage's groups, SeriesPage: its brief, its actions to follow up, its chat) */
.mt-groups { display: flex; flex-direction: column; gap: 6px; }
.mt-group { border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.mt-group > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; cursor: pointer; list-style: none; }
.mt-group > summary::-webkit-details-marker { display: none; }
.mt-group > summary::before { content: "▸"; color: var(--muted); width: 12px; flex: 0 0 auto; }
.mt-group[open] > summary::before { content: "▾"; }
.mt-group-main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 220px; overflow-wrap: anywhere; }
.mt-group-facts { display: flex; flex-wrap: wrap; gap: 4px; }
.mt-group-meetings { list-style: none; margin: 0; padding: 0 12px 6px 30px; display: flex; flex-direction: column; gap: 5px; font-size: 0.9rem; }
.mt-group-meetings li { overflow-wrap: anywhere; }
.mt-group > .btn { margin: 0 0 10px 30px; }
.mt-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--chip); color: var(--chip-text); font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.mt-chip-next { background: var(--info-soft); color: var(--info); }
.mt-chip-open { background: var(--warn-soft); color: var(--text); }
.mt-gap-top { margin-top: 10px; }
.mt-follow { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mt-follow li { display: flex; align-items: flex-start; gap: 8px; }
.mt-follow-check { padding-top: 2px; flex: 0 0 auto; }
.mt-follow-check input { width: 18px; height: 18px; cursor: pointer; }
.mt-follow-main { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
/* V1.61: the person of an action item, changed in place (Meetings: the series' follow-ups, the meeting's action items) */
.mt-owner { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; padding: 1px 8px; border: 1px dashed var(--rule); border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.mt-owner:hover { border-style: solid; border-color: var(--accent); }
.mt-owner .mud-icon-root { width: 13px; height: 13px; font-size: 13px; color: var(--muted); }
.mt-owner-edit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-right: 6px; }
.mt-owner-edit .ep-input { width: 180px; }
.mt-follow-closed { align-items: center; }
.mt-struck { text-decoration: line-through; color: var(--muted); }
.mt-closed-list { margin-top: 10px; }
.mt-closed-list > summary { cursor: pointer; }
.mt-chat .panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mt-turn { padding: 8px 12px; border-radius: 10px; margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.mt-turn-q { background: var(--panel-2); border: 1px solid var(--border); margin-left: 18%; }
.mt-turn-a { background: var(--info-soft); margin-right: 8%; }
.mt-turn-read { margin-top: 6px; white-space: normal; }
.mt-cite { font-weight: 700; white-space: normal; }
.mt-starters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.mt-starter { border: 1px solid var(--border); cursor: pointer; white-space: normal; text-align: left; }
.mt-starter:hover { background: var(--chip-hover); }
.mt-series-meetings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mt-series-meetings li { overflow-wrap: anywhere; }
.mt-series-summary { margin-top: 3px; font-size: 0.9rem; }
a.mt-series { text-decoration: none; }
@media (max-width: 640px) {
    .mt-hide-sm { display: none; }
    .mt-oneoffs th { white-space: normal; }
    .mt-turn-q { margin-left: 8%; }
    .mt-turn-a { margin-right: 0; }
}

/* V1.50: a recording's video played on the meeting's page (MeetingPage: SharePoint's signed address, MeetingsVideo.cs) */
.mt-video .panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.mt-video .panel-head .spacer { flex: 1; }
.mt-player { display: block; width: 100%; max-height: 70vh; border-radius: 8px; background: #000; }
/* V1.70: the action items' comment threads (ActionThread, ActionThreadToggle) and the quiet mark of an action item a person
   added (ActionAddedMark): Meetings, the series' follow-ups and the meeting's action items */
.mt-added { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding: 0 5px; border: 1px solid var(--os-border-subtle); border-radius: 4px;
  color: var(--os-text-2); font-size: 0.7rem; font-weight: 600; vertical-align: middle; cursor: default; white-space: nowrap; }
.mt-added .mud-icon-root { width: 0.8rem; height: 0.8rem; font-size: 0.8rem; }
.mt-thread-toggle { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 0 6px; border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: var(--os-text-2); font: inherit; font-size: 0.78rem; cursor: pointer; vertical-align: middle; }
.mt-thread-toggle:hover, .mt-thread-toggle[aria-expanded="true"] { border-color: var(--os-border-subtle); color: var(--os-text); }
.mt-thread-toggle .mud-icon-root { width: 0.95rem; height: 0.95rem; font-size: 0.95rem; }
.mt-thread { margin-top: 6px; padding: 8px 10px; border-left: 3px solid var(--os-border-subtle); border-radius: 0 8px 8px 0; background: var(--os-surface-sunken); }
.mt-thread-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.mt-thread-head .mt-sub { margin: 0; }
.mt-comments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mt-comments .mt-comment { display: block; }
.mt-comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.mt-comment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.mt-comment-tools { margin-left: auto; display: inline-flex; align-items: baseline; gap: 8px; }
.mt-link { padding: 0; border: 0; background: none; color: var(--os-accent); font: inherit; font-size: 0.8rem; cursor: pointer; }
.mt-link:disabled { color: var(--os-text-2); cursor: default; }
.mt-link-bad { color: var(--os-bad); }
.mt-comment-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; margin-top: 8px; }
.mt-comment-input { flex: 1 1 260px; width: 100%; resize: vertical; }
.mt-thread-row > td { padding-top: 0; }
