/* ==================================================================
   JurisCRM v7.2 — Explicar a movimentação ao cliente
   ================================================================== */
.ex-barra { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; background: var(--card, #fff);
  border: 1px solid var(--border, #e3e8ee); border-radius: 10px;
  padding: 11px 14px; margin-bottom: 14px; }
.ex-filtro { display: flex; align-items: center; gap: 7px; font-size: 13px;
  color: var(--text-secondary, #5a6b7b); cursor: pointer; }
.ex-barra-bts { display: flex; gap: 7px; flex-wrap: wrap; }

.ex-kpis { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ex-kpi { background: var(--card, #fff); border: 1px solid var(--border, #e3e8ee);
  border-radius: 10px; padding: 13px 18px; min-width: 170px; }
.ex-kpi-n { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.4px; }
.ex-kpi-r { font-size: 12px; color: var(--text-secondary, #5a6b7b); }

/* -------------------------------------------------- lista da fila */
.exl-fila { display: flex; flex-direction: column; gap: 9px; }
.ex-item { display: flex; gap: 11px; align-items: flex-start;
  background: var(--card, #fff); border: 1px solid var(--border, #e3e8ee);
  border-left: 3px solid var(--border, #e3e8ee); border-radius: 10px;
  padding: 13px 15px; transition: box-shadow .15s; }
.ex-item:hover { box-shadow: 0 4px 14px rgba(20, 40, 60, .08); }
.ex-favoravel { border-left-color: #35a86b; }
.ex-desfavoravel { border-left-color: #c23a3a; }
.ex-parcial { border-left-color: #d89b3c; }
.ex-neutro { border-left-color: #b9c3cc; }
.ex-indefinido { border-left-color: #8a7fc0; }
.ex-check { padding-top: 3px; }
.ex-check input { width: 16px; height: 16px; cursor: pointer; }
.ex-corpo { flex: 1; min-width: 0; cursor: pointer; }
.ex-topo { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ex-topo strong { font-size: 14.5px; }
.ex-sub { font-size: 12.5px; color: var(--text-secondary, #5a6b7b); margin-top: 3px; }
.ex-txt { font-size: 12.5px; color: var(--text-secondary, #5a6b7b); margin-top: 6px;
  line-height: 1.5; }
.ex-pe { font-size: 11.5px; color: var(--text-secondary, #5a6b7b); margin-top: 7px; }
.ex-bt { flex-shrink: 0; align-self: center; }
.ex-item-mini { cursor: pointer; }
.exl-fila-modal { max-height: 360px; overflow-y: auto; margin-bottom: 12px; }

.ex-selo { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px;
  white-space: nowrap; }
.ex-selo-favoravel { background: #e4f4ec; color: #15683f; }
.ex-selo-desfavoravel { background: #fdecec; color: #9e2727; }
.ex-selo-parcial { background: #fdf4e7; color: #8a5a15; }
.ex-selo-neutro { background: #eef1f5; color: #56646f; }
.ex-selo-indefinido { background: #f0edf9; color: #574a8c; }
.ex-selo-pub { background: #e8f1fa; color: #1f4e79; }
.ex-tag-rasc { color: #1f4e79; font-weight: 600; }
.ex-tag-obs { color: #8a5a15; font-weight: 600; }
.ex-tag-sem { color: #9e2727; font-weight: 600; }

/* -------------------------------------------------- janela de revisão */
.ex-bloco { margin-bottom: 18px; }
.ex-bloco-t { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-secondary, #5a6b7b); margin-bottom: 8px; }
.ex-bloco-t small { display: block; font-weight: 400; text-transform: none;
  letter-spacing: 0; font-size: 11.5px; margin-top: 2px; }

.ex-res-bts { display: flex; gap: 6px; flex-wrap: wrap; }
.ex-res-bt { border: 1px solid var(--border, #e3e8ee); background: #fff;
  border-radius: 20px; padding: 7px 14px; font-size: 13px; cursor: pointer;
  font-family: inherit; color: var(--text-secondary, #5a6b7b); }
.ex-res-bt:hover { border-color: #9fb3c4; }
.ex-res-on { font-weight: 700; border-width: 2px; }
.ex-res-favoravel.ex-res-on { background: #e4f4ec; color: #15683f; border-color: #35a86b; }
.ex-res-desfavoravel.ex-res-on { background: #fdecec; color: #9e2727; border-color: #c23a3a; }
.ex-res-parcial.ex-res-on { background: #fdf4e7; color: #8a5a15; border-color: #d89b3c; }
.ex-res-neutro.ex-res-on { background: #eef1f5; color: #56646f; border-color: #8e9aa5; }
.ex-res-indefinido.ex-res-on { background: #f0edf9; color: #574a8c; border-color: #8a7fc0; }

.ex-trecho { margin-top: 11px; padding: 10px 13px; background: #f8fafc;
  border: 1px solid var(--border, #e3e8ee); border-radius: 9px; font-size: 12.5px;
  line-height: 1.55; color: #37506a; }
.ex-conf { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px;
  white-space: nowrap; }
.ex-conf-alta { background: #e4f4ec; color: #15683f; }
.ex-conf-media { background: #fdf4e7; color: #8a5a15; }
.ex-conf-baixa { background: #fdecec; color: #9e2727; }
.ex-lado { margin-top: 9px; font-size: 12.5px; color: var(--text-secondary, #5a6b7b); }
.ex-lado-falta { color: #8a5a15; background: #fdf4e7; border: 1px solid #f3dcbd;
  border-radius: 9px; padding: 9px 12px; line-height: 1.5; }

.ex-area { width: 100%; padding: 11px 13px; border: 1px solid var(--border, #e3e8ee);
  border-radius: 9px; font-size: 14px; font-family: inherit; line-height: 1.6;
  resize: vertical; }
.ex-area:focus { outline: none; border-color: #2d6da3;
  box-shadow: 0 0 0 3px rgba(45, 109, 163, .13); }
.ex-acoes-txt { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }

.ex-aviso { background: #f3f7fb; border-left: 3px solid #2d6da3;
  border-radius: 0 8px 8px 0; padding: 10px 13px; font-size: 12.5px; line-height: 1.55;
  color: #37506a; margin-bottom: 13px; }
.ex-aviso-forte { background: #fdecec; border-left-color: #c23a3a; color: #8f2626;
  font-weight: 600; }
.ex-nota { background: #f8fafc; border: 1px dashed var(--border, #e3e8ee);
  border-radius: 9px; padding: 11px 13px; font-size: 12.5px; line-height: 1.55;
  color: var(--text-secondary, #5a6b7b); margin-bottom: 4px; }

.ex-bt-notif { margin: 0 16px 12px; }

@media (max-width: 600px) {
  .ex-item { flex-wrap: wrap; }
  .ex-bt { width: 100%; margin-top: 8px; }
  .ex-res-bts { flex-direction: column; }
  .ex-res-bt { width: 100%; text-align: left; }
}
