/* Task Helper — a task's FILES (job-intake.md §38 AT-2b; BRIEF-1072, lane TASK HELPER EMAIL). Copyright Rapid Surveys Pty Ltd.
   Listed by NAME like photos — the shared .fa-lines look (public/shared/file-actions.css); only the extras live here. App tokens only. */
.tf-none { margin: 0; }
.tf-line { flex-wrap: nowrap; }
.tf-get { text-decoration: none; color: inherit; }
.tf-get:hover { background: var(--hover); } .tf-get:hover .fa-lname, .tf-get:focus-visible .fa-lname { text-decoration: underline; }
.tf-badge { flex: none; display: inline-block; min-width: 30px; margin-right: 6px; padding: 0 4px; border-radius: 4px; border: 1px solid var(--line);
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; color: var(--muted); }
.tf-when { flex: none; font-size: 12px; color: var(--muted); margin: 0 10px 0 6px; white-space: nowrap; }
.tf-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0 0; }
.tf-add { display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
.tf-help { font-size: 12px; }
.tf-msg { margin: 6px 0 0; }
@media (pointer: coarse) { .tf-add, .tf-get, .tf-x { min-height: 44px; } .tf-acts .chip { min-height: 44px; } }
@media (max-width: 420px) { .tf-when { display: none; } }   /* phone: one line — name + size + ✕ (the date is on wider screens) */

/* FOLDERS (NOTE-TASKFOLDERS slice 2). App tokens only; every target 44 px. */
.tf-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; margin: 0 0 8px; font-size: 14px; }
.tf-crumb .tf-cr { width: auto; min-height: 44px; margin: 0; padding: 0 8px; background: none; border: 0; border-radius: 8px; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.tf-crumb .tf-cr:hover { background: var(--hover); }
.tf-crumb strong { padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.tf-crumb span { color: var(--muted); }
.tf-fold { position: relative; background: var(--hover); }
.tf-fold .fa-lname { font-weight: 600; }
.tf-open { cursor: pointer; text-align: left; }
.tf-open:hover { background: var(--line); }
.tf-ficon { flex: none; color: #c9a24b; }
.tf-cnt { flex: none; font-size: 12px; color: var(--muted); margin: 0 6px; white-space: nowrap; }
.tf-drop { outline: 2px dashed var(--accent); outline-offset: -2px; }
.tf-crumb .tf-drop { border-radius: 8px; }
.tf-grip { flex: none; width: 24px; text-align: center; color: var(--muted); cursor: grab; user-select: none; letter-spacing: -2px; }
.tf-line[draggable="true"] { cursor: default; }
.tf-mv-b { font-size: 18px; }
.tf-mv-b:hover { color: var(--accent); }
.tf-menu { position: absolute; right: 8px; top: 100%; z-index: 20; list-style: none; margin: 0; padding: 6px; min-width: 180px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.tf-menu li { margin: 0; }
.tf-mi { display: flex; align-items: center; width: 100%; min-height: 44px; margin: 0; padding: 0 10px; background: none; border: 0; border-radius: 8px; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.tf-mi:hover, .tf-mi:focus-visible { background: var(--hover); }
.tf-mdel { color: var(--err); }
.tf-sheet { margin: 10px 0 0; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.tf-sheet label { margin: 0; }
.tf-sheet .tf-nm { margin: 0; min-height: 44px; }
.tf-q { margin: 0; overflow-wrap: anywhere; }
.tf-sub { color: var(--muted); font-size: 13px; }
.tf-sacts { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-sacts .chip { min-height: 44px; cursor: pointer; }
.tf-danger { color: var(--err); border-color: var(--err); }
.tf-smsg { margin: 0; }
.tf-mvh { overflow-wrap: anywhere; }
.tf-dests { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-height: 260px; overflow-y: auto; }
.tf-dests li { margin: 0; border-top: 1px solid var(--line); } .tf-dests li:first-child { border-top: 0; }
.tf-dest { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 0 12px; background: none; border: 0; border-radius: 0; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.tf-dest:hover:not(:disabled) { background: var(--hover); }
.tf-dest:disabled { opacity: .45; cursor: default; }
.tf-dest span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tf-here { flex: none; font-style: normal; font-size: 12px; color: var(--muted); }
.tf-newf { display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
@media (pointer: coarse) { .tf-newf, .tf-fm, .tf-mv-b { min-height: 44px; } .tf-grip { display: none; } }
@media (max-width: 420px) { .tf-help { flex-basis: 100%; } }
.tf-acts .chip { box-sizing: border-box; min-height: 37px; }   /* Add files + New folder the same height (coarse pointer: 44 px below) */
@media (pointer: coarse) { .tf-acts .chip { min-height: 44px; } }
