/* ============================================================
 *  TAREFAS USABILITY POLISH — CSS
 * ============================================================ */

/* ---------- QUICK-ADD INLINE NO KANBAN ---------- */
.t10-qadd {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 8px 10px;
  padding: 6px 8px 6px 10px;
  background: #fff;
  border: 1px dashed oklch(0.88 0.008 260);
  border-radius: 10px;
  transition: border-color 140ms, background 140ms, box-shadow 140ms;
}
.t10-qadd:focus-within {
  border-style: solid;
  border-color: oklch(0.55 0.17 260);
  background: #fff;
  box-shadow: 0 0 0 3px oklch(0.92 0.05 260);
}
.t10-qadd.is-loading { opacity: 0.6; pointer-events: none; }

.t10-qadd__plus {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: oklch(0.60 0.012 260);
  flex-shrink: 0;
}
.t10-qadd__plus svg { width: 14px; height: 14px; }

.t10-qadd__in {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 4px 0;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12.5px;
  color: oklch(0.22 0.012 260);
  letter-spacing: -0.005em;
}
.t10-qadd__in::placeholder {
  color: oklch(0.55 0.012 260);
  font-weight: 400;
}

.t10-qadd__more {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  color: oklch(0.55 0.012 260);
  opacity: 0;
  transition: all 120ms;
  flex-shrink: 0;
}
.t10-qadd:focus-within .t10-qadd__more,
.t10-qadd:hover .t10-qadd__more { opacity: 1; }
.t10-qadd__more:hover {
  background: oklch(0.96 0.005 260);
  color: oklch(0.22 0.012 260);
}
.t10-qadd__more svg { width: 11px; height: 11px; }

/* ---------- FILTER CHIPS (Minhas / Urgentes) ---------- */
button[data-tf-chip].tf-chip--on {
  background: oklch(0.22 0.02 260) !important;
  color: #fff !important;
  border-color: oklch(0.22 0.02 260) !important;
}
button[data-tf-chip] { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- BUSCA CLIENT-SIDE ----------
   Filtro instantâneo via atributo, sem setState/re-render */
[data-search-hidden="1"] { display: none !important; }

