/* ── Tarefas ── */
.tf-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tf-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 20px; background: #EEE; color: #555; font-size: 12px; transition: filter .15s; }
.tf-pill .ms { font-size: 14px; }
.tf-pill.sel { background: var(--verde); color: #fff; }
.tf-pill:hover { filter: brightness(.95); }
.tf-item { background: #FAFAFA; border-left: 3px solid; border-radius: 8px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.tf-sub { padding-left: 28px; display: flex; flex-direction: column; }
.tf-radios { padding-left: 28px; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-chip { border-radius: 20px; background: #EEE; color: #666; font-size: 12px; padding: 0 12px; height: 32px; }
.tf-chip[aria-pressed="true"] { background: var(--verde); color: #fff; }
.dlg .tf-sub .check, .dlg .tf-radios .check { min-height: 32px; font-size: 13px; }

/* ── Equipamentos ── */
.eq-cartao { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); overflow: hidden; }
.eq-area { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.eq-area:hover { background: rgba(0, 0, 0, .015); }
.eq-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eq-info { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.eq-av { width: 48px; height: 48px; border-radius: 50%; background: #E8F5E9; color: #2E7D32; display: grid; place-items: center; flex: none; }
.eq-av .ms { font-size: 24px; }
.eq-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; border-radius: 6px; padding: 2px 8px; }
.eq-tag .ms { font-size: 10px; }
.eq-acoes { display: flex; align-items: center; gap: 4px; flex: none; }
.eq-cat { background: #F5F5F5; color: #666; font-size: 10px; border-radius: 6px; padding: 3px 8px; }
.eq-chip { font-size: 11px; border-radius: 6px; padding: 3px 8px; }
.eq-leitura { background: #F1F8E9; border-top: 1px solid #C8E6C9; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.eq-linha-cat { display: flex; gap: 10px; align-items: flex-start; }
.eq-linha-cat > .tf { flex: 1; min-width: 0; }
.eq-linha3 { display: flex; gap: 10px; }
.eq-linha3 > .tf:nth-child(1), .eq-linha3 > .tf:nth-child(2) { flex: 1; min-width: 0; }
.eq-linha3 > .tf:nth-child(3) { width: 100px; flex: none; }
.form-linha.eq-par > .tf { flex: 1; min-width: 0; }
.eq-cab-manut { background: #E8F5E9; border-radius: 8px; padding: 4px 12px; display: flex; align-items: center; gap: 8px; color: #2E7D32; }
@media (max-width: 800px) { .eq-topo { flex-direction: column; align-items: flex-start; } .eq-linha-cat, .eq-linha3 { flex-wrap: wrap; } .eq-linha3 > .tf { width: 100% !important; flex: 1 1 100% !important; } }
/* celular: o texto da tarefa ocupa a largura toda e os botões ficam embaixo */
@media (max-width: 800px) {
  .tf-item > div:first-child { flex-direction: column !important; }
  .tf-item > div:first-child > div:last-child:not(:first-child) { align-self: flex-end; }
}
