body{
  --pi-brand: #1f3b7a;        /* azul corporativo */
  --pi-accent: #0b78c2;       /* links gerais */
  --pi-accent-2: #56d6ff;     /* apoio em chips/gradientes */
  --pi-success: #2fbf71;
  /* CTA de login (laranja padrÃƒÆ’Ã‚Â£o interno) */
  --pi-login: #f97316;        /* base */
  --pi-login-hover: #ea580c;  /* hover */
  --pi-login-ink: #ffffff;    /* texto sobre laranja */
  --pi-login-ring: rgba(249,115,22,.35);
  --pi-surface: #ffffff;
  --pi-surface-2: #f7faff;
  --pi-text: #1f2937;
  --pi-strong: #111827;
  --pi-muted: #6b7280;
  --pi-disabled: #9aa3b2;
  --pi-border: #e6ebf3;
  --pi-border-strong: #d6deeb;
  --pi-sep: rgba(2, 6, 23, .06);
  --pi-row-alt: rgba(2, 6, 23, .02);
  --pi-row-hover: rgba(11,120,194,.06);
  background: #f0f0f0;
}
body > .proximas_etapas{
    padding: 20px;
    width: 100%;
}
body > .proximas_etapas > .lista_processos_anm{
    width: 100%;
    overflow: auto;
    display: flex;
}
body > .proximas_etapas > .lista_processos_anm > tbody{
  width:100%;
  display:table;
}
.PainelInfo {
  /* Tokens principais (ajuste os hex para casar com a marca) */
  /* background: linear-gradient(180deg, var(--pi-surface), var(--pi-surface-2)); */
  color: var(--pi-text);
  border-radius: 12px;
  /* box-shadow:
    0 1px 0 0 #ffffff inset,    
    0 0 0 1px var(--pi-border), 
    0 6px 18px rgba(7,14,30,.04); */
  padding: 14px;
  font-family: 'Abel';
  width: 1200px;
  max-width: 100%;
  margin: 10px auto;
}
/* ===========================
   Blocos internos
   =========================== */
.PainelInfo > .PainelInfo__bloco {
  background: var(--pi-surface);
  border-radius: 10px;
  /* box-shadow:
    0 0 0 1px var(--pi-border),
    0 1px 0 #fff inset; */
  /* padding: 8px; */
}
.PainelInfo > .PainelInfo__bloco + .PainelInfo__bloco { margin-top: 12px; }
.PainelInfo > .PainelInfo__titulo {
  margin: 10px 6px 8px 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--pi-strong);
  letter-spacing: .2px;
}
/* ===========================
   Tabelas ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â cabeÃƒÆ’Ã‚Â§alhos padrÃƒÆ’Ã‚Â£o (todos os <th> dentro do painel)
   =========================== */
.PainelInfo table {width: 100%;border-collapse: separate;border-spacing: 0;}
.PainelInfo table > thead > tr > th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .24px;
  color: var(--pi-muted);
  background: linear-gradient(180deg, #f9fbff, #f2f6ff);
  padding: 10px 12px;
  border-bottom: 1px solid var(--pi-border-strong);
}
.PainelInfo table > thead > tr > th:first-child { border-top-left-radius: 10px; }
.PainelInfo table > thead > tr > th:last-child  { border-top-right-radius: 10px; }
/* ===========================
   Tabela: Processos filhos (.req_pai)
   =========================== */
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--pi-border);
}
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr > th{
    padding: 20px 0;
    text-transform: uppercase;
    font-size: 15px;
    color: #444;
}
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item > td {
  padding: 12px;
  font-size: 16px;
  border-top: 1px solid var(--pi-sep);
  text-align: center;
}
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item:nth-child(odd) > td { background: var(--pi-row-alt); }
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item:hover > td       { background: var(--pi-row-hover); }
/* Links da tabela (Processo Filho) */
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item > td > a {
  color: var(--pi-accent);
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in oklab, var(--pi-accent) 55%, white);
  padding: 0 1px;
  border-radius: 3px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item > td > a:hover {
  color: color-mix(in oklab, var(--pi-accent) 92%, black 8%);
  border-bottom-color: color-mix(in oklab, var(--pi-accent) 80%, black);
}
.PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item > td > a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in oklab, var(--pi-accent) 65%, #000);
}
/* ===========================
   Nota de login (login25)
   =========================== */
.PainelInfo > .login25 {
  margin: 12px 2px 0 2px;
  background: rgba(11, 120, 194, .08);
  border: 1px dashed rgba(11, 120, 194, .35);
  color: var(--pi-muted);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}
/* ===========================
   HistÃƒÆ’Ã‚Â³rico SCM (.historico_anm + .anm_processo)
   =========================== */
.historico_anm {
  margin-top: 14px;
  /* background: var(--pi-surface); */
  /* border-radius: 10px; */
  /* box-shadow: 0 0 0 1px var(--pi-border); */
  /* padding: 8px; */
}
body > .historico_anm{
    padding: 20px;
    width: 100%;
}
.exportar{}
.exportar>button{
    padding: 5px;
    border-radius: 5px;
    border: none;
    background: #FF9800;
    color: white;
    cursor: pointer;
}
/* TÃƒÆ’Ã‚Â­tulo especÃƒÆ’Ã‚Â­fico do bloco histÃƒÆ’Ã‚Â³rico (h2) */
.historico_anm > h2,
.historico_anm > .PainelInfo__titulo {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--pi-brand);
  letter-spacing: 1.25px;
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.historico_anm > h2::before,
.historico_anm > .PainelInfo__titulo::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--pi-accent), var(--pi-accent-2));
  box-shadow: 0 0 0 2px #fff;
}
.historico_anm > .anm_processo {
  /* overflow: hidden; */
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--pi-border);
  background: white;
  display: flex;
  max-width: 100%;
  overflow: auto;
}
.historico_anm > .anm_processo > tbody{
    width: 100%;
    display: table;
}
body > .historico_anm > .anm_processo {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.historico_anm > .anm_processo > tbody > tr > td {
  padding: 12px;
  text-transform: uppercase;
  font-size: 16px;
  border-top: 1px solid var(--pi-sep);
  text-align: center;
}
.historico_anm > .anm_processo > tbody > tr.associacao > td{background: #dcfbb7;}
.historico_anm > .anm_processo > tbody > tr > td > a{
  text-decoration:none
}
.historico_anm > .anm_processo > tbody > tr > td.data_movimento{
    white-space: nowrap;
}
.historico_anm > .anm_processo > tbody > tr[onclick^="deletarMov"] > td{
  cursor: pointer;
  background: #fff38b;
}
.historico_anm > .anm_processo > tbody > tr:nth-child(odd) > td {/* background: var(--pi-row-alt); */}
.historico_anm > .anm_processo > tbody > tr:hover > td       { background: var(--pi-row-hover); }
/* Linha de ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œquebra / ver tudoÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
.historico_anm > .anm_processo > tbody > tr.anm_break > td.break_mov {
  text-align: center;
  font-size: 13px;
  color: var(--pi-muted);
  letter-spacing: .2px;
  background: linear-gradient(90deg, rgba(11,120,194,.05), rgba(47,191,113,.05));
  border-top: 1px dashed var(--pi-border-strong);
}
.recente_anm{}
.recente_anm>span{
    background-color: #FFC107;
    color: #444;
    font-weight: 600;
    display: flex;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 10px;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
}
.historico_anm > .anm_processo > tbody > tr > th{
    text-align: center;
    padding: 20px 10px;
    text-transform: uppercase;
    font-size: 15px;
    color: #444;
}
.historico_anm > .anm_processo > tbody > tr > td.data_brazil {
  color: var(--pi-strong);
  font-weight: 700;
  letter-spacing: .15px;
  white-space: nowrap;
  width: 105px;
  /* background: red; */
}
/* Estado ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œtexto puro / nÃƒÆ’Ã‚Â£o clicÃƒÆ’Ã‚Â¡velÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
.PainelInfo .is-text,
.PainelInfo [aria-disabled='true'],
.PainelInfo .is-disabled {
  color: var(--pi-disabled);
  font-weight: 600;
}
/* ===========================
   CTA de login para SEI (.list_sei) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â LARANJA
   =========================== */
.PainelInfo > .list_sei { margin-top: 14px; }
.PainelInfo > .list_sei > .list_sei__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pi-login-ink);
  font-weight: 400;
  padding: 12px 16px;
  text-transform: uppercase;
  border-radius: 10px;
  background: #dd6514;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  font-family: 'Oswald';
}
.PainelInfo > .list_sei > .list_sei__cta:hover {
  /* transform: translateY(-1px); */
  opacity: 0.95;
}
.PainelInfo > .list_sei > .list_sei__cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--pi-login-ring);
}
.PainelInfo > .list_sei > .list_sei__cta > .list_sei__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
/* Regra genÃƒÆ’Ã‚Â©rica ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â qualquer link de login dentro do painel vira laranja */
.PainelInfo a[href*='login'] {
  color: var(--pi-login-ink);
  background: var(--pi-login);
  border-radius: 8px;
  padding: 4px 8px;
  text-decoration: none;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--pi-login) 20%, #fff);
}
.PainelInfo a[href*='login']:hover {
  background: var(--pi-login-hover);
}
/* ===========================
   Responsividade
   =========================== */
@media (max-width: 680px) {
      .tooltip_box_descricoes {
        position: absolute;
        background: #333;
        color: white;
        padding: 5px 10px;
        top: 48px;
        left: 26%;
        border-radius: 5px;
        text-wrap-mode: wrap;
        z-index: 1;
        min-width: 162px;
    }
  .PainelInfo > .PainelInfo__bloco--filhos > .req_pai > thead { display: none; }
  .PainelInfo > .PainelInfo__bloco--filhos > .req_pai > tbody > tr.item > td {
    /* display: block; */
    padding: 10px 12px;
  }
  .historico_anm > .anm_processo > thead { display: none; }
  .historico_anm > .anm_processo > tbody > tr > td {
    /* display: block; */
    padding: 10px 12px;
    white-space: nowrap;
    position: relative;
  }
}
.historico_anm > .observacoes_toggle{
  display: block;
  padding: 10px 20px;
}
/* Label clicÃƒÂ¡vel do slider */
.historico_anm > .observacoes_toggle > .observacoes_toggle__label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* Texto ao lado do slider */
.historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__text{
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #4a4a4a;
}
/* Checkbox escondido (mas acessÃƒÂ­vel) */
.historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__checkbox{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* Trilha do slider */
.historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__slider{
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
  background: #e8edf2;
  border: 1px solid #d6dee6;
  border-radius: 999px;
  transition: background .15s ease, border-color .15s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
}
/* Pino do slider */
.historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__slider::after{
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  transition: transform .18s ease;
}
/* Estado ativo (checkbox:checked) */
.historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__checkbox:checked
+ .observacoes_toggle__slider{
  background: #9fb3c7;
  border-color: #90a6bb;
}
.historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__checkbox:checked
+ .observacoes_toggle__slider::after{
  transform: translateX(20px);
}
/* Responsivo: aproxima do topo em telas pequenas */

.historico_anm > table.anm_processo > tbody > tr.obsScm{display: none;background: #f0f0f0;}
.historico_anm > table.anm_processo tr.obsScm > td{
  background: transparent !important;
  border: 0 !important;
  padding: 6px 8px !important;   /* antes era 0 */
  vertical-align: top;
  text-align: left;
}
.historico_anm > table.anm_processo tr.obsScm > td > p{
  display: inline-block;
  width: auto;
  max-width: min(48ch, 92%);      /* limita largura para nÃƒÂ£o virar Ã¢â‚¬Å“paredÃƒÂ£oÃ¢â‚¬Â */
  margin: 6px 0;
  padding: 10px 12px;
  background: #fff !important;
  border: 1px solid #e9ecef;
  border-left: 3px solid #99a7b3; /* acento sutil */
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  color: #3f3f3f;
  font-size: clamp(12px, 0.95vw, 13px);  /* reduz no desktop largo */
  line-height: 1.38;
  text-transform: none;
  white-space: normal;
  overflow: visible;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  /* hyphens: auto; */
}
.historico_anm > table.anm_processo tr.obsScm > td > p::before{
  content: 'Observação';
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 2px 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #666;
  background: #f5f7f9;
  border: 1px solid #e6ebf0;
  border-radius: 999px;
}
.historico_anm > table.anm_processo tr.obsScm > td:first-child > p{/* margin-right: auto; */}
.historico_anm > table.anm_processo tr.obsScm > td:last-child  > p{ margin-left:  auto; }
.historico_anm > table.anm_processo tr.item > td{
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (max-width: 1024px){
  .historico_anm > table.anm_processo tr.obsScm > td > p{
    max-width: min(44ch, 96%);
    font-size: 12.5px;
  }
}
@media (max-width: 850px){
    .historico_anm > table.anm_processo tr.obsScm{
        display: none;
    }
  .historico_anm > table.anm_processo tr.obsScm > td{
    padding: 4px 0 !important;
  }
  .historico_anm > table.anm_processo tr.obsScm > td:last-child  > p{ margin-left: 0; }
}
.historico_anm > table.anm_processo tr>td.adou {
    width: 80px;
}
.historico_anm>.anm_processo>tbody>tr>td>a.dou {
    font-family: 'Oswald';
    font-weight: 700;
    font-size: 12px;
    color: #13133d;
    text-decoration: none;
}

/* tÃƒÂ­tulo do bloco */
.proximas_etapas > h2{
    /* margin: 8px 0 10px; */
    /* font-size: 18px; */
    /* color: #111827; */ /* cinza-900 */
    font-size: 16px;
    text-transform: uppercase;
    color: var(--pi-brand);
    letter-spacing: 1.25px;
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
}
.proximas_etapas>h2:before{
  content: '';
    position: absolute;
    left: 14px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, var(--pi-accent), var(--pi-accent-2));
    box-shadow: 0 0 0 2px #fff;
}
.search_historicos_requerimento {
    display: flex;
    align-items: center;
    gap: 5px;
    position: sticky;
    left: 0;
    margin-bottom: 10px;
}
.search_historicos_requerimento>input {
    flex: 1;
    padding: 10px 13px;
    font-size: 16px;
    /* border-radius: 5px; */
    outline: none;
    border: none;
}
/* tabela base */
.proximas_etapas > .lista_processos_anm{
    --sx-radius: 14px;
    --sx-gap: 12px;
    --sx-pad-y: 10px;
    --sx-pad-x: 14px;
    --sx-border: 1px;
    --sx-bg: #fff;
    --sx-fg: #1f2937;          /* cinza-900 */
    --sx-subtle: #6b7280;      /* cinza-500 */
    --sx-line: #e5e7eb;        /* cinza-200 */
    --sx-ring: #dbeafe;        /* azul-100 */
    --sx-ring-strong: #93c5fd; /* azul-300 */
    --sx-warn: #fee2e2;        /* vermelho-100 */
    --sx-warn-strong: #ef4444; /* vermelho-500 */
    --sx-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
    /* width: 100%; */
    border-collapse: separate;
    border-spacing: 0;
    background: var(--sx-bg);
    border: var(--sx-border) solid var(--sx-line);
    border-radius: var(--sx-radius);
    box-shadow: var(--sx-shadow);
    overflow: hidden;
    /* table-layout: fixed; */
}
.lista_processos_anm>tbody{
    width: 100%;
    display: table;
}
/* linhas (tr) */
.proximas_etapas > .lista_processos_anm > tbody > tr.item{
    transition: background-color .2s ease;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item.prazo_adicional{
    background: #faffc5;
    cursor: pointer;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item:hover{
    background: #f9fafb; /* cinza-50 */
}
/* borda superior entre linhas */
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td{
    border-top: var(--sx-border) solid var(--sx-line);
    padding: var(--sx-pad-y) var(--sx-pad-x);
    color: var(--sx-fg);
    vertical-align: middle;
    white-space: nowrap;
}
.proximas_etapas > .lista_processos_anm > tbody > tr:first-child > td{
    border-top: 0;
}
/* colunas: 1=descriÃƒÂ§ÃƒÂ£o, 2=data final, 3=dias restantes, 4=grupos */
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(1){
    width: auto;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(2){
    width: 140px;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td[title]:not([title='']) > p{
  max-width: 25vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(3){
    width: 150px;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4){
    width: 220px;
}
/* cÃƒÂ©lula 1: aÃƒÂ§ÃƒÂ£o/descriÃƒÂ§ÃƒÂ£o com ÃƒÂ­cone e clamp de 2 linhas */
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(1) > p{
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: var(--sx-gap);
    align-items: start;
    /* cursor: pointer; */
    margin: 0;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(1) > p::before{
    content: '⏰';
    display: inline-grid;
    place-items: center;
    width: 28px; height: 28px;
    border-radius: 999px;
    background: var(--sx-ring);
    border: 1px solid var(--sx-ring-strong);
    font-size: 14px;
    transform: translateY(1px);
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item.prazo_adicional.concluido > td:nth-child(1) > p::before{
    content: "";
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--sx-ring);
    border: 1px solid var(--sx-ring-strong);
    transform: translateY(1px);

  /* ícone */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px 16px no-repeat;

  /* cor do check */
    background-color: #22c55e; /* verde */
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(1) > p{
    color: var(--sx-fg);
    display: flex;
    align-items: center;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(1) > p > *{
    /* caso existam spans internos, mantÃƒÂ©m clamp */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}
/* cÃƒÂ©lula 2: data (monoespaÃƒÂ§ada e com nÃƒÂºmeros tabulares) */
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td > p > .sx-prazo-acao__texto{
    color: inherit;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td > p > .sx-prazo-acao__info{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    border: none;
    border-radius: 999px;
    background: rgba(21, 93, 122, 0.08);
    color: #155d7a;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td > p > .sx-prazo-acao__info:hover,
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td > p > .sx-prazo-acao__info:focus{
    background: rgba(21, 93, 122, 0.14);
    color: #0f4360;
    transform: translateY(-1px);
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td > p > .sx-prazo-acao__info > .svg,
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td > p > .sx-prazo-acao__info > svg{
    width: 14px;
    height: 14px;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(2) > .prazofinal{
    margin: 0;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: .2px;
    color: #111827; /* mais forte pra data */
}
/* cÃƒÂ©lula 3: dias restantes como badge */
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(3) > .dias-restantes{
    margin: 0;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e9e9e9;
    font-size: 13px;
    line-height: 1;
    color: #1f2937;
    margin: auto;
    display: table;
}
/* estado atrasado (classe jÃƒÂ¡ existente no seu HTML quando aplicÃƒÂ¡vel) */
.proximas_etapas > .lista_processos_anm > tbody > tr.item.atrasado{
    /* background: var(--sx-warn); */
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item.atrasado > td:nth-child(3) > .dias-restantes{
    /* background: #fee2e2; */
    border-color: none;
    /* color: var(--sx-warn-strong); */
    display: none;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item.atrasado > td:nth-child(1) > p::before{
    content: '⚠️';
    background: white;
    border-color: transparent;
}
/* cÃƒÂ©lula 4: grupos (chips) */
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4) > .spangrupos{
    display: inline-grid;
    grid-auto-flow: column;
    gap: 8px;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4) > .spangrupos > a{
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;       /* cinza-100 */
    color: #374151;            /* cinza-700 */
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #e5e7eb; /* cinza-200 */
    transition: background-color .15s ease, border-color .15s ease, transform .06s ease;
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4) > .spangrupos > a:hover{
    background: #e5e7eb;       /* cinza-200 */
    border-color: #d1d5db;     /* cinza-300 */
}
.proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4) > .spangrupos > a:active{
    transform: translateY(1px);
}
/* responsividade: em telas menores, reduz largura das colunas 2 e 4 */
@media (max-width: 740px){
    .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(2){ width: 120px; }
    .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(3){ width: 130px; }
    .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4){ width: 1%; }
    .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4) > .spangrupos{ display: none; }
}
/* acessibilidade: reduz animaÃƒÂ§ÃƒÂµes quando preferido */
@media (prefers-reduced-motion: reduce){
    .proximas_etapas > .lista_processos_anm > tbody > tr.item,
    .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(4) > .spangrupos > a{
        transition: none;
    }
}
.spangrupos {
    display: flex
;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 8px;
}

.spangrupos>a {
    text-decoration: none;
    color: #262626;
    background: #ededed;
    padding: 6px 10px;
    border-radius: 5px;
    min-width: 44px;
    max-width: 140px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 10px;
    /* font-weight: 800; */
}
@media (max-width: 1024px) {
    .spangrupos>a {
        max-width: 120px;
    }
}

/* Paleta alinhada ao SX */
:root{
  --sx-blue-500: #155d7a;   /* barra/azul petrÃƒÂ³leo do print */
  --sx-blue-700: #0f4360;   /* azul mais escuro p/ gradiente */
  --sx-orange-400: #f28a22; /* laranja usado no "SAIR" (p/ foco) */
}

/* Wrapper especÃƒÂ­fico */
.historico_anm > .controle{
  display: flex; /* garante que o fixed use a viewport */
  justify-content: flex-end;
  margin-top: 50px;
  gap: 10px;
}

/* BotÃƒÂ£o flutuante: .controle > button */
.historico_anm > .controle > button{
  /* position: fixed; */
  padding: 12px 18px;
  border: none;
  border-bottom: 2px solid #909090;
  border-right: 1px solid #909090;
  border-radius: 9px;
  background: white;
  color: #13133d;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
}

/* Estados: hover/active/focus Ã¢â‚¬â€œ mantendo estÃƒÂ©tica do painel */
.historico_anm > .controle > button:hover{
  box-shadow: 0 10px 10px rgba(8, 28, 44, .32),
    0 3px 8px rgba(8, 28, 44, .18);
  filter: brightness(1.03);
}

.historico_anm > .controle > button:active{
  transform: translateY(0);
  filter: brightness(.96);
}

.historico_anm > .controle > button:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--sx-orange-400) 55%, white);
  outline-offset: 2px;
}

/* Mobile: ajusta tamanho/offset sem cobrir conteÃƒÂºdo */
@media (max-width: 768px){
  .historico_anm > .controle > button{
    padding: 10px 14px;
    font-size: 14px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    border-radius: 12px;
  }
}
@media (max-width: 850px){
  .historico_anm > .observacoes_toggle{padding: 8px 10px 0 10px;display: none !important;}
  .historico_anm > .observacoes_toggle > .observacoes_toggle__label > .observacoes_toggle__text{
    font-size: 12px;
  }
  .PainelInfo{
    /* max-width: 1200px; */
    /* overflow: auto; */
}
  .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(1) > p{
    /* white-space: nowrap; */
}
  .lista_processos_anm{
    display: flex;
    max-width: 100%;
    overflow: auto !important;
}
  .proximas_etapas > .lista_processos_anm > tbody > tr.item > td:nth-child(2) > .prazofinal{
    white-space: nowrap;
    overflow: auto;
}
}

/* ============================================================
   Controle de prazo (detalhe): slider "Mostrar prazos concluídos"
   + ocultar/exibir as linhas de prazos concluídos.
   Mesmo visual do toggle de observações do SCM, mas adequado à
   nova estrutura (fora de .historico_anm).
   ============================================================ */
.tem-prazos-concluidos .item.concluido{
  display: none;
}
.tem-prazos-concluidos.mostrar-concluidos .item.concluido{
  display: table-row;
}

.prazos-concluidos_toggle{
  display: block;
  padding: 6px 0 14px;
}
.prazos-concluidos_toggle .observacoes_toggle__label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.prazos-concluidos_toggle .observacoes_toggle__text{
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #4a4a4a;
}
.prazos-concluidos_toggle .observacoes_toggle__checkbox{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.prazos-concluidos_toggle .observacoes_toggle__slider{
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
  flex: 0 0 auto;
  background: #e8edf2;
  border: 1px solid #d6dee6;
  border-radius: 999px;
  transition: background .15s ease, border-color .15s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
}
.prazos-concluidos_toggle .observacoes_toggle__slider::after{
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  transition: transform .18s ease;
}
.prazos-concluidos_toggle .observacoes_toggle__checkbox:checked + .observacoes_toggle__slider{
  background: linear-gradient(135deg, #123d8b, #109da2);
  border-color: transparent;
}
.prazos-concluidos_toggle .observacoes_toggle__checkbox:checked + .observacoes_toggle__slider::after{
  transform: translateX(20px);
}

/* Botões de concluir/observar do prazo: célula própria no limite direito da linha */
.proximas_etapas > .lista_processos_anm .sx-prazo-acoes-cell{
  text-align: right;
  white-space: nowrap;
  width: 1%;
  vertical-align: middle;
}
.proximas_etapas > .lista_processos_anm .sx-prazo-acoes-cell .sx-prazo-controle{
  margin-left: 0;
  justify-content: flex-end;
}