/* Remaining `.tcl-*` rules. Checklist rows live in JS/components/core-checklist.js (`.a-ncl-*`, styled in
   CSS/alt/alt-components.css). Still emitted here: .tcl (another person's reminder box), .tcl-status,
   .tcl-note/-hint/-empty/-foot (team task reminders), .tcl-link (chip class of checklist-okr-link.js).
   Classic token names, so one rule set resolves on both hosts. */

/* ================= THE SECTION AROUND IT ================= */

/* `.tsec-head .tcl-n` (the item count in the Checklist section header) MOVED to the core checklist
   section of CSS/alt/alt-components.css, 2026-10-14: the core emits it (coreChecklistMountTaskSection()),
   so the core's sheet styles it. */

/* THE TEAM TASK'S "SOMEBODY ELSE SET THIS REMINDER…" BOX — altTeamReminderNamedBlock() in
   JS/alt/alt-team-task.js emits `<div class="tcl" id="altTaskReminderNamed">`. Kept when the checklist
   rows left this file, because this box borrowed the old checklist frame and is its only user now. */
.tcl{
  display:flex; flex-direction:column; gap:4px;
  border:1px solid var(--border-soft); border-radius:var(--radius-sm);
  background:var(--panel-2); padding:8px;
}
.tcl-note,
.tcl-hint{ margin:0; font-size:var(--a-fs-12); line-height:var(--a-lh-ui); color:var(--text-faint); }
.tcl-empty{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.tcl-empty .tcl-hint{ flex:1 1 220px; min-width:0; }

.tcl-link{
  display:inline-flex; align-items:center; gap:4px; height:24px; padding:0 9px;
  font-size:var(--a-fs-11); font-weight:600; border-radius:var(--a-r-pill); white-space:nowrap;
  border:1px solid var(--border-soft); background:var(--panel); color:var(--text-dim);
  cursor:pointer;
}
.tcl-link:hover{ border-color:var(--accent); color:var(--accent-text); }
/* A task living on ANOTHER board — a pure reference, nothing moved here — reads differently
   from one that lives on this board, the same distinction Notes draws between its neutral
   "task" chip and its blue "Team Task" one (CSS/alt/alt-notes.css), expressed in the classic
   token set this file is built from instead of the Suite-only `--a-blue*` scale. */
.tcl-link.remote{ background:var(--accent-soft); border-color:var(--accent); color:var(--accent-text); }
/* AN OKR LINK READS AS NEITHER "ON THIS BOARD" NOR "ON ANOTHER BOARD" — it does not point at a
   task at all, so neither of the two colours above fits. `--purple*` is the neutral member of
   this palette (okr.css's own `--okr-done*` borrows it for a status reason unrelated to this),
   which is why it is reused here rather than a third accent invented for one chip. */
.tcl-link.okr{ background:var(--purple-soft); border-color:var(--purple); color:var(--purple-text); }
.tcl-link.done{ text-decoration:line-through; opacity:.75; }
/* DEAD: the linked task is gone or no longer reachable. Not a button in spirit even though it
   stays one for the menu behind it — dashed border, no hover state, Definition of Done 4f. */
.tcl-link.off{ cursor:default; border-style:dashed; color:var(--text-faint); }
.tcl-link.off:hover{ border-color:var(--border-soft); color:var(--text-faint); }

.tcl-foot{ display:flex; justify-content:flex-end; margin-top:8px; }
/* The neutral and error colours are already shared; "saved" is scoped to this list only. */
.tcl-status.ok{ color:var(--green-text); }

/* Kept in the DOM for the live region — announced more reliably than one that
   appears on display:none being lifted — but collapsed to zero while empty. */
.tcl-status:empty{ min-height:0; margin-top:0; }
