/* Aprovações: campo na tarefa, selo no cartão e a fila */
.tf-appr { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.65rem 0.8rem; border-radius: 10px; border: 1px solid #fcd34d; background: color-mix(in srgb, #f59e0b 12%, transparent); font-size: 0.86rem; }
.tf-appr.is-none { border-color: var(--border-color); background: var(--bg-surface); }
.tf-appr.is-preview { border-style: dashed; border-color: var(--border-color); background: transparent; color: var(--text-secondary); align-items: center; }
.tf-appr.is-approved { border-color: #86efac; background: color-mix(in srgb, #16a34a 12%, transparent); }
.tf-appr.is-refused { border-color: #fca5a5; background: color-mix(in srgb, #dc2626 12%, transparent); }
.tf-appr-txt { flex: 1; min-width: 0; }
.tf-appr small { color: var(--text-secondary); }
.tf-appr-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: flex-end; flex-shrink: 0; max-width: 55%; }
.tf-appr-btns select { max-width: 11rem; }
.tf-appr-link { border: 0; background: transparent; color: var(--accent-primary); font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
.tf-appr-hist { margin-top: 0.3rem; font-size: 0.78rem; color: var(--text-secondary); }
.tf-appr-hist summary { cursor: pointer; }
.tf-appr-hist div { padding: 0.1rem 0; }
.tb-appr-cfg { display: grid; gap: 0.5rem; }
.appr-chip { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.05rem 0.5rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; border: 1px solid #fcd34d; color: #b45309; background: color-mix(in srgb, #f59e0b 14%, transparent); white-space: nowrap; }
.appr-chip.is-approved { border-color: #86efac; color: #15803d; background: color-mix(in srgb, #16a34a 14%, transparent); }
.appr-chip.is-refused { border-color: #fca5a5; color: #b91c1c; background: color-mix(in srgb, #dc2626 14%, transparent); }
/* a fila */
.appr-list { display: grid; gap: 0.8rem; }
.appr-card { padding: 0.9rem 1rem; border: 1px solid var(--border-color); border-left: 4px solid #f59e0b; border-radius: 12px; background: var(--bg-surface); }
.appr-card.is-approved { border-left-color: #16a34a; }
.appr-card.is-refused { border-left-color: #dc2626; }
.appr-card.is-overdue { border-left-color: #dc2626; box-shadow: 0 0 0 1px color-mix(in srgb, #dc2626 25%, transparent); }
.appr-top { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; }
.appr-title { margin: 0; font-size: 1rem; cursor: pointer; }
.appr-title:hover { color: var(--accent-primary); }
.appr-sub, .appr-who { color: var(--text-secondary); font-size: 0.82rem; margin-top: 0.15rem; }
.appr-who { margin: 0.4rem 0; }
.appr-facts { margin: 0.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.5rem 1.1rem; }
.appr-facts dt { font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.02em; }
.appr-facts dd { margin: 0.1rem 0 0; font-size: 0.9rem; word-break: break-word; }
.appr-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
@media (max-width: 800px) {
  .tf-appr { flex-wrap: wrap; }
  .tf-appr-btns { max-width: 100%; width: 100%; justify-content: flex-start; }
  .appr-top { flex-direction: column; }
}
