/*
 * Fila do dia (/fila e o resumo da home). COR SÓ POR TOKEN (--keys-*): os selos de nível reaproveitam
 * a paleta fechada do funil (`keys-fn-cor-*`, leads.css), então este arquivo não define cor nova.
 * Celular primeiro: a linha empilha corpo e ações; alvos de toque >= 40px; nada rola de lado.
 */
.keys-fila { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.keys-fila-linha {
    display: flex; flex-direction: column; gap: 0.5rem;
    padding: 0.75rem; border: 1px solid var(--keys-borda); border-radius: 0.5rem;
    background: var(--keys-superficie);
}
.keys-fila-corpo { display: flex; gap: 0.6rem; align-items: flex-start; min-width: 0; }
.keys-fila-corpo .badge { flex: 0 0 auto; margin-top: 0.15rem; }
.keys-fila-texto { min-width: 0; overflow-wrap: anywhere; }
.keys-fila-titulo { font-weight: 600; color: var(--keys-tinta); text-decoration: none; }
.keys-fila-titulo:hover { text-decoration: underline; }
.keys-fila-aviso { color: var(--keys-despesa-forte); margin-right: 0.5rem; }
/* Resumo da home: "+ N como este", colado na linha que representa o grupo (alvo de toque >= 40px). */
.keys-fila-mais { margin-top: -0.35rem; padding-left: 0.75rem; }
.keys-fila-mais a { display: inline-flex; align-items: center; min-height: 40px; color: var(--keys-tinta); text-decoration: none; }
.keys-fila-mais a:hover { text-decoration: underline; }
.keys-fila-acoes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.keys-fila-acoes .btn { min-height: 40px; display: inline-flex; align-items: center; }
.keys-fila-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.keys-fila-chips .btn { min-height: 40px; display: inline-flex; align-items: center; gap: 0.25rem; }
.keys-fila-painel { border-top: 1px dashed var(--keys-borda); padding-top: 0.6rem; }
.keys-fila-painel textarea { width: 100%; min-height: 7rem; }
.keys-fila-mes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.keys-fila-tile { padding: 0.5rem 0.65rem; border: 1px solid var(--keys-borda); border-radius: 0.5rem; background: var(--keys-superficie-2); min-width: 0; }
.keys-fila-numero { font-size: 1.25rem; font-weight: 700; color: var(--keys-tinta); }

@media (min-width: 576px) {
    .keys-fila-mes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .keys-fila-linha { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .keys-fila-corpo { flex: 1 1 22rem; }
    .keys-fila-acoes { flex: 0 0 auto; }
    .keys-fila-painel { flex: 0 0 100%; }
    .keys-fila-mes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
