/* Task Helper — internal MESSAGES on the Communications tab (job-intake.md §38; MS-2, BRIEF-1111, lane TASK HELPER EMAIL).
   Copyright Rapid Surveys Pty Ltd. Namespaced .tm-; app tokens only (a dark token set later follows by itself). */
.tm-comp { margin: 0 0 10px; }
.tm-l { display: block; font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.tm-wrap { position: relative; }
.tm-in { width: 100%; box-sizing: border-box; min-height: 44px; resize: vertical; font: inherit; }
.tm-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0 0; }
.tm-help { font-size: 12px; }
.tm-send, .tm-esave, .tm-acts .chip, .tm-racts .chip { width: auto; }   /* the app's panel buttons are full width; these aren't */
.tm-send { min-width: 96px; }
.tm-msg { margin: 6px 0 0; }
.tm-pick { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin: 2px 0 0; padding: 4px 0; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); max-height: 50vh; overflow: auto; }
.tm-opt { padding: 8px 12px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink); }
.tm-opt[aria-selected="true"], .tm-opt:hover { background: var(--hover); }
.tm-sub { color: var(--muted); font-size: 12px; }
.tm-text { margin: 2px 0 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tm-at { color: var(--accent); font-weight: 600; }
.tm-ed { color: var(--muted); font-size: 12px; }
.tm-gone { margin: 2px 0 0; font-size: 13px; font-style: italic; color: var(--muted); }
.tm-racts { display: flex; gap: 6px; margin: 4px 0 0; }
.tm-ebox { margin: 6px 0 0; }
@media (pointer: coarse) { .tm-send, .tm-edit, .tm-withdraw, .tm-esave, .tm-ecancel { min-height: 44px; } }
