/* Tarefas: concluir explícito, estados e quadro (kanban). Editorial: branco, oliva #35382E, vermelho #702F2F, Arimo. */
.t-cab-acoes { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.t-modo { display: inline-flex; border: 1px solid #E6E6E6; border-radius: 2px; }
.t-modo button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 7px 12px; font: inherit; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #8A8A8A; cursor: pointer; }
.t-modo button + button { border-left: 1px solid #E6E6E6; }
.t-modo button.ativo { color: #35382E; box-shadow: inset 0 -2px 0 #35382E; }
.t-modo .ico { width: 16px; height: 16px; }

/* Lista */
.tarefas-l > li.t-linha { flex-wrap: wrap; transition: opacity .3s ease, transform .3s ease, max-height .3s ease; }
.tarefas-l .t-corpo { flex: 1; min-width: 0; }
.tarefas-l .t-alta { font-weight: 700; }
.tarefas-l .t { transition: color .25s; background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1px; }
.t-fechada .t { text-decoration: line-through; color: #8A8A8A; }
.t-estado-ico { color: #35382E; display: inline-flex; padding-top: 2px; }
.t-etq { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 400; letter-spacing: .8px; text-transform: uppercase; color: #35382E; border-bottom: 1px solid currentColor; vertical-align: 1px; }
.t-etq-a_espera { color: #8A6A2E; }
.t-concl { color: #35382E; }
.t-resultado { margin-top: 4px; padding-left: 10px; border-left: 2px solid #35382E; font-size: 13.5px; color: #4A4A4A; white-space: pre-wrap; }
.t-acoes { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.b-concluir { padding: 6px 12px; font-size: 13px; color: #35382E; border-color: #35382E; border-radius: 2px; }
.b-concluir:hover { background: #35382E; color: #fff; }
.b-reabrir { padding: 6px 12px; font-size: 13px; border-radius: 2px; }
.t-circulo { cursor: pointer; transition: background .25s, border-color .25s; }
.t-circulo:hover:not(:checked)::before { border-color: #35382E; transform: rotate(45deg); opacity: .5; }
.t-nota { margin-top: 10px; display: grid; gap: 10px; max-width: 620px; }
.t-nota-acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Animação de conclusão: o círculo enche, o título é riscado, a linha sai. */
.a-concluir .t { color: #8A8A8A; background-size: 100% 1px; transition: background-size .35s ease, color .25s; }
.a-concluir .t-circulo { background: #35382E; border-color: #35382E; }
.a-sair { opacity: 0; transform: translateX(24px); }
.t-modal-tit { font-weight: 700; margin: 0 0 12px; }

/* Quadro */
.kb-colunas { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 16px; align-items: start; }
.kb-col { border-top: 2px solid #35382E; padding-top: 10px; min-height: 120px; transition: background .15s; }
.kb-col-concluida { border-top-color: #8A8A8A; }
.kb-col.kb-alvo { background: #F6F5F2; outline: 1px dashed #35382E; outline-offset: 2px; }
.kb-col-cab { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #35382E; margin-bottom: 10px; }
.kb-col-cab b { font-weight: 700; color: #8A8A8A; }
.kb-recolher { display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.kb-recolher .ico { width: 14px; height: 14px; transition: transform .2s; }
.kb-recolhida .kb-recolher .ico { transform: rotate(-90deg); }
.kb-recolhida .kb-cards { display: none; }
.kb-cards { display: grid; gap: 8px; }
.kb-card { position: relative; background: #fff; border: 1px solid #E6E6E6; border-radius: 2px; padding: 10px 12px; cursor: grab; transition: border-color .15s, opacity .2s; }
.kb-card:hover { border-color: #35382E; }
.kb-card.kb-arrasta { opacity: .4; }
.kb-card.kb-novo { animation: kbEntra .35s ease; }
@keyframes kbEntra { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.kb-alta { border-left: 2px solid #702F2F; }
.kb-tit { font-size: 14px; line-height: 1.35; padding-right: 64px; }
.kb-alta .kb-tit { font-weight: 700; }
.kb-marca { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #702F2F; margin-right: 6px; vertical-align: 2px; }
.kb-fechado .kb-tit { text-decoration: line-through; color: #8A8A8A; }
.kb-meta { font-size: 12.5px; color: #8A8A8A; margin-top: 3px; }
.kb-res { font-size: 12.5px; color: #4A4A4A; margin-top: 6px; padding-left: 8px; border-left: 2px solid #35382E; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-pe { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 12px; color: #8A8A8A; flex-wrap: wrap; }
.kb-prazo { display: inline-flex; align-items: center; gap: 4px; }
.kb-prazo .ico, .kb-origem .ico { width: 14px; height: 14px; }
.kb-atraso { color: #702F2F; font-weight: 700; }
.kb-hoje { color: #8A6A2E; font-weight: 700; }
.kb-origem { display: inline-flex; }
.kb-resp { margin-left: auto; font-size: 11px; letter-spacing: .5px; color: #35382E; border: 1px solid #35382E; border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.kb-acoes { position: absolute; top: 4px; right: 4px; display: flex; gap: 0; opacity: 0; transition: opacity .15s; }
.kb-card:hover .kb-acoes, .kb-card:focus-within .kb-acoes { opacity: 1; }
.kb-acoes .b-ico { padding: 4px; }
.kb-acoes .ico { width: 16px; height: 16px; }
.kb-mover { margin-top: 8px; width: 100%; font: inherit; font-size: 12px; color: #4A4A4A; border: 1px solid #E6E6E6; border-radius: 2px; background: #fff; padding: 4px 6px; display: none; }
.kb-card:hover .kb-mover, .kb-card:focus-within .kb-mover { display: block; }
.kb-mais { width: 100%; justify-content: center; border-radius: 2px; font-size: 13px; }
.kb-vazio { font-size: 13px; color: #8A8A8A; margin: 4px 0; }
.kb-faixa { margin-bottom: 28px; }
.kb-faixa-tit { font-size: 15px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #E6E6E6; }

@media (max-width: 820px) {
  .t-acoes { width: 100%; justify-content: flex-start; margin-left: 46px; text-align: left; }
  .t-acoes .t-quando { margin-right: auto; }
  .t-acoes .b-concluir, .t-acoes .b-reabrir { width: 100%; justify-content: center; padding: 10px 12px; font-size: 14px; order: 9; }
  .t-nota { margin-left: 0; }
  .kb-colunas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; -webkit-overflow-scrolling: touch; }
  .kb-col { flex: 0 0 82%; scroll-snap-align: start; }
  .kb-col.kb-recolhida { flex-basis: auto; min-width: 56%; }
  .kb-acoes { opacity: 1; position: static; justify-content: flex-end; margin-top: 6px; gap: 4px; }
  .kb-acoes .b-ico { padding: 8px; }
  .kb-tit { padding-right: 0; }
  .kb-mover { display: block; padding: 8px; font-size: 13px; }
  .kb-card { cursor: default; }
}
