/* ===== base ===== */
:root {
  /* PADRÃO: TEMA ESCURO (Dark Mode) */
  --bg: #0d1117;
  --sf: #161b22;
  --s2: #1c2128;
  --s3: #21262d;
  --bd: #30363d;
  --tx: #e6edf3;
  --t2: #8b949e;
  --t3: #6e7681;
  --th: #161b22;
  --ac: #f97316;
  --ac2: #fb923c;
  --gw: rgba(139, 148, 158, 0.18);
}

[data-theme=light] {
  /* QUANDO ATIVADO: TEMA CLARO (Light Mode) */
  --bg: #fafafa;
  --sf: #fff;
  --s2: #f5f5f5;
  --s3: #ebebeb;
  --bd: rgba(0, 0, 0, 0.08);
  --tx: #171717;
  --t2: #404040;
  --t3: #a3a3a3;
  --th: #fafafa;
  --ac: #f97316;
  --ac2: #ea580c;
  --gw: rgba(23, 23, 23, 0.12);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;overflow-x:hidden;overflow-anchor:none}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--bg);color:var(--tx);min-height:100vh}

/* ===== SHELL / SIDEBAR (inspirado no sistema Unno) ===== */
.shell{display:flex;min-height:100vh}
.sidebar{
  width:236px;flex-shrink:0;background:var(--sf);border-right:1px solid var(--bd);
  display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:250;
  transition:width .2s ease;
}
.sb-brand{
  height:54px;box-sizing:border-box;position:relative;overflow:hidden;
  padding:0 14px;border-bottom:1px solid var(--bd);
}
.sb-brand-txt{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  display:flex;flex-direction:column;min-width:0;gap:0;
  opacity:1;transition:opacity .22s ease .08s;
}
.sb-brand-name{font-size:1.35rem;font-weight:800;color:var(--tx);letter-spacing:-.3px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-brand-sub{font-size:.56rem;color:var(--t3);font-weight:700;letter-spacing:.8px;text-transform:uppercase;margin-top:1px}
.sb-brand-logo{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:30px;height:30px;object-fit:contain;
  opacity:0;pointer-events:none;transition:opacity .22s ease;
}
body[data-theme=light] .sb-brand-logo{filter:invert(1)}
.sb-nav{padding:12px 8px;display:flex;flex-direction:column;gap:2px}
.sb-section{font-size:.58rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--t3);
  padding:14px 12px 6px}
.sb-item{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:10px;
  border:1.5px solid transparent;background:transparent;color:var(--t2);
  font-family:'Inter',sans-serif;font-size:.82rem;font-weight:600;cursor:pointer;
  text-align:left;width:100%;transition:background .15s,color .15s,border-color .15s}
.sb-item svg{width:18px;height:18px;flex-shrink:0;opacity:.8}
.sb-item:hover{background:var(--s2);color:var(--tx);border-color:var(--bd)}
.sb-item.active{background:rgba(82,82,91,.16);color:var(--tx);border-color:#30363d}
.sb-item.active svg{opacity:1;color:#30363d}
.sb-foot{margin-top:auto;border-top:1px solid var(--bd);padding:0}
.sb-foot-btn{display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px;
  background:transparent;border:none;color:var(--t2);font-family:'Inter',sans-serif;
  font-size:.8rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s}
.sb-foot-btn:hover{background:var(--s2);color:var(--tx)}
.sb-foot-btn svg{width:16px;height:16px;flex-shrink:0;transition:transform .2s ease}
.sb-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:240}
.sb-backdrop.show{display:block}
.hbtn{display:none;background:none;border:none;color:var(--tx);cursor:pointer;padding:0 8px 0 0;
  margin-right:4px;align-items:center;justify-content:center;align-self:center}
.hbtn svg{width:20px;height:20px;display:block}
.content{flex:1;min-width:0}

@media(min-width:901px){
  .sidebar.collapsed{width:76px}
  .sidebar.collapsed .sb-brand{padding:0 8px}
  .sidebar.collapsed .sb-brand-txt{opacity:0;pointer-events:none;transition:opacity .12s ease}
  .sidebar.collapsed .sb-brand-logo{opacity:1;pointer-events:auto;transition:opacity .22s ease .1s}
  .sidebar.collapsed .sb-section{display:none}
  .sidebar.collapsed .sb-nav{padding:10px 12px;gap:8px;align-items:center}
  .sidebar.collapsed .sb-item{
    width:46px;height:46px;padding:0;margin:0 auto;gap:0;
    justify-content:center;border-radius:11px;
  }
  .sidebar.collapsed .sb-item span{display:none}
  .sidebar.collapsed .sb-item svg{width:19px;height:19px}
  .sidebar.collapsed .sb-item.active{
    background:rgba(82,82,91,.2);
    border-color:#30363d;
  }
  .sidebar.collapsed .login-user-badge{display:none}
  .sidebar.collapsed .sb-foot-btn{justify-content:center;padding:14px 8px}
  .sidebar.collapsed .sb-foot-btn span{display:none}
  .sidebar.collapsed .sb-foot-btn svg{transform:rotate(180deg)}
}
@media(max-width:900px){
  .sb-foot{display:none}
}

/* ===== HEADER ===== */
header{position:sticky;top:0;z-index:99;background:var(--sf);
  border-bottom:1px solid var(--bd);height:54px;padding:0 16px;
  display:flex;align-items:center;justify-content:space-between}
.hleft{display:flex;align-items:center}
.bico{width:32px;height:32px;border-radius:9px;background:#000000;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;flex-shrink:0}
.bico svg{width:100%;height:100%;object-fit:contain;padding:3px}
.bico img{width:100%;height:100%;object-fit:contain;padding:4px;display:block}
.sb-brand .bico img{padding:0}
.sb-brand .bico .bico-light{display:none}
body[data-theme=light] .sb-brand .bico .bico-dark{display:none}
body[data-theme=light] .sb-brand .bico .bico-light{display:block}
.bnm{font-size:.9rem;font-weight:600;letter-spacing:-.2px}
.bsb{font-size:.58rem;color:var(--t3);font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.stage-v3194-badge{display:inline-flex;align-items:center;margin-left:9px;padding:3px 7px;border-radius:999px;border:1px solid rgba(168,85,247,.35);background:rgba(168,85,247,.12);color:#c084fc;font-size:.54rem;font-weight:800;letter-spacing:.5px;vertical-align:middle}

.refresh-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-text {
  font-size: .75rem;
  color: var(--t2);
  font-weight: 500;
}
.ts-text-mobile{display:none}
.rb-label-short{display:none}
.refresh-btn {
  background: var(--s2);
  border: 1px solid var(--bd);
  color: var(--tx);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s, border-color 0.15s;
}
.refresh-btn:hover {
  background: var(--s3);
  border-color: var(--ac);
}

.twr{display:flex;align-items:center}
.theme-toggle-btn{width:32px;height:30px;border-radius:8px;border:none;
  background:transparent;color:var(--tx);font-size:15px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .15s,box-shadow .15s}
.theme-toggle-btn:hover{background:var(--s2);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.theme-toggle-icon{display:flex;align-items:center;justify-content:center}
.theme-toggle-icon svg{width:17px;height:17px}
.sbar{background:var(--sf);border-bottom:1px solid var(--bd);padding:12px 16px;
  display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.slbl{font-size:.6rem;font-weight:600;color:var(--t3);letter-spacing:1px;text-transform:uppercase}
.dwr{position:relative}
.sdrop{-webkit-appearance:none;appearance:none;background:var(--s2);border:1px solid var(--bd);
  border-radius:10px;color:var(--tx);font-size:.86rem;font-weight:600;
  padding:8px 38px 8px 13px;outline:none;cursor:pointer;min-width:180px;transition:box-shadow .15s}
.sdrop:focus{box-shadow:0 0 0 2px var(--gw)}
.darr{position:absolute;right:12px;top:50%;transform:translateY(-50%);
  color:var(--ac);font-size:10px;pointer-events:none}
.spill{background:var(--ac);color:var(--bg);border-radius:7px;padding:3px 10px;
  font-size:.66rem;font-weight:600}
main{padding:24px 32px 48px;max-width:1800px;margin:0 auto}
.pghead{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:6px}
.pgtitle{font-size:1.05rem;font-weight:700;letter-spacing:-.3px}
.pgsub{font-size:.72rem;color:var(--t3);font-weight:600}
.kg{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:20px}
.kg-mat{grid-template-columns:repeat(3,1fr)}
.kpi{background:var(--sf);border:1px solid var(--bd);border-radius:12px;
  padding:14px 13px 12px;position:relative;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.kl{font-size:.68rem;font-weight:600;color:var(--t3);letter-spacing:1px;text-transform:uppercase;margin-bottom:5px}
.kv{font-size:2.2rem;font-weight:700;letter-spacing:-1px;line-height:1}
.ks{font-size:.72rem;color:var(--t3);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb{background:var(--sf);border:1px solid var(--bd);border-radius:12px;
  padding:18px 20px;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.fb-mat{}
.search-wrap{position:relative}
.reneg-status-badge{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:5px;
  font-size:.62rem;font-weight:600;white-space:nowrap}
.badge-outlined{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:20px;
  font-size:.62rem;font-weight:600;line-height:1;white-space:nowrap;background:transparent;border:1px solid transparent;vertical-align:middle}
.badge-outlined .dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;margin:0}
.badge-soft{display:inline-flex;align-items:center;padding:4px 11px;border-radius:20px;
  font-size:.66rem;font-weight:600;line-height:1;white-space:nowrap;border:none;vertical-align:middle}
.hist-icon-btn{width:30px;height:30px;border-radius:8px;border:1px solid var(--bd);background:transparent;
  color:var(--t2);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:.15s ease;padding:0}
.hist-icon-btn svg{width:15px;height:15px}
.hist-icon-btn:hover{color:var(--ac);border-color:rgba(249,115,22,.5);background:rgba(249,115,22,.08)}
.cob-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.cob-kpi-card{background:var(--s2);border:1px solid var(--bd);border-radius:12px;padding:16px}
.cob-kpi-label{font-size:.62rem;color:var(--t3);font-weight:700;text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}
.cob-kpi-value{font-size:1.5rem;font-weight:700;color:var(--tx)}
.cob-bar-row{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.cob-bar-row:last-child{margin-bottom:0}
.cob-bar-label{width:110px;flex-shrink:0;font-size:.76rem;color:var(--t2);font-weight:600}
.cob-bar-track{flex:1;background:var(--bd);border-radius:6px;height:22px;position:relative;overflow:hidden}
.cob-bar-fill{height:100%;border-radius:6px;display:flex;align-items:center;padding:0 8px;font-size:.66rem;font-weight:700;color:#fff;white-space:nowrap;min-width:fit-content}
.cob-info-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--bd);font-size:.78rem}
.cob-info-row:last-child{border-bottom:none}
.cob-info-label{color:var(--t2)}
.cob-info-value{color:var(--tx);font-weight:700}
.cob-meta-track{background:var(--bd);border-radius:8px;height:28px;position:relative;overflow:hidden}
.cob-meta-fill{height:100%;border-radius:8px;background:linear-gradient(90deg,#f97316,#fb923c);display:flex;align-items:center;justify-content:flex-end;padding:0 10px;font-size:.72rem;font-weight:700;color:#fff;white-space:nowrap;min-width:fit-content}
thead th{position:relative}
.sort-arrow{display:inline-block;font-size:.6rem;color:var(--t3);margin-left:2px}
.sort-arrow.asc::after{content:'\2191'}
.sort-arrow.desc::after{content:'\2193'}
.sort-arrow:empty::after{content:'\2195';opacity:.35}
.reneg-sticky-col{position:sticky;right:0;background:var(--sf);z-index:3;box-shadow:-4px 0 6px -4px rgba(0,0,0,.4)}
.mes-venc-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:5px;
  font-size:.66rem;font-weight:600;background:var(--s2);border:1px solid var(--bd);color:var(--t2);
  margin:2px 4px 2px 0;white-space:nowrap}
thead .reneg-sticky-col{background:var(--th)}
.reneg-actions-btn{width:28px;height:28px;border-radius:8px;background:var(--s2);border:1px solid var(--bd);
  color:var(--t2);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:16px;line-height:1}
.reneg-actions-btn:hover{color:var(--tx);border-color:var(--ac)}
.reneg-actions-popup{position:fixed;z-index:300;background:var(--sf);border:1px solid var(--bd);border-radius:12px;
  padding:8px;width:210px;box-shadow:0 12px 32px rgba(0,0,0,.4);display:none}
.reneg-actions-popup.show{display:block}
.reneg-actions-popup .rap-title{font-size:.62rem;color:var(--t3);font-weight:700;text-transform:uppercase;
  letter-spacing:.5px;padding:6px 8px 8px}
.reneg-status-opt{display:flex;align-items:center;gap:9px;padding:8px;border-radius:8px;cursor:pointer;
  font-size:.8rem;font-weight:600;color:var(--tx);transition:background .12s}
.reneg-status-opt:hover{background:var(--s2)}
.reneg-status-opt .dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.search-wrap .fs{padding-left:32px;border-radius:20px!important}
.search-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--t3);
  pointer-events:none;display:flex;align-items:center;transition:color .15s}
.search-icon svg{width:13px;height:13px}
.search-wrap:focus-within .search-icon{color:var(--ac)}
.search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;
  color:var(--t3);cursor:pointer;font-size:16px;line-height:1;padding:4px;display:flex;align-items:center;justify-content:center}
.search-clear:hover{color:var(--tx)}
.search-icon svg{width:15px;height:15px}
/* Dashboard: quatro filtros com largura e altura exatamente iguais */
#page-dashboard .fb .fg{min-width:0;flex-basis:190px;width:190px}
#page-dashboard .fb .fs,
#page-dashboard .fb .dperiod{
  width:100%;height:30px;min-height:30px;padding:0 10px;line-height:30px;font-size:.78rem
}
#page-dashboard .fb .dperiod{line-height:normal}
#page-dashboard .frow .fbtn{height:30px;padding:0 12px;font-size:.72rem;display:inline-flex;align-items:center;justify-content:center;gap:4px}
/* Renegociação: linha única, com mais respiro que o Radar de Leads */
#page-renegociacao .fb{flex-wrap:nowrap;gap:16px}
#page-renegociacao .fb .fg{min-width:96px;flex:1 1 0;width:auto}
#page-renegociacao .fb .fs,
#page-renegociacao .fb .dperiod{
  width:100%;height:34px;min-height:34px;padding:0 12px;line-height:34px;font-size:.8rem
}
#page-renegociacao .fb .dperiod{line-height:normal}
#page-renegociacao .frow .fbtn{height:34px;padding:0 16px;font-size:.74rem;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.fg{display:flex;flex-direction:column;gap:4px;position:relative}
.ffx{position:absolute;top:-6px;right:-6px;width:17px;height:17px;border-radius:50%;background:var(--ac);color:#fff;
  align-items:center;justify-content:center;font-size:12px;line-height:1;cursor:pointer;border:2px solid var(--sf);
  z-index:20;font-weight:700;display:none}
.ffx.show{display:flex}
.ffx:hover{background:#c2410c}
.fb .fg{flex:0 0 220px;width:220px}
.fl{font-size:.7rem;font-weight:600;color:var(--t3);letter-spacing:.9px;text-transform:uppercase}
/* Campo com ícone à esquerda, dentro do input (padrão trazido do Novo
   Parceiro do Unno) — o ícone fica absoluto sobre o campo, e o padding
   esquerdo do .fs empurra o texto/placeholder pra não colar nele. */
.finput-icon{position:relative}
.finput-icon svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--t3);pointer-events:none;width:15px;height:15px}
.finput-icon .fs{padding-left:36px}
/* Cabeçalho de seção dentro de um card/modal — ícone circular + título +
   descrição, mesmo padrão de "Informações básicas"/"Informações
   bancárias" do Novo Parceiro. */
.modal-section{display:flex;gap:10px;align-items:flex-start}
.modal-section-icon{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--s2);
  border:1px solid var(--bd);display:flex;align-items:center;justify-content:center;color:var(--t2)}
.modal-section-icon svg{width:16px;height:16px}
.modal-section-title{font-weight:700;color:var(--tx);font-size:.86rem}
.modal-section-desc{font-size:.74rem;color:var(--t3);margin-top:1px;line-height:1.4}
.fl-info{cursor:help;color:var(--t3);opacity:.7;text-transform:none;letter-spacing:normal;font-weight:400;
  position:relative;display:inline-flex;align-items:center;vertical-align:-2px}
.fl-info svg{width:13px;height:13px}
.fl-info:hover,.fl-info:focus{opacity:1;color:var(--ac);outline:none}
.fl-tooltip{position:fixed;background:var(--s2);color:var(--tx);border:1px solid var(--bd);border-radius:10px;
  padding:10px 12px;font-size:.72rem;font-weight:400;line-height:1.55;text-transform:none;letter-spacing:normal;
  max-width:min(260px,calc(100vw - 24px));white-space:normal;box-shadow:0 12px 28px rgba(0,0,0,.45);
  opacity:0;pointer-events:none;transition:opacity .12s ease;z-index:9999}
.fl-tooltip.show{opacity:1}
.fs{background:var(--s2);border:1.5px solid var(--bd);border-radius:8px;color:var(--tx);
  font-size:.88rem;font-weight:400;padding:8px 12px;outline:none;width:100%;
  text-transform:none;letter-spacing:normal;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-appearance:none;appearance:none}
.fs:focus{border-color:var(--ac);outline:none;box-shadow:0 0 0 3px rgba(249,115,22,.25)}
.fs:-webkit-autofill,.fs:-webkit-autofill:hover,.fs:-webkit-autofill:focus,.fs:-webkit-autofill:active{
  -webkit-text-fill-color:var(--tx)!important;caret-color:var(--tx);
  transition:background-color 9999s ease-in-out 0s;
  box-shadow:0 0 0 1000px var(--s2) inset!important}
.fb .fs{padding:0 12px;height:30px;box-sizing:border-box}
.fs option{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--tx);background:var(--s2)}
.fs option:checked{background:var(--ac);color:#fff}
.fs option[value=""]{color:var(--t3)}
.csel{position:relative}
.csel select.fs{position:absolute!important;opacity:0;width:1px;height:1px;padding:0;border:0;pointer-events:none;overflow:hidden}
.csel-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;user-select:none;overflow:hidden}
.csel-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.csel-trigger.muted{color:var(--t3)}
.csel-trigger.disabled{opacity:.55;cursor:not-allowed}
.csel-arrow{flex:none;width:8px;height:8px;border-right:1.5px solid var(--t3);border-bottom:1.5px solid var(--t3);
  transform:rotate(45deg);margin-top:-3px;transition:transform .15s}
.csel.open .csel-arrow{transform:rotate(-135deg);margin-top:3px}
.csel-panel{position:fixed;background:var(--s2);border:1px solid var(--bd);
  border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.45);max-height:240px;overflow-y:auto;z-index:900;
  display:none;padding:4px}
.csel.open .csel-panel{display:block}
.csel-option{padding:9px 10px;border-radius:6px;font-size:.85rem;color:var(--tx);cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.csel-option:hover{background:rgba(249,115,22,.18)}
.csel-option.muted{color:var(--t3)}
.csel-option.selected{background:var(--ac);color:#fff;font-weight:600}
.fs:has(option[value=""]:checked){color:var(--t3)}
#ss:has(option[value="ALL"]:checked){color:var(--t3)}
#maPopup-reneg.dpcheck-popup{width:200px;padding:4px;border-radius:8px;background:var(--s2)}
.dpcheck-item{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:6px;
  font-size:.85rem;font-weight:400;color:var(--tx);cursor:pointer;white-space:nowrap}
.dpcheck-item:hover{background:rgba(249,115,22,.18)}
.dpcheck-item:has(input:checked){background:var(--ac);color:#fff;font-weight:600}
.dpcheck-item input{accent-color:var(--ac);width:14px;height:14px;flex-shrink:0;cursor:pointer}
.dpcheck-foot{border-top:1px solid var(--bd);margin-top:4px;padding-top:4px}
.dpcheck-clear{width:100%;background:none;border:none;color:var(--t3);
  border-radius:6px;padding:8px 10px;font-size:.78rem;font-weight:600;cursor:pointer;text-align:left}
.dpcheck-clear:hover{background:var(--s2);color:var(--tx)}

/* Filtros compactos — só na tela de Renegociação, por enquanto */
.frow{display:flex;align-items:flex-end;gap:10px}
.fbtn{background:var(--s2);border:1.5px solid var(--bd);color:var(--t2);border-radius:999px;
  padding:8px 18px;font-size:.78rem;font-weight:600;cursor:pointer}
.fbtn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}
.fbtn:hover:not(:disabled){border-color:var(--ac);color:var(--tx)}
.drawer-action-row .fbtn{font-size:.7rem;font-weight:400;padding:8px 12px}
.drawer-action-row .fs{font-size:.78rem;padding:8px 10px}
.rc{font-size:.72rem;color:var(--t3);font-weight:700}
.rc span{color:var(--tx);font-size:.85rem}
.cg{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}
.cc{background:var(--sf);border:1px solid var(--bd);border-radius:12px;padding:16px}
.ct{font-size:.58rem;font-weight:600;color:var(--t3);letter-spacing:1px;
  text-transform:uppercase;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.ct::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--ac)}
.rank-card .ct::before{display:none}
canvas{display:block;width:100%!important}
.chart-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;
  margin-top:10px;padding-top:12px;border-top:1px solid var(--bd)}
.chart-legend-item{display:flex;align-items:center;gap:6px;font-size:.74rem;font-weight:600;color:var(--t2)}
.chart-legend-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}


/* ===== COBRANÇAS · DASHBOARD V2.1 ===== */
#cobPanelDash{
  --cob-green:#22c55e;
  --cob-blue:#38bdf8;
  --cob-red:#ef4444;
  --cob-amber:#f59e0b;
}
.cob-dash-toolbar{
  display:flex;align-items:flex-end;justify-content:flex-start;gap:16px;
  padding:16px 18px;margin-bottom:16px;border:1px solid var(--bd);
  border-radius:14px;background:var(--sf);box-shadow:0 1px 3px rgba(0,0,0,.28)
}
.cob-dash-toolbar-left{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.cob-dash-toolbar .fg{width:190px;min-width:170px;margin:0!important}
.cob-dash-toolbar .fs,.cob-dash-toolbar .dperiod{width:100%;height:36px;min-height:36px;border-radius:9px;font-size:.76rem}
.cob-dash-error{display:none;margin-bottom:16px;padding:11px 14px;border:1px solid rgba(239,68,68,.32);border-radius:10px;background:rgba(239,68,68,.09);color:#ef4444;font-size:.72rem;font-weight:650}
.cob-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.cob-kpi-card{position:relative;overflow:hidden;min-height:132px;padding:16px;border:1px solid var(--bd);border-radius:14px;background:var(--sf);box-shadow:0 1px 3px rgba(0,0,0,.28)}
.cob-kpi-card:before{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:var(--cob-kpi-accent,var(--ac));opacity:.9}
.cob-kpi-card[data-tone="green"]{--cob-kpi-accent:var(--cob-green)}
.cob-kpi-card[data-tone="blue"]{--cob-kpi-accent:var(--cob-blue)}
.cob-kpi-card[data-tone="amber"]{--cob-kpi-accent:var(--cob-amber)}
.cob-kpi-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cob-kpi-label{margin:0;color:var(--t3);font-size:.68rem;font-weight:750;letter-spacing:.75px;text-transform:uppercase}
.cob-kpi-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid var(--bd);border-radius:9px;background:var(--s2);color:var(--t2)}
.cob-kpi-icon svg{width:15px;height:15px}
.cob-kpi-value{margin-top:16px;color:var(--tx);font-size:1.68rem;font-weight:750;letter-spacing:-.7px;line-height:1.05}
.cob-kpi-foot{display:flex;align-items:center;gap:7px;margin-top:10px;min-height:20px;color:var(--t3);font-size:.61rem;font-weight:600}
.cob-trend{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;border-radius:999px;font-size:.58rem;line-height:1;font-weight:800}
.cob-trend.up{color:#22c55e;background:rgba(34,197,94,.10)}
.cob-trend.down{color:#ef4444;background:rgba(239,68,68,.10)}
.cob-trend.neutral{color:var(--t2);background:var(--s2)}
.cob-dash-primary-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.8fr);gap:16px;margin-bottom:16px}
.cob-dash-card{overflow:hidden;border:1px solid var(--bd);border-radius:14px;background:var(--sf);box-shadow:0 1px 3px rgba(0,0,0,.28)}
.cob-dash-card-head{min-height:61px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--bd)}
.cob-dash-card-title{color:var(--tx);font-size:.78rem;font-weight:750;letter-spacing:-.1px}
.cob-dash-card-sub{margin-top:3px;color:var(--t3);font-size:.61rem;font-weight:550;line-height:1.35}
.cob-dash-chart-wrap{padding:12px 12px 4px}
.cob-dash-chart-wrap canvas{min-height:240px}
.cob-dash-chart-card .chart-legend{justify-content:flex-start;gap:8px;margin:0;padding:0;border:0}
.cob-dash-chart-card .chart-legend-item{padding:4px 8px;border:1px solid var(--bd);border-radius:999px;background:var(--s2);color:var(--t2);font-size:.6rem}
.cob-dash-chart-card .chart-legend-dot{width:7px;height:7px}
.cob-dash-meta-input{display:flex;align-items:center;gap:6px;padding:4px 7px;border:1px solid var(--bd);border-radius:8px;background:var(--s2);color:var(--t2);font-size:.61rem;font-weight:650}
.cob-dash-meta-input input{width:46px;height:24px;padding:0 5px;border:0;border-radius:5px;outline:none;background:var(--sf);color:var(--tx);font-family:'Inter',sans-serif;font-size:.68rem;font-weight:700;text-align:right}
.cob-meta-body{padding:16px}
.cob-meta-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}
.cob-meta-stat{padding:10px;border:1px solid var(--bd);border-radius:10px;background:var(--s2)}
.cob-meta-stat-label{color:var(--t3);font-size:.57rem;font-weight:700;letter-spacing:.45px;text-transform:uppercase}
.cob-meta-stat-value{margin-top:5px;color:var(--tx);font-size:.88rem;font-weight:750}
.cob-meta-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:8px}
.cob-meta-progress-label{color:var(--t2);font-size:.63rem;font-weight:650}
.cob-meta-progress-pct{color:var(--tx);font-size:1.5rem;font-weight:800;letter-spacing:-.6px}
.cob-meta-track{height:10px;border-radius:999px;overflow:hidden;background:var(--s2);border:1px solid var(--bd)}
.cob-meta-fill{height:100%;min-width:0!important;border-radius:999px;background:linear-gradient(90deg,var(--ac),var(--ac2));font-size:0;padding:0}
.cob-meta-caption{margin-top:9px;color:var(--t3);font-size:.59rem;line-height:1.4}
.cob-dash-secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.cob-dash-list{padding:5px 16px 9px}
.cob-dash-list-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:47px;border-bottom:1px solid rgba(128,128,128,.10)}
.cob-dash-list-row:last-child{border-bottom:0}
.cob-dash-list-label{color:var(--t2);font-size:.68rem;font-weight:550}
.cob-dash-list-value{color:var(--tx);font-size:.72rem;font-weight:750;white-space:nowrap}
.cob-dash-list-row.total{margin:5px -7px 0;padding:0 7px;border:1px solid rgba(249,115,22,.22);border-radius:9px;background:rgba(249,115,22,.055)}
.cob-dash-list-row.total .cob-dash-list-label{color:var(--tx);font-weight:700}
.cob-dash-list-row.total .cob-dash-list-value{color:var(--ac2)}
.cob-status-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px}
.cob-status-card{min-width:0;padding:12px;border:1px solid var(--bd);border-radius:11px;background:var(--s2)}
.cob-status-card .badge-outlined{max-width:100%}
.cob-status-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:11px}
.cob-status-number{min-width:0;padding:7px 5px;border-radius:8px;background:var(--sf);text-align:center}
.cob-status-number strong{display:block;color:var(--tx);font-size:.82rem;font-weight:800}
.cob-status-number span{display:block;margin-top:2px;color:var(--t3);font-size:.50rem;font-weight:650;text-transform:uppercase;letter-spacing:.35px}
.cob-resp-wrap{overflow-x:auto}
.cob-resp-table{min-width:760px}
.cob-resp-table thead th{padding-top:10px;padding-bottom:10px;color:var(--t3);font-size:.61rem;font-weight:750}
.cob-resp-table tbody td{padding-top:10px;padding-bottom:10px;font-size:.72rem}
.cob-resp-name{color:var(--tx);font-weight:700}
.cob-resp-total td{background:rgba(249,115,22,.05);color:var(--tx)!important;font-weight:750!important;border-top:1px solid rgba(249,115,22,.18)}
@media(max-width:1250px){.cob-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cob-dash-primary-grid{grid-template-columns:1fr}.cob-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.cob-dash-toolbar{align-items:stretch;flex-direction:column}.cob-dash-toolbar-left{display:grid;grid-template-columns:1fr 1fr}.cob-dash-toolbar .fg{width:100%;min-width:0}.cob-dash-secondary-grid{grid-template-columns:1fr}.cob-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cob-kpi-grid{grid-template-columns:1fr}.cob-dash-toolbar-left{grid-template-columns:1fr}.cob-status-grid{grid-template-columns:1fr}.cob-meta-summary{grid-template-columns:1fr}}


/* ===== COBRANÇAS · ACORDOS V2.3 PRO ===== */
#cobPanelAcordos{
  --cob-pro-ac:#ff8a3d;
  --cob-pro-ac-hover:#ff9d63;
  --cob-pro-row-hover:rgba(255,255,255,.045);
}
[data-theme=light] #cobPanelAcordos{--cob-pro-row-hover:rgba(17,24,39,.035)}

.cob-acordos-shell{display:flex;flex-direction:column;gap:12px}
.cob-acordos-head{
  min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:13px 15px;border:1px solid var(--bd);border-radius:12px;background:var(--sf)
}
.cob-acordos-title{color:var(--tx);font-size:.84rem;font-weight:760;letter-spacing:-.15px}
.cob-acordos-sub{margin-top:3px;color:var(--t3);font-size:.60rem;font-weight:520;line-height:1.35}
.cob-acordos-head-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cob-acordos-count{color:var(--t3);font-size:.61rem;font-weight:650;white-space:nowrap}
.cob-acordos-new{
  height:31px!important;padding:0 11px!important;display:inline-flex!important;align-items:center;gap:6px;
  border:1px solid transparent!important;border-radius:8px!important;background:var(--cob-pro-ac)!important;
  color:#161616!important;font-size:.63rem!important;font-weight:760!important;box-shadow:none!important
}
.cob-acordos-new:hover{background:var(--cob-pro-ac-hover)!important;transform:none!important}
.cob-acordos-new svg{width:12px;height:12px}

.cob-acordos-filters{
  display:grid;grid-template-columns:minmax(280px,1.7fr) minmax(150px,.62fr) minmax(185px,.72fr) auto;
  gap:9px;align-items:end;padding:12px 14px;border:1px solid var(--bd);border-radius:12px;background:var(--sf)
}
.cob-acordos-filter{min-width:0}
.cob-acordos-filter .fl{margin-bottom:5px;font-size:.54rem;letter-spacing:.62px}
.cob-acordos-filter .fs,.cob-acordos-filter .dperiod{
  width:100%;max-width:none!important;height:34px!important;min-height:34px!important;border-radius:8px!important;font-size:.67rem!important
}
.cob-acordos-search-wrap{position:relative}
.cob-acordos-search-wrap svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:13px;height:13px;color:var(--t3);pointer-events:none}
.cob-acordos-search-wrap .fs{padding-left:32px!important}
.cob-acordos-clear{
  height:34px;min-width:96px;padding:0 10px;border:1px solid var(--bd);border-radius:8px;background:var(--s2);color:var(--t2);
  font-family:'Inter',sans-serif;font-size:.61rem;font-weight:700;cursor:pointer;transition:.15s
}
.cob-acordos-clear:hover{border-color:rgba(255,255,255,.24);color:var(--tx);background:var(--s3)}
[data-theme=light] .cob-acordos-clear:hover{border-color:rgba(0,0,0,.14)}

.cob-acordos-table-card{overflow:hidden;border:1px solid var(--bd);border-radius:12px;background:var(--sf)}
.cob-acordos-table-top{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-bottom:1px solid var(--bd)}
.cob-acordos-table-title{color:var(--t3);font-size:.54rem;font-weight:760;text-transform:uppercase;letter-spacing:.68px}
.cob-acordos-table-hint{color:var(--t3);font-size:.54rem;font-weight:520}
.cob-acordos-tsc{overflow:auto;max-height:calc(100vh - 286px);min-height:280px}
.cob-acordos-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0}
.cob-acordos-table thead{position:sticky;top:0;z-index:4}
.cob-acordos-table thead th{
  height:36px;padding:0 11px;background:var(--th);color:var(--t3);border-bottom:1px solid var(--bd);
  font-size:.52rem;font-weight:760;text-transform:uppercase;letter-spacing:.45px;white-space:nowrap
}
.cob-acordos-table tbody tr{cursor:pointer;transition:background .12s ease}
.cob-acordos-table tbody tr:hover{background:var(--cob-pro-row-hover)!important}
.cob-acordos-table tbody td{
  padding:9px 11px;border-bottom:1px solid rgba(128,128,128,.10);color:var(--t2);font-size:.64rem;vertical-align:middle
}
.cob-acordos-table tbody tr:last-child td{border-bottom:0}
.cob-acordos-table .col-total{text-align:right}
.cob-acordos-table .col-open{width:32px;text-align:center;padding-left:4px;padding-right:7px}
.cob-acordo-id{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid var(--bd);border-radius:7px;background:var(--s2);color:var(--t2);font-size:.55rem;font-weight:700;white-space:nowrap}
.cob-acordo-aluno{display:flex;flex-direction:column;min-width:165px;gap:2px}
.cob-acordo-aluno strong{color:var(--tx);font-size:.66rem;line-height:1.25;font-weight:720}
.cob-acordo-aluno span{color:var(--t3);font-size:.53rem;font-weight:600}
.cob-acordo-course{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t2)}
.cob-acordo-chip{display:inline-flex;align-items:center;max-width:135px;padding:3px 7px;border:1px solid var(--bd);border-radius:999px;background:transparent;color:var(--t2);font-size:.54rem;font-weight:620;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cob-acordo-date{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.cob-acordo-date strong{color:var(--tx);font-size:.60rem;font-weight:650}
.cob-acordo-date span{color:var(--t3);font-size:.50rem}
.cob-acordo-contact-btn{height:26px!important;padding:0 8px!important;border-radius:999px!important;font-size:.55rem!important;white-space:nowrap;background:transparent!important;color:var(--t2)!important}
.cob-acordo-contact-btn:hover{background:var(--s2)!important;color:var(--tx)!important}
.cob-acordo-resp{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t2);font-weight:600}
.cob-acordo-money{color:var(--tx);font-size:.66rem;font-weight:760;white-space:nowrap}
.cob-acordo-chevron{width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:var(--t3);transition:.12s}
.cob-acordos-table tbody tr:hover .cob-acordo-chevron{color:var(--tx);background:rgba(255,255,255,.055)}
[data-theme=light] .cob-acordos-table tbody tr:hover .cob-acordo-chevron{background:rgba(0,0,0,.045)}
.cob-acordo-chevron svg{width:13px;height:13px}
.cob-acordos-empty,.cob-acordos-loading{padding:54px 18px!important;color:var(--t3)!important;font-size:.68rem!important}

/* Status: pill mais leve, sem cara de botão quadrado */
.cob-status-btn{
  display:inline-flex;align-items:center;gap:6px;height:27px;padding:0 9px;
  border-radius:999px!important;cursor:pointer;font-family:inherit;font-size:.59rem;font-weight:720;
  background:transparent;transition:background .13s,border-color .13s,filter .13s
}
.cob-status-btn:hover{background:rgba(255,255,255,.045)!important;filter:brightness(1.08)}
[data-theme=light] .cob-status-btn:hover{background:rgba(0,0,0,.035)!important}
.cob-status-btn svg{width:9px;height:9px;opacity:.8}
.cob-status-btn-readonly{cursor:default!important}
.cob-status-btn-readonly:hover{background:transparent!important;filter:none!important}
#cobStatusFloatMenu{
  padding:6px!important;border-radius:12px!important;background:var(--sf)!important;
  border:1px solid var(--bd)!important;box-shadow:0 18px 45px rgba(0,0,0,.42)!important
}
#cobStatusFloatMenu button{border-radius:8px!important}

/* Drawer de acordo — mais organizado e profissional */
#cobAcordoDrawerOverlay .drawer-panel{
  width:min(520px,96vw)!important;background:var(--sf);border-left:1px solid var(--bd);
  box-shadow:-18px 0 55px rgba(0,0,0,.36)
}
.cob-drawer-head{
  padding:17px 20px!important;align-items:center!important;background:var(--sf)
}
.cob-drawer-person{display:flex;align-items:center;gap:11px;min-width:0}
.cob-drawer-avatar{
  width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:var(--s2);border:1px solid var(--bd);color:var(--t2);font-size:.72rem;font-weight:800
}
.cob-drawer-name{font-size:.88rem;font-weight:760;color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cob-drawer-sub{font-size:.58rem;color:var(--t3);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
.cob-drawer-close{
  width:30px!important;height:30px!important;border-radius:8px!important;background:transparent!important;border:1px solid transparent!important
}
.cob-drawer-close:hover{background:var(--s2)!important;border-color:var(--bd)!important}
.cob-drawer-body{padding:16px 20px 84px!important}
.cob-drawer-section{margin-bottom:20px}
.cob-drawer-section-title{
  display:flex;align-items:center;gap:7px;margin-bottom:9px;padding-bottom:8px;border-bottom:1px solid rgba(128,128,128,.12);
  color:var(--t3);font-size:.55rem;font-weight:780;text-transform:uppercase;letter-spacing:.7px
}
.cob-drawer-section-title svg{width:13px;height:13px}
.cob-drawer-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cob-drawer-summary-item{padding:10px 11px;border:1px solid var(--bd);border-radius:9px;background:var(--s2)}
.cob-drawer-summary-label{color:var(--t3);font-size:.51rem;font-weight:720;text-transform:uppercase;letter-spacing:.45px}
.cob-drawer-summary-value{margin-top:4px;color:var(--tx);font-size:.68rem;font-weight:690;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cob-drawer-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#cobAcordoDrawerOverlay .fg{margin-bottom:0}
#cobAcordoDrawerOverlay .fl{margin-bottom:5px;color:var(--t2)!important;font-size:.54rem!important;font-weight:720!important}
#cobAcordoDrawerOverlay .fs,#cobAcordoDrawerOverlay .dperiod{
  height:35px!important;min-height:35px!important;border-radius:8px!important;border-width:1px!important;
  background:var(--s2)!important;font-size:.67rem!important
}
#cobAcordoDrawerOverlay textarea.fs{height:auto!important;min-height:86px!important;padding:9px 10px!important;line-height:1.45}
.cob-drawer-footer{
  position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:flex-end;gap:8px;
  padding:11px 20px;border-top:1px solid var(--bd);background:rgba(28,28,30,.94);backdrop-filter:blur(10px)
}
[data-theme=light] .cob-drawer-footer{background:rgba(255,255,255,.94)}
.cob-drawer-save{
  width:auto!important;min-width:92px;height:32px!important;margin:0!important;padding:0 15px!important;border-radius:8px!important;
  background:var(--cob-pro-ac)!important;border-color:var(--cob-pro-ac)!important;color:#161616!important;font-size:.62rem!important;font-weight:760!important
}
.cob-drawer-save:hover{background:var(--cob-pro-ac-hover)!important;border-color:var(--cob-pro-ac-hover)!important}

/* Novo acordo — mantém o conceito aprovado, com acabamento mais refinado */
#cobNovoAcordoOverlay{background:rgba(0,0,0,.58);backdrop-filter:blur(6px)}
.cob-na-card{
  text-align:left!important;width:590px!important;max-width:96vw!important;padding:0!important;max-height:92vh!important;
  display:flex!important;flex-direction:column!important;border-radius:14px!important;overflow:hidden;
  border:1px solid var(--bd)!important;box-shadow:0 26px 75px rgba(0,0,0,.52)!important
}
.cob-na-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--bd);flex-shrink:0;background:var(--sf)}
.cob-na-head-left{display:flex;gap:10px;align-items:center}
.cob-na-icon{flex-shrink:0;width:34px;height:34px;border-radius:9px;background:rgba(255,138,61,.10);border:1px solid rgba(255,138,61,.16);display:flex;align-items:center;justify-content:center;color:var(--cob-pro-ac)}
.cob-na-icon svg{width:16px;height:16px}
.cob-na-title{font-size:.91rem;font-weight:760;color:var(--tx)}
.cob-na-sub{font-size:.61rem;color:var(--t3);margin-top:2px}
.cob-na-body{padding:16px 18px;overflow-y:auto;flex:1}
.cob-na-group{padding:13px;border:1px solid var(--bd);border-radius:11px;background:rgba(255,255,255,.012)}
[data-theme=light] .cob-na-group{background:rgba(0,0,0,.012)}
.cob-na-group + .cob-na-group{margin-top:12px}
.cob-na-group-head{display:flex;gap:9px;align-items:center;margin-bottom:12px}
.cob-na-group-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--s2);border:1px solid var(--bd);color:var(--t2)}
.cob-na-group-icon svg{width:14px;height:14px}
.cob-na-group-title{font-size:.70rem;font-weight:730;color:var(--tx)}
.cob-na-group-desc{font-size:.56rem;color:var(--t3);margin-top:1px}
.cob-na-fields{display:flex;flex-direction:column;gap:10px}
.cob-na-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#cobNovoAcordoOverlay .fl{margin-bottom:5px;font-size:.53rem!important;letter-spacing:.55px}
#cobNovoAcordoOverlay .fs{height:35px!important;min-height:35px!important;border-radius:8px!important;font-size:.67rem!important}
#cobNovoAcordoOverlay .finput-icon svg{left:10px;width:13px;height:13px}
#cobNovoAcordoOverlay .finput-icon .fs{padding-left:31px!important}
.cob-na-footer{display:flex;justify-content:flex-end;gap:8px;padding:11px 18px;border-top:1px solid var(--bd);background:var(--sf);flex-shrink:0}
.cob-na-cancel,.cob-na-confirm{height:32px!important;padding:0 14px!important;border-radius:8px!important;font-size:.61rem!important;font-weight:730!important}
.cob-na-confirm{background:var(--cob-pro-ac)!important;border-color:var(--cob-pro-ac)!important;color:#161616!important}
.cob-na-confirm:hover{background:var(--cob-pro-ac-hover)!important;border-color:var(--cob-pro-ac-hover)!important}

@media(max-width:1100px){.cob-acordos-filters{grid-template-columns:minmax(230px,1.4fr) 1fr 1fr}.cob-acordos-clear{grid-column:3}}
@media(max-width:720px){
  .cob-acordos-head{align-items:flex-start;flex-direction:column}
  .cob-acordos-head-right{width:100%;justify-content:space-between}
  .cob-acordos-filters{grid-template-columns:1fr}.cob-acordos-clear{grid-column:auto;width:100%}
  .cob-acordos-tsc{max-height:none}.cob-drawer-form-grid,.cob-na-grid{grid-template-columns:1fr}
}

/* ===== TELA DE LOGIN ===== */
.login-screen{position:relative;display:flex;align-items:center;justify-content:center;
  min-height:100vh;background:#000;overflow:hidden;padding:20px}
.login-glow{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 50% 38%, rgba(249,115,22,.22) 0%, rgba(249,115,22,.06) 32%, #000 68%)}
.login-center-col{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:28px;width:100%;max-width:400px}
.login-top-logo{width:56px;height:auto;filter:drop-shadow(0 0 24px rgba(249,115,22,.35))}
.login-card{background:rgba(30,30,30,.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.1);border-radius:7px;align-self:stretch;
  padding:32px 28px;width:100%;max-width:400px;box-shadow:0 20px 60px rgba(0,0,0,.55)}
.login-submit-btn{width:100%;background:#f97316;color:#fff;border-color:#f97316;padding:8px;font-size:.82rem;border-radius:7px}
.login-submit-btn:hover{background:#fb923c;border-color:#fb923c}
#loginScreen .login-title{color:#fff}
#loginScreen .fl{color:rgba(255,255,255,.55)}
#loginScreen .fs{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:#fff;
  font-weight:400;font-size:.78rem;height:30px;padding:0 12px;box-sizing:border-box;border-radius:7px}
#loginScreen .fs:focus{border-color:#f97316}
#loginScreen .fs::placeholder{color:rgba(255,255,255,.35);font-size:.68rem}
#loginScreen .mpw-eye{color:rgba(255,255,255,.55)}
#loginScreen .mpw-eye:hover{color:#fff}
.login-remember-row{display:flex;align-items:center;gap:8px;font-size:.76rem;color:rgba(255,255,255,.6);
  margin-bottom:16px;cursor:pointer;user-select:none}
.login-remember-row input{accent-color:#f97316;width:14px;height:14px;cursor:pointer}

.login-brand{text-align:center;margin-bottom:28px}
.login-title{font-size:1.05rem;font-weight:700;color:var(--tx);margin-bottom:20px;text-align:center}
.login-error{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35);border-radius:8px;
  padding:9px 12px;color:#ef4444;font-size:.78rem;font-weight:600;margin-bottom:14px}
.login-user-badge{display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid var(--bd)}
.login-user-name{font-size:.76rem;font-weight:700;color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.login-user-email{font-size:.62rem;color:var(--t3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== GESTÃO DE USUÁRIOS ===== */
.user-card{background:var(--sf);border:1px solid var(--bd);border-radius:12px;padding:16px;margin-bottom:14px}
.perm-block{border:1px solid var(--bd);border-radius:10px;padding:12px 14px;margin-bottom:10px}
.perm-block-head{display:flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700;color:var(--tx);margin-bottom:8px}
.perm-units{display:flex;gap:14px;flex-wrap:wrap;padding-left:26px}
.perm-unit-item{display:flex;align-items:center;gap:6px;font-size:.78rem;color:var(--t2);font-weight:600}
.utable-actions{display:flex;gap:6px}
.utable-actions button{background:var(--s2);border:1px solid var(--bd);color:var(--t2);border-radius:6px;
  padding:4px 8px;font-size:.68rem;font-weight:600;cursor:pointer}
.utable-actions button:hover{color:var(--tx);border-color:var(--ac)}
.uperm-tag{display:inline-block;background:var(--s2);border-radius:5px;padding:2px 7px;font-size:.62rem;
  font-weight:600;color:var(--t2);margin:1px}
.tc{background:var(--sf);border:1px solid var(--bd);border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.th2{padding:12px 16px;border-bottom:1px solid var(--bd);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.tt{font-size:.58rem;font-weight:600;color:var(--t3);letter-spacing:1px;text-transform:uppercase}
.tsc{overflow-x:auto}
.top-scroll-wrap{overflow-x:auto;overflow-y:hidden;height:14px;display:none;border-bottom:1px solid var(--bd)}
.top-scroll-wrap.show{display:block}
.top-scroll-wrap>div{height:1px}
.top-scroll-inner{height:1px}
table{width:100%;border-collapse:collapse;font-size:.9rem}
thead th{background:var(--th);padding:11px 16px;text-align:left;font-size:.72rem;
  font-weight:700;color:var(--tx);text-transform:uppercase;white-space:nowrap;cursor:pointer}
thead th.sorted{color:var(--tx)}
tbody tr{border-bottom:1px solid rgba(128,128,128,.06)}
tbody tr:hover{background:rgba(255,255,255,.025)}
body[data-theme=light] tbody tr:hover{background:rgba(0,0,0,.025)}
tbody td{padding:11px 16px;color:var(--tx);font-weight:400;white-space:nowrap}
#page-dashboard tbody td,
#page-matriculas tbody td,
#page-renegociacao tbody td{color:var(--t2)}
.copy-cell{display:inline-flex;align-items:center;gap:6px}
.fin-code-box{font-family:ui-monospace,monospace;font-size:.76rem;line-height:1.6;word-break:break-all;
  background:var(--s2);border:1px solid var(--bd);border-radius:8px;padding:10px 12px}
.fin-code-box .copy-cell{display:inline-flex;align-items:flex-start;gap:8px}
.fin-code-box .copy-btn{opacity:1;margin-top:1px}
.copy-btn{background:transparent;border:none;color:var(--t3);cursor:pointer;
  padding:3px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .12s ease,background .12s ease,color .12s ease;flex-shrink:0}
.copy-btn svg{width:13px;height:13px}
td:hover .copy-btn,.copy-btn:focus-visible{opacity:1}
.copy-btn:hover{background:var(--s3);color:var(--tx)}
@media(max-width:900px){.copy-btn{opacity:1}}

.copy-toast{
  position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(14px);
  background:#dcfce7;color:#166534;border:1px solid #86efac;
  padding:10px 18px;border-radius:10px;font-size:.82rem;font-weight:700;
  display:flex;align-items:center;gap:8px;white-space:nowrap;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:600;
}
.copy-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.copy-toast svg{width:16px;height:16px;flex-shrink:0}
.bs{display:inline-flex;padding:2px 7px;border-radius:20px;font-size:.58rem;font-weight:600}
.bsim{background:rgba(255,255,255,0.15);color:#fff}
body[data-theme=light] .bsim{background:rgba(23,23,23,.08);color:#171717}
.bnao{background:rgba(255,255,255,.07);color:#777}
.otag{display:inline-block;padding:2px 7px;border-radius:5px;font-size:.58rem;font-weight:600;
  background:rgba(255,255,255,.06);color:var(--ac2)}
body[data-theme=light] .otag{background:rgba(23,23,23,.06);color:var(--ac2)}
.pag{padding:12px 16px;border-top:1px solid var(--bd);
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.pi{font-size:.68rem;color:var(--t3);font-weight:700}
.pbs{display:flex;gap:4px}
.pb{background:var(--s2);border:1px solid var(--bd);color:var(--t2);border-radius:6px;
  padding:4px 9px;font-size:.68rem;font-weight:600;cursor:pointer;min-width:28px;text-align:center}
.pb.on{background:var(--ac);border-color:var(--ac);color:var(--bg)}
.pb:disabled{opacity:.3;pointer-events:none}
.nr{text-align:center;padding:36px;color:var(--t3);font-size:.82rem}

.maint-banner{background:rgba(234,179,8,.12);border:1px solid rgba(234,179,8,.4);border-radius:10px;
  padding:12px 16px;margin-bottom:16px;color:#eab308;font-size:.82rem;font-weight:700}

/* ===== IMPORTAÇÃO DE LEADS ===== */
.imp-drop{display:flex;align-items:center;justify-content:center;border:1.5px dashed var(--bd);
  border-radius:10px;padding:26px 16px;cursor:pointer;color:var(--t2);font-size:.84rem;font-weight:600;
  transition:border-color .15s,background .15s;text-align:center}
.imp-drop:hover{border-color:var(--ac);background:var(--s2)}
.imp-drop #impFileLabel,
.imp-drop #impFileLabelVv{display:inline-flex;align-items:center;gap:8px}
.imp-drop-icon{width:16px;height:16px;flex-shrink:0}
.imp-file-clear{position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:50%;
  background:var(--s2);border:1px solid var(--bd);color:var(--t2);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;
  transition:background .15s,color .15s,border-color .15s}
.imp-file-clear:hover{background:var(--s3);color:var(--tx);border-color:var(--ac)}

.imp-info-box{margin-top:16px;background:var(--s2);border:1px solid var(--bd);
  border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:7px}
.imp-info-row{font-size:.78rem;color:var(--t2);line-height:1.4}
.imp-info-row strong{color:var(--tx);font-weight:700}

.imp-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;width:100%}


/* ===== IMPORTAÇÃO DATACRAZY ===== */
.dc-top-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.72fr)!important}
.dc-config-note{display:flex;gap:10px;align-items:flex-start;background:rgba(249,115,22,.08);
  border:1px solid rgba(249,115,22,.28);border-radius:10px;padding:12px 14px;color:var(--t2);
  font-size:.77rem;line-height:1.5;margin-top:12px}
.dc-config-note strong{color:var(--tx)}
.dc-config-icon{width:20px;height:20px;flex-shrink:0;border-radius:50%;background:var(--ac);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:800;margin-top:1px}
.dc-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.dc-section-head .ct{margin-bottom:0}
.dc-prog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.dc-prog-chips{display:flex;gap:8px;flex-wrap:wrap}
.dc-prog-chip{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;font-size:.72rem;font-weight:700;
  background:var(--s2);border:1px solid var(--bd);color:var(--t2)}
.dc-prog-chip b{font-size:.82rem}
.dc-prog-chip.ok{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35);color:#22c55e}
.dc-prog-chip.warn{background:rgba(249,115,22,.12);border-color:rgba(249,115,22,.35);color:#f97316}
.dc-prog-chip.amb{background:rgba(168,139,250,.14);border-color:rgba(168,139,250,.4);color:#a78bfa}
.dc-prog-chip.err{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.35);color:#ef4444}
.dc-prog-chip.wait{background:var(--s2);border-color:var(--bd);color:var(--t3)}
.dc-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dc-toolbar .search-wrap{min-width:240px;flex:1}
.dc-toolbar .fs{height:34px;padding-top:0;padding-bottom:0}
.dc-tag-selected{display:flex;gap:7px;flex-wrap:wrap;min-height:34px;margin-bottom:12px}
.dc-tag-chip{display:inline-flex;align-items:center;gap:7px;background:var(--s2);border:1px solid var(--bd);
  color:var(--tx);border-radius:20px;padding:5px 8px 5px 10px;font-size:.72rem;font-weight:600}
.dc-tag-chip button{border:none;background:transparent;color:var(--t3);cursor:pointer;font-size:15px;line-height:1;
  padding:0 2px;display:flex;align-items:center}
.dc-tag-chip button:hover{color:#ef4444}
.dc-tag-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;border:1px solid rgba(255,255,255,.22)}
.dc-tag-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;
  max-height:280px;overflow-y:auto;padding:2px}
.dc-tag-option{display:flex;align-items:center;gap:9px;background:var(--s2);border:1px solid var(--bd);
  border-radius:9px;padding:9px 10px;cursor:pointer;transition:border-color .15s,background .15s;color:var(--t2);
  font-size:.78rem;font-weight:600;min-width:0}
.dc-tag-option:hover{border-color:var(--ac);color:var(--tx)}
.dc-tag-option.selected{border-color:var(--ac);background:rgba(249,115,22,.12);color:var(--tx)}
.dc-tag-option input{accent-color:var(--ac);width:14px;height:14px;flex-shrink:0}
.dc-tag-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-meta-state{padding:22px 12px;text-align:center;color:var(--t3);font-size:.78rem;border:1px dashed var(--bd);border-radius:9px}
.dc-field-list{display:flex;flex-direction:column;gap:10px}
.dc-field-row{display:grid;grid-template-columns:minmax(190px,1.3fr) minmax(130px,.75fr) minmax(190px,1fr) 34px;
  gap:10px;align-items:end;background:var(--s2);border:1px solid var(--bd);border-radius:10px;padding:12px}
.dc-field-row .fg{min-width:0}
.dc-remove-field{width:34px;height:34px;background:transparent;border:1px solid var(--bd);border-radius:8px;
  color:var(--t3);cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center}
.dc-remove-field:hover{border-color:#ef4444;color:#ef4444;background:rgba(239,68,68,.08)}
.dc-selected-count{font-size:.68rem;color:var(--ac);font-weight:700}
.dc-field-option-list{display:flex;flex-direction:column;gap:4px;max-height:240px;overflow-y:auto}
.dc-field-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;
  border-radius:8px;cursor:pointer;font-size:.78rem;color:var(--t2)}
.dc-field-option:hover{background:var(--s2);color:var(--tx)}
.dc-field-option.selected{background:rgba(249,115,22,.12);color:var(--tx)}
.dc-field-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.dc-field-type{font-size:.68rem;color:var(--t3);flex-shrink:0}
.dc-file-summary{display:none;margin-top:12px;background:var(--s2);border:1px solid var(--bd);border-radius:9px;
  padding:10px 12px;font-size:.76rem;color:var(--t2);line-height:1.5}
.dc-file-summary.show{display:block}
.dc-file-summary strong{color:var(--tx)}
.dc-preview-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:20px;background:var(--s2);
  border:1px solid var(--bd);font-size:.62rem;color:var(--t2);font-weight:600}
.dc-loading-inline{display:inline-flex;align-items:center;gap:7px;color:var(--t3);font-size:.75rem}
.dc-loading-dot{width:8px;height:8px;border-radius:50%;background:var(--ac);animation:dcPulse 1s ease-in-out infinite alternate}
@keyframes dcPulse{from{opacity:.25;transform:scale(.75)}to{opacity:1;transform:scale(1)}}
@media(max-width:900px){
  .dc-top-grid{grid-template-columns:1fr!important}
  .dc-field-row{grid-template-columns:1fr}
  .dc-remove-field{width:100%}
  .dc-toolbar .search-wrap{min-width:100%}
}

/* ===== MODAL DE SENHA (Matrículas) ===== */
.mpw-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:500;align-items:center;justify-content:center;padding:16px}
.mpw-overlay.show{display:flex}

.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,0);z-index:600;
  opacity:0;pointer-events:none;transition:opacity .32s ease,background .32s ease,backdrop-filter .32s ease}
.drawer-overlay.show{opacity:1;pointer-events:auto;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.drawer-panel{position:fixed;top:0;right:0;bottom:0;width:min(960px,96vw);background:var(--sf);
  border-left:1px solid var(--bd);box-shadow:-12px 0 40px rgba(0,0,0,.5);
  transform:translateX(100%);transition:transform .32s ease;z-index:601;
  display:flex;flex-direction:column}
.drawer-overlay.show .drawer-panel{transform:translateX(0)}
.drawer-head{padding:20px 24px;border-bottom:1px solid var(--bd);display:flex;justify-content:space-between;align-items:flex-start;flex-shrink:0}
.drawer-close{background:none;border:none;color:var(--t3);cursor:pointer;font-size:22px;line-height:1;padding:4px}
.drawer-close:hover{color:var(--tx)}
.drawer-body{padding:20px 24px;overflow-y:auto;flex:1}
.drawer-split{display:flex;flex:1;min-height:0}
.drawer-sidebar{width:300px;flex-shrink:0;border-right:1px solid var(--bd);padding:20px;overflow-y:auto}
.drawer-main{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.drawer-tabs{display:flex;flex-wrap:wrap;gap:2px;padding:12px 24px 0;border-bottom:1px solid var(--bd);flex-shrink:0}
.drawer-tab{background:none;border:none;color:var(--t3);font-size:.76rem;font-weight:600;padding:9px 8px;cursor:pointer;
  border-bottom:2px solid transparent;white-space:nowrap;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.drawer-tab:hover{color:var(--tx)}
.drawer-tab.active{color:var(--ac);border-bottom-color:var(--ac)}
.drawer-tab-content{padding:20px 24px;overflow-y:auto;flex:1}
.drawer-tab-panel-head{display:flex;justify-content:flex-end;margin-bottom:12px}
.drawer-tab-info{background:var(--s2);border:1px solid var(--bd);border-radius:8px;padding:10px 14px;
  font-size:.78rem;color:var(--t2);line-height:1.5;margin-bottom:14px}
@media(max-width:900px){
  .drawer-panel{width:100vw}
  .drawer-split{flex-direction:column;overflow-y:auto}
  .drawer-sidebar{width:auto;border-right:none;border-bottom:1px solid var(--bd);flex-shrink:0}
  .drawer-main{overflow:visible}
  .drawer-tab-content{overflow-y:visible}
  .drawer-tabs{padding:12px 16px 0}
  .drawer-sidebar,.drawer-tab-content{padding:16px}
}
.drawer-toast{display:none;border-radius:8px;padding:10px 14px;font-size:.8rem;font-weight:700;margin-bottom:16px}
.drawer-toast.show{display:block}
.drawer-toast.ok{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35);color:#22c55e}
.drawer-toast.err{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35);color:#ef4444}
.drawer-section{margin-bottom:22px}
.drawer-section-title{font-size:.68rem;font-weight:700;color:var(--t3);text-transform:uppercase;letter-spacing:.5px;
  margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--bd);display:flex;align-items:center;justify-content:space-between}
.drawer-clear-link{font-size:.68rem;font-weight:600;text-transform:none;letter-spacing:normal;color:var(--t3);cursor:pointer}
.drawer-clear-link:hover{color:var(--ac);text-decoration:underline}
.drawer-kv-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.drawer-kv-grid.full{grid-template-columns:1fr}
.drawer-kv{min-width:0}
.drawer-kv-label{font-size:.66rem;color:var(--tx);font-weight:700;text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px}
.drawer-panel .fl{color:var(--tx)}
.drawer-kv-value{font-size:.85rem;color:var(--t2);font-weight:400;word-break:break-word}
.drawer-subtabs{display:flex;gap:14px;border-bottom:1px solid var(--bd);margin:20px 0 14px}
.drawer-subtab{background:none;border:none;color:var(--t3);font-size:.66rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.4px;padding:0 0 9px;cursor:pointer;border-bottom:2px solid transparent;text-align:left;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.drawer-subtab:hover{color:var(--tx)}
.drawer-subtab.active{color:var(--ac);border-bottom-color:var(--ac)}
.drawer-sidebar-panel{display:flex;flex-direction:column;gap:14px}
.help-section-title{font-size:.68rem;font-weight:700;color:var(--t3);text-transform:uppercase;
  letter-spacing:.5px;margin:24px 0 10px}
.help-section-title:first-child{margin-top:0}
.help-item{border:1px solid var(--bd);border-radius:10px;margin-bottom:8px;overflow:hidden}
.help-item summary{padding:12px 14px;font-size:.85rem;font-weight:600;color:var(--tx);cursor:pointer;
  list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.help-item summary::-webkit-details-marker{display:none}
.help-item summary::after{content:'+';color:var(--t3);font-size:1.1rem;font-weight:400;flex-shrink:0}
.help-item[open] summary::after{content:'\2212'}
.help-item summary:hover{background:var(--s2)}
.help-item-body{padding:0 14px 14px;font-size:.8rem;color:var(--t2);line-height:1.6}
.help-item-body b{color:var(--tx)}
.help-status-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.help-status-row:last-child{margin-bottom:0}
.help-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.pc-toggle-group{display:flex;gap:8px}
input[type=date].fs::-webkit-calendar-picker-indicator{filter:invert(.75);cursor:pointer}
body[data-theme=light] input[type=date].fs::-webkit-calendar-picker-indicator{filter:invert(.35)}
.pc-toggle-btn{flex:1;background:var(--s2);border:1.5px solid var(--bd);color:var(--t2);border-radius:8px;
  padding:8px;font-size:.82rem;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.pc-toggle-btn:hover{border-color:var(--ac)}
.pc-toggle-btn.active{background:var(--ac);border-color:var(--ac);color:var(--bg)}
.pc-info-card{display:flex;gap:12px;align-items:flex-start;background:rgba(249,115,22,.10);
  border:1px solid rgba(249,115,22,.35);border-radius:10px;padding:14px 16px;margin-top:10px}
.pc-info-icon{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--ac);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:800}
.pc-info-title{font-weight:700;color:var(--tx);font-size:.82rem;margin-bottom:4px}
.pc-info-text{color:var(--t2);font-size:.8rem;line-height:1.55}
.pc-lock-warning{background:rgba(249,115,22,.12);border:1px solid rgba(249,115,22,.4);border-radius:10px;
  padding:10px 12px;color:var(--ac);font-size:.78rem;font-weight:600;margin-bottom:14px;
  display:flex;flex-direction:column;gap:8px;line-height:1.5}
.pc-lock-warning label{display:flex;align-items:center;gap:6px;font-weight:600;cursor:pointer}
.pc-locked{opacity:.55;pointer-events:none}
.pc-wizard-card{background:var(--sf);border:1px solid var(--bd);border-radius:16px;
  width:min(760px,94vw);max-height:90vh;display:flex;flex-direction:column;
  box-shadow:0 24px 70px rgba(0,0,0,.55)}
.pc-wizard-head{padding:20px 24px;border-bottom:1px solid var(--bd);display:flex;justify-content:space-between;align-items:flex-start;flex-shrink:0}
.pc-wizard-eyebrow{font-size:.62rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--t3);margin-bottom:4px}
.pc-wizard-aluno{font-size:1rem;font-weight:700;color:var(--tx)}
.pc-wizard-body{padding:22px 24px;overflow-y:auto;flex:1}
.pc-wizard-foot{padding:16px 24px;border-top:1px solid var(--bd);display:flex;gap:10px;flex-shrink:0}
.pc-wizard-foot .fbtn{flex:1}
.pc-wcard{margin-bottom:20px}
.pc-wcard-title{font-size:.68rem;font-weight:700;color:var(--t3);text-transform:uppercase;letter-spacing:.5px;
  margin-bottom:10px;display:flex;align-items:center;gap:8px}
.badge-preview{font-size:.56rem;font-weight:700;padding:2px 7px;border-radius:20px;
  background:var(--ac);color:var(--bg);text-transform:none;letter-spacing:normal}
.pc-qtd-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.pc-qtd-btn{background:var(--s2);border:1.5px solid var(--bd);color:var(--tx);border-radius:9px;
  padding:9px 0;font-size:.84rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.pc-qtd-btn:hover{border-color:var(--ac)}
.pc-qtd-btn.active{background:var(--ac);border-color:var(--ac);color:var(--bg);font-weight:700}
.pc-hint{font-size:.82rem;color:var(--tx);line-height:1.6;margin-top:10px}
.pc-hint b{color:var(--tx)}
.pc-table-wrap{border:1px solid var(--bd);border-radius:10px;overflow:hidden}
.pc-table{width:100%;border-collapse:collapse;font-size:.84rem}
.pc-table thead th{background:var(--s2);padding:10px 14px;text-align:left;font-size:.68rem;
  font-weight:700;color:var(--t2);text-transform:uppercase;letter-spacing:.3px}
.pc-table tbody td{padding:10px 14px;color:var(--tx);border-top:1px solid var(--bd)}
.pc-table tbody tr:nth-child(odd){background:rgba(255,255,255,.015)}
.pc-table .pc-tag-entrada{font-size:.6rem;font-weight:700;padding:2px 7px;border-radius:20px;
  background:var(--ac);color:var(--bg);margin-left:6px;text-transform:uppercase}
.drawer-action-row{display:flex;gap:8px;align-items:flex-end;margin-bottom:12px;flex-wrap:wrap}
.drawer-action-row .fg{flex:1;min-width:120px;margin-bottom:0}
.mpw-card{background:var(--sf);border:1px solid var(--bd);border-radius:16px;padding:36px 32px;width:400px;box-shadow:0 20px 50px rgba(0,0,0,.4);text-align:center}
.mpw-icon{font-size:34px;margin-bottom:10px}
.mpw-title{font-size:1.15rem;font-weight:700;color:var(--tx);margin-bottom:6px}
.mpw-sub{font-size:.82rem;color:var(--t3);margin-bottom:20px;line-height:1.5}
.mpw-input-wrap{position:relative}
.mpw-input-wrap .fs{padding-right:42px}
.mpw-eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;
  cursor:pointer;color:var(--t3);display:flex;align-items:center;justify-content:center;padding:4px}
.mpw-eye:hover{color:var(--tx)}
.mpw-eye svg{width:18px;height:18px}
.mpw-error{color:#ef4444;font-size:.74rem;font-weight:600;margin-top:8px}
.mpw-actions{display:flex;gap:8px;margin-top:16px}
.mpw-actions .fbtn{flex:1}
.nc-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.nc-head-icon{flex-shrink:0;width:42px;height:42px;border-radius:12px;background:rgba(249,115,22,.14);
  color:var(--ac);font-size:1.4rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.nc-section{background:var(--s2);border:1px solid var(--bd);border-radius:12px;padding:16px;margin-bottom:14px}
.nc-section .ct{margin-bottom:14px}
.nc-req{color:var(--ac)}

/* ===== BARRA DE STATUS DA IMPORTAÇÃO ===== */
.imp-status-bar{margin-bottom:16px;border-radius:10px;padding:12px 16px;font-size:.82rem;font-weight:700;
  text-align:left;border:1px solid transparent}
.imp-status-bar.loading{background:var(--s2);border-color:var(--bd);color:var(--tx)}
.imp-status-bar.success{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.4);color:#22c55e}
.imp-status-bar.error{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.4);color:#ef4444}

/* ===== MODAL DE CONFIRMAÇÃO DE IMPORTAÇÃO ===== */
.imp-confirm-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:510;align-items:center;justify-content:center;padding:16px}
.imp-confirm-overlay.show{display:flex}
.imp-confirm-card{background:var(--sf);border:1px solid var(--bd);border-radius:14px;padding:24px;width:380px;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.imp-confirm-title{font-size:1rem;font-weight:700;color:var(--tx);margin-bottom:10px}
.imp-confirm-body{font-size:.84rem;color:var(--t2);line-height:1.6;margin-bottom:18px}
.imp-confirm-body strong{color:var(--tx)}
.imp-confirm-actions{display:flex;gap:8px}
.imp-confirm-actions .fbtn{flex:1}

/* ===== RANKING (Matrículas) ===== */
.rank-list{display:flex;flex-direction:column;gap:12px}
.rank-item{display:flex;align-items:center;gap:12px;padding:6px 2px}
.rank-pos{width:24px;height:24px;border-radius:50%;background:var(--s2);border:1px solid var(--bd);
  display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;color:var(--t2);flex-shrink:0}
.rank-info{flex:1;min-width:0}
.rank-name{font-size:.82rem;font-weight:600;color:var(--tx);margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rank-bar-track{height:6px;border-radius:4px;background:var(--s2);overflow:hidden}
.rank-bar-fill{height:100%;border-radius:4px;transition:width .3s}
.rank-stats{display:flex;flex-direction:column;align-items:flex-end;min-width:54px;flex-shrink:0}
.rank-count{font-size:.94rem;font-weight:700;color:var(--tx);line-height:1.1}
.rank-pct{font-size:.62rem;color:var(--t3);font-weight:600}

@media(max-width:900px){
  header{flex-wrap:wrap;height:auto;min-height:54px;padding:12px 14px;row-gap:6px;align-items:center}
  .hleft{flex:1 1 auto;min-width:0;order:1;display:flex;align-items:center}
  .bnm{font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bsb{display:none}
  .twr{order:2;flex-shrink:0;margin-left:8px;align-self:center}
  .theme-toggle-btn{width:32px;height:26px;font-size:13px}

  .refresh-wrapper{order:3;width:100%;flex-direction:row!important;justify-content:space-between!important;
    align-items:center!important;gap:8px!important}
  .ts-text{display:none}
  .ts-text-mobile{display:block;flex:1;min-width:0;font-size:.68rem;color:var(--t3);font-weight:500;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .refresh-btn{flex-shrink:0;padding:6px 12px;font-size:.68rem}
  .refresh-btn .rb-label{display:none}
  .refresh-btn .rb-label-short{display:inline}

  .sbar{padding:10px 14px;gap:8px}
  .sdrop{min-width:0;flex:1}
  main{padding:14px 12px 40px!important}
  .fs, .sdrop, .dperiod, .imp-drop, select, input[type=text], input[type=password], input[type=file], input[type=date]{font-size:16px!important}

  .pghead{margin-bottom:12px}
  .kg{grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-bottom:16px}
  .kg-mat{grid-template-columns:repeat(3,1fr)!important}
  .kpi{padding:11px 10px 10px}
  .kv{font-size:1.3rem!important}
  .kl{font-size:.6rem!important}
  .ks{font-size:.64rem!important}
  .cg{grid-template-columns:1fr!important;gap:12px!important;margin-bottom:16px}
  .cc{padding:14px}
  .fb{grid-template-columns:1fr 1fr!important;padding:14px;gap:10px;margin-bottom:16px}
  .fb-mat{grid-template-columns:1fr 1fr!important}
  .frow{grid-column:1/-1!important}
  .tc{border-radius:10px}
  .th2{padding:11px 14px;flex-wrap:wrap;height:auto;gap:8px}
  .th2 .search-wrap{width:100%!important}
  .th2 .fg{width:100%!important}
  .rank-list{gap:14px}

  .hbtn{display:inline-flex}
  .sidebar{position:fixed;left:0;top:0;transform:translateX(-100%);transition:transform .2s ease;box-shadow:0 0 40px rgba(0,0,0,.5)}
  .sidebar.open{transform:translateX(0)}
}
@media(max-width:420px){
  .kg{grid-template-columns:repeat(2,1fr)!important}
  .kg-mat{grid-template-columns:repeat(2,1fr)!important}
  .fb, .fb-mat{grid-template-columns:1fr!important}
}
/* Campos compactos (linha de edição da parcela em Cobranças > Parcelamentos)
   — precisa de !important porque a regra mobile logo acima força
   font-size:16px!important em select/input pra evitar zoom automático do
   iOS, e isso vencia o tamanho compacto que eu queria nesses 3 campos. */
.cob-compact-field{height:30px!important;min-height:30px!important;padding:0 8px!important;
  font-size:.78rem!important;box-sizing:border-box!important;line-height:28px!important}

/* Tira a setinha nativa (spinner) de qualquer input numérico do sistema —
   destoa do resto do painel, que não usa nenhum controle nativo do
   navegador. */
input[type=number]{-moz-appearance:textfield}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.dperiod{background:var(--s2);border:1.5px solid var(--bd);border-radius:8px;color:var(--t3);
  font-size:.82rem;font-weight:400;padding:0 12px;outline:none;width:100%;height:30px;min-height:30px;
  cursor:pointer;display:flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden;
  text-transform:none;letter-spacing:normal}
.dperiod:hover{border-color:var(--ac)}
.dperiod.active{border-color:var(--ac);color:var(--tx)}
.dpico{flex-shrink:0;display:inline-flex}
.dpico svg{width:13px;height:13px}
.dptext{font-size:inherit;font-weight:inherit;line-height:1.2;overflow:hidden;text-overflow:ellipsis}
.dpopup{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:300;
  background:var(--sf);border:1px solid var(--bd);border-radius:14px;padding:16px;
  width:300px;box-shadow:0 12px 32px rgba(0,0,0,.4)}
.dpopup.show{display:block}
.dphead{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.dpnav{background:var(--s2);border:1px solid var(--bd);color:var(--tx);border-radius:7px;
  width:28px;height:28px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center}
.dpnav:hover{border-color:var(--ac);color:var(--ac)}
.dpmy{font-size:.85rem;font-weight:700}
.dpquick{display:flex;gap:6px;margin-bottom:12px}
.dpquick button{flex:1;background:var(--s2);border:1px solid var(--bd);color:var(--t2);
  border-radius:7px;padding:6px 4px;font-size:.68rem;font-weight:700;cursor:pointer}
.dpquick button:hover{border-color:var(--ac);color:var(--ac)}
.dpgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:12px}
.dpdow{font-size:.6rem;font-weight:700;color:var(--t3);text-align:center;text-transform:uppercase;
  padding:4px 0}
.dpday{font-size:.78rem;font-weight:600;text-align:center;padding:7px 0;border-radius:7px;
  cursor:pointer;color:var(--tx);position:relative}
.dpday:hover{background:var(--s2)}
.dpday.muted{color:var(--t3);opacity:.35}
.dpday.today{box-shadow:inset 0 0 0 1.5px var(--ac)}

.dpday.sel-start{background:var(--ac)!important;color:var(--bg)!important;font-weight:600;border-radius:7px 0 0 7px}
.dpday.sel-end{background:var(--ac)!important;color:var(--bg)!important;font-weight:600;border-radius:0 7px 7px 0}
.dpday.sel-mid{background:var(--gw)!important;color:var(--tx)}
.dpday.sel-only{background:var(--ac)!important;color:var(--bg)!important;font-weight:600;border-radius:7px}

.dpfoot{display:flex;gap:8px}
.dpclear{flex:1;background:var(--s2);border:1px solid var(--bd);color:var(--t2);
  border-radius:8px;padding:8px;font-size:.76rem;font-weight:700;cursor:pointer}
.dpapply{flex:1;background:var(--ac);border:none;color:var(--bg);
  border-radius:8px;padding:8px;font-size:.76rem;font-weight:700;cursor:pointer}

::-webkit-scrollbar{width:3px;height:3px}
::-webkit-scrollbar-thumb{background:var(--s3);border-radius:2px}
img.emoji{height:1.1em;width:1.1em;margin:0 .05em 0 .1em;vertical-align:-0.2em;display:inline-block}

/* =====================================================================
   AGÊNCIA JOHN · SISTEMA COMPLETO PRO V3
   Linguagem visual baseada na tela Cobranças > Acordos aprovada.
   Esta camada é APENAS visual: IDs, funções, integrações e regras permanecem.
   ===================================================================== */

.system-pro-v3{
  --pro-ac:#ff8a3d;
  --pro-ac-hover:#ff9d63;
  --pro-ac-soft:rgba(255,138,61,.10);
  --pro-ac-border:rgba(255,138,61,.24);
  --pro-hover:rgba(177,186,196,.07);
  --pro-hover-strong:rgba(177,186,196,.10);
  --pro-panel:#161b22;
  --pro-radius:12px;
  --pro-radius-sm:8px;
  --pro-shadow:0 1px 3px rgba(0,0,0,.22);
  --pro-shadow-pop:0 22px 60px rgba(0,0,0,.44);
}

.system-pro-v3[data-theme=light]{
  --pro-hover:rgba(17,24,39,.035);
  --pro-hover-strong:rgba(17,24,39,.055);
  --pro-shadow:0 1px 3px rgba(0,0,0,.08);
  --pro-shadow-pop:0 22px 60px rgba(0,0,0,.18);
}

/* Cor principal mais clara, como em Acordos */
.system-pro-v3{
  --ac:var(--pro-ac);
  --ac2:var(--pro-ac-hover);
}
.system-pro-v3[data-theme=light]{
  --ac:var(--pro-ac);
  --ac2:#f97316;
}

/* ===== ESTRUTURA / CABEÇALHO ===== */
.system-pro-v3 header{
  height:54px;
  padding:0 14px;
  box-shadow:none;
}
.system-pro-v3 .bnm{
  font-size:.86rem;
  font-weight:720;
  letter-spacing:-.15px;
}
.system-pro-v3 .bsb{
  font-size:.55rem;
  font-weight:650;
  letter-spacing:.72px;
}
.system-pro-v3 .theme-toggle-btn,
.system-pro-v3 .hbtn{
  border-radius:8px;
  transition:background .14s ease,color .14s ease;
}
.system-pro-v3 .theme-toggle-btn:hover,
.system-pro-v3 .hbtn:hover{
  background:var(--pro-hover);
  box-shadow:none;
}

/* ===== SIDEBAR ===== */
.system-pro-v3 .sidebar{box-shadow:none}
.system-pro-v3 .sb-brand{height:54px}
.system-pro-v3 .sb-brand-name{font-size:1.18rem;font-weight:800}
.system-pro-v3 .sb-brand-sub{font-size:.53rem;letter-spacing:.76px}
.system-pro-v3 .sb-nav{padding:12px 8px;gap:3px}
.system-pro-v3 .sb-section{
  font-size:.54rem;
  letter-spacing:.9px;
  padding:13px 11px 5px;
}
.system-pro-v3 .sb-item{
  position:relative;
  min-height:39px;
  padding:9px 10px;
  gap:10px;
  border:1px solid transparent;
  border-radius:9px;
  color:var(--t2);
  font-size:.76rem;
  font-weight:620;
}
.system-pro-v3 .sb-item svg{width:17px;height:17px}
.system-pro-v3 .sb-item:hover{
  background:var(--pro-hover);
  border-color:transparent;
  color:var(--tx);
}
.system-pro-v3 .sb-item.active{
  background:var(--pro-hover-strong);
  border-color:var(--bd);
  color:var(--tx);
}
.system-pro-v3 .sb-item.active svg{color:var(--pro-ac);opacity:1}
.system-pro-v3 .sb-foot-btn{
  padding:12px 14px;
  font-size:.74rem;
}
.system-pro-v3 .sb-foot-btn:hover{background:var(--pro-hover)}

/* ===== CONTEÚDO / TÍTULOS ===== */
.system-pro-v3 main{
  padding:26px 32px 48px;
}
.system-pro-v3 .pghead{
  align-items:flex-start;
  margin-bottom:17px;
  gap:8px;
}
.system-pro-v3 .pgtitle{
  font-size:1rem;
  font-weight:760;
  letter-spacing:-.25px;
}
.system-pro-v3 .pgsub{
  margin-top:3px;
  font-size:.64rem;
  font-weight:540;
  line-height:1.4;
  color:var(--t3);
}

/* ===== ABAS ===== */
.system-pro-v3 .drawer-tabs{
  gap:4px;
  padding:0!important;
  margin-bottom:18px!important;
  border-bottom:1px solid var(--bd)!important;
}
.system-pro-v3 .drawer-tab{
  position:relative;
  min-height:38px;
  padding:9px 9px 10px;
  border-bottom:2px solid transparent;
  color:var(--t3);
  font-size:.67rem;
  font-weight:620;
  transition:color .13s ease,background .13s ease;
}
.system-pro-v3 .drawer-tab:hover{
  color:var(--tx);
  background:transparent;
}
.system-pro-v3 .drawer-tab.active{
  color:var(--tx);
  border-bottom-color:var(--pro-ac);
}
.system-pro-v3 .drawer-tab.active::after{display:none}

/* ===== FORMULÁRIOS ===== */
.system-pro-v3 .fl{
  margin-bottom:5px;
  color:var(--t3);
  font-size:.54rem;
  font-weight:720;
  letter-spacing:.58px;
}
.system-pro-v3 .fs,
.system-pro-v3 .sdrop,
.system-pro-v3 .dperiod{
  min-height:35px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--tx);
  font-size:.67rem;
  font-weight:520;
  box-shadow:none;
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease;
}
.system-pro-v3 input.fs,
.system-pro-v3 select.fs{height:35px}
.system-pro-v3 textarea.fs{
  padding:9px 10px;
  line-height:1.45;
}
.system-pro-v3 .fs:hover,
.system-pro-v3 .sdrop:hover,
.system-pro-v3 .dperiod:hover{
  border-color:rgba(255,255,255,.23);
}
.system-pro-v3[data-theme=light] .fs:hover,
.system-pro-v3[data-theme=light] .sdrop:hover,
.system-pro-v3[data-theme=light] .dperiod:hover{
  border-color:rgba(0,0,0,.14);
}
.system-pro-v3 .fs:focus,
.system-pro-v3 .sdrop:focus{
  outline:none;
  border-color:rgba(255,138,61,.58);
  box-shadow:0 0 0 2px rgba(255,138,61,.08);
}
.system-pro-v3 .finput-icon svg{color:var(--t3)}

/* ===== BOTÕES ===== */
.system-pro-v3 .fbtn{
  min-height:32px;
  padding:0 12px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-size:.62rem;
  font-weight:700;
  box-shadow:none;
  transition:background .13s ease,border-color .13s ease,color .13s ease;
}
.system-pro-v3 .fbtn:hover:not(:disabled){
  background:var(--pro-hover-strong);
  border-color:rgba(255,255,255,.23);
  color:var(--tx);
}
.system-pro-v3[data-theme=light] .fbtn:hover:not(:disabled){
  border-color:rgba(0,0,0,.14);
}
.system-pro-v3 button[style*="background:var(--ac)"],
.system-pro-v3 .imp-confirm-actions button[style*="background:var(--ac)"],
.system-pro-v3 .mpw-actions button[style*="background:var(--ac)"]{
  background:var(--pro-ac)!important;
  border-color:var(--pro-ac)!important;
  color:#161616!important;
  box-shadow:none!important;
}
.system-pro-v3 button[style*="background:var(--ac)"]:hover{
  background:var(--pro-ac-hover)!important;
  border-color:var(--pro-ac-hover)!important;
}
.system-pro-v3 .hist-icon-btn{
  width:30px;height:30px;
  border-radius:8px;
}
.system-pro-v3 .hist-icon-btn:hover{
  color:var(--tx);
  border-color:rgba(255,255,255,.23);
  background:var(--pro-hover);
}

/* ===== CARDS / PAINÉIS ===== */
.system-pro-v3 .kpi,
.system-pro-v3 .cc,
.system-pro-v3 .fb,
.system-pro-v3 .nc-section,
.system-pro-v3 .perm-block,
.system-pro-v3 .pc-info-card,
.system-pro-v3 .drawer-tab-info,
.system-pro-v3 .imp-info-box{
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
  box-shadow:none;
}
.system-pro-v3 .kpi{
  min-height:105px;
  padding:14px;
}
.system-pro-v3 .kpi::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:2px;
  background:var(--pro-ac);
  opacity:.75;
}
.system-pro-v3 .kl{
  font-size:.56rem;
  font-weight:760;
  letter-spacing:.65px;
  margin-bottom:9px;
}
.system-pro-v3 .kv{
  font-size:1.65rem;
  font-weight:800;
  letter-spacing:-.6px;
}
.system-pro-v3 .ks{
  margin-top:7px;
  font-size:.56rem;
}
.system-pro-v3 .fb{
  padding:14px 15px;
  margin-bottom:16px;
  gap:11px;
}
.system-pro-v3 .cc{padding:14px}
.system-pro-v3 .ct{
  margin-bottom:10px;
  color:var(--t3);
  font-size:.55rem;
  font-weight:760;
  letter-spacing:.68px;
}
.system-pro-v3 .ct::before{
  width:5px;height:5px;
  background:var(--pro-ac);
}

/* ===== TABELAS ===== */
.system-pro-v3 .tsc,
.system-pro-v3 .pc-table-wrap{
  overflow:auto;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
  box-shadow:none;
}
.system-pro-v3 table{
  border-collapse:separate;
  border-spacing:0;
}
.system-pro-v3 table thead th{
  background:var(--th);
  color:var(--t3);
  font-size:.53rem;
  font-weight:760;
  letter-spacing:.48px;
  text-transform:uppercase;
}
.system-pro-v3 table tbody td{
  border-bottom-color:rgba(128,128,128,.10);
}
.system-pro-v3 table tbody tr{
  transition:background .12s ease;
}
.system-pro-v3 table tbody tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 .pc-table tbody tr:nth-child(odd){
  background:transparent;
}
.system-pro-v3 .pc-table tbody tr:nth-child(odd):hover{
  background:var(--pro-hover)!important;
}

/* ===== PAGINAÇÃO / CONTADORES ===== */
.system-pro-v3 .pag{
  gap:6px;
}
.system-pro-v3 .pb,
.system-pro-v3 .pi{
  min-width:30px;
  height:30px;
  border-radius:8px;
  border:1px solid var(--bd);
  background:var(--s2);
  color:var(--t2);
}
.system-pro-v3 .pb:hover,
.system-pro-v3 .pi:hover{
  background:var(--pro-hover);
  color:var(--tx);
  border-color:rgba(255,255,255,.22);
}
.system-pro-v3 .pb.active,
.system-pro-v3 .pi.active{
  background:var(--pro-ac)!important;
  border-color:var(--pro-ac)!important;
  color:#161616!important;
}
.system-pro-v3 .rc{font-size:.61rem;font-weight:620}

/* ===== BADGES / CHIPS ===== */
.system-pro-v3 .badge-outlined,
.system-pro-v3 .badge-soft,
.system-pro-v3 .reneg-status-badge,
.system-pro-v3 .otag,
.system-pro-v3 .uperm-tag{
  border-radius:999px;
  font-size:.55rem;
  font-weight:680;
}
.system-pro-v3 .badge-soft{
  padding:4px 8px;
}
.system-pro-v3 .reneg-status-badge{
  padding:3px 8px;
}

/* ===== IMPORTAÇÃO ===== */
.system-pro-v3 .imp-drop{
  border:1px dashed rgba(255,255,255,.20);
  border-radius:12px;
  background:var(--sf);
  transition:border-color .14s ease,background .14s ease;
}
.system-pro-v3[data-theme=light] .imp-drop{border-color:rgba(0,0,0,.14)}
.system-pro-v3 .imp-drop:hover,
.system-pro-v3 .imp-drop.drag{
  border-color:rgba(255,138,61,.50);
  background:var(--pro-ac-soft);
}
.system-pro-v3 .imp-drop-icon{
  color:var(--t2);
  background:var(--s2);
  border:1px solid var(--bd);
}
.system-pro-v3 .imp-map-grid{
  gap:10px;
}
.system-pro-v3 .imp-status-bar{
  border-radius:9px;
  padding:10px 12px;
  font-size:.68rem;
}
.system-pro-v3 .imp-file-clear{
  border-radius:7px;
}
.system-pro-v3 .dc-section-head{
  border-bottom-color:rgba(128,128,128,.12);
}
.system-pro-v3 .dc-meta-state{
  border-radius:999px;
}

/* ===== RENEGOCIAÇÃO / MATRÍCULAS ===== */
.system-pro-v3 #page-renegociacao .fb,
.system-pro-v3 #page-matriculas .fb,
.system-pro-v3 #page-dashboard .fb{
  gap:10px;
}
.system-pro-v3 #page-renegociacao .frow .fbtn,
.system-pro-v3 #page-dashboard .frow .fbtn{
  height:34px;
  padding:0 11px;
  border-radius:8px;
  font-size:.61rem;
}
.system-pro-v3 .reneg-actions-popup{
  border:1px solid var(--bd)!important;
  border-radius:11px!important;
  background:var(--sf)!important;
  box-shadow:var(--pro-shadow-pop)!important;
  padding:6px!important;
}
.system-pro-v3 .reneg-actions-popup button{
  border-radius:8px!important;
}
.system-pro-v3 .reneg-actions-popup button:hover{
  background:var(--pro-hover)!important;
}

/* ===== PRODUTOS / CONFIGURAÇÕES AUXILIARES ===== */
.system-pro-v3 .pc-wcard{
  margin-bottom:16px;
}
.system-pro-v3 .pc-wcard-title{
  margin-bottom:8px;
  font-size:.56rem;
  letter-spacing:.62px;
}
.system-pro-v3 .pc-qtd-grid{gap:7px}
.system-pro-v3 .pc-qtd-btn{
  min-height:34px;
  padding:7px 0;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  font-size:.68rem;
}
.system-pro-v3 .pc-qtd-btn:hover{
  background:var(--pro-hover);
  border-color:rgba(255,255,255,.22);
}
.system-pro-v3 .pc-qtd-btn.active{
  background:var(--pro-ac);
  border-color:var(--pro-ac);
  color:#161616;
}
.system-pro-v3 .badge-preview,
.system-pro-v3 .pc-table .pc-tag-entrada{
  background:var(--pro-ac);
  color:#161616;
}

/* ===== DRAWERS GERAIS ===== */
.system-pro-v3 .drawer-overlay{
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(5px);
}
.system-pro-v3 .drawer-panel{
  background:var(--sf);
  box-shadow:-18px 0 55px rgba(0,0,0,.34);
}
.system-pro-v3 .drawer-head{
  min-height:61px;
  border-bottom:1px solid var(--bd);
}
.system-pro-v3 .drawer-close{
  border-radius:8px;
  transition:background .13s ease,border-color .13s ease;
}
.system-pro-v3 .drawer-close:hover{
  background:var(--pro-hover);
}
.system-pro-v3 .drawer-kv-grid{
  gap:8px;
}
.system-pro-v3 .drawer-kv{
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
  padding:9px 10px;
}
.system-pro-v3 .drawer-kv-label{
  font-size:.51rem;
  font-weight:720;
  letter-spacing:.42px;
}
.system-pro-v3 .drawer-kv-value{
  font-size:.66rem;
  font-weight:650;
}
.system-pro-v3 .drawer-section-title{
  font-size:.55rem;
  letter-spacing:.66px;
  border-bottom-color:rgba(128,128,128,.12);
}

/* ===== MODAIS ===== */
.system-pro-v3 .mpw-overlay,
.system-pro-v3 .imp-confirm-overlay{
  background:rgba(0,0,0,.60);
  backdrop-filter:blur(6px);
}
.system-pro-v3 .mpw-card,
.system-pro-v3 .imp-confirm-card{
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--sf);
  box-shadow:var(--pro-shadow-pop);
}
.system-pro-v3 .mpw-card{
  padding:25px 26px;
}
.system-pro-v3 .mpw-title,
.system-pro-v3 .imp-confirm-title{
  font-size:.9rem;
  font-weight:760;
}
.system-pro-v3 .mpw-sub{
  font-size:.62rem;
  line-height:1.45;
}
.system-pro-v3 .mpw-actions,
.system-pro-v3 .imp-confirm-actions{
  gap:8px;
}
.system-pro-v3 .mpw-actions .fbtn,
.system-pro-v3 .imp-confirm-actions .fbtn{
  min-width:82px;
}

/* ===== USUÁRIOS / PERMISSÕES ===== */
.system-pro-v3 .perm-block{
  padding:12px 13px;
  margin-bottom:10px;
}
.system-pro-v3 .perm-block-head{
  font-size:.68rem;
  font-weight:700;
}
.system-pro-v3 #usersList > div{
  border-radius:12px;
}
.system-pro-v3 #usersList button:hover{
  background:var(--pro-hover)!important;
}

/* ===== AJUDA / DETAILS ===== */
.system-pro-v3 .help-item{
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--sf);
  overflow:hidden;
}
.system-pro-v3 .help-item summary{
  transition:background .13s ease;
}
.system-pro-v3 .help-item summary:hover{
  background:var(--pro-hover);
}
.system-pro-v3 .help-section-title{
  color:var(--t3);
  font-size:.56rem;
  letter-spacing:.65px;
}

/* ===== LOGIN ===== */
.system-pro-v3 .login-card{
  border-radius:14px;
  border:1px solid var(--bd);
  box-shadow:var(--pro-shadow-pop);
}
.system-pro-v3 .login-card .fs{
  min-height:38px;
}
.system-pro-v3 .login-btn{
  border-radius:8px!important;
  background:var(--pro-ac)!important;
  color:#161616!important;
  box-shadow:none!important;
}
.system-pro-v3 .login-btn:hover{
  background:var(--pro-ac-hover)!important;
}

/* ===== SELECTS / POPUPS FLUTUANTES ===== */
.system-pro-v3 .dpopup,
.system-pro-v3 .dpcheck-popup,
.system-pro-v3 [id$="FloatMenu"]{
  border-radius:11px!important;
  border:1px solid var(--bd)!important;
  background:var(--sf)!important;
  box-shadow:var(--pro-shadow-pop)!important;
}
.system-pro-v3 .dpquick:hover,
.system-pro-v3 .dpcheck-item:hover{
  background:var(--pro-hover);
}

/* ===== COBRANÇAS: mantém o refinamento de Acordos e espalha a linguagem ===== */
.system-pro-v3 #cobPanelDash .cob-dash-toolbar,
.system-pro-v3 #cobPanelDash .cob-dash-card,
.system-pro-v3 #cobPanelParcelamentos > .fb,
.system-pro-v3 #cobPanelMensagens > .fb{
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #cobPanelDash .cob-dash-toolbar,
.system-pro-v3 #cobPanelDash .cob-dash-card,
.system-pro-v3 #cobPanelAcordosFinanceiro > .fb,
.system-pro-v3 #cobPanelMensagens > .fb{
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #cobPanelDash .cob-kpi-card{
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #cobPanelDash .cob-meta-fill{
  background:linear-gradient(90deg,var(--pro-ac),var(--pro-ac-hover));
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-new,
.system-pro-v3 #cobNovoAcordoOverlay .cob-na-confirm,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-save{
  background:var(--pro-ac)!important;
  border-color:var(--pro-ac)!important;
  color:#161616!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-new:hover,
.system-pro-v3 #cobNovoAcordoOverlay .cob-na-confirm:hover,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-save:hover{
  background:var(--pro-ac-hover)!important;
  border-color:var(--pro-ac-hover)!important;
}

/* ===== SCROLLBAR ===== */
.system-pro-v3 *{
  scrollbar-width:thin;
  scrollbar-color:var(--s3) transparent;
}
.system-pro-v3 *::-webkit-scrollbar{width:8px;height:8px}
.system-pro-v3 *::-webkit-scrollbar-track{background:transparent}
.system-pro-v3 *::-webkit-scrollbar-thumb{
  background:var(--s3);
  border:2px solid transparent;
  background-clip:padding-box;
  border-radius:999px;
}

/* ===== RESPONSIVO ===== */
@media(max-width:900px){
  .system-pro-v3 main{padding:20px 16px 36px}
  .system-pro-v3 .pgtitle{font-size:.95rem}
  .system-pro-v3 .fb{padding:12px}
  .system-pro-v3 .kg{gap:9px}
}
@media(max-width:620px){
  .system-pro-v3 .kpi{min-height:92px}
  .system-pro-v3 .kv{font-size:1.45rem}
  .system-pro-v3 .drawer-tab{font-size:.63rem}
}




/* ===================== PARCELAMENTOS ===================== */
.system-pro-v3 #cobPanelParcelamentos{
  --parc-green:#22c55e;
  --parc-amber:#f59e0b;
  --parc-red:#ef4444;
}
.system-pro-v3 #cobPanelAcordosFinanceiro{
  --parc-green:#22c55e;
  --parc-amber:#f59e0b;
  --parc-red:#ef4444;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card{
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
  box-shadow:none;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card{
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
  box-shadow:none;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2{
  min-height:60px;
  padding:13px 15px;
  background:var(--sf);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2{
  min-height:60px;
  padding:13px 15px;
  background:var(--sf);
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 .tt{
  color:var(--tx);
  font-size:.72rem;
  font-weight:740;
  letter-spacing:-.05px;
  text-transform:none;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 .tt{
  color:var(--tx);
  font-size:.72rem;
  font-weight:740;
  letter-spacing:-.05px;
  text-transform:none;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  margin-top:4px!important;
  color:var(--t3)!important;
  font-size:.59rem!important;
  line-height:1.35;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  margin-top:4px!important;
  color:var(--t3)!important;
  font-size:.59rem!important;
  line-height:1.35;
}
.system-pro-v3 #cobParcelasCount{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 8px;
  border:1px solid var(--pro-ac-border);
  border-radius:999px;
  background:var(--pro-ac-soft);
  color:var(--pro-ac)!important;
  font-size:.57rem!important;
  font-weight:720!important;
}

/* filtros no mesmo padrão da aba Acordos */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
  display:grid;
  grid-template-columns:minmax(260px,1.5fr) minmax(150px,.55fr) minmax(180px,.65fr);
  gap:9px;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--bd);
  background:var(--sf);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
  display:grid;
  grid-template-columns:minmax(260px,1.5fr) minmax(150px,.55fr) minmax(180px,.65fr);
  gap:9px;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--bd);
  background:var(--sf);
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .dperiod{
  width:100%;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  background:var(--s2);
  font-size:.65rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .dperiod{
  width:100%;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  background:var(--s2);
  font-size:.65rem!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBusca{
  padding-left:11px;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasFiltroStatus{
  display:none;
}

/* tabela principal */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table-wrap{
  max-height:calc(100vh - 285px);
  min-height:260px;
  border:0;
  border-radius:0;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table-wrap{
  max-height:calc(100vh - 285px);
  min-height:260px;
  border:0;
  border-radius:0;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table{
  min-width:930px;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table{
  min-width:930px;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead{
  position:sticky;
  top:0;
  z-index:3;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead{
  position:sticky;
  top:0;
  z-index:3;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th{
  height:36px;
  padding:0 11px;
  background:var(--th);
  color:var(--t3);
  font-size:.51rem;
  font-weight:760;
  letter-spacing:.46px;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  height:36px;
  padding:0 11px;
  background:var(--th);
  color:var(--t3);
  font-size:.51rem;
  font-weight:760;
  letter-spacing:.46px;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr{
  background:transparent!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr{
  background:transparent!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td{
  padding:10px 11px!important;
  color:var(--t2);
  font-size:.64rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td{
  padding:10px 11px!important;
  color:var(--t2);
  font-size:.64rem;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td:nth-child(2){
  color:var(--t2);
  font-size:.56rem;
  font-weight:700;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:nth-child(2){
  color:var(--t2);
  font-size:.56rem;
  font-weight:700;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td:nth-child(2):not([colspan]){
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:nth-child(2):not([colspan]){
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td:nth-child(3){
  color:var(--tx);
  font-weight:700;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:nth-child(3){
  color:var(--tx);
  font-weight:700;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td:nth-child(4){
  color:var(--tx);
  font-weight:620;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:nth-child(4){
  color:var(--tx);
  font-weight:620;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td:nth-child(5){
  color:var(--tx);
  font-weight:650;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:nth-child(5){
  color:var(--tx);
  font-weight:650;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td:first-child{
  width:30px;
  color:var(--t3)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:first-child{
  width:30px;
  color:var(--t3)!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:hover > td:first-child{
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:hover > td:first-child{
  color:var(--tx)!important;
}

/* bloco expandido */
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"]{
  padding:0 10px 12px 39px!important;
  background:transparent;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"]{
  padding:0 10px 12px 39px!important;
  background:transparent;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"] > table{
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
  border-collapse:separate!important;
  border-spacing:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"] > table{
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
  border-collapse:separate!important;
  border-spacing:0!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"] > table thead th{
  height:33px;
  padding-top:0!important;
  padding-bottom:0!important;
  background:rgba(255,255,255,.018);
  color:var(--t3)!important;
  font-size:.49rem!important;
  letter-spacing:.43px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"] > table thead th{
  height:33px;
  padding-top:0!important;
  padding-bottom:0!important;
  background:rgba(255,255,255,.018);
  color:var(--t3)!important;
  font-size:.49rem!important;
  letter-spacing:.43px!important;
}
.system-pro-v3[data-theme=light] #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"] > table thead th{
  background:rgba(0,0,0,.018);
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"] > table thead th{
  background:rgba(0,0,0,.018);
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"] > table tbody tr{
  background:transparent!important;
  border-top:1px solid rgba(128,128,128,.10)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"] > table tbody tr{
  background:transparent!important;
  border-top:1px solid rgba(128,128,128,.10)!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"] > table tbody tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"] > table tbody tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr > td[colspan="5"] > table tbody td{
  padding-top:8px!important;
  padding-bottom:8px!important;
  color:var(--t2);
  font-size:.61rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td[colspan="5"] > table tbody td{
  padding-top:8px!important;
  padding-bottom:8px!important;
  color:var(--t2);
  font-size:.61rem;
}
.system-pro-v3 #cobPanelParcelamentos .badge-soft{
  padding:3px 8px;
  border:1px solid rgba(255,255,255,.08);
  font-size:.52rem;
  font-weight:720;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .badge-soft{
  padding:3px 8px;
  border:1px solid rgba(255,255,255,.08);
  font-size:.52rem;
  font-weight:720;
}
.system-pro-v3[data-theme=light] #cobPanelParcelamentos .badge-soft{
  border-color:rgba(0,0,0,.06);
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .badge-soft{
  border-color:rgba(0,0,0,.06);
}
.system-pro-v3 #cobPanelParcelamentos .fbtn{
  min-height:27px!important;
  height:27px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--t2)!important;
  font-size:.56rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .fbtn{
  min-height:27px!important;
  height:27px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--t2)!important;
  font-size:.56rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .fbtn:hover{
  background:var(--pro-hover)!important;
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .fbtn:hover{
  background:var(--pro-hover)!important;
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-compact-field{
  height:30px!important;
  min-height:30px!important;
  font-size:.60rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-compact-field{
  height:30px!important;
  min-height:30px!important;
  font-size:.60rem!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasEmpty,
.system-pro-v3 #cobPanelParcelamentos #cobParcelasLoading{
  padding:46px 18px;
  color:var(--t3);
  font-size:.65rem;
}

/* ===================== IMPORTAÇÃO ===================== */
.system-pro-v3 #page-importacao{
  --imp-pro-ac:var(--pro-ac);
}
.system-pro-v3 #page-importacao .drawer-tabs{
  margin-bottom:16px!important;
}

/* cards iniciais RA / VV */
.system-pro-v3 #page-importacao .imp-start-grid{
  gap:12px!important;
  margin-bottom:14px!important;
}
.system-pro-v3 #page-importacao .imp-start-grid > .cc{
  position:relative;
  min-height:154px;
  padding:14px;
  border-radius:12px;
  background:var(--sf);
}
.system-pro-v3 #page-importacao .imp-start-grid > .cc .ct{
  margin-bottom:10px;
  color:var(--tx);
  font-size:.65rem;
  font-weight:730;
  letter-spacing:-.03px;
  text-transform:none;
}
.system-pro-v3 #page-importacao .imp-start-grid > .cc .ct::before{
  width:4px;
  height:14px;
  border-radius:999px;
  background:var(--imp-pro-ac);
}

/* upload */
.system-pro-v3 #page-importacao .imp-drop{
  min-height:88px;
  padding:16px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:10px;
  background:var(--s2);
  color:var(--t2);
  font-size:.68rem;
  font-weight:650;
}
.system-pro-v3[data-theme=light] #page-importacao .imp-drop{
  border-color:rgba(0,0,0,.15);
}
.system-pro-v3 #page-importacao .imp-drop:hover,
.system-pro-v3 #page-importacao .imp-drop.drag{
  border-color:rgba(255,138,61,.52);
  background:var(--pro-ac-soft);
}
.system-pro-v3 #page-importacao .imp-drop #impFileLabel,
.system-pro-v3 #page-importacao .imp-drop #impFileLabelVv,
.system-pro-v3 #page-importacao .imp-drop #dcFileLabel{
  display:flex;
  align-items:center;
  gap:9px;
}
.system-pro-v3 #page-importacao .imp-drop-icon{
  width:34px!important;
  height:34px!important;
  box-sizing:border-box;
  padding:8px;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--sf);
  color:var(--imp-pro-ac);
}
.system-pro-v3 #page-importacao .imp-file-clear{
  width:24px;
  height:24px;
  top:7px;
  right:7px;
  border-radius:7px;
  background:var(--sf);
  font-size:15px;
}
.system-pro-v3 #page-importacao .imp-file-clear:hover{
  border-color:rgba(255,255,255,.22);
  color:var(--tx);
}

/* bloco "Envio na hora" */
.system-pro-v3 #page-importacao .imp-info-box{
  margin-top:10px;
  padding:10px 11px;
  border-radius:9px;
  background:var(--s2);
  border-color:rgba(128,128,128,.15);
}
.system-pro-v3 #page-importacao .imp-info-box > div:first-child[style*="width:34px"]{
  width:30px!important;
  height:30px!important;
  border-radius:8px!important;
  background:var(--pro-ac-soft)!important;
}
.system-pro-v3 #page-importacao .imp-info-box svg[stroke="#f97316"]{
  stroke:var(--imp-pro-ac)!important;
}
.system-pro-v3 #page-importacao .imp-info-box div[style*="font-size:.78rem"]{
  font-size:.65rem!important;
}
.system-pro-v3 #page-importacao .imp-info-box div[style*="font-size:.72rem"]{
  font-size:.57rem!important;
  color:var(--t3)!important;
}

/* cards de mapeamento */
.system-pro-v3 #page-importacao #impMapCard,
.system-pro-v3 #page-importacao #impMapCardVv,
.system-pro-v3 #page-importacao #dcMapCard{
  padding:14px;
  margin-bottom:14px!important;
  border-radius:12px;
}
.system-pro-v3 #page-importacao .imp-map-grid{
  gap:9px;
}
.system-pro-v3 #page-importacao .imp-map-grid .fg{
  margin-bottom:0;
}

/* preview: compacto, sem aquele espaço enorme vazio */
.system-pro-v3 #page-importacao .imp-preview-card{
  margin-bottom:14px!important;
  overflow:hidden;
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #page-importacao .imp-preview-card > .th2{
  min-height:46px;
  padding:10px 13px;
}
.system-pro-v3 #page-importacao .imp-preview-card > .th2 .tt{
  color:var(--tx);
  font-size:.65rem;
  font-weight:730;
  letter-spacing:-.03px;
  text-transform:none;
}
.system-pro-v3 #page-importacao .imp-preview-card .tsc{
  min-height:104px;
  max-height:340px;
  border:0;
  border-radius:0;
}
.system-pro-v3 #page-importacao .imp-preview-card .nr{
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px 18px;
  color:var(--t3);
  font-size:.63rem;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.012));
}
.system-pro-v3[data-theme=light] #page-importacao .imp-preview-card .nr{
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.012));
}
.system-pro-v3 #page-importacao .imp-preview-card thead th{
  height:34px;
  padding:0 10px;
  font-size:.49rem;
}
.system-pro-v3 #page-importacao .imp-preview-card tbody td{
  padding:8px 10px;
  font-size:.60rem;
}
.system-pro-v3 #page-importacao .imp-preview-card .pag{
  min-height:39px;
  padding:7px 11px;
  background:rgba(255,255,255,.01);
}
.system-pro-v3[data-theme=light] #page-importacao .imp-preview-card .pag{
  background:rgba(0,0,0,.01);
}
/* remove o quadradinho de paginação quando não há arquivo */
.system-pro-v3 #page-importacao .imp-preview-card .pag:has(.pi:empty):has(.pbs:empty){
  display:none;
}

/* ações de importação */
.system-pro-v3 #page-importacao .imp-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  padding-top:1px;
}
.system-pro-v3 #page-importacao .imp-actions .fbtn{
  min-width:auto;
  height:32px!important;
  min-height:32px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:.61rem!important;
}
.system-pro-v3 #page-importacao .imp-actions button[style*="background:var(--ac)"]{
  background:var(--pro-ac)!important;
  border-color:var(--pro-ac)!important;
  color:#161616!important;
}
.system-pro-v3 #page-importacao .imp-actions button[style*="background:var(--ac)"]:hover:not(:disabled){
  background:var(--pro-ac-hover)!important;
  border-color:var(--pro-ac-hover)!important;
}

/* DataCrazy */
.system-pro-v3 #page-importacao .drawer-tab-info,
.system-pro-v3 #page-importacao .imp-tab-note{
  padding:10px 12px;
  margin-bottom:12px!important;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
  color:var(--t3);
  font-size:.60rem;
  line-height:1.45;
}
.system-pro-v3 #page-importacao .dc-top-grid{
  gap:12px!important;
  margin-bottom:14px!important;
}
.system-pro-v3 #page-importacao .dc-top-grid > .cc,
.system-pro-v3 #page-importacao #dcMapCard,
.system-pro-v3 #page-importacao #dcProgressCard,
.system-pro-v3 #page-importacao .imp-panel-dc-pro > .cc{
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #page-importacao .dc-section-head{
  margin-bottom:10px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(128,128,128,.10);
}
.system-pro-v3 #page-importacao .dc-section-head .ct{
  color:var(--tx);
  font-size:.64rem;
  font-weight:720;
  letter-spacing:-.03px;
  text-transform:none;
}
.system-pro-v3 #page-importacao .dc-tag-list{
  gap:7px;
}
.system-pro-v3 #page-importacao .dc-meta-state{
  border-radius:9px;
  font-size:.60rem;
}
.system-pro-v3 #page-importacao .dc-prog-chip{
  padding:4px 8px;
  border-radius:999px;
  font-size:.56rem;
}
.system-pro-v3 #page-importacao .dc-toolbar .fbtn{
  height:32px!important;
  min-height:32px!important;
}

/* histórico de importações e disparos */
.system-pro-v3 #page-importacao .imp-history-card{
  overflow:hidden;
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #page-importacao .imp-history-card > .th2{
  min-height:52px;
  padding:11px 13px;
}
.system-pro-v3 #page-importacao .imp-history-card > .th2 .tt{
  color:var(--tx);
  font-size:.66rem;
  font-weight:730;
  letter-spacing:-.03px;
  text-transform:none;
}
.system-pro-v3 #page-importacao .imp-history-card .tsc{
  border:0;
  border-radius:0;
}
.system-pro-v3 #page-importacao .imp-history-card thead th{
  height:35px;
  padding:0 10px;
  font-size:.49rem;
}
.system-pro-v3 #page-importacao .imp-history-card tbody td{
  padding:9px 10px;
  font-size:.60rem;
}
.system-pro-v3 #page-importacao .imp-history-card tbody tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #page-importacao .imp-history-card .fbtn{
  height:28px!important;
  min-height:28px!important;
  padding:0 9px!important;
  font-size:.56rem!important;
}

/* status bars e erros */
.system-pro-v3 #page-importacao .imp-status-bar{
  min-height:36px;
  padding:9px 11px;
  border-radius:9px;
  font-size:.61rem;
}
.system-pro-v3 #page-importacao [id^="apierrImp"],
.system-pro-v3 #page-importacao #dcNotice{
  border-radius:9px!important;
  font-size:.64rem!important;
  padding:10px 12px!important;
}

/* responsivo */
@media(max-width:900px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
    grid-template-columns:1fr 1fr;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
    grid-template-columns:1fr 1fr;
  }
  .system-pro-v3 #cobPanelParcelamentos #cobParcelasBusca{
    grid-column:1/-1;
  }
  .system-pro-v3 #page-importacao .imp-start-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:620px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
    grid-template-columns:1fr;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
    grid-template-columns:1fr;
  }
  .system-pro-v3 #cobPanelParcelamentos #cobParcelasBusca{
    grid-column:auto;
  }
  .system-pro-v3 #page-importacao .imp-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }
  .system-pro-v3 #page-importacao .imp-actions .fbtn{
    width:100%;
  }
}




/* Tipografia geral do PRO: sobe um pouco sem "estourar" o layout */
.system-pro-v3 .pgtitle{font-size:1.06rem}
.system-pro-v3 .pgsub{font-size:.69rem}
.system-pro-v3 .drawer-tab{font-size:.71rem}
.system-pro-v3 .fl{font-size:.58rem}
.system-pro-v3 .fs,
.system-pro-v3 .sdrop,
.system-pro-v3 .dperiod{font-size:.71rem}
.system-pro-v3 .fbtn{font-size:.66rem}
.system-pro-v3 table thead th{font-size:.56rem}
.system-pro-v3 table tbody td{font-size:.68rem}
.system-pro-v3 .ct{font-size:.59rem}
.system-pro-v3 .kl{font-size:.59rem}
.system-pro-v3 .ks{font-size:.59rem}
.system-pro-v3 .rc{font-size:.65rem}



.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2{
  min-height:64px;
  padding:14px 16px;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2{
  min-height:64px;
  padding:14px 16px;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 .tt{
  font-size:.78rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 .tt{
  font-size:.78rem;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:.63rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:.63rem!important;
}
.system-pro-v3 #cobParcelasCount{
  min-height:27px;
  padding:0 9px;
  font-size:.61rem!important;
}

/* filtros mais proporcionais */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
  grid-template-columns:minmax(300px,1.55fr) minmax(180px,.58fr) minmax(210px,.68fr);
  gap:10px;
  padding:13px 15px;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
  grid-template-columns:minmax(300px,1.55fr) minmax(180px,.58fr) minmax(210px,.68fr);
  gap:10px;
  padding:13px 15px;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .dperiod{
  height:37px!important;
  min-height:37px!important;
  font-size:.70rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .dperiod{
  height:37px!important;
  min-height:37px!important;
  font-size:.70rem!important;
}

/* tabela principal — colunas realmente alinhadas */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table{
  min-width:1040px;
  table-layout:fixed;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table{
  min-width:1040px;
  table-layout:fixed;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th{
  height:39px;
  padding:0 13px;
  font-size:.56rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  height:39px;
  padding:0 13px;
  font-size:.56rem;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(1){width:38px}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(1){width:38px}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(2){width:14%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(2){width:14%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(3){width:33%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(3){width:33%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(4){width:15%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(4){width:15%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(5){width:23%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(5){width:23%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(6){width:15%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(6){width:15%}

.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td{
  padding:12px 13px!important;
  font-size:.70rem;
  vertical-align:middle;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td{
  padding:12px 13px!important;
  font-size:.70rem;
  vertical-align:middle;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  font-size:.60rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  font-size:.60rem;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){
  font-size:.72rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){
  font-size:.72rem;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(4),
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(5){
  font-size:.70rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(4),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(5){
  font-size:.70rem;
}

/* detalhe expandido agora ocupa as 6 colunas da tabela */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-row{
  background:transparent!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-row{
  background:transparent!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-row:hover{
  background:transparent!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-row:hover{
  background:transparent!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-row > td{
  /* Bloco expandido: recuo e respiro equivalentes ao padrão visual de PROD. */
  padding:10px 12px 16px 60px!important;
  border-bottom:1px solid rgba(128,128,128,.10);
  vertical-align:top!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-row > td{
  /* Bloco expandido: recuo e respiro equivalentes ao padrão visual de PROD. */
  padding:10px 12px 16px 60px!important;
  border-bottom:1px solid rgba(128,128,128,.10);
  vertical-align:top!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card{
  width:100%;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card{
  width:100%;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table{
  width:100%;
  table-layout:fixed;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table{
  width:100%;
  table-layout:fixed;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th{
  height:37px;
  padding:0 12px!important;
  background:rgba(255,255,255,.018);
  color:var(--t3)!important;
  font-size:.54rem!important;
  font-weight:760!important;
  letter-spacing:.43px!important;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th{
  height:37px;
  padding:0 12px!important;
  background:rgba(255,255,255,.018);
  color:var(--t3)!important;
  font-size:.54rem!important;
  font-weight:760!important;
  letter-spacing:.43px!important;
  white-space:nowrap;
}
.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-detail-card > table thead th{
  background:rgba(0,0,0,.018);
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th{
  background:rgba(0,0,0,.018);
}

/* larguras do detalhe */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(1){width:10%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(1){width:10%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(2){width:16%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(2){width:16%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(3){width:18%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(3){width:18%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(4){width:18%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(4){width:18%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(5){width:18%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(5){width:18%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(6){width:11%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(6){width:11%}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th:nth-child(7){width:9%}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th:nth-child(7){width:9%}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card tbody tr{
  background:transparent!important;
  border-top:1px solid rgba(128,128,128,.10)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card tbody tr{
  background:transparent!important;
  border-top:1px solid rgba(128,128,128,.10)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card tbody tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card tbody tr:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card tbody td{
  padding:10px 12px!important;
  color:var(--t2);
  font-size:.67rem;
  vertical-align:middle;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card tbody td{
  padding:10px 12px!important;
  color:var(--t2);
  font-size:.67rem;
  vertical-align:middle;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card tbody td:first-child{
  padding-left:12px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card tbody td:first-child{
  padding-left:12px!important;
}
.system-pro-v3 #cobPanelParcelamentos .badge-soft{
  padding:4px 9px;
  font-size:.57rem;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .badge-soft{
  padding:4px 9px;
  font-size:.57rem;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card .fbtn{
  height:29px!important;
  min-height:29px!important;
  padding:0 10px!important;
  font-size:.60rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card .fbtn{
  height:29px!important;
  min-height:29px!important;
  padding:0 10px!important;
  font-size:.60rem!important;
}

/* importaçao: também aumenta um pouco as letras para manter consistência */
.system-pro-v3 #page-importacao .imp-start-grid > .cc .ct{font-size:.69rem}
.system-pro-v3 #page-importacao .imp-drop{font-size:.72rem}
.system-pro-v3 #page-importacao .imp-info-box div[style*="font-size:.78rem"]{font-size:.69rem!important}
.system-pro-v3 #page-importacao .imp-info-box div[style*="font-size:.72rem"]{font-size:.61rem!important}
.system-pro-v3 #page-importacao .imp-preview-card > .th2 .tt{font-size:.69rem}
.system-pro-v3 #page-importacao .imp-preview-card .nr{font-size:.67rem}
.system-pro-v3 #page-importacao .imp-history-card > .th2 .tt{font-size:.70rem}
.system-pro-v3 #page-importacao .drawer-tab-info,
.system-pro-v3 #page-importacao .imp-tab-note{font-size:.64rem}

/* em telas menores, mantém legibilidade */
@media(max-width:900px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table{
    min-width:980px;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table{
    min-width:980px;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-row > td{
    padding:8px 10px 14px 44px!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-row > td{
    padding:8px 10px 14px 44px!important;
  }
}




/* Base */
.system-pro-v3{
  font-size:16px;
}

/* Header / sidebar */
.system-pro-v3 .bnm{font-size:.98rem!important}
.system-pro-v3 .bsb{font-size:.62rem!important}
.system-pro-v3 .sb-section{font-size:.61rem!important}
.system-pro-v3 .sb-item{font-size:.84rem!important}
.system-pro-v3 .sb-foot-btn{font-size:.80rem!important}
.system-pro-v3 .uname{font-size:.78rem!important}
.system-pro-v3 .uemail{font-size:.62rem!important}

/* Títulos das páginas */
.system-pro-v3 .pgtitle{
  font-size:1.18rem!important;
  line-height:1.2!important;
}
.system-pro-v3 .pgsub{
  font-size:.78rem!important;
  line-height:1.45!important;
}

/* Abas */
.system-pro-v3 .drawer-tab{
  font-size:.78rem!important;
  padding:10px 11px 11px!important;
}

/* Labels e campos */
.system-pro-v3 .fl{
  font-size:.65rem!important;
  line-height:1.25!important;
}
.system-pro-v3 .fs,
.system-pro-v3 .sdrop,
.system-pro-v3 .dperiod,
.system-pro-v3 input,
.system-pro-v3 select,
.system-pro-v3 textarea{
  font-size:.78rem!important;
}
.system-pro-v3 .dptext{
  font-size:.76rem!important;
}

/* Botões */
.system-pro-v3 .fbtn,
.system-pro-v3 button{
  font-size:.73rem;
}
.system-pro-v3 .fbtn{
  min-height:34px!important;
}
.system-pro-v3 .hist-icon-btn{
  font-size:.70rem!important;
}

/* Cards / KPIs */
.system-pro-v3 .kl{
  font-size:.66rem!important;
}
.system-pro-v3 .kv{
  font-size:1.78rem!important;
}
.system-pro-v3 .ks{
  font-size:.66rem!important;
}
.system-pro-v3 .ct{
  font-size:.67rem!important;
}
.system-pro-v3 .tt{
  font-size:.72rem!important;
}
.system-pro-v3 .rc{
  font-size:.71rem!important;
}

/* Tabelas — aumento mais perceptível */
.system-pro-v3 table thead th{
  font-size:.62rem!important;
  line-height:1.2!important;
}
.system-pro-v3 table tbody td{
  font-size:.76rem!important;
  line-height:1.35!important;
}
.system-pro-v3 table tbody td strong{
  font-size:inherit!important;
}

/* Badges / chips */
.system-pro-v3 .badge-outlined,
.system-pro-v3 .badge-soft,
.system-pro-v3 .reneg-status-badge,
.system-pro-v3 .otag,
.system-pro-v3 .uperm-tag{
  font-size:.64rem!important;
}
.system-pro-v3 .badge-soft{
  padding:4px 9px!important;
}

/* Paginação */
.system-pro-v3 .pb,
.system-pro-v3 .pi{
  font-size:.68rem!important;
}

/* Modais e drawers */
.system-pro-v3 .drawer-head,
.system-pro-v3 .drawer-title,
.system-pro-v3 .mpw-title,
.system-pro-v3 .imp-confirm-title{
  font-size:.95rem!important;
}
.system-pro-v3 .drawer-section-title{
  font-size:.64rem!important;
}
.system-pro-v3 .drawer-kv-label{
  font-size:.60rem!important;
}
.system-pro-v3 .drawer-kv-value{
  font-size:.75rem!important;
}
.system-pro-v3 .mpw-sub,
.system-pro-v3 .imp-confirm-sub{
  font-size:.70rem!important;
}

/* Acordos */
.system-pro-v3 #cobPanelAcordos .cob-acordos-title{
  font-size:1rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-sub{
  font-size:.70rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-count{
  font-size:.70rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-new{
  font-size:.71rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table-title{
  font-size:.63rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table-hint{
  font-size:.63rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-id{
  font-size:.63rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno strong{
  font-size:.76rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno span{
  font-size:.62rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-course,
.system-pro-v3 #cobPanelAcordos .cob-acordo-resp,
.system-pro-v3 #cobPanelAcordos .cob-acordo-money{
  font-size:.74rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-chip{
  font-size:.62rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-date strong{
  font-size:.69rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-date span{
  font-size:.59rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-status-btn{
  font-size:.68rem!important;
  height:30px!important;
}

/* Parcelamentos */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 .tt{
  font-size:.88rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 .tt{
  font-size:.88rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:.70rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:.70rem!important;
}
.system-pro-v3 #cobParcelasCount{
  font-size:.68rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .dperiod{
  font-size:.78rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .dperiod{
  font-size:.78rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th{
  font-size:.62rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  font-size:.62rem!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td{
  font-size:.78rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td{
  font-size:.78rem!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  font-size:.68rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  font-size:.68rem!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){
  font-size:.80rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){
  font-size:.80rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card > table thead th{
  font-size:.60rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card > table thead th{
  font-size:13px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card tbody td{
  font-size:.74rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card tbody td{
  font-size:.74rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card .fbtn{
  font-size:.67rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card .fbtn{
  font-size:.67rem!important;
}
.system-pro-v3 #cobPanelParcelamentos .badge-soft{
  font-size:.64rem!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .badge-soft{
  font-size:.64rem!important;
}

/* Dashboard de cobranças */
.system-pro-v3 #cobPanelDash .cob-dash-card-title{
  font-size:.86rem!important;
}
.system-pro-v3 #cobPanelDash .cob-dash-card-sub{
  font-size:.68rem!important;
}
.system-pro-v3 #cobPanelDash .cob-kpi-label{
  font-size:.67rem!important;
}
.system-pro-v3 #cobPanelDash .cob-kpi-value{
  font-size:1.78rem!important;
}
.system-pro-v3 #cobPanelDash .cob-kpi-foot{
  font-size:.66rem!important;
}
.system-pro-v3 #cobPanelDash .cob-dash-list-label{
  font-size:.76rem!important;
}
.system-pro-v3 #cobPanelDash .cob-dash-list-value{
  font-size:.80rem!important;
}
.system-pro-v3 #cobPanelDash .cob-meta-stat-label{
  font-size:.64rem!important;
}
.system-pro-v3 #cobPanelDash .cob-meta-stat-value{
  font-size:.96rem!important;
}

/* Importação */
.system-pro-v3 #page-importacao .imp-start-grid > .cc .ct{
  font-size:.78rem!important;
}
.system-pro-v3 #page-importacao .imp-drop{
  font-size:.80rem!important;
}
.system-pro-v3 #page-importacao .imp-info-box div[style*="font-size:.78rem"]{
  font-size:.77rem!important;
}
.system-pro-v3 #page-importacao .imp-info-box div[style*="font-size:.72rem"]{
  font-size:.69rem!important;
}
.system-pro-v3 #page-importacao .imp-preview-card > .th2 .tt{
  font-size:.78rem!important;
}
.system-pro-v3 #page-importacao .imp-preview-card .nr{
  font-size:.75rem!important;
}
.system-pro-v3 #page-importacao .imp-preview-card thead th{
  font-size:.60rem!important;
}
.system-pro-v3 #page-importacao .imp-preview-card tbody td{
  font-size:.72rem!important;
}
.system-pro-v3 #page-importacao .imp-history-card > .th2 .tt{
  font-size:.79rem!important;
}
.system-pro-v3 #page-importacao .imp-history-card thead th{
  font-size:.59rem!important;
}
.system-pro-v3 #page-importacao .imp-history-card tbody td{
  font-size:.72rem!important;
}
.system-pro-v3 #page-importacao .drawer-tab-info,
.system-pro-v3 #page-importacao .imp-tab-note{
  font-size:.72rem!important;
}
.system-pro-v3 #page-importacao .imp-status-bar{
  font-size:.70rem!important;
}

/* Usuários */
.system-pro-v3 #page-usuarios .pgtitle{
  font-size:1.18rem!important;
}
.system-pro-v3 #page-usuarios .pgsub{
  font-size:.76rem!important;
}
.system-pro-v3 #page-usuarios .perm-block-head{
  font-size:.78rem!important;
}
.system-pro-v3 #page-usuarios .uperm-tag{
  font-size:.65rem!important;
}

/* Login */
.system-pro-v3 .login-title{
  font-size:1.16rem!important;
}
.system-pro-v3 .login-sub{
  font-size:.76rem!important;
}
.system-pro-v3 .login-card .fs{
  font-size:.78rem!important;
}
.system-pro-v3 .login-btn{
  font-size:.78rem!important;
}

/* Mobile: não reduzir demais */
@media(max-width:700px){
  .system-pro-v3 .pgtitle{font-size:1.08rem!important}
  .system-pro-v3 .pgsub{font-size:.74rem!important}
  .system-pro-v3 table tbody td{font-size:.72rem!important}
  .system-pro-v3 table thead th{font-size:.59rem!important}
}




/* Último contato: data + X pequeno e discreto */
.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-wrap{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-clear{
  width:19px;
  height:19px;
  min-width:19px;
  min-height:19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0!important;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--t3);
  font-family:inherit;
  font-size:.92rem!important;
  font-weight:500;
  line-height:1;
  cursor:pointer;
  opacity:.72;
  transition:background .12s ease,border-color .12s ease,color .12s ease,opacity .12s ease;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-clear:hover{
  background:var(--pro-hover);
  border-color:var(--bd);
  color:var(--tx);
  opacity:1;
}

/* Editar de parcela: propositalmente menor que os demais botões */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card .cob-parcela-edit-btn{
  height:25px!important;
  min-height:25px!important;
  min-width:0!important;
  padding:0 8px!important;
  border-radius:7px!important;
  background:transparent!important;
  border:1px solid var(--bd)!important;
  color:var(--t2)!important;
  font-size:.62rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card .cob-parcela-edit-btn{
  height:25px!important;
  min-height:25px!important;
  min-width:0!important;
  padding:0 8px!important;
  border-radius:7px!important;
  background:transparent!important;
  border:1px solid var(--bd)!important;
  color:var(--t2)!important;
  font-size:.62rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card .cob-parcela-edit-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card .cob-parcela-edit-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:var(--tx)!important;
}
.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-detail-card .cob-parcela-edit-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-detail-card .cob-parcela-edit-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}




.system-pro-v3 #cobPanelMensagens{
  --msg-ac:var(--pro-ac);
}

/* pequeno cabeçalho, sem ocupar espaço demais */
.system-pro-v3 #cobPanelMensagens .cob-msg-intro{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px 15px;
  margin-bottom:12px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-intro-title{
  color:var(--tx);
  font-size:.84rem;
  font-weight:750;
  letter-spacing:-.08px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-intro-sub{
  margin-top:3px;
  color:var(--t3);
  font-size:.68rem;
  line-height:1.4;
}

/* estrutura igual ao conceito da tela de importação */
.system-pro-v3 #cobPanelMensagens .cob-msg-start-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-card{
  min-height:165px;
  padding:14px;
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-card-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-step{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--pro-ac-border);
  border-radius:8px;
  background:var(--pro-ac-soft);
  color:var(--msg-ac);
  font-size:.68rem;
  font-weight:800;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-card-title{
  color:var(--tx);
  font-size:.77rem;
  font-weight:740;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-card-sub{
  margin-top:2px;
  color:var(--t3);
  font-size:.64rem;
  line-height:1.35;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-field{
  margin:0;
}
.system-pro-v3 #cobPanelMensagens #cobMsgSelecionada{
  width:100%;
  height:38px!important;
  min-height:38px!important;
  font-size:.76rem!important;
}

/* upload */
.system-pro-v3 #cobPanelMensagens .cob-msg-drop{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:10px;
  background:var(--s2);
  cursor:pointer;
}
.system-pro-v3[data-theme=light] #cobPanelMensagens .cob-msg-drop{
  border-color:rgba(0,0,0,.15);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-drop:hover{
  border-color:rgba(255,138,61,.50);
  background:var(--pro-ac-soft);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-file-content{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:var(--t2);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-upload-icon{
  width:33px;
  height:33px;
  flex:0 0 33px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--sf);
  color:var(--msg-ac);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-upload-icon svg{
  width:15px;
  height:15px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-file-content strong{
  display:block;
  color:var(--tx);
  font-size:.72rem;
  font-weight:700;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-file-content small{
  display:block;
  margin-top:3px;
  color:var(--t3);
  font-size:.60rem;
  font-weight:520;
}

/* mapeamento */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card{
  margin-bottom:12px;
  padding:14px;
  border-radius:12px;
  box-shadow:none;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  margin-bottom:11px;
  border-bottom:1px solid rgba(128,128,128,.10);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-section-title{
  color:var(--tx);
  font-size:.75rem;
  font-weight:740;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-section-sub{
  margin-top:3px;
  color:var(--t3);
  font-size:.63rem;
  line-height:1.35;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-grid .fg{
  margin-bottom:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-grid .fs{
  height:36px!important;
  min-height:36px!important;
  font-size:.72rem!important;
}

/* resumo do CSV */
.system-pro-v3 #cobPanelMensagens .cob-msg-summary{
  margin-bottom:12px;
  padding:10px 12px;
  border:1px solid rgba(34,197,94,.20);
  border-radius:9px;
  background:rgba(34,197,94,.055);
  color:var(--t2);
  font-size:.70rem!important;
  font-weight:620;
}

/* ação — como na importação, pequena e à direita */
.system-pro-v3 #cobPanelMensagens .cob-msg-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn{
  width:auto!important;
  min-width:126px;
  height:33px!important;
  min-height:33px!important;
  padding:0 13px!important;
  border:1px solid var(--msg-ac)!important;
  border-radius:8px!important;
  background:var(--msg-ac)!important;
  color:#161616!important;
  font-size:.68rem!important;
  font-weight:760!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn:hover:not(:disabled){
  background:var(--pro-ac-hover)!important;
  border-color:var(--pro-ac-hover)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn:disabled{
  opacity:.38;
  cursor:not-allowed;
  filter:saturate(.55);
}

/* modal antigo de gerenciamento fica preservado, porém não tem mais atalho na tela */
.system-pro-v3 #cobGerenciarMsgOverlay .imp-confirm-card{
  border-radius:14px;
}

/* responsivo */
@media(max-width:850px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-start-grid{
    grid-template-columns:1fr;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-actions{
    align-items:stretch;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-send-btn{
    width:100%!important;
  }
}




.system-pro-v3 .sys-dialog-overlay{
  position:fixed;
  inset:0;
  z-index:120000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.system-pro-v3 .sys-dialog-overlay.show{
  display:flex;
}

.system-pro-v3 .sys-dialog{
  position:relative;
  width:min(430px,94vw);
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 28px;
  grid-template-areas:
    "icon content close"
    ". actions actions";
  gap:0 12px;
  padding:17px 17px 14px;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--sf);
  box-shadow:0 24px 70px rgba(0,0,0,.48);
  font-family:'Inter',sans-serif;
}

.system-pro-v3 .sys-dialog-icon{
  grid-area:icon;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
  color:var(--t2);
}
.system-pro-v3 .sys-dialog-icon svg{
  width:18px;
  height:18px;
}

.system-pro-v3 .sys-dialog-overlay[data-tone="warning"] .sys-dialog-icon{
  color:#f59e0b;
  border-color:rgba(245,158,11,.20);
  background:rgba(245,158,11,.08);
}
.system-pro-v3 .sys-dialog-overlay[data-tone="danger"] .sys-dialog-icon{
  color:#ef4444;
  border-color:rgba(239,68,68,.20);
  background:rgba(239,68,68,.08);
}
.system-pro-v3 .sys-dialog-overlay[data-tone="success"] .sys-dialog-icon{
  color:#22c55e;
  border-color:rgba(34,197,94,.20);
  background:rgba(34,197,94,.08);
}
.system-pro-v3 .sys-dialog-overlay[data-tone="info"] .sys-dialog-icon{
  color:var(--pro-ac);
  border-color:var(--pro-ac-border);
  background:var(--pro-ac-soft);
}

.system-pro-v3 .sys-dialog-content{
  grid-area:content;
  min-width:0;
  padding-top:1px;
}
.system-pro-v3 .sys-dialog-title{
  color:var(--tx);
  font-size:.84rem;
  line-height:1.25;
  font-weight:760;
  letter-spacing:-.08px;
}
.system-pro-v3 .sys-dialog-message{
  margin-top:6px;
  color:var(--t2);
  font-size:.71rem;
  line-height:1.5;
  font-weight:520;
  white-space:pre-line;
}

.system-pro-v3 .sys-dialog-close{
  grid-area:close;
  width:28px;
  height:28px;
  min-width:28px;
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0!important;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--t3);
  font-family:inherit;
  font-size:1rem!important;
  cursor:pointer;
}
.system-pro-v3 .sys-dialog-close:hover{
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

.system-pro-v3 .sys-dialog-actions{
  grid-area:actions;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding-top:16px;
}
.system-pro-v3 .sys-dialog-actions .fbtn{
  width:auto!important;
  min-width:82px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  font-size:.66rem!important;
  font-weight:720!important;
}

.system-pro-v3 .sys-dialog-cancel{
  background:transparent!important;
  border-color:var(--bd)!important;
  color:var(--t2)!important;
}
.system-pro-v3 .sys-dialog-cancel:hover{
  background:var(--pro-hover)!important;
  color:var(--tx)!important;
}

.system-pro-v3 .sys-dialog-confirm{
  background:var(--pro-ac)!important;
  border-color:var(--pro-ac)!important;
  color:#161616!important;
}
.system-pro-v3 .sys-dialog-confirm:hover{
  background:var(--pro-ac-hover)!important;
  border-color:var(--pro-ac-hover)!important;
}

/* remoção é uma ação destrutiva: mantém botão contido, sem vermelho berrante */
.system-pro-v3 .sys-dialog-overlay[data-tone="danger"] .sys-dialog-confirm{
  background:#e65a5a!important;
  border-color:#e65a5a!important;
  color:#fff!important;
}
.system-pro-v3 .sys-dialog-overlay[data-tone="danger"] .sys-dialog-confirm:hover{
  background:#ee6d6d!important;
  border-color:#ee6d6d!important;
}

@media(max-width:520px){
  .system-pro-v3 .sys-dialog{
    grid-template-columns:34px minmax(0,1fr) 28px;
    padding:15px 14px 13px;
    gap:0 10px;
  }
  .system-pro-v3 .sys-dialog-icon{
    width:34px;
    height:34px;
  }
}




.system-pro-v3 #cobPanelMensagens .cob-msg-drop{
  position:relative;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-file-content{
  min-width:0;
  padding-right:30px;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-file-text{
  min-width:0;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-file-text strong{
  max-width:340px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-file-clear{
  position:absolute;
  top:10px;
  right:10px;
  width:23px;
  height:23px;
  min-width:23px;
  min-height:23px;
  align-items:center;
  justify-content:center;
  padding:0!important;
  border:1px solid var(--bd);
  border-radius:7px;
  background:var(--sf);
  color:var(--t3);
  font-family:'Inter',sans-serif;
  font-size:1rem!important;
  font-weight:500;
  line-height:1;
  cursor:pointer;
  z-index:2;
  transition:background .12s ease,border-color .12s ease,color .12s ease;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-file-clear:hover{
  background:var(--pro-hover);
  border-color:rgba(255,255,255,.22);
  color:var(--tx);
}
.system-pro-v3[data-theme=light] #cobPanelMensagens .cob-msg-file-clear:hover{
  border-color:rgba(0,0,0,.14);
}

/* Limpar fica neutro; ação principal continua laranja */
.system-pro-v3 #cobPanelMensagens .cob-msg-clear-btn{
  width:auto!important;
  min-width:76px!important;
  height:33px!important;
  min-height:33px!important;
  padding:0 12px!important;
  border:1px solid var(--bd)!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--t2)!important;
  font-size:.68rem!important;
  font-weight:700!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-clear-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:var(--tx)!important;
}
.system-pro-v3[data-theme=light] #cobPanelMensagens .cob-msg-clear-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}

@media(max-width:560px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-actions{
    flex-direction:column-reverse;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-clear-btn,
  .system-pro-v3 #cobPanelMensagens .cob-msg-send-btn{
    width:100%!important;
  }
}




.system-pro-v3 .sys-dialog-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
}

.system-pro-v3 .sys-dialog-actions .fbtn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 14px!important;
  margin:0!important;
  line-height:1!important;
  vertical-align:middle!important;
}

.system-pro-v3 .sys-dialog-cancel,
.system-pro-v3 .sys-dialog-confirm{
  min-width:90px!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
}

.system-pro-v3 .sys-dialog-cancel{
  border:1px solid var(--bd)!important;
  background:transparent!important;
  color:var(--t2)!important;
}

.system-pro-v3 .sys-dialog-cancel:hover{
  background:var(--pro-hover)!important;
  color:var(--tx)!important;
}

.system-pro-v3 .sys-dialog-confirm{
  border-width:1px!important;
}




.system-pro-v3 .last-touch-clear,
.system-pro-v3 .last-contact-clear,
.system-pro-v3 .lc-clear,
.system-pro-v3 .contact-clear,
.system-pro-v3 .btn-clear-last-contact,
.system-pro-v3 .last-contact-remove{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateX(4px) !important;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

.system-pro-v3 tr:hover .last-touch-clear,
.system-pro-v3 tr:hover .last-contact-clear,
.system-pro-v3 tr:hover .lc-clear,
.system-pro-v3 tr:hover .contact-clear,
.system-pro-v3 tr:hover .btn-clear-last-contact,
.system-pro-v3 tr:hover .last-contact-remove,
.system-pro-v3 .last-touch-cell:hover .last-touch-clear,
.system-pro-v3 .last-touch-cell:hover .last-contact-clear,
.system-pro-v3 .last-touch-cell:hover .lc-clear,
.system-pro-v3 .last-touch-cell:hover .contact-clear,
.system-pro-v3 .last-touch-cell:hover .btn-clear-last-contact,
.system-pro-v3 .last-touch-cell:hover .last-contact-remove,
.system-pro-v3 .last-contact-cell:hover .last-touch-clear,
.system-pro-v3 .last-contact-cell:hover .last-contact-clear,
.system-pro-v3 .last-contact-cell:hover .lc-clear,
.system-pro-v3 .last-contact-cell:hover .contact-clear,
.system-pro-v3 .last-contact-cell:hover .btn-clear-last-contact,
.system-pro-v3 .last-contact-cell:hover .last-contact-remove,
.system-pro-v3 .last-touch-clear:focus,
.system-pro-v3 .last-contact-clear:focus,
.system-pro-v3 .lc-clear:focus,
.system-pro-v3 .contact-clear:focus,
.system-pro-v3 .btn-clear-last-contact:focus,
.system-pro-v3 .last-contact-remove:focus,
.system-pro-v3 .last-touch-clear:focus-visible,
.system-pro-v3 .last-contact-clear:focus-visible,
.system-pro-v3 .lc-clear:focus-visible,
.system-pro-v3 .contact-clear:focus-visible,
.system-pro-v3 .btn-clear-last-contact:focus-visible,
.system-pro-v3 .last-contact-remove:focus-visible{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateX(0) !important;
}




.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-btn{
  height:24px!important;
  min-height:24px!important;
  min-width:0!important;
  padding:0 8px!important;
  border-radius:7px!important;
  background:transparent!important;
  border:1px solid var(--bd)!important;
  color:var(--t2)!important;
  font-size:.60rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:var(--tx)!important;
}

.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-acordo-contact-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}




.system-pro-v3 #cobPanelAcordos .cob-status-btn{
  height:24px!important;
  min-height:24px!important;
  min-width:0!important;
  padding:0 8px!important;
  gap:5px!important;
  border:1px solid var(--bd)!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--t2)!important;
  font-size:.60rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn svg{
  width:8px!important;
  height:8px!important;
  opacity:.72!important;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:var(--tx)!important;
  filter:none!important;
}

.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-status-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}

/* mantém somente a cor dentro do menu aberto, não no botão principal */
.system-pro-v3 #cobStatusFloatMenu{
  min-width:160px!important;
}




.system-pro-v3 #cobPanelParcelamentos .cob-parcela-actions-cell{
  padding:6px 8px!important;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-actions-cell{
  padding:6px 8px!important;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-actions{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:5px;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-actions{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:5px;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-action-btn{
  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 8px!important;
  margin:0!important;
  border-radius:7px!important;
  font-size:.59rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-action-btn{
  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 8px!important;
  margin:0!important;
  border-radius:7px!important;
  font-size:.59rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-save-btn{
  background:transparent!important;
  border:1px solid rgba(255,138,61,.55)!important;
  color:var(--pro-ac)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-save-btn{
  background:transparent!important;
  border:1px solid rgba(255,138,61,.55)!important;
  color:var(--pro-ac)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-save-btn:hover{
  background:var(--pro-ac-soft)!important;
  border-color:var(--pro-ac)!important;
  color:var(--pro-ac-hover)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-save-btn:hover{
  background:var(--pro-ac-soft)!important;
  border-color:var(--pro-ac)!important;
  color:var(--pro-ac-hover)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-cancel-btn{
  background:transparent!important;
  border:1px solid var(--bd)!important;
  color:var(--t3)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-cancel-btn{
  background:transparent!important;
  border:1px solid var(--bd)!important;
  color:var(--t3)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-cancel-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.20)!important;
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-cancel-btn:hover{
  background:var(--pro-hover)!important;
  border-color:rgba(255,255,255,.20)!important;
  color:var(--tx)!important;
}

.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-cancel-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-cancel-btn:hover{
  border-color:rgba(0,0,0,.14)!important;
}




.system-pro-v3 #cobPanelParcelamentos .cob-parcela-actions-cell{
  padding:5px 6px!important;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-actions-cell{
  padding:5px 6px!important;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-action-btn{
  width:auto!important;
  min-width:0!important;
  height:21px!important;
  min-height:21px!important;
  padding:0 6px!important;
  margin:0!important;
  border-radius:6px!important;
  font-size:.54rem!important;
  font-weight:640!important;
  line-height:1!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-action-btn{
  width:auto!important;
  min-width:0!important;
  height:21px!important;
  min-height:21px!important;
  padding:0 6px!important;
  margin:0!important;
  border-radius:6px!important;
  font-size:.54rem!important;
  font-weight:640!important;
  line-height:1!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-save-btn{
  border-width:1px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-save-btn{
  border-width:1px!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-cancel-btn{
  border-width:1px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-cancel-btn{
  border-width:1px!important;
}




/* Base: mesmo conceito visual do badge "Enviado" */
.system-pro-v3 #cobPanelAcordos .cob-chip-soft{
  display:inline-flex!important;
  align-items:center!important;
  min-height:23px!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:7px!important;
  font-size:.61rem!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* ORIGEM */
.system-pro-v3 #cobPanelAcordos .cob-chip-origin-automation{
  color:#93c5fd!important;
  background:rgba(59,130,246,.16)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-chip-origin-team{
  color:#c4b5fd!important;
  background:rgba(139,92,246,.16)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-chip-origin-student{
  color:#6ee7b7!important;
  background:rgba(16,185,129,.15)!important;
}

/* FORMA */
.system-pro-v3 #cobPanelAcordos .cob-chip-form-installments{
  color:#93c5fd!important;
  background:rgba(59,130,246,.15)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-chip-form-cash{
  color:#6ee7b7!important;
  background:rgba(16,185,129,.15)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-chip-form-opportunity{
  color:#fdba74!important;
  background:rgba(249,115,22,.15)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-chip-soft-neutral{
  color:var(--t2)!important;
  background:rgba(148,163,184,.10)!important;
}

/* STATUS: mantém o mesmo tamanho compacto do "Registrar hoje",
   mas agora com fundo soft conforme o valor salvo. */
.system-pro-v3 #cobPanelAcordos .cob-status-btn{
  border:0!important;
  min-height:24px!important;
  height:24px!important;
  padding:0 8px!important;
  border-radius:7px!important;
  font-size:.60rem!important;
  font-weight:700!important;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn.cob-status-soft-neutral{
  color:#cbd5e1!important;
  background:rgba(148,163,184,.12)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-status-btn.cob-status-soft-warning{
  color:#fbbf24!important;
  background:rgba(245,158,11,.15)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-status-btn.cob-status-soft-info{
  color:#7dd3fc!important;
  background:rgba(14,165,233,.15)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-status-btn.cob-status-soft-error{
  color:#fca5a5!important;
  background:rgba(239,68,68,.14)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-status-btn.cob-status-soft-success{
  color:#6ee7b7!important;
  background:rgba(16,185,129,.16)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn:hover{
  filter:brightness(1.10)!important;
  border:0!important;
}

/* Tema claro: mantém contraste sem ficar chamativo demais */
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-chip-origin-automation,
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-chip-form-installments{
  color:#2563eb!important;
  background:rgba(37,99,235,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-chip-origin-team{
  color:#7c3aed!important;
  background:rgba(124,58,237,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-chip-origin-student,
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-chip-form-cash,
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-status-btn.cob-status-soft-success{
  color:#047857!important;
  background:rgba(5,150,105,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-chip-form-opportunity,
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-status-btn.cob-status-soft-warning{
  color:#b45309!important;
  background:rgba(245,158,11,.11)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-status-btn.cob-status-soft-info{
  color:#0369a1!important;
  background:rgba(14,165,233,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-status-btn.cob-status-soft-error{
  color:#b91c1c!important;
  background:rgba(239,68,68,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordos .cob-status-btn.cob-status-soft-neutral{
  color:#475569!important;
  background:rgba(100,116,139,.10)!important;
}




.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:auto!important;
  min-width:0!important;
  height:26px!important;
  min-height:26px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  font-size:.60rem!important;
  font-weight:650!important;
  line-height:1!important;
  align-self:end!important;
  justify-self:start!important;
  white-space:nowrap!important;
}




.system-pro-v3 #cobPanelAcordos .cob-acordos-new{
  width:auto!important;
  min-width:0!important;
  height:28px!important;
  min-height:28px!important;
  padding:0 9px!important;
  gap:5px!important;
  border-radius:7px!important;
  font-size:.62rem!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-new svg{
  width:11px!important;
  height:11px!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-config-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:10px}
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-title{margin:4px 0 9px;color:var(--tx);font-size:.70rem;font-weight:740}.system-pro-v3 #cobPanelMensagens .cob-msg-batch-title span{color:var(--t3);font-size:.58rem;font-weight:620;margin-left:5px}
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid .fg{margin:0}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-divider{height:1px;background:rgba(128,128,128,.12);margin:13px 0}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.system-pro-v3 #cobPanelMensagens .cob-msg-summary-warning{border-color:rgba(245,158,11,.24)!important;background:rgba(245,158,11,.07)!important;color:#fbbf24!important}

/* Lista de Acordos agrupada: todos os campos permanecem visíveis sem 24 colunas separadas */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table{min-width:1960px!important;table-layout:fixed}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(1){width:260px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(2){width:225px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(3){width:190px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(4){width:215px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(5){width:250px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(6){width:190px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(7){width:220px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(8){width:200px}.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(9){width:34px}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{vertical-align:top!important;padding:11px 12px!important}
.system-pro-v3 #cobPanelAcordos .cob-v319-aluno{gap:4px}.system-pro-v3 #cobPanelAcordos .cob-v319-aluno strong{font-size:.76rem!important}.system-pro-v3 #cobPanelAcordos .cob-v319-course{max-width:235px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--t2)!important;font-size:.64rem!important}
.system-pro-v3 #cobPanelAcordos .cob-cell-stack{display:flex;flex-direction:column;gap:6px}.system-pro-v3 #cobPanelAcordos .cob-mini-kv{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px;align-items:center;min-height:20px}.system-pro-v3 #cobPanelAcordos .cob-mini-kv>span{color:var(--t3);font-size:.54rem;font-weight:680}.system-pro-v3 #cobPanelAcordos .cob-mini-kv>strong{min-width:0;color:var(--t2);font-size:.63rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.system-pro-v3 #cobPanelAcordos .cob-inline-origin{appearance:none;-webkit-appearance:none;width:auto;max-width:125px;height:24px!important;min-height:24px!important;padding:0 8px!important;border:0!important;border-radius:7px!important;font-size:.60rem!important;font-weight:700!important;cursor:pointer}
.system-pro-v3 #cobPanelAcordos .cob-v319-obs{max-width:180px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:var(--t2);font-size:.63rem;line-height:1.4}

/* Drawer completo */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v319{width:min(680px,97vw)!important}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-form-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-span-2{grid-column:1/-1}.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-body{padding-bottom:78px!important}.system-pro-v3 #cobAcordoDrawerOverlay textarea.fs{min-height:92px!important}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-section-title{font-size:.62rem!important;color:var(--tx)!important;text-transform:none!important;letter-spacing:0!important;font-weight:750!important}

/* Novo acordo maior, porém organizado em dois blocos */
.system-pro-v3 #cobNovoAcordoOverlay .cob-na-v319{width:760px!important;max-width:96vw!important}.system-pro-v3 #cobNovoAcordoOverlay .cob-na-v319 .cob-na-body{max-height:72vh}.system-pro-v3 #cobNovoAcordoOverlay .cob-na-v319 .fg{margin-bottom:0}

@media(max-width:850px){.system-pro-v3 #cobPanelMensagens .cob-msg-config-grid,.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid,.system-pro-v3 #cobPanelMensagens .cob-msg-map-grid{grid-template-columns:1fr!important}.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-form-grid{grid-template-columns:1fr!important}.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-span-2{grid-column:auto}}





.system-pro-v3 #cobPanelAcordos .cob-acordos-table{
  min-width:1280px!important;
  table-layout:auto!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(1){width:105px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(2){width:225px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(3){width:175px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(4){width:125px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(5){width:135px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(6){width:140px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(7){width:155px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(8){width:135px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(9){width:150px!important}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(10){width:34px!important}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{
  vertical-align:middle!important;
  padding:9px 11px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-list-empty{
  color:var(--t3);
  font-size:.68rem;
}

/* chips continuam no padrão soft já aprovado */
.system-pro-v3 #cobPanelAcordos .cob-acordo-chip{
  max-width:145px;
}

/* Data da abordagem com o mesmo peso visual da antiga data de contato */
.system-pro-v3 #cobPanelAcordos .cob-acordo-date{
  display:flex;
  flex-direction:column;
  gap:2px;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-date strong{
  color:var(--tx);
  font-size:.69rem!important;
  font-weight:650;
}

/* DRAWER: mais organizado em blocos e sem os campos antigos */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320{
  width:min(650px,97vw)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-body{
  padding:15px 20px 82px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-section{
  margin-bottom:17px!important;
  padding:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-section-title{
  margin-bottom:10px!important;
  padding-bottom:8px!important;
  border-bottom:1px solid rgba(128,128,128,.12)!important;
  color:var(--tx)!important;
  font-size:.66rem!important;
  font-weight:760!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-form-grid{
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-span-2{
  grid-column:1/-1!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .fg{
  margin-bottom:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .fl{
  font-size:.60rem!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .fs,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .dperiod{
  min-height:36px!important;
  height:36px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 textarea.fs{
  height:auto!important;
  min-height:88px!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-form-grid{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v320 .cob-drawer-span-2{
    grid-column:auto!important;
  }
}




.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v321{
  width:min(610px,97vw)!important;
  background:var(--sf)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-head{
  min-height:68px!important;
  padding:14px 18px!important;
  background:var(--sf)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-head .cob-drawer-avatar{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  border-radius:10px!important;
  font-size:.70rem!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-head .cob-drawer-name{
  font-size:.88rem!important;
  font-weight:760!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-head .cob-drawer-sub{
  margin-top:3px!important;
  color:var(--t3)!important;
  font-size:.60rem!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-body{
  padding:14px 16px 84px!important;
  background:var(--bg)!important;
}

/* Cada assunto vira um card leve, em vez de uma lista longa de campos */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card{
  margin-bottom:11px;
  padding:13px;
  border:1px solid var(--bd);
  border-radius:11px;
  background:var(--sf);
  box-shadow:none;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card-last{
  margin-bottom:0;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card-head{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card-icon{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card-icon svg{
  width:14px;
  height:14px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card-title{
  color:var(--tx);
  font-size:.70rem;
  line-height:1.2;
  font-weight:750;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card-sub{
  margin-top:2px;
  color:var(--t3);
  font-size:.56rem;
  line-height:1.35;
  font-weight:520;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px 10px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-grid .fg{
  min-width:0;
  margin:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-span-2{
  grid-column:1/-1!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card .fl{
  margin-bottom:5px!important;
  color:var(--t3)!important;
  font-size:.57rem!important;
  font-weight:720!important;
  letter-spacing:.35px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card .fs,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card .dperiod{
  width:100%!important;
  min-height:35px!important;
  height:35px!important;
  border-radius:8px!important;
  background:var(--s2)!important;
  font-size:.69rem!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card .fs:hover,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card .dperiod:hover{
  border-color:rgba(255,255,255,.20)!important;
}

.system-pro-v3[data-theme=light] #cobAcordoDrawerOverlay .cob-drawer-card .fs:hover,
.system-pro-v3[data-theme=light] #cobAcordoDrawerOverlay .cob-drawer-card .dperiod:hover{
  border-color:rgba(0,0,0,.14)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-field-arrow{
  flex-shrink:0;
  color:var(--t3);
  font-size:.55rem;
  opacity:.7;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-notes{
  height:auto!important;
  min-height:92px!important;
  padding:10px!important;
  line-height:1.5!important;
  resize:vertical;
}

/* feedback de salvamento mais discreto */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-clean{
  display:none;
  align-items:center;
  min-height:32px;
  margin:10px 16px 0!important;
  padding:7px 10px!important;
  border-radius:8px!important;
  font-size:.62rem!important;
  font-weight:680!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-clean.success{
  color:#6ee7b7!important;
  border:1px solid rgba(16,185,129,.20)!important;
  background:rgba(16,185,129,.08)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-footer{
  padding:10px 16px!important;
  background:rgba(28,28,30,.96)!important;
}

.system-pro-v3[data-theme=light] #cobAcordoDrawerOverlay .cob-drawer-clean-footer{
  background:rgba(255,255,255,.96)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-footer .cob-drawer-save{
  min-width:104px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  font-size:.62rem!important;
}

/* No drawer antigo havia várias seções em linha. Nesta versão o conteúdo
   fica visualmente separado por cards, com menos ruído entre os campos. */
@media(max-width:620px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-grid{
    grid-template-columns:1fr;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-span-2{
    grid-column:auto!important;
  }
}




.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-choice-field{
  cursor:pointer!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-choice-field:hover{
  border-color:rgba(255,255,255,.22)!important;
  background:var(--pro-hover)!important;
}

.system-pro-v3[data-theme=light] #cobAcordoDrawerOverlay .cob-drawer-choice-field:hover{
  border-color:rgba(0,0,0,.14)!important;
}




/* Observações: campo de texto realmente amplo e sem a alça nativa feia */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card textarea.fs.cob-drawer-notes{
  width:100%!important;
  height:112px!important;
  min-height:112px!important;
  max-height:112px!important;
  padding:11px 12px!important;
  border-radius:9px!important;
  line-height:1.52!important;
  font-size:.70rem!important;
  resize:none!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card textarea.fs.cob-drawer-notes::placeholder{
  color:var(--t3)!important;
  opacity:.82;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card textarea.fs.cob-drawer-notes:focus{
  border-color:rgba(255,138,61,.52)!important;
  box-shadow:0 0 0 2px rgba(255,138,61,.07)!important;
}

/* Feedback de salvamento: pequeno toast flutuante no canto do drawer */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v321{
  position:relative!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-clean{
  position:absolute!important;
  top:78px!important;
  right:16px!important;
  z-index:12!important;
  width:auto!important;
  max-width:260px!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 10px 7px 8px!important;
  display:none;
  align-items:center!important;
  gap:7px!important;
  border-radius:9px!important;
  font-size:.62rem!important;
  font-weight:680!important;
  line-height:1.25!important;
  box-shadow:0 12px 28px rgba(0,0,0,.26)!important;
  opacity:0;
  transform:translateY(-5px);
  transition:opacity .18s ease,transform .18s ease!important;
  pointer-events:none;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-clean.show{
  opacity:1!important;
  transform:translateY(0)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-clean.success{
  color:#86efac!important;
  border:1px solid rgba(34,197,94,.24)!important;
  background:rgba(20,34,25,.96)!important;
  backdrop-filter:blur(10px);
}

.system-pro-v3[data-theme=light] #cobAcordoDrawerOverlay .cob-drawer-toast-clean.success{
  color:#047857!important;
  background:rgba(240,253,244,.97)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-icon{
  width:20px;
  height:20px;
  flex:0 0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:rgba(34,197,94,.12);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-icon svg{
  width:12px;
  height:12px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-text{
  white-space:nowrap;
}




.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 8px!important;
  margin:0!important;
  border:0!important;
  border-radius:7px!important;
  font-family:'Inter',sans-serif!important;
  font-size:.60rem!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}

.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn svg{
  width:8px!important;
  height:8px!important;
  opacity:.72!important;
  flex-shrink:0;
}

.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn:hover{
  filter:brightness(1.12)!important;
}

/* Menu flutuante */
.system-pro-v3 .cob-inline-choice-menu{
  padding:6px!important;
  border:1px solid var(--bd)!important;
  border-radius:11px!important;
  background:var(--sf)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.42)!important;
}

.system-pro-v3 .cob-inline-choice-option{
  width:100%;
  min-height:32px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--t2);
  font-family:'Inter',sans-serif;
  font-size:.66rem;
  font-weight:580;
  text-align:left;
  cursor:pointer;
}

.system-pro-v3 .cob-inline-choice-option:hover{
  background:var(--pro-hover);
  color:var(--tx);
}

.system-pro-v3 .cob-inline-choice-option.active{
  color:var(--tx);
  font-weight:720;
}

.system-pro-v3 .cob-inline-choice-dot{
  width:9px;
  height:9px;
  min-width:9px;
  min-height:9px;
  padding:0!important;
  border-radius:999px!important;
}

/* Usa somente a cor de fundo das classes já existentes */
.system-pro-v3 .cob-inline-choice-dot.cob-chip-origin-automation{
  background:#3b82f6!important;
}
.system-pro-v3 .cob-inline-choice-dot.cob-chip-origin-team{
  background:#8b5cf6!important;
}
.system-pro-v3 .cob-inline-choice-dot.cob-chip-origin-student{
  background:#10b981!important;
}
.system-pro-v3 .cob-inline-choice-dot.cob-chip-form-installments{
  background:#3b82f6!important;
}
.system-pro-v3 .cob-inline-choice-dot.cob-chip-form-cash{
  background:#10b981!important;
}
.system-pro-v3 .cob-inline-choice-dot.cob-chip-form-opportunity{
  background:#f97316!important;
}




/* O drawer de Acordos deve SEMPRE abrir pela direita */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v321{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  width:min(610px,97vw)!important;
  height:100vh!important;
  height:100dvh!important;
  max-height:100vh!important;
  max-height:100dvh!important;

  display:flex!important;
  flex-direction:column!important;

  overflow:hidden!important;
  transform:translateX(100%)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay.show .cob-drawer-v321{
  transform:translateX(0)!important;
}

/* Cabeçalho fica fixo no topo do drawer */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-head{
  position:relative!important;
  top:auto!important;
  flex:0 0 auto!important;
  width:100%!important;
}

/* O corpo é a ÚNICA área que rola */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-body{
  position:relative!important;
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:14px 16px 16px!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}

/* Rodapé deixa de ficar absoluto / escondido atrás do conteúdo */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-footer{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;

  flex:0 0 auto!important;
  width:100%!important;

  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;

  padding:10px 16px!important;
  border-top:1px solid var(--bd)!important;
  z-index:4!important;
}

/* Cards nunca podem estourar a largura do drawer */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-card,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-grid,
.system-pro-v3 #cobAcordoDrawerOverlay .fg,
.system-pro-v3 #cobAcordoDrawerOverlay .fs,
.system-pro-v3 #cobAcordoDrawerOverlay .dperiod{
  min-width:0!important;
  max-width:100%!important;
}

/* Toast continua flutuando sem alterar o fluxo do drawer */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-clean{
  position:absolute!important;
  top:76px!important;
  right:16px!important;
  left:auto!important;
  z-index:10!important;
}

/* Mobile: drawer ocupa a tela toda e continua rolando só internamente */
@media(max-width:700px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v321{
    width:100vw!important;
    max-width:100vw!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-body{
    padding:12px 12px 14px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-footer{
    padding:9px 12px!important;
  }
}




.system-pro-v3 #cobPanelMensagens #cobMsgArquivoHint{
  color:var(--t3)!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-drop:hover #cobMsgArquivoHint{
  color:var(--t2)!important;
}




.system-pro-v3 #cobPanelMensagens .cob-msg-config-state{
  margin-top:10px;
  align-items:flex-start;
  gap:7px;
  padding:8px 9px;
  border:1px solid rgba(245,158,11,.18);
  border-radius:8px;
  background:rgba(245,158,11,.055);
  color:var(--t3);
  font-size:.59rem;
  line-height:1.42;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-config-dot{
  width:6px;
  height:6px;
  flex:0 0 6px;
  margin-top:4px;
  border-radius:999px;
  background:#f59e0b;
}




.system-pro-v3 .cob-installment-overlay{
  align-items:center!important;
  justify-content:center!important;
}

.system-pro-v3 .cob-installment-modal{
  width:min(470px,94vw);
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--sf);
  box-shadow:0 28px 80px rgba(0,0,0,.48);
  font-family:'Inter',sans-serif;
}

.system-pro-v3 .cob-installment-head{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:15px 16px;
  border-bottom:1px solid var(--bd);
}

.system-pro-v3 .cob-installment-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--pro-ac-border);
  border-radius:9px;
  background:var(--pro-ac-soft);
  color:var(--pro-ac);
}

.system-pro-v3 .cob-installment-icon svg{
  width:16px;
  height:16px;
}

.system-pro-v3 .cob-installment-title{
  color:var(--tx);
  font-size:.82rem;
  font-weight:760;
}

.system-pro-v3 .cob-installment-sub{
  max-width:320px;
  margin-top:2px;
  overflow:hidden;
  color:var(--t3);
  font-size:.60rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.system-pro-v3 .cob-installment-close{
  position:absolute;
  top:12px;
  right:12px;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--t3);
  font-family:inherit;
  font-size:1rem;
  cursor:pointer;
}

.system-pro-v3 .cob-installment-close:hover{
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

.system-pro-v3 .cob-installment-body{
  padding:14px 16px;
}

.system-pro-v3 .cob-installment-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
  padding:9px 10px;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
}

.system-pro-v3 .cob-installment-summary span{
  color:var(--t3);
  font-size:.61rem;
  font-weight:600;
}

.system-pro-v3 .cob-installment-summary strong{
  color:var(--tx);
  font-size:.67rem;
  font-weight:750;
}

.system-pro-v3 .cob-installment-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.system-pro-v3 .cob-installment-grid .fg{
  margin:0!important;
}

.system-pro-v3 .cob-installment-grid .fs{
  height:36px!important;
  min-height:36px!important;
  border-radius:8px!important;
}

.system-pro-v3 .cob-installment-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:12px;
  padding:10px 11px;
  border:1px solid rgba(255,138,61,.18);
  border-radius:9px;
  background:rgba(255,138,61,.045);
}

.system-pro-v3 .cob-installment-total span{
  display:block;
  color:var(--tx);
  font-size:.64rem;
  font-weight:700;
}

.system-pro-v3 .cob-installment-total small{
  display:block;
  margin-top:2px;
  color:var(--t3);
  font-size:.55rem;
}

.system-pro-v3 .cob-installment-total strong{
  color:var(--pro-ac);
  font-size:.80rem;
  font-weight:800;
  white-space:nowrap;
}

.system-pro-v3 .cob-installment-note{
  margin-top:11px;
  color:var(--t3);
  font-size:.57rem;
  line-height:1.5;
}

.system-pro-v3 .cob-installment-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding:10px 16px;
  border-top:1px solid var(--bd);
}

.system-pro-v3 .cob-installment-actions .fbtn{
  width:auto!important;
  min-width:88px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:.62rem!important;
  font-weight:700!important;
}

.system-pro-v3 .cob-installment-cancel{
  border-color:var(--bd)!important;
  background:transparent!important;
  color:var(--t2)!important;
}

.system-pro-v3 .cob-installment-cancel:hover{
  background:var(--pro-hover)!important;
  color:var(--tx)!important;
}

.system-pro-v3 .cob-installment-confirm{
  border-color:var(--pro-ac)!important;
  background:var(--pro-ac)!important;
  color:#171717!important;
}

@media(max-width:520px){
  .system-pro-v3 .cob-installment-grid{
    grid-template-columns:1fr;
  }
}




/* Segurança visual: o fluxo manual de Novo acordo foi descontinuado. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-new,
.system-pro-v3 #cobNovoAcordoOverlay{
  display:none!important;
}

/* Cabeçalho da tela fica mais limpo sem a ação manual. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-head-actions{
  min-width:0!important;
}




.system-pro-v3 #cobPanelDash.cob-planilha-dashboard{
  --cob-card-gap:12px;
}

.system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
}

.system-pro-v3 #cobPanelDash .cob-kpi-grid-v331 .cob-kpi-card{
  min-height:105px!important;
}

.system-pro-v3 #cobPanelDash .cob-kpi-grid-v331 .cob-kpi-value{
  font-size:1.10rem!important;
}

.system-pro-v3 #cobPanelDash .cob-dash-primary-grid-v331{
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr)!important;
}

.system-pro-v3 #cobPanelDash .cob-dash-four-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:12px;
}

.system-pro-v3 #cobPanelDash .cob-dash-four-grid .cob-dash-card{
  min-width:0;
  margin:0!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-card{
  margin-bottom:12px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  padding:0 14px 14px;
}

.system-pro-v3 #cobPanelDash .cob-week-card{
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
}

.system-pro-v3 #cobPanelDash .cob-week-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:9px 11px;
  border-bottom:1px solid var(--bd);
}

.system-pro-v3 #cobPanelDash .cob-week-head div{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.system-pro-v3 #cobPanelDash .cob-week-head strong{
  color:var(--tx);
  font-size:.68rem;
  font-weight:760;
}

.system-pro-v3 #cobPanelDash .cob-week-head span{
  color:var(--t3);
  font-size:.56rem;
}

.system-pro-v3 #cobPanelDash .cob-week-head b{
  color:var(--ac);
  font-size:.68rem;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelDash .cob-week-table{
  overflow-x:auto;
}

.system-pro-v3 #cobPanelDash .cob-week-row{
  min-width:790px;
  display:grid;
  grid-template-columns:105px repeat(6,minmax(82px,1fr)) 105px;
  align-items:center;
  min-height:31px;
  border-top:1px solid rgba(128,128,128,.07);
}

.system-pro-v3 #cobPanelDash .cob-week-row:first-child{
  border-top:0;
}

.system-pro-v3 #cobPanelDash .cob-week-row > *{
  padding:6px 8px;
  border-left:1px solid rgba(128,128,128,.07);
  text-align:right;
  color:var(--t2);
  font-size:.58rem;
}

.system-pro-v3 #cobPanelDash .cob-week-row > *:first-child{
  border-left:0;
  text-align:left;
}

.system-pro-v3 #cobPanelDash .cob-week-row strong{
  color:var(--tx);
  font-weight:690;
}

.system-pro-v3 #cobPanelDash .cob-week-row b{
  color:var(--tx);
  font-weight:760;
}

.system-pro-v3 #cobPanelDash .cob-week-row-head{
  min-height:28px;
  background:rgba(128,128,128,.045);
}

.system-pro-v3 #cobPanelDash .cob-week-row-head span{
  color:var(--t3);
  font-size:.54rem;
  font-weight:700;
}

.system-pro-v3 #cobPanelDash .cob-week-row .muted{
  opacity:.32;
}

.system-pro-v3 #cobPanelDash .cob-resp-total td{
  font-weight:760!important;
  color:var(--tx)!important;
  border-top:1px solid var(--bd)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-auto-status-label{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 7px;
  border-radius:7px;
  background:rgba(59,130,246,.09);
  color:#93c5fd;
  font-size:.55rem;
  font-weight:680;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-auto-status-label{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 7px;
  border-radius:7px;
  background:rgba(59,130,246,.09);
  color:#93c5fd;
  font-size:.55rem;
  font-weight:680;
  white-space:nowrap;
}

/* Tons extras para os novos KPIs */
.system-pro-v3 #cobPanelDash .cob-kpi-card[data-tone="blue"]{
  --kpi-tone:#38bdf8;
}
.system-pro-v3 #cobPanelDash .cob-kpi-card[data-tone="purple"]{
  --kpi-tone:#a78bfa;
}
.system-pro-v3 #cobPanelDash .cob-kpi-card[data-tone="neutral"]{
  --kpi-tone:#9ca3af;
}

@media(max-width:1450px){
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .system-pro-v3 #cobPanelDash .cob-dash-four-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .system-pro-v3 #cobPanelDash .cob-dash-primary-grid-v331{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .system-pro-v3 #cobPanelDash .cob-dash-four-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:580px){
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:1fr!important;
  }
}




.system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-collapsible{
  overflow:hidden!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle{
  width:100%;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  border:0;
  background:transparent;
  color:inherit;
  font-family:inherit;
  text-align:left;
  cursor:pointer;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle:hover{
  background:var(--pro-hover);
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle-text{
  min-width:0;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle-action{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--t3);
  font-size:.58rem;
  font-weight:680;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle-action svg{
  width:14px;
  height:14px;
  transition:transform .18s ease;
}

.system-pro-v3 #cobPanelDash .cob-weekly-content{
  border-top:1px solid var(--bd);
}

.system-pro-v3 #cobPanelDash .cob-weekly-content .cob-week-grid{
  padding-top:12px;
}

@media(max-width:1450px){
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

@media(max-width:1200px){
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:520px){
  .system-pro-v3 #cobPanelDash .cob-kpi-grid-v331{
    grid-template-columns:1fr!important;
  }
}




.system-pro-v3 #cobPanelDash .cob-week-empty{
  padding:14px;
  color:var(--t3);
  font-size:.62rem;
  text-align:center;
}

.system-pro-v3 #cobPanelDash .cob-week-head span{
  white-space:nowrap;
}




.system-pro-v3 #cobPanelDash .cob-weekly-toggle{
  min-height:64px!important;
  padding:13px 16px!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle .cob-dash-card-title{
  font-size:.78rem!important;
  line-height:1.25!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle .cob-dash-card-sub{
  margin-top:3px!important;
  font-size:.64rem!important;
  line-height:1.35!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle-action{
  gap:8px!important;
  font-size:.63rem!important;
}

.system-pro-v3 #cobPanelDash .cob-weekly-toggle-action svg{
  width:15px!important;
  height:15px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-grid{
  gap:12px!important;
  padding:14px 16px 16px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-card{
  border-radius:11px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-head{
  min-height:42px!important;
  padding:10px 12px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-head strong{
  font-size:.72rem!important;
  line-height:1.25!important;
}

.system-pro-v3 #cobPanelDash .cob-week-head span{
  font-size:.61rem!important;
  line-height:1.3!important;
}

.system-pro-v3 #cobPanelDash .cob-week-head b{
  font-size:.72rem!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row{
  min-width:850px!important;
  min-height:36px!important;
  grid-template-columns:112px repeat(6,minmax(92px,1fr)) 112px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row > *{
  padding:8px 10px!important;
  font-size:.64rem!important;
  line-height:1.25!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row-head{
  min-height:33px!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row-head span{
  font-size:.60rem!important;
  font-weight:720!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row strong{
  font-size:.65rem!important;
  font-weight:760!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row b{
  font-size:.65rem!important;
  font-weight:800!important;
}

.system-pro-v3 #cobPanelDash .cob-week-row:not(.cob-week-row-head):hover{
  background:rgba(128,128,128,.035);
}

/* Coluna TOTAL com um pouco mais de destaque visual */
.system-pro-v3 #cobPanelDash .cob-week-row > *:last-child{
  background:rgba(128,128,128,.025);
}

/* Em telas menores, mantém leitura sem esmagar as colunas */
@media(max-width:1000px){
  .system-pro-v3 #cobPanelDash .cob-week-row{
    min-width:920px!important;
  }
}




.system-pro-v3 #cobPanelAcordos .cob-clearable-cell{
  position:relative;
}

.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap{
  position:relative;
  min-width:0;
  display:flex;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
}

.system-pro-v3 #cobPanelAcordos .cob-clear-field-btn{
  width:20px;
  height:20px;
  flex:0 0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-left:1px;
  padding:0;
  border:1px solid transparent;
  border-radius:6px;

  background:transparent;
  color:var(--t3);

  opacity:0;
  visibility:hidden;
  transform:scale(.88);

  cursor:pointer;
  transition:
    opacity .12s ease,
    visibility .12s ease,
    transform .12s ease,
    background .12s ease,
    color .12s ease,
    border-color .12s ease;
}

.system-pro-v3 #cobPanelAcordos .cob-clear-field-btn svg{
  width:11px;
  height:11px;
  pointer-events:none;
}

.system-pro-v3 #cobPanelAcordos .cob-clearable-cell:hover .cob-clear-field-btn,
.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap:focus-within .cob-clear-field-btn{
  opacity:.72;
  visibility:visible;
  transform:scale(1);
}

.system-pro-v3 #cobPanelAcordos .cob-clear-field-btn:hover{
  opacity:1!important;
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

/* Se o campo já estiver vazio, o X não precisa aparecer */
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn[data-value=""] + .cob-clear-field-btn{
  display:none;
}

/* Mantém o botão bem discreto e não aumenta a altura da linha */
.system-pro-v3 #cobPanelAcordos .cob-clearable-cell{
  vertical-align:middle;
}




/* O seletor fechado passa a ter exatamente o mesmo porte do Status */
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn{
  min-height:24px!important;
  height:24px!important;
  padding:0 8px!important;
  gap:5px!important;
  border-radius:7px!important;
  font-size:.60rem!important;
  line-height:1!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn svg{
  width:10px!important;
  height:10px!important;
}

/* Classes antigas das bolinhas ficam inutilizadas no menu novo */
.system-pro-v3 #cobInlineChoiceMenu .cob-inline-choice-dot{
  display:none!important;
}




.system-pro-v3 .cob-installment-modal{
  width:min(720px,95vw)!important;
}

.system-pro-v3 .cob-installment-grid-v337{
  grid-template-columns:minmax(0,1.5fr) minmax(170px,.5fr)!important;
}

.system-pro-v3 .cob-installment-field-help{
  display:block;
  margin-top:4px;
  color:var(--t3);
  font-size:.54rem;
  line-height:1.35;
}

.system-pro-v3 .cob-installment-rule-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}

.system-pro-v3 .cob-installment-rule-card{
  min-width:0;
  padding:10px 11px;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
}

.system-pro-v3 .cob-installment-rule-card span{
  display:block;
  color:var(--t3);
  font-size:.56rem;
  font-weight:650;
}

.system-pro-v3 .cob-installment-rule-card strong{
  display:block;
  margin-top:4px;
  color:var(--tx);
  font-size:.78rem;
  font-weight:800;
}

.system-pro-v3 .cob-installment-rule-card:first-child strong{
  color:var(--pro-ac);
}

.system-pro-v3 .cob-installment-rule-card small{
  display:block;
  margin-top:3px;
  color:var(--t3);
  font-size:.50rem;
  line-height:1.3;
}

.system-pro-v3 .cob-installment-date-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}

.system-pro-v3 .cob-installment-date-input{
  color-scheme:dark;
}

.system-pro-v3 .cob-installment-preview-wrap{
  margin-top:13px;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
}

.system-pro-v3 .cob-installment-preview-head{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  border-bottom:1px solid var(--bd);
}

.system-pro-v3 .cob-installment-preview-head strong{
  display:block;
  color:var(--tx);
  font-size:.65rem;
  font-weight:760;
}

.system-pro-v3 .cob-installment-preview-head span:not(.cob-installment-preview-badge){
  display:block;
  margin-top:2px;
  color:var(--t3);
  font-size:.52rem;
}

.system-pro-v3 .cob-installment-preview-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 7px;
  border-radius:7px;
  background:rgba(255,138,61,.10);
  color:var(--pro-ac);
  font-size:.53rem;
  font-weight:740;
}

.system-pro-v3 .cob-installment-preview-scroll{
  max-height:245px;
  overflow:auto;
}

.system-pro-v3 .cob-installment-preview-table{
  width:100%;
  border-collapse:collapse;
}

.system-pro-v3 .cob-installment-preview-table th{
  padding:7px 9px;
  border-bottom:1px solid var(--bd);
  color:var(--t3);
  font-size:.54rem;
  font-weight:700;
  text-align:left;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.system-pro-v3 .cob-installment-preview-table td{
  padding:7px 9px;
  border-bottom:1px solid rgba(128,128,128,.07);
  color:var(--t2);
  font-size:.60rem;
}

.system-pro-v3 .cob-installment-preview-table tr:last-child td{
  border-bottom:0;
}

.system-pro-v3 .cob-installment-preview-date{
  width:150px!important;
  min-width:150px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 8px!important;
  border-radius:7px!important;
  font-size:.58rem!important;
  color-scheme:dark;
}

.system-pro-v3 .cob-installment-preview-money{
  color:var(--tx);
  font-size:.62rem;
  font-weight:760;
  white-space:nowrap;
}

.system-pro-v3 .cob-installment-type{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:0 7px;
  border-radius:7px;
  font-size:.53rem;
  font-weight:700;
  white-space:nowrap;
}

.system-pro-v3 .cob-installment-type.entrada{
  background:rgba(255,138,61,.10);
  color:var(--pro-ac);
}

.system-pro-v3 .cob-installment-type.regular{
  background:rgba(59,130,246,.10);
  color:#93c5fd;
}

.system-pro-v3 .cob-installment-preview-empty{
  padding:18px!important;
  color:var(--t3)!important;
  text-align:center;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-tipo{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:0 7px;
  border-radius:7px;
  font-size:.53rem;
  font-weight:700;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:0 7px;
  border-radius:7px;
  font-size:.53rem;
  font-weight:700;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-tipo.entrada{
  background:rgba(255,138,61,.10);
  color:#fb923c;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo.entrada{
  background:rgba(255,138,61,.10);
  color:#fb923c;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-tipo.regular{
  background:rgba(59,130,246,.10);
  color:#93c5fd;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo.regular{
  background:rgba(59,130,246,.10);
  color:#93c5fd;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-tipo.avista{
  background:rgba(16,185,129,.10);
  color:#6ee7b7;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo.avista{
  background:rgba(16,185,129,.10);
  color:#6ee7b7;
}

@media(max-width:650px){
  .system-pro-v3 .cob-installment-grid-v337,
  .system-pro-v3 .cob-installment-rule-grid,
  .system-pro-v3 .cob-installment-date-grid{
    grid-template-columns:1fr!important;
  }
}




.system-pro-v3 #cobParcelamentoOverlay{
  cursor:default;
}

.system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
  cursor:default;
}




.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table{
  table-layout:fixed;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table{
  table-layout:fixed;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-click-cell{
  position:relative;
  padding:8px 10px;
  cursor:pointer;
  transition:background .12s ease;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell{
  position:relative;
  padding:8px 10px;
  cursor:pointer;
  transition:background .12s ease;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-click-cell:hover{
  background:var(--pro-hover);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell:hover{
  background:var(--pro-hover);
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-click-value{
  display:inline-flex;
  align-items:center;
  min-height:22px;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-value{
  display:inline-flex;
  align-items:center;
  min-height:22px;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-hover-hint{
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  color:var(--t3);
  font-size:.50rem;
  font-weight:650;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease,visibility .12s ease;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-hover-hint{
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  color:var(--t3);
  font-size:.50rem;
  font-weight:650;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease,visibility .12s ease;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-click-cell:hover .cob-parcela-hover-hint{
  opacity:.72;
  visibility:visible;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell:hover .cob-parcela-hover-hint{
  opacity:.72;
  visibility:visible;
}

/* Editor flutuante do valor recebido */
.system-pro-v3 .cob-parcela-value-popover{
  position:fixed;
  z-index:2200;
  width:225px;
  padding:10px;
  border:1px solid var(--bd);
  border-radius:11px;
  background:var(--sf);
  box-shadow:0 18px 45px rgba(0,0,0,.42);
}

.system-pro-v3 .cob-parcela-value-popover label{
  display:block;
  margin-bottom:6px;
  color:var(--t3);
  font-size:.55rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.system-pro-v3 .cob-parcela-value-popover .fs{
  width:100%;
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
}

.system-pro-v3 .cob-parcela-value-actions{
  display:flex;
  justify-content:flex-end;
  gap:6px;
  margin-top:8px;
}

.system-pro-v3 .cob-parcela-value-actions .fbtn{
  width:auto!important;
  min-width:66px!important;
  height:27px!important;
  min-height:27px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  font-size:.55rem!important;
}

.system-pro-v3 .cob-parcela-value-actions .fbtn.primary{
  border-color:var(--pro-ac)!important;
  background:var(--pro-ac)!important;
  color:#171717!important;
}

/* O antigo botão Editar deixa de ser necessário nesta tela */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-edit-btn,
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-actions-cell{
  display:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-edit-btn,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-actions-cell{
  display:none!important;
}




/* Registrar abordagem no padrão compacto antigo */
.system-pro-v3 #cobPanelAcordos .cob-abordagem-register{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:auto!important;
  max-width:100%!important;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-register svg{
  width:11px;
  height:11px;
  flex:0 0 11px;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-date{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-date strong{
  font-size:.64rem!important;
  font-weight:730!important;
}

/* Responsável clicável direto na célula */
.system-pro-v3 #cobPanelAcordos .cob-responsavel-wrap{
  width:100%;
  max-width:160px;
}

.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn{
  min-width:0;
  max-width:138px;
  height:26px;
  display:inline-flex;
  align-items:center;
  padding:0 7px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:var(--t2);
  font-family:inherit;
  font-size:.64rem;
  font-weight:650;
  cursor:text;
  transition:background .12s ease,border-color .12s ease,color .12s ease;
}

.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn:hover{
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn.empty{
  color:var(--t3);
  font-weight:560;
}

/* Editor flutuante de responsável */
.system-pro-v3 .cob-responsavel-popover{
  position:fixed;
  z-index:2200;
  width:245px;
  padding:10px;
  border:1px solid var(--bd);
  border-radius:11px;
  background:var(--sf);
  box-shadow:0 18px 45px rgba(0,0,0,.42);
}

.system-pro-v3 .cob-responsavel-popover label{
  display:block;
  margin-bottom:6px;
  color:var(--t3);
  font-size:.55rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.system-pro-v3 .cob-responsavel-popover .fs{
  width:100%;
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
}

.system-pro-v3 .cob-responsavel-actions{
  display:flex;
  justify-content:flex-end;
  gap:6px;
  margin-top:8px;
}

.system-pro-v3 .cob-responsavel-actions .fbtn{
  width:auto!important;
  min-width:66px!important;
  height:27px!important;
  min-height:27px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  font-size:.55rem!important;
}

.system-pro-v3 .cob-responsavel-actions .fbtn.primary{
  border-color:var(--pro-ac)!important;
  background:var(--pro-ac)!important;
  color:#171717!important;
}




.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn{
  cursor:pointer!important;
}

.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn.empty:hover{
  color:var(--tx)!important;
}




.system-pro-v3 #cobPanelAcordos .cob-abordagem-wrap{
  width:100%;
  max-width:165px;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn{
  min-width:0;
  max-width:145px;
  height:26px;
  display:inline-flex;
  align-items:center;
  padding:0 7px;

  border:1px solid transparent;
  border-radius:7px;
  background:transparent;

  color:var(--t2);
  font-family:inherit;
  font-size:.64rem;
  font-weight:650;
  cursor:pointer;

  transition:
    background .12s ease,
    border-color .12s ease,
    color .12s ease;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn.empty{
  color:var(--t3);
  font-weight:560;
}

/* Normalmente parece apenas texto.
   O contorno/fundo só aparece ao passar o mouse, igual ao Responsável. */
.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn:hover{
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

/* Desativa o visual antigo de botão com contorno permanente */
.system-pro-v3 #cobPanelAcordos .cob-abordagem-register{
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}




.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-footer{
  justify-content:space-between!important;
  gap:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg{
  width:auto!important;
  min-width:112px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 11px!important;
  border:1px solid rgba(239,68,68,.22)!important;
  border-radius:8px!important;
  background:rgba(239,68,68,.055)!important;
  color:#fca5a5!important;
  font-size:.60rem!important;
  font-weight:700!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg:hover{
  border-color:rgba(239,68,68,.38)!important;
  background:rgba(239,68,68,.10)!important;
  color:#fecaca!important;
}

.system-pro-v3 .cob-clear-neg-overlay{
  align-items:center!important;
  justify-content:center!important;
}

.system-pro-v3 .cob-clear-neg-modal{
  width:min(510px,94vw);
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--sf);
  box-shadow:0 28px 90px rgba(0,0,0,.52);
}

.system-pro-v3 .cob-clear-neg-head{
  position:relative;
  padding:16px 18px 13px;
  border-bottom:1px solid var(--bd);
}

.system-pro-v3 .cob-clear-neg-title{
  color:var(--tx);
  font-size:.92rem;
  font-weight:800;
}

.system-pro-v3 .cob-clear-neg-person{
  margin-top:3px;
  color:var(--t3);
  font-size:.59rem;
}

.system-pro-v3 .cob-clear-neg-x{
  position:absolute;
  top:12px;
  right:12px;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--t3);
  font-family:inherit;
  font-size:1rem;
  cursor:pointer;
}

.system-pro-v3 .cob-clear-neg-x:hover{
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

.system-pro-v3 .cob-clear-neg-body{
  padding:16px 18px;
}

.system-pro-v3 .cob-clear-neg-warning{
  color:var(--t2);
  font-size:.70rem;
  line-height:1.55;
  font-weight:620;
}

.system-pro-v3 .cob-clear-neg-list{
  margin-top:11px;
  padding:10px 11px;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
  color:var(--t3);
  font-size:.59rem;
  line-height:1.65;
}

.system-pro-v3 .cob-clear-neg-preserve{
  margin-top:10px;
  padding:8px 10px;
  border-radius:8px;
  background:rgba(59,130,246,.065);
  color:#93c5fd;
  font-size:.57rem;
  line-height:1.45;
}

.system-pro-v3 .cob-clear-neg-label{
  display:block;
  margin-top:15px;
  margin-bottom:6px;
  color:var(--t2);
  font-size:.61rem;
}

.system-pro-v3 .cob-clear-neg-input{
  width:100%!important;
  height:36px!important;
  min-height:36px!important;
  border-radius:8px!important;
}

.system-pro-v3 .cob-clear-neg-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:10px 18px;
  border-top:1px solid var(--bd);
}

.system-pro-v3 .cob-clear-neg-actions .fbtn{
  width:auto!important;
  min-width:82px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:.61rem!important;
}

.system-pro-v3 .cob-clear-neg-confirm{
  border-color:#ef4444!important;
  background:#ef4444!important;
  color:#fff!important;
}

.system-pro-v3 .cob-clear-neg-confirm:disabled{
  opacity:.38!important;
  cursor:not-allowed!important;
}

.system-pro-v3 .cob-clear-neg-cancel{
  border-color:var(--bd)!important;
  background:transparent!important;
  color:var(--t2)!important;
}




.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;

  padding:0 8px!important;
  margin:0!important;

  border:0!important;
  border-radius:7px!important;

  font-family:inherit!important;
  font-size:.60rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;

  vertical-align:middle!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;

  padding:0 8px!important;
  margin:0!important;

  border:0!important;
  border-radius:7px!important;

  font-family:inherit!important;
  font-size:.60rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;

  vertical-align:middle!important;
  box-sizing:border-box!important;
}

/* O badge do resumo e o badge de cada parcela usam exatamente a mesma fonte */
.system-pro-v3 #cobPanelParcelamentos tbody .cob-parcela-status-badge,
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card .cob-parcela-status-badge{
  font-family:inherit!important;
  font-size:.60rem!important;
  font-weight:700!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro tbody .cob-parcela-status-badge,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card .cob-parcela-status-badge{
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:700!important;
}

/* Na célula clicável, mantém o badge alinhado sem alterar o tamanho */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-click-cell .cob-parcela-status-badge{
  pointer-events:none;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell .cob-parcela-status-badge{
  pointer-events:none;
}




.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;

  padding:0 8px!important;
  gap:5px!important;

  border:0!important;
  border-radius:7px!important;
  box-shadow:none!important;

  font-family:inherit!important;
  font-size:.60rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;

  vertical-align:middle!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;

  padding:0 8px!important;
  gap:5px!important;

  border:0!important;
  border-radius:7px!important;
  box-shadow:none!important;

  font-family:inherit!important;
  font-size:.60rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;

  vertical-align:middle!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-badge > span{
  font:inherit!important;
  line-height:1!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge > span{
  font:inherit!important;
  line-height:1!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-badge svg{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  opacity:.72!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge svg{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  opacity:.72!important;
}

/* Mesmo sistema de cores suaves usado em Acordos */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-neutral{
  color:#cbd5e1!important;
  background:rgba(148,163,184,.12)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-neutral{
  color:#cbd5e1!important;
  background:rgba(148,163,184,.12)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-warning{
  color:#fbbf24!important;
  background:rgba(245,158,11,.15)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-warning{
  color:#fbbf24!important;
  background:rgba(245,158,11,.15)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-error{
  color:#fca5a5!important;
  background:rgba(239,68,68,.14)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-error{
  color:#fca5a5!important;
  background:rgba(239,68,68,.14)!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcela-status-success{
  color:#6ee7b7!important;
  background:rgba(16,185,129,.16)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-success{
  color:#6ee7b7!important;
  background:rgba(16,185,129,.16)!important;
}

/* A célula inteira continua clicável para abrir as opções */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-click-cell:hover .cob-parcela-status-badge{
  filter:brightness(1.10)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell:hover .cob-parcela-status-badge{
  filter:brightness(1.10)!important;
}

/* Tema claro */
.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-status-neutral{
  color:#475569!important;
  background:rgba(100,116,139,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-neutral{
  color:#475569!important;
  background:rgba(100,116,139,.10)!important;
}

.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-status-warning{
  color:#b45309!important;
  background:rgba(245,158,11,.11)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-warning{
  color:#b45309!important;
  background:rgba(245,158,11,.11)!important;
}

.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-status-error{
  color:#b91c1c!important;
  background:rgba(239,68,68,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-error{
  color:#b91c1c!important;
  background:rgba(239,68,68,.10)!important;
}

.system-pro-v3[data-theme=light] #cobPanelParcelamentos .cob-parcela-status-success{
  color:#047857!important;
  background:rgba(5,150,105,.10)!important;
}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-success{
  color:#047857!important;
  background:rgba(5,150,105,.10)!important;
}




.system-pro-v3 #cobPanelAcordos .cob-acordo-id{
  min-width:70px!important;
  justify-content:center!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}

.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}




/* Quando Origem ou Forma do acordo ainda estiverem vazios,
   o texto "Selecionar" passa a usar exatamente o mesmo destaque
   claro do Status. Campos já preenchidos mantêm suas cores próprias. */
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn[data-value=""]{
  color:var(--tx)!important;
  font-weight:700!important;
}

.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn[data-value=""] svg{
  color:var(--tx)!important;
  opacity:.72!important;
}




/* Origem e Forma do acordo vazios */
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn[data-value=""]{
  color:var(--t3)!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn[data-value=""] svg{
  color:var(--t3)!important;
  opacity:.72!important;
}

/* Status vazio */
.system-pro-v3 #cobPanelAcordos .cob-status-btn[data-status=""]{
  color:var(--t3)!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn[data-status=""] svg{
  color:var(--t3)!important;
  opacity:.72!important;
}




/* Cabeçalhos */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th{
  text-align:center!important;
  vertical-align:middle!important;
}

/* Células */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{
  text-align:center!important;
  vertical-align:middle!important;
}

/* ID */
.system-pro-v3 #cobPanelAcordos .cob-acordo-id{
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Aluno */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno{
  align-items:center!important;
  text-align:center!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno strong,
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno span{
  width:100%;
  text-align:center!important;
}

/* Curso */
.system-pro-v3 #cobPanelAcordos .cob-acordo-course{
  display:block!important;
  text-align:center!important;
}

/* Campos interativos */
.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap{
  justify-content:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Data da abordagem */
.system-pro-v3 #cobPanelAcordos .cob-abordagem-wrap{
  justify-content:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Responsável */
.system-pro-v3 #cobPanelAcordos .cob-responsavel-wrap{
  justify-content:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Total negociação */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table .col-total{
  text-align:center!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-money{
  display:inline-block!important;
  min-width:0!important;
  text-align:center!important;
}

/* Chevron final */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table .col-open{
  text-align:center!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-chevron{
  margin-left:auto!important;
  margin-right:auto!important;
}




.system-pro-v3 #cobPanelMensagens .cob-msg-map-card{
  padding:16px 16px 17px!important;
}

/* Dá uma separação visual melhor entre o título do bloco e os campos */
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-title{
  margin:2px 0 13px!important;
  font-size:.68rem!important;
  line-height:1.2!important;
}

/* Data da abordagem / Origem / Responsável lado a lado em telas normais */
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:14px!important;
  row-gap:18px!important;
  align-items:start!important;
}

/* Cada campo passa a ter seu próprio fluxo vertical:
   label -> espaço -> input */
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid .fg{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  margin:0!important;
  min-width:0!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid .fl{
  display:block!important;
  position:static!important;
  margin:0!important;
  padding:0!important;
  line-height:1.15!important;
}

/* Os 3 controles ficam com exatamente a mesma altura/alinhamento */
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid .fs,
.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid .dperiod{
  width:100%!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid .dperiod{
  display:flex!important;
  align-items:center!important;
}

/* Mais respiro antes do mapeamento das colunas da planilha */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-divider{
  margin:17px 0 14px!important;
}

/* Só empilha quando realmente faltar espaço.
   Antes o breakpoint de 850px deixava este bloco "espremido" verticalmente
   em alguns níveis de zoom do navegador. */
@media(max-width:700px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-batch-grid{
    grid-template-columns:1fr!important;
    row-gap:16px!important;
  }
}



.system-pro-v3 #cobPanelMensagens .cob-msg-subtabs{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--bd);margin:0 0 18px;padding:0 2px}
.system-pro-v3 #cobPanelMensagens .cob-msg-subtab{height:36px;padding:0 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--t3);font:inherit;font-size:.74rem;font-weight:700;cursor:pointer}
.system-pro-v3 #cobPanelMensagens .cob-msg-subtab:hover{color:var(--tx)}
.system-pro-v3 #cobPanelMensagens .cob-msg-subtab.active{color:var(--tx);border-bottom-color:var(--ac)}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-card{overflow:hidden}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-wrap{max-height:560px}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table th,.system-pro-v3 #cobPanelMensagens .cob-msg-history-table td{vertical-align:middle;white-space:nowrap}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table td:nth-child(2){white-space:normal;min-width:190px}
.system-pro-v3 .cob-msg-history-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:8px;font-size:.62rem;font-weight:750;white-space:nowrap}
.system-pro-v3 .cob-msg-history-detail-card{width:min(980px,94vw)!important;max-width:980px!important;text-align:left!important}
.system-pro-v3 .cob-msg-history-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.system-pro-v3 .cob-msg-history-detail-sub{font-size:.68rem;color:var(--t3);margin-top:3px}
.system-pro-v3 .cob-msg-history-close{border:0;background:transparent;color:var(--t3);font-size:1.2rem;cursor:pointer;line-height:1;padding:2px 5px}
.system-pro-v3 .cob-msg-history-detail-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0 14px}
.system-pro-v3 .cob-msg-history-kpi{border:1px solid var(--bd);border-radius:10px;background:var(--c2);padding:10px}
.system-pro-v3 .cob-msg-history-kpi span{display:block;font-size:.56rem;color:var(--t3);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.system-pro-v3 .cob-msg-history-kpi strong{display:block;margin-top:4px;font-size:.86rem;color:var(--tx)}
.system-pro-v3 .cob-msg-history-detail-table-wrap{max-height:430px}
.system-pro-v3 .cob-msg-history-detail-table td:last-child{white-space:normal;min-width:240px;max-width:360px}
.system-pro-v3 .cob-msg-history-eye{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bd);border-radius:8px;background:transparent;color:var(--t2);cursor:pointer}
.system-pro-v3 .cob-msg-history-eye:hover{background:var(--hvr);color:var(--tx)}
@media(max-width:900px){.system-pro-v3 .cob-msg-history-detail-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}



.system-pro-v3 #cobPanelMensagens #cobMsgUnidadeWrap[data-operacional="locked"]{
  display:none!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card{
  margin-top:14px;
  padding:0;
  overflow:hidden;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px 15px;
  border-bottom:1px solid var(--bd);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-count{
  flex:0 0 auto;
  min-width:82px;
  height:28px;
  padding:0 11px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,138,61,.28);
  border-radius:8px;
  background:rgba(255,138,61,.08);
  color:var(--ac);
  font-size:.66rem;
  font-weight:700;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:13px 20px;
  border-bottom:1px solid var(--bd);
  background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  padding:4px 8px;
  border:1px solid var(--bd);
  border-radius:7px;
  background:rgba(255,255,255,.025);
  font-size:.61rem;
  line-height:1.2;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map-label{
  color:var(--t3);
  font-weight:650;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map-value{
  color:var(--t1);
  font-weight:650;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map-item.unmapped .cob-msg-preview-map-value{
  color:var(--t3);
  font-weight:550;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table-wrap{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table{
  width:100%;
  min-width:1250px;
  border-collapse:collapse;
  table-layout:auto;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table th{
  padding:10px 12px;
  border-bottom:1px solid var(--bd);
  background:rgba(255,255,255,.018);
  color:var(--t3);
  font-size:.58rem;
  font-weight:750;
  letter-spacing:.035em;
  text-transform:uppercase;
  text-align:left;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td{
  padding:11px 12px;
  border-bottom:1px solid var(--bd);
  color:var(--t2);
  font-size:.64rem;
  font-weight:520;
  vertical-align:middle;
  white-space:nowrap;
  max-width:250px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody tr:hover{
  background:rgba(255,255,255,.025);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td:nth-child(2),
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td:nth-child(3){
  color:var(--t1);
  font-weight:650;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-empty{
  color:var(--t3)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-foot{
  padding:10px 20px 12px;
  color:var(--t3);
  font-size:.61rem;
  font-weight:520;
}
@media(max-width:700px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-preview-head{
    flex-direction:column;
    align-items:stretch;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-preview-count{
    align-self:flex-start;
  }
}



.system-pro-v3 #cobPanelMensagens .cob-msg-intro{
  margin-bottom:14px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-intro-title{
  font-size:.95rem;
  font-weight:800;
  color:var(--tx);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-intro-sub{
  margin-top:3px;
  font-size:.7rem;
  color:var(--t2);
  font-weight:500;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-start-grid{
  gap:14px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-start-grid > .cc{
  min-height:198px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-file-label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-file-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-file-copy strong{
  font-size:.72rem;
  color:var(--t2);
  font-weight:700;
  max-width:430px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-file-copy small{
  margin-top:2px;
  font-size:.62rem;
  color:var(--t3);
  font-weight:500;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-info{
  margin-top:12px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-info-icon{
  width:34px;
  height:34px;
  border-radius:9px;
  background:rgba(249,115,22,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-info-title{
  font-size:.78rem;
  font-weight:700;
  color:var(--tx);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-info-sub{
  font-size:.68rem;
  color:var(--t2);
  margin-top:2px;
  line-height:1.4;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-import-optional-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:10px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-divider{
  margin:18px 0 14px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card{
  padding:0;
  overflow:hidden;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .th2{
  padding:14px 16px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-count{
  font-size:.64rem;
  color:var(--ac);
  font-weight:600;
  min-width:auto;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 16px;
  border-top:1px solid var(--bd);
  border-bottom:1px solid var(--bd);
  background:transparent;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map-item{
  min-height:24px;
  padding:3px 8px;
  border:1px solid var(--bd);
  border-radius:7px;
  background:rgba(255,255,255,.025);
  font-size:.6rem;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-summary{
  margin:0;
  border-radius:0;
  border-left:0;
  border-right:0;
  border-top:0;
  padding:10px 16px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table-wrap{
  width:100%;
  overflow:auto;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table{
  min-width:1180px;
  width:100%;
  border-collapse:collapse;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table th,
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td{
  padding:10px 12px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-foot{
  padding:0;
  color:var(--t3);
  font-size:.61rem;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-actions{
  margin-top:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn{
  background:var(--ac);
  color:var(--bg);
  border-color:var(--ac);
}
@media(max-width:800px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-start-grid{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-import-optional-grid{
    grid-template-columns:1fr;
  }
}



html, body, body.system-pro-v3,
.system-pro-v3 *,
.system-pro-v3 *::before,
.system-pro-v3 *::after{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.system-pro-v3 input,
.system-pro-v3 select,
.system-pro-v3 textarea,
.system-pro-v3 button,
.system-pro-v3 table,
.system-pro-v3 th,
.system-pro-v3 td{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .ct{
  margin-bottom:14px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-secondary-title{
  margin-bottom:10px;
  color:var(--t3);
  font-size:.64rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-divider{
  height:1px;
  background:var(--bd);
  margin:16px 0 13px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-map{
  display:none!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-summary{
  margin:0;
  padding:8px 14px;
  border:0;
  border-bottom:1px solid var(--bd);
  border-radius:0;
  background:rgba(34,197,94,.055);
  color:var(--t2);
  font-size:.64rem;
  font-weight:600;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .th2{
  min-height:49px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-count{
  color:var(--ac);
  font-size:.64rem;
  font-weight:700;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table{
  min-width:1120px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table th{
  background:var(--s2);
  color:var(--t3);
  font-size:.61rem;
  font-weight:700;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td{
  color:var(--tx);
  font-size:.66rem;
  font-weight:500;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td:nth-child(1),
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td:nth-child(2){
  font-weight:650;
  color:var(--tx);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .pag{
  min-height:48px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .pi{
  font-size:.63rem;
}
@media(max-width:1180px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:780px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid,
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
    grid-template-columns:1fr;
  }
}



.system-pro-v3 #cobPanelMensagens{
  --msg-card-radius:12px;
  --msg-soft:rgba(255,255,255,.018);
  --msg-soft-2:rgba(255,255,255,.028);
}

/* Card de mapeamento */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card{
  padding:18px 18px 16px;
  border-radius:var(--msg-card-radius);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .ct{
  margin-bottom:16px;
  padding-left:0;
  font-size:.68rem;
  letter-spacing:.055em;
  text-transform:uppercase;
  color:var(--t2);
  font-weight:800;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .ct::before{
  width:5px;
  height:5px;
  border-radius:50%;
  margin-right:8px;
  background:var(--ac);
  vertical-align:2px;
}

/* Mapeamento principal — 4 colunas proporcionais */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid .fg,
.system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid .fg{
  min-width:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .fl{
  margin-bottom:7px;
  font-size:.60rem;
  letter-spacing:.045em;
  color:var(--t3);
  font-weight:750;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .fs,
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .dperiod{
  height:38px;
  border-radius:8px;
  background:var(--msg-soft-2);
  border-color:rgba(255,255,255,.12);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .fs:hover,
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card .dperiod:hover{
  border-color:rgba(255,138,61,.36);
  background:rgba(255,255,255,.035);
}

/* Dados complementares — seção secundária mais sutil */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-divider{
  margin:18px 0 14px;
  background:rgba(255,255,255,.08);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-secondary-title{
  margin-bottom:12px;
  color:var(--t3);
  font-size:.59rem;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:rgba(255,255,255,.012);
}

/* Pré-visualização */
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card{
  border-radius:var(--msg-card-radius);
  overflow:hidden;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .th2{
  min-height:52px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.012);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .tt{
  font-size:.68rem;
  letter-spacing:.055em;
  text-transform:uppercase;
  color:var(--t2);
  font-weight:800;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-count{
  color:var(--ac);
  font-size:.64rem;
  font-weight:700;
}

/* Resumo do lote: sem faixa verde pesada */
.system-pro-v3 #cobPanelMensagens .cob-msg-summary{
  margin:0;
  padding:10px 16px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(34,197,94,.035);
  color:#9ca3af;
  font-size:.63rem;
  font-weight:600;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-summary::before{
  content:'✓';
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin-right:7px;
  border-radius:50%;
  background:rgba(34,197,94,.14);
  color:#22c55e;
  font-size:.58rem;
  font-weight:800;
}

/* Tabela */
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table-wrap{
  overflow:auto;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table{
  width:100%;
  min-width:1120px;
  border-collapse:collapse;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table thead th{
  padding:11px 14px;
  background:rgba(255,255,255,.022);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:var(--t3);
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-align:left;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody td{
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.055);
  color:var(--t2);
  font-size:.65rem;
  font-weight:520;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody tr:last-child td{
  border-bottom:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody tr:hover{
  background:rgba(255,255,255,.022);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody td:nth-child(1),
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody td:nth-child(2){
  color:var(--tx);
  font-weight:700;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody td:nth-child(3){
  color:var(--tx);
  font-weight:600;
}

/* Rodapé da prévia */
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .pag{
  min-height:46px;
  padding:0 14px;
  border-top:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-card .pi{
  min-width:auto;
  height:26px;
  padding:0 8px;
  display:flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:7px;
  color:var(--t3);
  background:rgba(255,255,255,.02);
  font-size:.60rem;
  font-weight:650;
}

/* Ações finais */
.system-pro-v3 #cobPanelMensagens .cob-msg-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  margin-top:14px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-actions .fbtn{
  min-width:0;
  height:36px;
  padding:0 15px;
  border-radius:8px;
  font-size:.66rem;
  font-weight:700;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn{
  min-width:138px!important;
  background:var(--ac);
  color:#111;
  border-color:var(--ac);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn:hover{
  background:#ff9d63;
  border-color:#ff9d63;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-send-btn:disabled{
  opacity:.42;
  cursor:not-allowed;
}

/* Melhor uso do espaço em telas intermediárias */
@media(max-width:1250px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:900px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid,
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:640px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid,
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
    grid-template-columns:1fr;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }
  .system-pro-v3 #cobPanelMensagens .cob-msg-actions .fbtn{
    width:100%;
  }
}




/* 5 obrigatórios na mesma linha, como Importação RA e Senha */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  column-gap:12px!important;
  row-gap:14px!important;
}

/* opcionais ficam naturalmente na segunda linha */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-field-dataMatricula,
.system-pro-v3 #cobPanelMensagens .cob-msg-map-field-ultimoAcessoPlataforma{
  max-width:none;
}

/* tira as linhas/caixas que estavam deixando o card "recortado" */
.system-pro-v3 #cobPanelMensagens .cob-msg-map-divider{
  display:none!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-secondary-title{
  margin:22px 0 11px!important;
  padding:0!important;
  border:0!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  gap:12px!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-map-card{
  padding:18px!important;
}

/* Prévia sem "caixa dentro da caixa" */
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table-wrap{
  border:0!important;
  border-radius:0!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table{
  border:0!important;
  border-radius:0!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table thead th{
  border-top:0!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody tr{
  border:0!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody td{
  border-bottom:1px solid rgba(255,255,255,.045)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table tbody tr:last-child td{
  border-bottom:0!important;
}

/* resumo discreto: sem faixa verde atravessando o card */
.system-pro-v3 #cobPanelMensagens .cob-msg-summary{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0!important;
  padding:9px 16px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
  color:var(--t2)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-summary::before{
  content:'✓';
  width:16px;
  height:16px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(34,197,94,.13);
  color:#22c55e;
  font-size:.56rem;
  flex:0 0 auto;
}

/* proporção da tabela com e-mail */
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table{
  min-width:1280px!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-table td:nth-child(4){
  color:var(--t2);
}

/* responsividade */
@media(max-width:1450px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid,
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:640px){
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-required-grid,
  .system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
    grid-template-columns:1fr!important;
  }
}



.system-pro-v3 #cobPanelMensagens .cob-msg-history-card{
  overflow:hidden;
  border-radius:12px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-card .th2{
  padding:12px 16px;
  min-height:auto;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-card .tt{
  font-size:.58rem;
  font-weight:600;
  color:var(--t3);
  letter-spacing:1px;
  text-transform:uppercase;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table{
  width:100%;
  border-collapse:collapse;
  min-width:900px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table thead th{
  background:var(--th);
  padding:11px 16px;
  text-align:left;
  font-size:.72rem;
  font-weight:700;
  color:var(--tx);
  text-transform:uppercase;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table tbody tr{
  border-bottom:1px solid rgba(128,128,128,.06);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table tbody tr:hover{
  background:rgba(255,255,255,.025);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table tbody td{
  padding:11px 16px;
  color:var(--t2);
  font-weight:400;
  font-size:.72rem;
  white-space:nowrap;
  vertical-align:middle;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table tbody td:nth-child(2){
  white-space:normal;
  min-width:220px;
  color:var(--tx);
  font-weight:500;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table tbody td:last-child{
  width:70px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table .hist-icon-btn{
  width:28px;
  height:28px;
  padding:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-history-table .hist-icon-btn svg{
  width:14px;
  height:14px;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card{
  padding:16px!important;
  min-height:0!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card .ct{
  margin-bottom:12px!important;
  color:var(--tx)!important;
  font-size:.75rem!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card .ct::before{
  width:4px!important;
  height:16px!important;
  border-radius:4px!important;
  margin-right:8px!important;
  background:var(--ac)!important;
  vertical-align:-3px!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-drop-import-pattern{
  min-height:120px!important;
  padding:20px 16px!important;
  border:1.5px dashed var(--bd)!important;
  border-radius:10px!important;
  background:transparent!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-drop-import-pattern:hover{
  border-color:var(--ac)!important;
  background:var(--s2)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-file-pattern{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  flex-direction:row!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-paperclip-box{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
  color:var(--ac);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-paperclip-box .imp-drop-icon{
  width:17px!important;
  height:17px!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-file-pattern strong{
  color:var(--t2)!important;
  font-size:.72rem!important;
  font-weight:700!important;
  max-width:420px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-upload-hint{
  display:none!important;
}



.system-pro-v3 .cob-msg-history-detail-summary{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:760px){
  .system-pro-v3 .cob-msg-history-detail-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}



.system-pro-v3 #cobPanelMensagens .cob-msg-file-pattern{
  gap:12px!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-paperclip-box{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.025)!important;
  color:var(--ac)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-paperclip-box .imp-drop-icon{
  width:19px!important;
  height:19px!important;
  display:block!important;
  flex:0 0 19px!important;
  color:var(--ac)!important;
  stroke:currentColor!important;
  opacity:1!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-file-pattern strong{
  display:inline-flex!important;
  align-items:center!important;
  min-height:40px!important;
  line-height:1.2!important;
  color:var(--t2)!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-paperclip-box{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ac)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-paperclip-box .imp-drop-icon{
  width:19px!important;
  height:19px!important;
  color:var(--ac)!important;
  stroke:currentColor!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-file-pattern{
  gap:10px!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-clip-clean{
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:none!important;
  box-shadow:none!important;
  color:var(--ac)!important;
  stroke:currentColor!important;
  overflow:visible!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-status-wait{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:22px;
  padding:3px 8px;
  border-radius:7px;
  background:rgba(245,158,11,.10);
  color:#f59e0b;
  font-size:.60rem;
  font-weight:700;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-status-wait-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  animation:cobMsgWaitPulse 1.2s ease-in-out infinite;
}
@keyframes cobMsgWaitPulse{
  0%,100%{opacity:.35}
  50%{opacity:1}
}



.system-pro-v3 #cobPanelMensagens #cobMsgHistBody,
.system-pro-v3 #cobPanelMensagens #cobMsgHistBody tr,
.system-pro-v3 #cobPanelMensagens #cobMsgHistBody td{
  transition:none!important;
}




/* Acordos: filtro extra sem apertar os demais */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters{
  grid-template-columns:minmax(250px,1.8fr) minmax(135px,.72fr) minmax(150px,.82fr) minmax(170px,.9fr) auto!important;
}

/* coluna Tags */
.system-pro-v3 #cobPanelAcordos .cob-tags-table-cell{
  min-width:150px;
  max-width:220px;
}
.system-pro-v3 .cob-tags-cell-btn{
  width:100%;
  min-height:30px;
  display:flex;
  align-items:center;
  gap:5px;
  padding:2px 0;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
  overflow:hidden;
}
.system-pro-v3 .cob-tags-cell-btn:hover .cob-tags-empty{
  color:var(--tx);
  background:rgba(255,255,255,.045);
}
.system-pro-v3 .cob-tags-empty{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 7px;
  border-radius:7px;
  color:var(--t3);
  font-size:.60rem;
  font-weight:650;
}
.system-pro-v3 .cob-tag-chip{
  display:inline-flex;
  align-items:center;
  max-width:170px;
  min-height:24px;
  padding:3px 8px;
  border-radius:7px;
  font-size:.61rem;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.system-pro-v3 .cob-tag-chip.compact{
  max-width:90px;
  min-height:22px;
  padding:2px 7px;
  font-size:.57rem;
}
.system-pro-v3 .cob-tag-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:22px;
  padding:0 6px;
  border-radius:7px;
  background:rgba(255,255,255,.055);
  color:var(--t2);
  font-size:.56rem;
  font-weight:750;
}

/* Mensagens: organização da base */
.system-pro-v3 #cobPanelMensagens .cob-msg-org-title{
  margin-top:20px!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-org-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
}
.system-pro-v3 #cobPanelMensagens .cob-field-help{
  margin-top:5px;
  color:var(--t3);
  font-size:.57rem;
  line-height:1.35;
}
.system-pro-v3 #cobPanelMensagens .cob-tags-picker-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  text-align:left;
  cursor:pointer;
}
.system-pro-v3 #cobPanelMensagens .cob-tags-picker-arrow{
  opacity:.55;
  flex:0 0 auto;
}
.system-pro-v3 #cobPanelMensagens .cob-tags-selected{
  min-height:0;
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:7px;
}

/* Modal de tags */
.system-pro-v3 .cob-tags-modal-card{
  width:min(560px,94vw);
  text-align:left;
}
.system-pro-v3 .cob-tags-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.system-pro-v3 .cob-tags-modal-sub{
  margin-top:4px;
  color:var(--t3);
  font-size:.68rem;
  line-height:1.4;
}
.system-pro-v3 .cob-tags-create-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin-bottom:12px;
}
.system-pro-v3 .cob-tags-create-btn,
.system-pro-v3 .cob-tags-apply-btn{
  background:var(--ac)!important;
  border-color:var(--ac)!important;
  color:#111!important;
}
.system-pro-v3 .cob-tags-picker-list{
  display:flex;
  flex-direction:column;
  gap:5px;
  max-height:320px;
  overflow:auto;
  padding:4px 2px;
}
.system-pro-v3 .cob-tag-picker-item{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:9px;
  cursor:pointer;
}
.system-pro-v3 .cob-tag-picker-item:hover{
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.07);
}
.system-pro-v3 .cob-tag-picker-item input{
  width:15px;
  height:15px;
  accent-color:var(--ac);
}
.system-pro-v3 .cob-tags-picker-empty{
  padding:24px 12px;
  text-align:center;
  color:var(--t3);
  font-size:.68rem;
}
.system-pro-v3 .cob-tags-modal-actions{
  margin-top:14px;
}

@media(max-width:1250px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters{
    grid-template-columns:1fr 1fr 1fr!important;
  }
}
@media(max-width:780px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters,
  .system-pro-v3 #cobPanelMensagens .cob-msg-org-grid{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 .cob-tags-create-row{
    grid-template-columns:1fr;
  }
}



.system-pro-v3 .cob-tag-picker-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:center;
  gap:4px;
}
.system-pro-v3 .cob-tag-picker-row .cob-tag-picker-item{
  min-width:0;
}
.system-pro-v3 .cob-tag-delete-btn{
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--t3);
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.system-pro-v3 .cob-tag-delete-btn:hover{
  background:rgba(239,68,68,.10);
  border-color:rgba(239,68,68,.20);
  color:#ef4444;
}
.system-pro-v3 .cob-tag-delete-btn svg{
  width:15px;
  height:15px;
}




/* Cabeçalhos e conteúdo alinhados na mesma régua visual */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th,
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{
  text-align:center!important;
  vertical-align:middle!important;
}

/* Colunas com proporções mais equilibradas */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(1),
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(1){
  width:78px;
  min-width:78px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(2),
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(2){
  width:130px;
  min-width:130px;
  max-width:130px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(3),
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(3){
  min-width:180px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(4),
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(4){
  min-width:160px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th:nth-child(10),
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(10){
  min-width:120px;
}

/* Internos também ficam centralizados */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno{
  align-items:center!important;
  text-align:center!important;
  margin:0 auto;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-course{
  margin:0 auto;
  text-align:center;
}
.system-pro-v3 #cobPanelAcordos .cob-tags-table-cell{
  min-width:130px!important;
  max-width:130px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-tags-cell-btn{
  justify-content:center!important;
  text-align:center!important;
}
.system-pro-v3 #cobPanelAcordos .cob-tags-empty{
  font-size:.55rem!important;
  min-height:22px!important;
  padding:2px 6px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-tag-chip.compact{
  max-width:76px!important;
  font-size:.54rem!important;
  min-height:21px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table .col-total{
  text-align:center!important;
}
.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap,
.system-pro-v3 #cobPanelAcordos .cob-abordagem-cell,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-cell{
  justify-content:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Criação de tag com escolha de cor */
.system-pro-v3 .cob-tags-create-row{
  grid-template-columns:minmax(0,1fr) 92px auto!important;
  align-items:end!important;
}
.system-pro-v3 .cob-tags-create-row .fg{
  margin-bottom:0!important;
}
.system-pro-v3 .cob-tags-create-row .fl{
  display:block;
  margin-bottom:5px;
  color:var(--t2);
  font-size:.56rem;
  font-weight:700;
  letter-spacing:.35px;
  text-transform:uppercase;
}
.system-pro-v3 .cob-tags-color-control{
  height:36px;
  width:92px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 9px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  cursor:pointer;
  box-sizing:border-box;
}
.system-pro-v3 .cob-tags-color-control:hover{
  border-color:rgba(255,138,61,.42);
}
.system-pro-v3 .cob-tags-color-preview{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:6px;
  background:#A78BFA;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
.system-pro-v3 #cobNovaTagCor{
  width:26px;
  height:24px;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  cursor:pointer;
}
.system-pro-v3 #cobNovaTagCor::-webkit-color-swatch-wrapper{
  padding:0;
}
.system-pro-v3 #cobNovaTagCor::-webkit-color-swatch{
  border:0;
  border-radius:5px;
}
.system-pro-v3 #cobNovaTagCor::-moz-color-swatch{
  border:0;
  border-radius:5px;
}

@media(max-width:720px){
  .system-pro-v3 .cob-tags-create-row{
    grid-template-columns:1fr 92px!important;
  }
  .system-pro-v3 .cob-tags-create-btn{
    grid-column:1 / -1;
  }
}



.system-pro-v3 .cob-tags-color-control{
  position:relative!important;
  width:48px!important;
  height:36px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  overflow:hidden!important;
}

.system-pro-v3 .cob-tags-color-preview{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  border-radius:6px!important;
  pointer-events:none!important;
}

/* O input continua abrindo o seletor nativo de cores,
   mas não aparece como um segundo quadrado. */
.system-pro-v3 #cobNovaTagCor{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  cursor:pointer!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}

.system-pro-v3 .cob-tags-create-row{
  grid-template-columns:minmax(0,1fr) 48px auto!important;
}
@media(max-width:720px){
  .system-pro-v3 .cob-tags-create-row{
    grid-template-columns:1fr 48px!important;
  }
}



.system-pro-v3 #page-configuracoes .cfg-page{
  padding-bottom:28px;
}
.system-pro-v3 #page-configuracoes .cfg-page-head{
  margin-bottom:14px;
}
.system-pro-v3 .cfg-shell{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:18px;
  min-height:560px;
}
.system-pro-v3 .cfg-side{
  align-self:start;
  padding:12px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
}
.system-pro-v3 .cfg-side-title{
  padding:7px 10px 9px;
  color:var(--t3);
  font-size:.55rem;
  font-weight:780;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.system-pro-v3 .cfg-side-item{
  width:100%;
  height:38px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--t2);
  font-family:inherit;
  font-size:.70rem;
  font-weight:700;
  cursor:pointer;
}
.system-pro-v3 .cfg-side-item.active{
  background:rgba(255,138,61,.10);
  border-color:rgba(255,138,61,.18);
  color:var(--tx);
}
.system-pro-v3 .cfg-side-item svg{
  width:15px;
  height:15px;
  color:var(--ac);
}
.system-pro-v3 .cfg-content{
  min-width:0;
  padding:18px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
}
.system-pro-v3 .cfg-tags-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.system-pro-v3 .cfg-content-title{
  color:var(--tx);
  font-size:1.04rem;
  font-weight:780;
}
.system-pro-v3 .cfg-content-sub{
  margin-top:4px;
  color:var(--t3);
  font-size:.69rem;
  line-height:1.4;
}
.system-pro-v3 .cfg-primary-btn{
  background:var(--ac)!important;
  border-color:var(--ac)!important;
  color:#151515!important;
  font-weight:760!important;
}
.system-pro-v3 .cfg-tags-toolbar{
  display:grid;
  grid-template-columns:minmax(260px,420px) 180px auto;
  align-items:end;
  gap:12px;
  margin-bottom:12px;
}
.system-pro-v3 .cfg-search-wrap{
  position:relative;
}
.system-pro-v3 .cfg-search-wrap svg{
  position:absolute;
  left:11px;
  top:50%;
  transform:translateY(-50%);
  width:14px;
  height:14px;
  color:var(--t3);
  pointer-events:none;
}
.system-pro-v3 .cfg-search-wrap .fs{
  padding-left:34px!important;
}
.system-pro-v3 .cfg-unit-wrap .fl{
  margin-bottom:5px;
}
.system-pro-v3 .cfg-tags-count{
  align-self:center;
  justify-self:end;
  color:var(--t3);
  font-size:.65rem;
  font-weight:650;
  white-space:nowrap;
}
.system-pro-v3 .cfg-tags-table-card{
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
}
.system-pro-v3 .cfg-tags-table-head,
.system-pro-v3 .cfg-tag-row{
  display:grid;
  grid-template-columns:minmax(180px,1.2fr) minmax(220px,1.5fr) 120px 120px 140px 82px;
  align-items:center;
  gap:10px;
  min-width:930px;
}
.system-pro-v3 .cfg-tags-table-head{
  min-height:36px;
  padding:0 14px;
  background:var(--th);
  color:var(--t3);
  font-size:.53rem;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.42px;
}
.system-pro-v3 .cfg-tags-list{
  overflow-x:auto;
}
.system-pro-v3 .cfg-tag-row{
  min-height:52px;
  padding:7px 14px;
  border-top:1px solid rgba(128,128,128,.09);
  color:var(--t2);
  font-size:.66rem;
}
.system-pro-v3 .cfg-tag-row:hover{
  background:rgba(255,255,255,.018);
}
.system-pro-v3 .cfg-tag-main{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
}
.system-pro-v3 .cfg-tag-main strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--tx);
  font-size:.69rem;
}
.system-pro-v3 .cfg-tag-dot{
  width:14px;
  height:14px;
  flex:0 0 14px;
  border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.13);
}
.system-pro-v3 .cfg-tag-desc{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--t3);
}
.system-pro-v3 .cfg-tag-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
}
.system-pro-v3 .cfg-tag-action-btn{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:var(--t3);
  cursor:pointer;
}
.system-pro-v3 .cfg-tag-action-btn:hover{
  border-color:var(--bd);
  background:var(--s2);
  color:var(--tx);
}
.system-pro-v3 .cfg-tag-action-btn.danger:hover{
  border-color:rgba(239,68,68,.22);
  background:rgba(239,68,68,.08);
  color:#ef4444;
}
.system-pro-v3 .cfg-tag-action-btn svg{
  width:14px;
  height:14px;
}
.system-pro-v3 .cfg-tags-state{
  padding:36px 16px;
  text-align:center;
  color:var(--t3);
  font-size:.68rem;
}
.system-pro-v3 .cfg-tag-form-card{
  width:min(520px,94vw);
  text-align:left;
}
.system-pro-v3 .cfg-tag-form-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.system-pro-v3 .cfg-tag-form-sub{
  margin-top:4px;
  color:var(--t3);
  font-size:.68rem;
}
.system-pro-v3 .cfg-tag-form-field{
  margin-bottom:13px;
}
.system-pro-v3 .cfg-optional{
  color:var(--t3);
  font-weight:550;
  text-transform:none;
  letter-spacing:0;
}
.system-pro-v3 .cfg-tag-color-picker{
  position:relative;
  height:40px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 11px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  cursor:pointer;
  overflow:hidden;
}
.system-pro-v3 .cfg-tag-color-picker:hover{
  border-color:rgba(255,138,61,.42);
}
.system-pro-v3 .cfg-tag-color-swatch{
  width:20px;
  height:20px;
  flex:0 0 20px;
  border-radius:6px;
  background:#A78BFA;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}
.system-pro-v3 .cfg-tag-color-text{
  color:var(--t2);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.3px;
}
.system-pro-v3 .cfg-tag-color-action{
  margin-left:auto;
  color:var(--ac);
  font-size:.62rem;
  font-weight:750;
}
.system-pro-v3 #cobConfigTagCor{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.system-pro-v3 .cfg-tag-form-actions{
  margin-top:18px;
}

/* picker operacional agora serve apenas para selecionar */
.system-pro-v3 .cob-tags-picker-manage{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  padding:8px 10px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t3);
  font-size:.63rem;
}
.system-pro-v3 .cob-tags-manage-link{
  border:0;
  background:transparent;
  color:var(--ac);
  font-family:inherit;
  font-size:.62rem;
  font-weight:760;
  cursor:pointer;
  white-space:nowrap;
}
.system-pro-v3 .cob-tag-picker-desc{
  margin-left:auto;
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--t3);
  font-size:.58rem;
  font-weight:500;
}

@media(max-width:900px){
  .system-pro-v3 .cfg-shell{
    grid-template-columns:1fr;
  }
  .system-pro-v3 .cfg-side{
    display:none;
  }
  .system-pro-v3 .cfg-tags-toolbar{
    grid-template-columns:1fr;
  }
  .system-pro-v3 .cfg-tags-count{
    justify-self:start;
  }
}



.system-pro-v3 .sb-foot .sb-config-btn{
  margin-bottom:6px;
}
.system-pro-v3 .sb-foot .sb-config-btn.active{
  border-color:rgba(255,138,61,.22)!important;
  background:rgba(255,138,61,.10)!important;
  color:var(--tx)!important;
}
.system-pro-v3 .sb-foot .sb-config-btn.active svg{
  color:var(--ac)!important;
}
.system-pro-v3 .sidebar.collapsed .sb-config-btn span{
  display:none!important;
}
.system-pro-v3 .sidebar.collapsed .sb-config-btn{
  justify-content:center!important;
  padding-left:0!important;
  padding-right:0!important;
}



.system-pro-v3 .sb-foot .sb-config-btn.sb-icon-only{
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  justify-content:center!important;
  align-items:center!important;
  margin:8px auto 10px auto!important;
  border-radius:12px!important;
}
.system-pro-v3 .sb-foot .sb-config-btn.sb-icon-only span{
  display:none!important;
}
.system-pro-v3 .sb-foot .sb-config-btn.sb-icon-only svg{
  margin:0!important;
  width:18px!important;
  height:18px!important;
}
.system-pro-v3 .sb-foot{
  align-items:center!important;
}



.system-pro-v3 .sidebar:not(.collapsed) .sb-item[data-page="configuracoes"] span{
  display:inline!important;
}
.system-pro-v3 .sidebar.collapsed .sb-item[data-page="configuracoes"] span{
  display:none!important;
}



.system-pro-v3 #page-configuracoes .cfg-page{
  max-width:1540px!important;
  margin:0 auto!important;
}

.system-pro-v3 #page-configuracoes .cfg-page-head{
  max-width:1220px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.system-pro-v3 #page-configuracoes .cfg-shell{
  display:block!important;
  min-height:0!important;
  max-width:1220px!important;
  margin:0 auto!important;
}

.system-pro-v3 #page-configuracoes .cfg-content{
  width:100%!important;
  max-width:1220px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}

/* Como o menu lateral interno foi removido, estes estilos deixam de interferir */
.system-pro-v3 #page-configuracoes .cfg-side{
  display:none!important;
}

/* Mantém a barra superior visualmente equilibrada */
.system-pro-v3 #page-configuracoes .cfg-tags-head{
  align-items:center!important;
}

/* tabela ocupa o centro com folga lateral equilibrada */
.system-pro-v3 #page-configuracoes .cfg-tags-table-card{
  width:100%!important;
}

@media(max-width:1280px){
  .system-pro-v3 #page-configuracoes .cfg-page-head,
  .system-pro-v3 #page-configuracoes .cfg-shell,
  .system-pro-v3 #page-configuracoes .cfg-content{
    max-width:100%!important;
  }
}



.system-pro-v3 .csel-panel{
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-message-preview{
  margin-top:12px;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:10px;
  background:rgba(255,255,255,.015);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-head{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 11px;
  border-bottom:1px solid rgba(128,128,128,.10);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-title{
  color:var(--tx);
  font-size:.66rem;
  font-weight:760;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-sub{
  max-width:390px;
  margin-top:2px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--t3);
  font-size:.55rem;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-badge{
  flex:0 0 auto;
  min-height:20px;
  display:inline-flex;
  align-items:center;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(37,211,102,.10);
  color:#25d366;
  font-size:.52rem;
  font-weight:760;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-whatsapp-stage{
  padding:12px;
  background:
    radial-gradient(circle at 20% 15%,rgba(255,255,255,.018) 0 1px,transparent 1.5px),
    rgba(8,10,9,.55);
  background-size:18px 18px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-whatsapp-bubble{
  max-height:285px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  border-radius:9px;
  background:#202421;
  color:#f1f3f2;
  font-size:.64rem;
  line-height:1.48;
  box-shadow:0 7px 18px rgba(0,0,0,.12);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-copy{
  padding:12px 13px 10px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-line{
  overflow-wrap:anywhere;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-line strong{
  color:#fff;
  font-weight:780;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-gap{
  height:9px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-signature{
  color:#aeb3b0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-actions{
  border-top:1px solid rgba(255,255,255,.09);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-action{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:6px 10px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#19c979;
  font-size:.61rem;
  font-weight:650;
  text-align:center;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-action:first-child{
  border-top:0;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-reply-icon{
  font-size:.78rem;
  line-height:1;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-import-only{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  background:var(--s2);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-import-icon{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(34,197,94,.10);
  color:#22c55e;
  font-weight:800;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-import-only div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-import-only strong{
  color:var(--tx);
  font-size:.64rem;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-import-only span:last-child{
  color:var(--t3);
  font-size:.57rem;
  line-height:1.4;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-preview-unavailable{
  padding:18px 12px;
  text-align:center;
  color:var(--t3);
  font-size:.60rem;
  background:var(--s2);
}



.system-pro-v3 #cobPanelMensagens .cob-msg-start-grid{
  align-items:start!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card .cob-msg-drop{
  min-height:118px!important;
}



.system-pro-v3 #page-configuracoes .cfg-page{
  max-width:1480px!important;
  margin:0 auto!important;
}
.system-pro-v3 #page-configuracoes .cfg-page-head{
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.system-pro-v3 #page-configuracoes .cfg-layout{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:18px;
  max-width:1280px;
  margin:0 auto;
  align-items:start;
}
.system-pro-v3 #page-configuracoes .cfg-nav{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:6px;
}
.system-pro-v3 #page-configuracoes .cfg-nav-item{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--t2);
  font-family:inherit;
  font-size:.69rem;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}
.system-pro-v3 #page-configuracoes .cfg-nav-item:hover{
  background:rgba(255,255,255,.025);
  color:var(--tx);
}
.system-pro-v3 #page-configuracoes .cfg-nav-item.active{
  background:rgba(255,138,61,.10);
  border-color:rgba(255,138,61,.22);
  color:var(--tx);
}
.system-pro-v3 #page-configuracoes .cfg-nav-item svg{
  width:15px;
  height:15px;
  flex:0 0 15px;
  color:var(--t3);
}
.system-pro-v3 #page-configuracoes .cfg-nav-item.active svg{
  color:var(--ac);
}
.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  min-width:0;
  padding:18px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
}

/* Avisos */
.system-pro-v3 #page-configuracoes .cfg-notice-card{
  border:1px solid var(--bd);
  border-radius:10px;
  background:rgba(255,255,255,.012);
  overflow:hidden;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border-bottom:1px solid rgba(128,128,128,.10);
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-title{
  color:var(--tx);
  font-size:.72rem;
  font-weight:760;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-sub{
  margin-top:3px;
  color:var(--t3);
  font-size:.61rem;
  line-height:1.4;
}
.system-pro-v3 #page-configuracoes .cfg-notice-form{
  display:grid;
  gap:14px;
  padding:18px;
}
.system-pro-v3 #page-configuracoes .cfg-notice-textarea{
  min-height:118px;
  height:118px!important;
  padding:10px 11px!important;
  resize:vertical;
  line-height:1.45;
}
.system-pro-v3 #page-configuracoes .cfg-notice-actions{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:2px;
}
.system-pro-v3 #page-configuracoes .cfg-notice-saved{
  color:#22c55e;
  font-size:.65rem;
  font-weight:700;
}

/* switch */
.system-pro-v3 #page-configuracoes .cfg-switch{
  position:relative;
  width:40px;
  height:22px;
  flex:0 0 40px;
  cursor:pointer;
}
.system-pro-v3 #page-configuracoes .cfg-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.system-pro-v3 #page-configuracoes .cfg-switch-track{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(128,128,128,.24);
  transition:background .16s ease;
}
.system-pro-v3 #page-configuracoes .cfg-switch-thumb{
  position:absolute;
  top:3px;
  left:3px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff;
  transition:transform .16s ease;
}
.system-pro-v3 #page-configuracoes .cfg-switch input:checked + .cfg-switch-track{
  background:var(--ac);
}
.system-pro-v3 #page-configuracoes .cfg-switch input:checked + .cfg-switch-track .cfg-switch-thumb{
  transform:translateX(18px);
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:1fr;
  }
  .system-pro-v3 #page-configuracoes .cfg-nav{
    flex-direction:row;
    overflow-x:auto;
    padding:0;
  }
  .system-pro-v3 #page-configuracoes .cfg-nav-item{
    width:auto;
    min-width:120px;
    justify-content:center;
  }
}



.system-pro-v3 #page-configuracoes .cfg-page{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

.system-pro-v3 #page-configuracoes .cfg-layout{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
}

.system-pro-v3 #page-configuracoes .cfg-left{
  min-width:0;
  padding-left:4px;
}

.system-pro-v3 #page-configuracoes .cfg-left-head{
  margin-bottom:18px;
  padding:0 4px;
}

.system-pro-v3 #page-configuracoes .cfg-left-head .pgtitle{
  margin:0;
}

.system-pro-v3 #page-configuracoes .cfg-left-head .pgsub{
  margin-top:4px;
  line-height:1.4;
}

.system-pro-v3 #page-configuracoes .cfg-nav{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:0 4px!important;
  box-sizing:border-box;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item{
  width:100%!important;
  justify-content:flex-start!important;
}

.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  width:100%;
  max-width:none!important;
  min-height:300px;
  margin:0!important;
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left{
    padding-left:0;
  }

  .system-pro-v3 #page-configuracoes .cfg-left-head{
    padding:0;
    margin-bottom:10px;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav{
    flex-direction:row!important;
    overflow-x:auto;
    padding:0!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav-item{
    width:auto!important;
    min-width:118px!important;
    justify-content:center!important;
  }
}



.system-pro-v3 #page-configuracoes .cfg-page{
  width:100%!important;
  max-width:1480px!important;
  margin:0 auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #page-configuracoes .cfg-layout{
  width:100%!important;
  max-width:1280px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}

.system-pro-v3 #page-configuracoes .cfg-left{
  min-width:0!important;
  padding-left:0!important;
}

.system-pro-v3 #page-configuracoes .cfg-left-head{
  margin-bottom:18px!important;
  padding:0!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav{
  padding:0!important;
}

.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* O card principal volta a ter o tamanho visual de antes */
.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  padding:18px!important;
  border-radius:12px!important;
}

@media(max-width:1280px){
  .system-pro-v3 #page-configuracoes .cfg-page{
    padding-left:20px!important;
    padding-right:20px!important;
  }
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-page{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:1fr!important;
    max-width:100%!important;
    gap:14px!important;
  }
}



.system-pro-v3 #page-configuracoes .cfg-left{
  transform:translateX(-36px)!important;
}

@media(max-width:1280px){
  .system-pro-v3 #page-configuracoes .cfg-left{
    transform:translateX(-18px)!important;
  }
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-left{
    transform:none!important;
  }
}




/* A página deixa de ficar centralizada como um bloco único */
.system-pro-v3 #page-configuracoes .cfg-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Estrutura em duas áreas: sidebar interna + conteúdo */
.system-pro-v3 #page-configuracoes .cfg-layout{
  width:100%!important;
  max-width:none!important;
  min-height:calc(100vh - 66px)!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:238px minmax(0,1fr)!important;
  gap:0!important;
  align-items:stretch!important;
}

/* Sidebar de Configurações encostada no lado esquerdo da área útil */
.system-pro-v3 #page-configuracoes .cfg-left{
  transform:none!important;
  width:238px!important;
  min-width:238px!important;
  min-height:calc(100vh - 66px)!important;
  padding:22px 14px 24px!important;
  border-right:1px solid var(--bd)!important;
  background:var(--sf)!important;
  box-sizing:border-box!important;
  align-self:stretch!important;
}

.system-pro-v3 #page-configuracoes .cfg-left-head{
  margin:0 0 18px!important;
  padding:0 8px!important;
}

.system-pro-v3 #page-configuracoes .cfg-left-head .pgtitle{
  margin:0!important;
  font-size:1rem!important;
  line-height:1.2!important;
}

.system-pro-v3 #page-configuracoes .cfg-left-head .pgsub{
  margin-top:5px!important;
  max-width:190px!important;
  line-height:1.4!important;
}

/* Opções alinhadas como menu lateral */
.system-pro-v3 #page-configuracoes .cfg-nav{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  padding:0!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item{
  width:100%!important;
  min-height:38px!important;
  justify-content:flex-start!important;
  padding:0 10px!important;
  border-radius:8px!important;
}

/* Conteúdo fica à direita, com largura confortável e respiro */
.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  width:calc(100% - 48px)!important;
  max-width:1080px!important;
  min-width:0!important;
  margin:24px auto 0!important;
  padding:18px!important;
  box-sizing:border-box!important;
  align-self:start!important;
}

/* Mantém o bloco de Tags no tamanho visual equilibrado */
.system-pro-v3 #page-configuracoes .cfg-tags-head,
.system-pro-v3 #page-configuracoes .cfg-tags-toolbar,
.system-pro-v3 #page-configuracoes .cfg-tags-table-card,
.system-pro-v3 #page-configuracoes .cfg-notice-card{
  width:100%!important;
  box-sizing:border-box!important;
}

/* Em telas intermediárias, mantém a sidebar menor sem apertar o conteúdo */
@media(max-width:1180px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:210px minmax(0,1fr)!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left{
    width:210px!important;
    min-width:210px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 36px)!important;
    margin-top:18px!important;
  }
}

/* Mobile: volta a empilhar */
@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:14px!important;
    border-right:0!important;
    border-bottom:1px solid var(--bd)!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left-head{
    padding:0!important;
    margin-bottom:10px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav{
    flex-direction:row!important;
    overflow-x:auto!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav-item{
    width:auto!important;
    min-width:120px!important;
    justify-content:center!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin:14px!important;
  }
}



.system-pro-v3 #page-configuracoes{
  overflow-x:hidden!important;
}

.system-pro-v3 #page-configuracoes .cfg-layout{
  min-height:calc(100vh - 54px)!important;
}

.system-pro-v3 #page-configuracoes .cfg-left{
  min-height:calc(100vh - 54px)!important;
  height:calc(100vh - 54px)!important;
  max-height:calc(100vh - 54px)!important;
  box-sizing:border-box!important;
}

/* Garante que a lateral encoste corretamente no final da tela */
.system-pro-v3 #page-configuracoes .cfg-page{
  min-height:calc(100vh - 54px)!important;
  overflow-x:hidden!important;
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-layout,
  .system-pro-v3 #page-configuracoes .cfg-page{
    min-height:0!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
  }
}




/* Base da página */
.system-pro-v3 #page-configuracoes{
  overflow-x:hidden!important;
}

.system-pro-v3 #page-configuracoes .cfg-page{
  width:100%!important;
  max-width:none!important;
  min-height:calc(100vh - 54px)!important;
  margin:0!important;
  padding:0!important;
  background:var(--bg)!important;
  box-sizing:border-box!important;
}

/* Layout principal inspirado em painéis SaaS profissionais */
.system-pro-v3 #page-configuracoes .cfg-layout{
  width:100%!important;
  max-width:none!important;
  min-height:calc(100vh - 54px)!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:248px minmax(0,1fr)!important;
  gap:0!important;
  align-items:stretch!important;
}

/* Sidebar interna */
.system-pro-v3 #page-configuracoes .cfg-left{
  transform:none!important;
  width:248px!important;
  min-width:248px!important;
  height:auto!important;
  min-height:calc(100vh - 54px)!important;
  max-height:none!important;
  padding:22px 14px 24px!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  background:#1b1c1f!important;
  box-sizing:border-box!important;
}

/* Cabeçalho da sidebar */
.system-pro-v3 #page-configuracoes .cfg-left-head{
  margin:0 0 22px!important;
  padding:0 8px!important;
}

.system-pro-v3 #page-configuracoes .cfg-left-title-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.system-pro-v3 #page-configuracoes .cfg-left-title-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,138,61,.20);
  border-radius:9px;
  background:rgba(255,138,61,.08);
  color:var(--ac);
}

.system-pro-v3 #page-configuracoes .cfg-left-title-icon svg{
  width:15px;
  height:15px;
}

.system-pro-v3 #page-configuracoes .cfg-left-head .pgtitle{
  margin:0!important;
  color:var(--tx)!important;
  font-size:.92rem!important;
  line-height:1.2!important;
  letter-spacing:-.1px;
}

.system-pro-v3 #page-configuracoes .cfg-left-head .pgsub{
  margin:8px 0 0 40px!important;
  max-width:170px!important;
  color:var(--t3)!important;
  font-size:.60rem!important;
  line-height:1.45!important;
}

/* Label da seção da sidebar */
.system-pro-v3 #page-configuracoes .cfg-nav-label{
  margin:0 8px 7px;
  color:rgba(255,255,255,.34);
  font-size:.50rem;
  font-weight:760;
  letter-spacing:.75px;
  text-transform:uppercase;
}

/* Navegação lateral */
.system-pro-v3 #page-configuracoes .cfg-nav{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  padding:0!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item{
  position:relative;
  width:100%!important;
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  padding:0 12px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--t2)!important;
  font-family:inherit!important;
  font-size:.66rem!important;
  font-weight:690!important;
  cursor:pointer!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item:hover{
  background:rgba(255,255,255,.035)!important;
  color:var(--tx)!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item.active{
  border-color:rgba(255,138,61,.18)!important;
  background:rgba(255,138,61,.085)!important;
  color:var(--tx)!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item.active:before{
  content:"";
  position:absolute;
  left:-1px;
  top:9px;
  width:2px;
  height:22px;
  border-radius:2px;
  background:var(--ac);
}

.system-pro-v3 #page-configuracoes .cfg-nav-item svg{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
  color:var(--t3)!important;
}

.system-pro-v3 #page-configuracoes .cfg-nav-item.active svg{
  color:var(--ac)!important;
}

/* Área de conteúdo */
.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  width:min(1040px,calc(100% - 56px))!important;
  max-width:1040px!important;
  min-width:0!important;
  margin:28px auto 36px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
  align-self:start!important;
}

/* Card principal de cada seção */
.system-pro-v3 #page-configuracoes #cfgSectionTags,
.system-pro-v3 #page-configuracoes #cfgSectionAvisos{
  width:100%;
  padding:22px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:#161b22;
  box-sizing:border-box;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

/* Cabeçalho da seção */
.system-pro-v3 #page-configuracoes .cfg-tags-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 22px!important;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.system-pro-v3 #page-configuracoes .cfg-content-eyebrow{
  margin-bottom:5px;
  color:var(--ac);
  font-size:.50rem;
  font-weight:760;
  letter-spacing:.65px;
  text-transform:uppercase;
}

.system-pro-v3 #page-configuracoes .cfg-content-title{
  color:var(--tx)!important;
  font-size:1rem!important;
  font-weight:780!important;
  letter-spacing:-.15px;
}

.system-pro-v3 #page-configuracoes .cfg-content-sub{
  margin-top:4px!important;
  color:var(--t3)!important;
  font-size:.62rem!important;
  line-height:1.45!important;
}

/* Botão principal */
.system-pro-v3 #page-configuracoes .cfg-primary-btn{
  height:34px!important;
  padding:0 13px!important;
  border:1px solid var(--ac)!important;
  border-radius:8px!important;
  background:var(--ac)!important;
  color:#181818!important;
  font-size:.61rem!important;
  font-weight:780!important;
  box-shadow:none!important;
}

.system-pro-v3 #page-configuracoes .cfg-primary-btn:hover{
  filter:brightness(1.04);
}

/* Toolbar Tags */
.system-pro-v3 #page-configuracoes .cfg-tags-toolbar{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) 180px auto!important;
  align-items:end!important;
  gap:12px!important;
  margin:0 0 14px!important;
}

.system-pro-v3 #page-configuracoes .cfg-search-wrap{
  position:relative!important;
}

.system-pro-v3 #page-configuracoes .cfg-search-wrap svg{
  position:absolute!important;
  left:11px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:14px!important;
  height:14px!important;
  color:var(--t3)!important;
  pointer-events:none!important;
}

.system-pro-v3 #page-configuracoes .cfg-search-wrap .fs{
  padding-left:34px!important;
}

.system-pro-v3 #page-configuracoes .cfg-unit-wrap .fl{
  margin-bottom:5px!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-count{
  align-self:center!important;
  justify-self:end!important;
  padding-bottom:2px;
  color:var(--t3)!important;
  font-size:.58rem!important;
  font-weight:650!important;
  white-space:nowrap!important;
}

/* Inputs da tela Configurações */
.system-pro-v3 #page-configuracoes .fs{
  height:36px!important;
  border-color:rgba(255,255,255,.13)!important;
  border-radius:8px!important;
  background:#232427!important;
}

.system-pro-v3 #page-configuracoes .fs:hover{
  border-color:rgba(255,255,255,.19)!important;
}

.system-pro-v3 #page-configuracoes .fs:focus{
  border-color:rgba(255,138,61,.50)!important;
  box-shadow:0 0 0 2px rgba(255,138,61,.06)!important;
}

/* Tabela de Tags */
.system-pro-v3 #page-configuracoes .cfg-tags-table-card{
  width:100%!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:9px!important;
  background:#1b1c1f!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-table-head,
.system-pro-v3 #page-configuracoes .cfg-tag-row{
  display:grid!important;
  grid-template-columns:minmax(160px,1.1fr) minmax(180px,1.4fr) 110px 120px 130px 72px!important;
  align-items:center!important;
  gap:10px!important;
  min-width:860px!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-table-head{
  min-height:34px!important;
  padding:0 13px!important;
  background:#242528!important;
  color:var(--t3)!important;
  font-size:.49rem!important;
  font-weight:760!important;
  text-transform:uppercase!important;
  letter-spacing:.42px!important;
}

.system-pro-v3 #page-configuracoes .cfg-tag-row{
  min-height:48px!important;
  padding:6px 13px!important;
  border-top:1px solid rgba(255,255,255,.055)!important;
  color:var(--t2)!important;
  font-size:.61rem!important;
}

.system-pro-v3 #page-configuracoes .cfg-tag-row:hover{
  background:rgba(255,255,255,.018)!important;
}

.system-pro-v3 #page-configuracoes .cfg-tag-main strong{
  color:var(--tx)!important;
  font-size:.63rem!important;
}

.system-pro-v3 #page-configuracoes .cfg-tag-dot{
  width:12px!important;
  height:12px!important;
  flex:0 0 12px!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-state{
  padding:34px 16px!important;
  color:var(--t3)!important;
  font-size:.61rem!important;
}

/* Avisos */
.system-pro-v3 #page-configuracoes .cfg-notice-card{
  width:100%!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:9px!important;
  background:#1b1c1f!important;
}

.system-pro-v3 #page-configuracoes .cfg-notice-toggle-row{
  padding:15px 16px!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
}

.system-pro-v3 #page-configuracoes .cfg-notice-form{
  padding:16px!important;
  gap:13px!important;
}

.system-pro-v3 #page-configuracoes .cfg-notice-textarea{
  min-height:116px!important;
  height:116px!important;
  padding:10px 11px!important;
  line-height:1.45!important;
}

/* Modal de tag — mesma linguagem visual */
.system-pro-v3 #cobConfigTagFormOverlay .cfg-tag-form-card{
  width:min(500px,94vw)!important;
  border-radius:12px!important;
}

.system-pro-v3 #cobConfigTagFormOverlay .cfg-tag-form-head{
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

/* Responsividade */
@media(max-width:1180px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:220px minmax(0,1fr)!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left{
    width:220px!important;
    min-width:220px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 36px)!important;
    margin:22px auto 30px!important;
  }
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:14px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left-head{
    margin-bottom:12px!important;
    padding:0!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-left-head .pgsub{
    margin-left:40px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav-label{
    display:none;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav{
    flex-direction:row!important;
    overflow-x:auto!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-nav-item{
    width:auto!important;
    min-width:120px!important;
    justify-content:center!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin:14px!important;
  }

  .system-pro-v3 #page-configuracoes #cfgSectionTags,
  .system-pro-v3 #page-configuracoes #cfgSectionAvisos{
    padding:16px!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-tags-toolbar{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 #page-configuracoes .cfg-tags-count{
    justify-self:start!important;
  }
}



.system-pro-v3 #page-configuracoes .cfg-left-head{
  margin:0 0 20px!important;
  padding:2px 10px 0!important;
}
.system-pro-v3 #page-configuracoes .cfg-left-head .pgsub{
  margin:0!important;
  max-width:190px!important;
  color:var(--t2)!important;
  font-size:.70rem!important;
  line-height:1.5!important;
}
.system-pro-v3 #page-configuracoes .cfg-nav-label{
  margin:0 10px 8px!important;
  font-size:.56rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-nav-item{
  min-height:44px!important;
  gap:11px!important;
  padding:0 13px!important;
  font-size:.73rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-nav-item svg{
  width:16px!important;
  height:16px!important;
}

.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  width:min(1240px,calc(100% - 56px))!important;
  max-width:1240px!important;
  margin:26px auto 38px!important;
}

.system-pro-v3 #page-configuracoes #cfgSectionTags,
.system-pro-v3 #page-configuracoes #cfgSectionAvisos{
  padding:28px!important;
  border-radius:13px!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-head{
  margin-bottom:24px!important;
  padding-bottom:20px!important;
}

.system-pro-v3 #page-configuracoes .cfg-content-title{
  font-size:1.18rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-content-sub{
  margin-top:6px!important;
  font-size:.73rem!important;
  line-height:1.5!important;
}

.system-pro-v3 #page-configuracoes .cfg-primary-btn{
  height:38px!important;
  padding:0 15px!important;
  font-size:.70rem!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-toolbar{
  grid-template-columns:minmax(340px,1fr) 210px auto!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
.system-pro-v3 #page-configuracoes .cfg-tags-count{
  font-size:.66rem!important;
}
.system-pro-v3 #page-configuracoes .fl{
  font-size:.63rem!important;
}
.system-pro-v3 #page-configuracoes .fs{
  height:40px!important;
  font-size:.73rem!important;
}

.system-pro-v3 #page-configuracoes .cfg-tags-table-head,
.system-pro-v3 #page-configuracoes .cfg-tag-row{
  grid-template-columns:minmax(190px,1.15fr) minmax(240px,1.45fr) 120px 135px 150px 80px!important;
  min-width:980px!important;
}
.system-pro-v3 #page-configuracoes .cfg-tags-table-head{
  min-height:40px!important;
  padding:0 15px!important;
  font-size:.56rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-tag-row{
  min-height:58px!important;
  padding:8px 15px!important;
  font-size:.70rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-tag-main strong{
  font-size:.73rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-tags-state{
  padding:46px 18px!important;
  font-size:.70rem!important;
}

.system-pro-v3 #page-configuracoes .cfg-notice-toggle-row{
  padding:20px 22px!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-title{
  font-size:.80rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-sub{
  font-size:.69rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-form{
  padding:22px!important;
  gap:16px!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-textarea{
  min-height:145px!important;
  height:145px!important;
  font-size:.73rem!important;
}

.system-pro-v3 #cobConfigTagFormOverlay .cfg-tag-form-card{
  width:min(540px,94vw)!important;
}

@media(max-width:1180px){
  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 40px)!important;
    max-width:none!important;
  }
}
@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 28px)!important;
    margin:14px!important;
  }
  .system-pro-v3 #page-configuracoes #cfgSectionTags,
  .system-pro-v3 #page-configuracoes #cfgSectionAvisos{
    padding:18px!important;
  }
  .system-pro-v3 #page-configuracoes .cfg-tags-toolbar{
    grid-template-columns:1fr!important;
  }
}




/* Remove completamente a faixa cinza da navegação interna */
.system-pro-v3 #page-configuracoes .cfg-left{
  width:220px!important;
  min-width:220px!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding:24px 12px 0!important;
  border-right:0!important;
  background:transparent!important;
  align-self:start!important;
}

/* Layout deixa de parecer uma sidebar fixa */
.system-pro-v3 #page-configuracoes .cfg-layout{
  grid-template-columns:220px minmax(0,1fr)!important;
  align-items:start!important;
  min-height:calc(100vh - 54px)!important;
}

/* Mantém somente texto + botões soltos no lado esquerdo */
.system-pro-v3 #page-configuracoes .cfg-left-head{
  padding:0 10px!important;
  margin-bottom:18px!important;
}
.system-pro-v3 #page-configuracoes .cfg-left-head .pgsub{
  max-width:175px!important;
  font-size:.72rem!important;
  line-height:1.5!important;
}
.system-pro-v3 #page-configuracoes .cfg-nav-label{
  margin-left:10px!important;
}
.system-pro-v3 #page-configuracoes .cfg-nav{
  padding:0!important;
}
.system-pro-v3 #page-configuracoes .cfg-nav-item{
  min-height:46px!important;
  font-size:.75rem!important;
  border-radius:9px!important;
}

/* Conteúdo principal ocupa bem mais da tela */
.system-pro-v3 #page-configuracoes .cfg-content-wrap{
  width:calc(100% - 30px)!important;
  max-width:1480px!important;
  margin:24px 18px 40px 8px!important;
}

/* Cards Tags / Avisos maiores */
.system-pro-v3 #page-configuracoes #cfgSectionTags,
.system-pro-v3 #page-configuracoes #cfgSectionAvisos{
  min-height:430px!important;
  padding:32px!important;
  border-radius:14px!important;
}

/* Cabeçalhos mais presentes */
.system-pro-v3 #page-configuracoes .cfg-tags-head{
  margin-bottom:28px!important;
  padding-bottom:22px!important;
}
.system-pro-v3 #page-configuracoes .cfg-content-title{
  font-size:1.30rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-content-sub{
  font-size:.76rem!important;
}

/* Toolbar maior */
.system-pro-v3 #page-configuracoes .cfg-tags-toolbar{
  grid-template-columns:minmax(380px,1fr) 220px auto!important;
  gap:16px!important;
  margin-bottom:18px!important;
}
.system-pro-v3 #page-configuracoes .fs{
  height:42px!important;
  font-size:.76rem!important;
}
.system-pro-v3 #page-configuracoes .fl{
  font-size:.65rem!important;
}

/* Tabela mais alta e com mais espaço visual */
.system-pro-v3 #page-configuracoes .cfg-tags-table-card{
  min-height:210px!important;
}
.system-pro-v3 #page-configuracoes .cfg-tags-table-head{
  min-height:42px!important;
  font-size:.58rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-tag-row{
  min-height:60px!important;
  font-size:.72rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-tag-main strong{
  font-size:.75rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-tags-state{
  min-height:150px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:.72rem!important;
}

/* Avisos também ganha mais presença */
.system-pro-v3 #page-configuracoes .cfg-notice-card{
  min-height:330px!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-row{
  padding:22px 24px!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-title{
  font-size:.84rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-toggle-sub{
  font-size:.72rem!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-form{
  padding:24px!important;
  gap:18px!important;
}
.system-pro-v3 #page-configuracoes .cfg-notice-textarea{
  min-height:170px!important;
  height:170px!important;
  font-size:.76rem!important;
}

/* Responsividade */
@media(max-width:1180px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:190px minmax(0,1fr)!important;
  }
  .system-pro-v3 #page-configuracoes .cfg-left{
    width:190px!important;
    min-width:190px!important;
  }
  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 22px)!important;
    margin-right:14px!important;
  }
}

@media(max-width:900px){
  .system-pro-v3 #page-configuracoes .cfg-layout{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #page-configuracoes .cfg-left{
    width:100%!important;
    min-width:0!important;
    padding:14px!important;
  }
  .system-pro-v3 #page-configuracoes .cfg-content-wrap{
    width:calc(100% - 28px)!important;
    margin:14px!important;
  }
  .system-pro-v3 #page-configuracoes #cfgSectionTags,
  .system-pro-v3 #page-configuracoes #cfgSectionAvisos{
    min-height:0!important;
    padding:20px!important;
  }
  .system-pro-v3 #page-configuracoes .cfg-tags-toolbar{
    grid-template-columns:1fr!important;
  }
}




/* Estado oculto SEMPRE vence o layout visual */
.system-pro-v3 #page-configuracoes .cfg-tags-state[hidden]{
  display:none!important;
}

/* Só o estado realmente ativo vira flex */
.system-pro-v3 #page-configuracoes .cfg-tags-state:not([hidden]){
  min-height:150px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px 18px!important;
  color:var(--t3)!important;
  font-size:.72rem!important;
}

/* Quando existem linhas, a tabela ocupa apenas o espaço delas */
.system-pro-v3 #page-configuracoes .cfg-tags-list:not(:empty){
  display:block!important;
}



.system-pro-v3 #page-configuracoes .cfg-nav-item[hidden],
.system-pro-v3 #page-configuracoes #cfgNavAvisos[hidden]{
  display:none!important;
}




/* Restaura ação manual solicitada */
.system-pro-v3 #cobPanelAcordos .cob-acordos-new{
  display:inline-flex!important;
}
.system-pro-v3 #cobNovoAcordoOverlay{
  display:none!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-head-right{
  display:flex;
  align-items:center;
  gap:10px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person{
  height:34px!important;
  padding:0 13px!important;
  font-size:.69rem!important;
  border-radius:8px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person svg{
  width:13px!important;
  height:13px!important;
}

/* filtros */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  margin-bottom:12px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:var(--sf);
  overflow:hidden;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters{
  border:0!important;
  border-radius:0!important;
  margin:0!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  grid-template-columns:minmax(280px,1.7fr) minmax(140px,.65fr) minmax(175px,.8fr) minmax(165px,.75fr) auto auto!important;
  padding:12px 14px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 10px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-family:inherit;
  font-size:.61rem;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more.active{
  border-color:rgba(255,138,61,.28);
  color:var(--tx);
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more svg{
  width:12px;height:12px;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more b{
  min-width:17px;height:17px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;background:rgba(255,138,61,.13);color:var(--ac);font-size:.52rem;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
  grid-template-columns:repeat(4,minmax(150px,1fr));
  gap:10px;
  padding:12px 14px 14px;
  border-top:1px solid rgba(128,128,128,.10);
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced .fs{
  height:34px!important;
  font-size:.64rem!important;
}

/* drawer novo */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103{
  width:min(680px,97vw)!important;
  background:var(--sf)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-head{
  padding:18px 22px!important;
  border-bottom:1px solid var(--bd);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-scroll{
  height:calc(100vh - 132px);
  overflow-y:auto;
  padding:18px 22px 96px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-card{
  padding:15px 16px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-title{
  margin-bottom:12px;
  color:var(--t3);
  font-size:.56rem;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.55px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey{
  display:flex;
  align-items:center;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
  min-width:82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--t3);
  font-family:inherit;
  cursor:pointer;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  width:27px;height:27px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--bd);
  border-radius:50%;
  background:var(--s2);
  font-size:.57rem;
  font-weight:760;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  font-size:.58rem;
  font-weight:700;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button.active{
  color:var(--tx);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button.active span{
  border-color:var(--ac);
  background:rgba(255,138,61,.12);
  color:var(--ac);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button.done span{
  border-color:rgba(34,197,94,.32);
  background:rgba(34,197,94,.09);
  color:#22c55e;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i{
  flex:1;
  height:1px;
  margin:-18px 3px 0;
  background:var(--bd);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i.done{
  background:rgba(34,197,94,.38);
}

/* overview */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview{
  margin-top:12px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:11px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div{
  min-width:0;
  padding:10px 11px;
  border-right:1px solid var(--bd);
  background:var(--s2);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div:last-child{
  border-right:0;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top span{
  display:block;
  color:var(--t3);
  font-size:.52rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong{
  display:block;
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--tx);
  font-size:.64rem;
}

/* stage */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-notes-v103{
  margin-top:14px;
  padding:17px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:15px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-kicker{
  margin-bottom:3px;
  color:var(--ac);
  font-size:.51rem;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.55px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-title{
  color:var(--tx);
  font-size:.78rem;
  font-weight:760;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-sub{
  margin-top:3px;
  color:var(--t3);
  font-size:.59rem;
  line-height:1.4;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-secondary-action{
  height:30px!important;
  padding:0 10px!important;
  font-size:.58rem!important;
  flex:0 0 auto;
}

/* summary fields */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-grid,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-payment-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item{
  min-width:0;
  padding:11px 12px;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item strong{
  display:block;
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--tx);
  font-size:.69rem;
  font-weight:700;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item.accent strong{
  color:var(--ac);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-edit-panel{
  margin-top:12px;
  padding:13px;
  border:1px dashed rgba(255,138,61,.22);
  border-radius:10px;
  background:rgba(255,138,61,.025);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-hint{
  margin-top:10px;
  padding:9px 10px;
  border-radius:8px;
  background:var(--s2);
  color:var(--t3);
  font-size:.56rem;
  line-height:1.4;
}

/* agreement */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-empty-state{
  padding:22px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  border:1px dashed var(--bd);
  border-radius:10px;
  text-align:center;
  color:var(--t3);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-empty-state strong{
  color:var(--tx);
  font-size:.68rem;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-empty-state span{
  font-size:.58rem;
  line-height:1.4;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-card{
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
  overflow:hidden;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-card{
  position:relative;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-clear{
  position:absolute;
  top:7px;
  right:7px;
  z-index:2;
  width:22px;
  height:22px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--t3);
  cursor:pointer;
  opacity:.72;
  transition:all .14s ease;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-clear:hover{
  opacity:1;
  color:#ef4444;
  background:rgba(239,68,68,.08);
  border-color:rgba(239,68,68,.22);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-clear svg{
  width:12px;
  height:12px;
  pointer-events:none;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top > div:first-child{
  padding-right:38px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top > div{
  padding:13px;
  border-right:1px solid var(--bd);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top > div:last-child{
  border-right:0;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top strong{
  display:block;
  margin-top:5px;
  color:var(--tx);
  font-size:.76rem;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 13px;
  border-top:1px solid var(--bd);
  color:var(--t3);
  font-size:.57rem;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-meta b{
  color:var(--tx);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-open-parcelas{
  min-height:32px;
  padding:0 11px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-family:inherit;
  font-size:.59rem;
  font-weight:700;
  cursor:pointer;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button:hover,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-open-parcelas:hover{
  color:var(--tx);
  border-color:rgba(255,138,61,.25);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button.primary{
  background:var(--ac);
  border-color:var(--ac);
  color:#171717;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-open-parcelas{
  margin-top:10px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-loading-line{
  padding:24px;
  text-align:center;
  color:var(--t3);
  font-size:.60rem;
}

/* notes/footer */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-notes-v103 textarea{
  width:100%;
  min-height:92px!important;
  margin-top:10px;
  padding:10px!important;
  resize:none;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:12px 22px;
  display:flex;
  justify-content:space-between;
  gap:8px;
  border-top:1px solid var(--bd);
  background:rgba(28,28,30,.96);
  backdrop-filter:blur(10px);
}

/* new person */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-card{
  width:min(620px,94vw);
  text-align:left;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-sub{
  margin-top:4px;
  color:var(--t3);
  font-size:.64rem;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-span-2{
  grid-column:1 / -1;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-required{
  color:var(--ac);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-note{
  margin-top:14px;
  padding:10px 11px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t3);
  font-size:.59rem;
  line-height:1.45;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-save{
  background:var(--ac)!important;
  border-color:var(--ac)!important;
  color:#171717!important;
}

/* global readability for this drawer */
.system-pro-v3 #cobAcordoDrawerOverlay .fl{
  font-size:.58rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .fs,
.system-pro-v3 #cobAcordoDrawerOverlay .dperiod{
  height:37px!important;
  font-size:.69rem!important;
}

/* responsive */
@media(max-width:1250px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:minmax(250px,1.5fr) minmax(135px,.6fr) minmax(165px,.75fr) auto auto!important;
  }
  .system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap[style*="display: none"]{
    display:none!important;
  }
}
@media(max-width:900px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:720px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main{
    grid-template-columns:1fr 1fr;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div:nth-child(2){
    border-right:0;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div:nth-child(-n+2){
    border-bottom:1px solid var(--bd);
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-grid,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-payment-grid,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-form-grid,
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-grid{
    grid-template-columns:1fr;
  }
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-span-2{
    grid-column:auto;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
    min-width:62px;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
    font-size:.50rem;
  }
}




/* Drawer um pouco mais largo para acomodar a tipografia maior */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103{
  width:min(720px,97vw)!important;
}

/* Cabeçalho do aluno */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-head{
  padding:20px 22px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-avatar{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
  font-size:.80rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-name{
  font-size:1rem!important;
  font-weight:780!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-sub{
  margin-top:4px!important;
  font-size:.67rem!important;
}

/* Jornada */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-title{
  font-size:.65rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
  min-width:92px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  width:31px!important;
  height:31px!important;
  font-size:.66rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  font-size:.68rem!important;
  font-weight:720!important;
}

/* Resumo do atendimento */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top span{
  font-size:.60rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong{
  margin-top:5px!important;
  font-size:.73rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div{
  padding:12px 13px!important;
}

/* Títulos e textos das etapas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-kicker{
  font-size:.59rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-title{
  font-size:.90rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-sub{
  margin-top:4px!important;
  font-size:.68rem!important;
  line-height:1.48!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-notes-v103{
  padding:19px!important;
}

/* Cards de informação */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item{
  padding:13px 14px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item strong{
  margin-top:6px!important;
  font-size:.79rem!important;
  line-height:1.35!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-grid,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-payment-grid{
  gap:10px!important;
}

/* Botões */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-secondary-action{
  height:34px!important;
  padding:0 12px!important;
  font-size:.66rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-open-parcelas{
  min-height:35px!important;
  padding:0 13px!important;
  font-size:.67rem!important;
}

/* Formulários de edição */
.system-pro-v3 #cobAcordoDrawerOverlay .fl{
  margin-bottom:6px!important;
  font-size:.65rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .fs,
.system-pro-v3 #cobAcordoDrawerOverlay .dperiod{
  height:40px!important;
  min-height:40px!important;
  font-size:.76rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-edit-panel{
  padding:15px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-hint{
  padding:10px 11px!important;
  font-size:.65rem!important;
  line-height:1.45!important;
}

/* Acordo */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-empty-state strong{
  font-size:.78rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-empty-state span{
  font-size:.67rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top strong{
  font-size:.86rem!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-meta{
  padding:12px 14px!important;
  font-size:.66rem!important;
}

/* Loading / pagamento */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-loading-line{
  font-size:.68rem!important;
}

/* Observações */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-notes-v103 textarea{
  min-height:108px!important;
  margin-top:12px!important;
  padding:12px!important;
  font-size:.76rem!important;
  line-height:1.5!important;
}

/* Rodapé */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
  padding:13px 22px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer .fbtn{
  min-height:36px!important;
  padding-left:14px!important;
  padding-right:14px!important;
  font-size:.68rem!important;
}

/* Toast */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-toast-text{
  font-size:.70rem!important;
}

/* Mobile continua confortável */
@media(max-width:720px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
    min-width:68px!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
    font-size:.59rem!important;
  }
}



.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble,
.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble p,
.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble div{
  font-size:.72rem!important;
  line-height:1.48!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble strong,
.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble b{
  font-size:inherit!important;
  line-height:inherit!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-wa-action{
  font-size:.66rem!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-preview-sub{
  font-size:.61rem!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble,
.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble p,
.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble div{
  font-size:.82rem!important;
  line-height:1.52!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble strong,
.system-pro-v3 #cobPanelMensagens .cob-msg-wa-bubble b{
  font-size:inherit!important;
  line-height:inherit!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-wa-action{
  font-size:.72rem!important;
  line-height:1.35!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-preview-sub{
  font-size:.64rem!important;
}



.system-pro-v3 #cobPanelMensagens .cob-msg-start-grid{
  grid-template-columns:1fr!important;
  gap:14px!important;
  align-items:start!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-start-grid > .cc{
  width:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card,
.system-pro-v3 #cobPanelMensagens .cob-msg-message-card{
  padding:16px!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-upload-card .cob-msg-drop{
  min-height:108px!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-message-card{
  display:block!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-message-card .cob-msg-message-preview{
  margin-top:14px!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-message-card .cob-msg-whatsapp-bubble{
  font-size:.82rem!important;
  line-height:1.52!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-origin-fixed{
  cursor:default!important;
  color:var(--tx)!important;
  opacity:1!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-map-card{
  padding:16px!important;
}

.system-pro-v3 #cobPanelMensagens .cob-msg-map-complement-grid{
  align-items:start!important;
}


.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav{
  display:flex;
  align-items:center;
  gap:22px;
  min-height:46px;
  padding:0 22px;
  border-bottom:1px solid var(--bd);
  background:var(--sf);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button{
  position:relative;
  height:46px;
  padding:0 2px;
  border:0;
  background:transparent;
  color:var(--t3);
  font-family:inherit;
  font-size:.72rem;
  font-weight:720;
  cursor:pointer;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button:hover{
  color:var(--tx);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button.active{
  color:var(--tx);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  border-radius:2px 2px 0 0;
  background:var(--ac);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-scroll{
  height:calc(100vh - 178px)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-import-history{
  padding:19px;
  border:1px solid var(--bd);
  border-radius:12px;
  background:rgba(255,255,255,.012);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-columns,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-row{
  display:grid;
  grid-template-columns:145px minmax(170px,.9fr) minmax(220px,1.25fr);
  gap:14px;
  align-items:center;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-columns{
  min-height:34px;
  padding:0 13px;
  border:1px solid var(--bd);
  border-radius:9px 9px 0 0;
  background:var(--th);
  color:var(--t3);
  font-size:.58rem;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.42px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-list{
  border-left:1px solid var(--bd);
  border-right:1px solid var(--bd);
  border-bottom:1px solid var(--bd);
  border-radius:0 0 9px 9px;
  overflow:hidden;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-row{
  min-height:64px;
  padding:9px 13px;
  border-bottom:1px solid rgba(128,128,128,.10);
  color:var(--t2);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-row:last-child{
  border-bottom:0;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-date{
  font-size:.70rem;
  color:var(--t2);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-base,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-message{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-base strong,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-message strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--tx);
  font-size:.73rem;
  font-weight:720;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-base span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--t3);
  font-size:.58rem;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-message span{
  align-self:flex-start;
  padding:3px 7px;
  border-radius:999px;
  font-size:.56rem;
  font-weight:720;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-message span.send{
  background:rgba(37,211,102,.09);
  color:#25d366;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-message span.import{
  background:rgba(59,130,246,.09);
  color:#60a5fa;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-state{
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-left:1px solid var(--bd);
  border-right:1px solid var(--bd);
  border-bottom:1px solid var(--bd);
  border-radius:0 0 9px 9px;
  color:var(--t3);
  font-size:.69rem;
  text-align:center;
  padding:22px;
}

@media(max-width:720px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-columns{
    display:none;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-row{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:13px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-list{
    border-top:1px solid var(--bd);
    border-radius:9px;
  }
}



.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-danger-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-delete-person{
  min-height:36px!important;
  padding:0 14px!important;
  border-color:rgba(239,68,68,.38)!important;
  background:rgba(239,68,68,.08)!important;
  color:#f87171!important;
  font-size:.68rem!important;
  font-weight:730!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-delete-person:hover{
  border-color:rgba(239,68,68,.58)!important;
  background:rgba(239,68,68,.13)!important;
  color:#fca5a5!important;
}

.system-pro-v3 #cobDeletePersonOverlay .cob-delete-person-warning{
  color:#fecaca!important;
}

.system-pro-v3 #cobDeletePersonOverlay .cob-delete-person-preserve{
  background:rgba(59,130,246,.08)!important;
  color:#93c5fd!important;
}

.system-pro-v3 #cobDeletePersonOverlay .cob-delete-person-note{
  margin-top:10px;
  padding:10px 11px;
  border:1px solid rgba(245,158,11,.20);
  border-radius:8px;
  background:rgba(245,158,11,.06);
  color:#d6b46c;
  font-size:.62rem;
  line-height:1.45;
}

.system-pro-v3 #cobDeletePersonOverlay .cob-delete-person-confirm{
  border-color:#b91c1c!important;
  background:#b91c1c!important;
  color:#fff!important;
}

.system-pro-v3 #cobDeletePersonOverlay .cob-delete-person-confirm:hover:not(:disabled){
  border-color:#dc2626!important;
  background:#dc2626!important;
}

.system-pro-v3 #cobDeletePersonOverlay .cob-delete-person-confirm:disabled{
  opacity:.45!important;
  cursor:not-allowed!important;
}

@media(max-width:620px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
    align-items:flex-end!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-danger-actions{
    flex-direction:column;
    align-items:stretch;
  }
}




/* Limpar renegociação = atenção / amarelo */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg{
  border-color:rgba(245,158,11,.38)!important;
  background:rgba(245,158,11,.09)!important;
  color:#fbbf24!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg:hover{
  border-color:rgba(245,158,11,.58)!important;
  background:rgba(245,158,11,.14)!important;
  color:#fcd34d!important;
}

/* Excluir pessoa = destrutivo / vermelho */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-delete-person{
  border-color:rgba(239,68,68,.42)!important;
  background:rgba(239,68,68,.10)!important;
  color:#f87171!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-delete-person:hover{
  border-color:rgba(239,68,68,.62)!important;
  background:rgba(239,68,68,.16)!important;
  color:#fca5a5!important;
}



.system-pro-v3 #cobNovaPessoaOverlay .cob-np-card-v112{
  width:min(700px,94vw)!important;
  max-height:90vh;
  padding:0!important;
  overflow:hidden;
  border-radius:14px!important;
  text-align:left;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-v112{
  margin:0!important;
  padding:20px 22px!important;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid var(--bd);
  background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-main{
  display:flex;align-items:center;gap:13px;min-width:0;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-icon{
  width:39px;height:39px;flex:0 0 39px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,138,61,.28);
  border-radius:10px;background:rgba(255,138,61,.09);color:var(--ac);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-icon svg{width:19px;height:19px}
.system-pro-v3 #cobNovaPessoaOverlay .imp-confirm-title{font-size:1rem!important}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-sub{
  margin-top:5px!important;max-width:470px;font-size:.69rem!important;line-height:1.45
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-body-v112{
  max-height:calc(90vh - 150px);overflow-y:auto;padding:20px 22px;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section{
  padding:16px;border:1px solid var(--bd);border-radius:11px;background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section + .cob-np-section{margin-top:12px}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head{
  display:flex;align-items:center;gap:10px;margin-bottom:14px;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-icon{
  width:31px;height:31px;flex:0 0 31px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--bd);border-radius:8px;background:var(--s2);color:var(--t2);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-icon svg{width:15px;height:15px}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head strong{
  display:block;color:var(--tx);font-size:.76rem;font-weight:760;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head span{
  display:block;margin-top:2px;color:var(--t3);font-size:.61rem;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-span-2{grid-column:1/-1}
.system-pro-v3 #cobNovaPessoaOverlay .fl{margin-bottom:6px!important;font-size:11px!important}
.system-pro-v3 #cobNovaPessoaOverlay .fs{
  height:40px!important;min-height:40px!important;font-size:.75rem!important;border-radius:8px!important;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-required{color:var(--ac)}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview{
  margin-top:12px;display:flex;gap:11px;padding:13px 14px;
  border:1px solid rgba(59,130,246,.16);border-radius:10px;background:rgba(59,130,246,.055);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-icon{
  width:31px;height:31px;flex:0 0 31px;display:flex;align-items:center;justify-content:center;
  border-radius:8px;background:rgba(59,130,246,.11);color:#60a5fa;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-icon svg{width:15px;height:15px}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview strong{
  display:block;color:var(--tx);font-size:.69rem;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview span{
  display:block;margin-top:3px;color:var(--t3);font-size:.61rem;line-height:1.45;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-footer-v112{
  display:flex;align-items:center;justify-content:flex-end;gap:9px;
  padding:13px 22px;border-top:1px solid var(--bd);background:rgba(255,255,255,.012);
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-footer-v112 .fbtn{
  min-height:36px!important;padding:0 14px!important;font-size:.69rem!important;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-save{
  min-width:145px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
}
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-save svg{width:13px;height:13px}


/* Timeline */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-v112{
  padding:0!important;border:0!important;background:transparent!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-v112-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-total{
  min-height:26px;display:inline-flex;align-items:center;padding:0 9px;
  border:1px solid var(--bd);border-radius:999px;background:var(--s2);
  color:var(--t3);font-size:.68rem;font-weight:700;white-space:nowrap;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-legend{
  display:flex;flex-wrap:wrap;gap:14px;margin-bottom:16px;padding:10px 12px;
  border:1px solid var(--bd);border-radius:9px;background:rgba(255,255,255,.012);
  color:var(--t3);font-size:.61rem;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-legend span{
  display:inline-flex;align-items:center;gap:6px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-legend i{
  width:8px;height:8px;display:inline-block;border-radius:50%;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-legend i.send{background:#22c55e}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-legend i.import{background:#60a5fa}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-timeline{
  display:flex;flex-direction:column;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-event{
  position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;min-height:92px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-rail{
  position:relative;display:flex;flex-direction:column;align-items:center;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-icon{
  position:relative;z-index:2;width:34px;height:34px;flex:0 0 34px;
  display:flex;align-items:center;justify-content:center;border-radius:50%;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-event.send .cob-history-icon{
  border:1px solid rgba(34,197,94,.30);background:rgba(34,197,94,.11);color:#22c55e;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-event.import .cob-history-icon{
  border:1px solid rgba(96,165,250,.30);background:rgba(96,165,250,.11);color:#60a5fa;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-icon svg{width:16px;height:16px}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-line{
  width:2px;flex:1;min-height:58px;margin-top:3px;border-radius:2px;
  background:linear-gradient(to bottom,rgba(128,128,128,.30),rgba(128,128,128,.10));
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card{
  margin-bottom:12px;overflow:hidden;border:1px solid var(--bd);border-radius:10px;background:var(--s2);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card:hover{
  border-color:rgba(255,138,61,.20);background:rgba(255,255,255,.025);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:12px 14px 10px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-title-wrap{min-width:0}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-type{
  display:block;margin-bottom:4px;color:var(--t3);font-size:.63rem;font-weight:730;
  text-transform:uppercase;letter-spacing:.38px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-title-wrap strong{
  display:block;color:var(--tx);font-size:.84rem;font-weight:740;line-height:1.4;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-head time{
  flex:0 0 auto;color:var(--t3);font-size:.69rem;font-weight:600;white-space:nowrap;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta{
  display:grid;grid-template-columns:1.15fr .85fr;
  border-top:1px solid rgba(128,128,128,.09);border-bottom:1px solid rgba(128,128,128,.09);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta > div{min-width:0;padding:9px 14px}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta > div + div{
  border-left:1px solid rgba(128,128,128,.09);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta span{
  display:block;margin-bottom:4px;color:var(--t3);font-size:.60rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.34px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta strong{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--t2);font-size:.74rem;font-weight:680;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-lote-id{
  padding:7px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--t3);font-size:.63rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-lote-id span{
  margin-right:5px;font-weight:760;color:var(--t2);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-state-v112{
  min-height:180px!important;border:1px dashed var(--bd)!important;
  border-radius:10px!important;background:rgba(255,255,255,.012);
}

@media(max-width:720px){
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-grid{grid-template-columns:1fr!important}
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-span-2{grid-column:auto!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-head{flex-direction:column;gap:6px}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta{grid-template-columns:1fr}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta > div + div{
    border-left:0;border-top:1px solid rgba(128,128,128,.09);
  }
}




.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-divider{
  height:1px;
  margin:16px 0;
  background:var(--bd);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-title{
  color:var(--tx);
  font-size:.82rem;
  font-weight:760;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-sub{
  margin-top:3px;
  color:var(--t3);
  font-size:.65rem;
  line-height:1.4;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-count{
  min-width:46px;
  height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd);
  border-radius:999px;
  background:var(--s2);
  color:var(--t2);
  font-size:.63rem;
  font-weight:720;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  padding:13px 16px;
  border:1px dashed rgba(255,138,61,.32);
  border-radius:10px;
  background:rgba(255,138,61,.025);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop:hover{
  border-color:rgba(255,138,61,.55);
  background:rgba(255,138,61,.05);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop.disabled{
  opacity:.48;
  cursor:not-allowed;
  pointer-events:none;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop input{
  display:none;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:rgba(255,138,61,.09);
  color:var(--ac);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop-icon svg{
  width:16px;
  height:16px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop-text{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop-text strong{
  color:var(--tx);
  font-size:.69rem;
  font-weight:730;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-drop-text small{
  color:var(--t3);
  font-size:.59rem;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-upload-state{
  min-height:32px;
  margin-top:9px;
  display:flex;
  align-items:center;
  padding:7px 10px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-size:.61rem;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-upload-state.success{
  border-color:rgba(34,197,94,.20);
  background:rgba(34,197,94,.06);
  color:#4ade80;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-upload-state.error{
  border-color:rgba(239,68,68,.22);
  background:rgba(239,68,68,.06);
  color:#f87171;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-loading,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-empty{
  min-height:54px;
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed var(--bd);
  border-radius:9px;
  color:var(--t3);
  font-size:.62rem;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-list{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-item{
  min-height:54px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:8px 9px;
  border:1px solid var(--bd);
  border-radius:9px;
  background:var(--s2);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-icon{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-icon svg{
  width:16px;
  height:16px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-icon.pdf{
  background:rgba(239,68,68,.09);
  color:#f87171;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-icon.image{
  background:rgba(59,130,246,.09);
  color:#60a5fa;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-main strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--tx);
  font-size:.67rem;
  font-weight:720;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-file-main span{
  color:var(--t3);
  font-size:.56rem;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-actions{
  display:flex;
  align-items:center;
  gap:4px;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-actions button{
  width:29px;
  height:29px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:var(--t3);
  cursor:pointer;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-actions button:hover{
  border-color:var(--bd);
  background:var(--pro-hover);
  color:var(--tx);
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-actions button.delete:hover{
  border-color:rgba(239,68,68,.22);
  background:rgba(239,68,68,.07);
  color:#f87171;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-proof-actions svg{
  width:14px;
  height:14px;
}



.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
  margin:18px 20px 90px;
  padding:20px;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--s1);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head{
  display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--bd);
  color:var(--t2);background:var(--s2);font-size:.6rem;font-weight:760;white-space:nowrap;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.pendente{color:#f59e0b;border-color:rgba(245,158,11,.35);background:rgba(245,158,11,.08)}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.processando{color:#60a5fa;border-color:rgba(96,165,250,.35);background:rgba(96,165,250,.08)}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.sucesso{color:#22c55e;border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.08)}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.erro{color:#ef4444;border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.08)}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid{
  display:grid;grid-template-columns:minmax(220px,.8fr) 1.2fr;gap:18px;align-items:start;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-help{margin-top:7px;color:var(--t3);font-size:.58rem;line-height:1.45}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary>div{
  padding:11px;border:1px solid var(--bd);border-radius:9px;background:var(--s2);min-width:0;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary span{
  display:block;color:var(--t3);font-size:.5rem;text-transform:uppercase;letter-spacing:.45px;font-weight:720;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary strong{
  display:block;margin-top:5px;color:var(--tx);font-size:.67rem;line-height:1.35;word-break:break-word;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary-full{grid-column:1/-1}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  display:flex;justify-content:flex-end;gap:8px;margin-top:18px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-clear{color:#f59e0b;border-color:rgba(245,158,11,.35)}
@media(max-width:720px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid{grid-template-columns:1fr}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary{grid-template-columns:1fr}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary-full{grid-column:auto}
}


.cob-reneg-history{margin-top:18px;border-top:1px solid var(--bd);padding-top:16px}
.cob-reneg-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.cob-reneg-history-title{font-size:.8rem;font-weight:760;color:var(--tx)}
.cob-reneg-history-sub{font-size:.68rem;color:var(--t3);margin-top:2px;line-height:1.45}
.cob-reneg-history-count{font-size:.62rem;font-weight:700;color:var(--ac);background:rgba(249,115,22,.1);border:1px solid rgba(249,115,22,.2);border-radius:999px;padding:4px 9px;white-space:nowrap}
.cob-reneg-tree{display:flex;flex-direction:column;gap:0}
.cob-reneg-node{display:grid;grid-template-columns:20px 1fr;gap:10px;position:relative}
.cob-reneg-rail{display:flex;flex-direction:column;align-items:center}
.cob-reneg-dot{width:11px;height:11px;border-radius:50%;margin-top:17px;background:var(--s3);border:2px solid var(--t3);z-index:2}
.cob-reneg-node.active .cob-reneg-dot{background:#22c55e;border-color:#86efac}
.cob-reneg-node.substituted .cob-reneg-dot{background:#64748b;border-color:#94a3b8}
.cob-reneg-line{width:1px;background:var(--bd);flex:1;min-height:18px}
.cob-reneg-card{margin:5px 0 8px;background:var(--s2);border:1px solid var(--bd);border-radius:12px;padding:12px 13px}
.cob-reneg-node.active .cob-reneg-card{border-color:rgba(34,197,94,.35)}
.cob-reneg-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cob-reneg-card-title{font-size:.76rem;font-weight:760;color:var(--tx)}
.cob-reneg-badge{font-size:.58rem;font-weight:750;padding:3px 8px;border-radius:999px;background:rgba(100,116,139,.14);color:#94a3b8}
.cob-reneg-badge.active{background:rgba(34,197,94,.12);color:#4ade80}
.cob-reneg-badge.replaced{background:rgba(100,116,139,.14);color:#94a3b8}
.cob-reneg-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin-top:10px}
.cob-reneg-kv span{display:block;font-size:.58rem;color:var(--t3);font-weight:650;text-transform:uppercase;letter-spacing:.35px}
.cob-reneg-kv strong{display:block;font-size:.69rem;color:var(--tx);font-weight:650;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cob-reneg-replaced-note{margin-top:9px;padding-top:8px;border-top:1px solid var(--bd);font-size:.64rem;color:var(--t3);line-height:1.4}
.cob-reneg-actions-choice{display:flex;flex-wrap:wrap;gap:7px;align-items:center;width:100%}
.cob-reneg-actions-choice span{width:100%;font-size:.65rem;color:var(--t3);margin-bottom:2px}
.cob-reneg-pill{display:inline-flex;align-items:center;margin-top:3px;font-size:.58rem;font-weight:700;color:var(--t3)}
.cob-reneg-pill strong{color:var(--ac);margin-left:4px}
@media(max-width:700px){.cob-reneg-card-grid{grid-template-columns:1fr}}


/* ===== legacy-1 ===== */
.system-pro-v3 .cob-acordos-pagination{
  min-height:64px;
  padding:12px 16px;
  border-top:1px solid var(--bd);
  display:grid;
  grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);
  align-items:center;
  gap:18px;
  background:rgba(255,255,255,.012);
}
.system-pro-v3 .cob-pagination-left{
  display:flex;
  align-items:center;
  gap:8px;
  justify-self:start;
  color:var(--t2);
  font-size:.72rem;
  font-weight:600;
  white-space:nowrap;
}
.system-pro-v3 .cob-pagination-center{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  justify-self:center;
  background:var(--s2);
  border:1px solid rgba(255,255,255,.025);
  border-radius:9px;
  padding:3px;
  min-height:38px;
}
.system-pro-v3 .cob-pagination-right{
  justify-self:end;
  color:var(--t2);
  font-size:.7rem;
  font-weight:600;
  white-space:nowrap;
}
.system-pro-v3 .cob-pagination-size{
  height:32px;
  min-width:64px;
  border:1px solid var(--bd);
  background:var(--sf);
  color:var(--tx);
  border-radius:16px;
  padding:0 25px 0 11px;
  font-size:.7rem;
  font-weight:650;
  outline:none;
  cursor:pointer;
}
.system-pro-v3 .cob-page-btn{
  min-width:34px;
  height:32px;
  border:0;
  background:transparent;
  color:var(--t2);
  border-radius:7px;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.72rem;
  font-weight:700;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.system-pro-v3 .cob-page-btn:hover:not(:disabled):not(.active){
  background:rgba(255,255,255,.055);
  color:var(--tx);
}
.system-pro-v3 .cob-page-btn.active{
  background:var(--ac);
  color:#161616;
  font-weight:800;
}
.system-pro-v3 .cob-page-btn:disabled{
  opacity:.28;
  cursor:not-allowed;
}
.system-pro-v3 .cob-page-arrow{
  font-size:1rem;
  line-height:1;
  color:var(--t3);
}
.system-pro-v3 .cob-page-ellipsis{
  min-width:28px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--t2);
  font-size:.8rem;
  font-weight:700;
}
@media(max-width:980px){
  .system-pro-v3 .cob-acordos-pagination{
    grid-template-columns:1fr auto;
  }
  .system-pro-v3 .cob-pagination-center{
    grid-column:1 / -1;
    grid-row:1;
    max-width:100%;
    overflow-x:auto;
  }
  .system-pro-v3 .cob-pagination-left{
    grid-column:1;
    grid-row:2;
  }
  .system-pro-v3 .cob-pagination-right{
    grid-column:2;
    grid-row:2;
  }
}
@media(max-width:620px){
  .system-pro-v3 .cob-acordos-pagination{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .system-pro-v3 .cob-pagination-center{
    order:1;
    justify-content:flex-start;
    overflow-x:auto;
  }
  .system-pro-v3 .cob-pagination-left,
  .system-pro-v3 .cob-pagination-right{
    justify-self:auto;
  }
  .system-pro-v3 .cob-pagination-left{order:2;}
  .system-pro-v3 .cob-pagination-right{order:3;text-align:right;}
}


/* ===== v3116-bulk-import-delete-styles ===== */
.system-pro-v3 .cob-base-delete-wrap{
  display:none;
  margin-top:7px;
}
.system-pro-v3 .cob-base-delete-btn{
  width:100%;
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid rgba(239,68,68,.42);
  background:rgba(239,68,68,.08);
  color:#f87171;
  border-radius:8px;
  font-size:.68rem;
  font-weight:750;
  cursor:pointer;
  transition:.16s ease;
}
.system-pro-v3 .cob-base-delete-btn:hover{
  background:rgba(239,68,68,.14);
  border-color:rgba(239,68,68,.7);
  color:#fca5a5;
}
.system-pro-v3 .cob-base-delete-btn svg{width:13px;height:13px;flex:0 0 auto}
.system-pro-v3[data-theme=light] .cob-base-delete-btn{
  color:#b91c1c;
  background:rgba(239,68,68,.055);
  border-color:rgba(220,38,38,.28);
}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:12px 0;
}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-kpi{
  border:1px solid var(--bd);
  background:var(--s2);
  border-radius:9px;
  padding:10px 11px;
}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-kpi span{
  display:block;
  color:var(--t3);
  font-size:.61rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.35px;
  margin-bottom:4px;
}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-kpi strong{
  display:block;
  color:var(--tx);
  font-size:1rem;
}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-kpi.danger strong{color:#f87171}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-kpi.safe strong{color:#fbbf24}
.system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-progress{
  margin-top:10px;
  color:var(--t2);
  font-size:.69rem;
  font-weight:650;
  min-height:18px;
}
@media(max-width:720px){
  .system-pro-v3 #cobDeleteBaseOverlay .cob-delete-base-summary{grid-template-columns:1fr}
}


/* ===== v3117-compact-layout ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  grid-template-columns:minmax(250px,380px) minmax(135px,.72fr) minmax(170px,.82fr) minmax(160px,.78fr) auto auto!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-pagination{
  min-height:48px!important;
  padding:7px 12px!important;
  grid-template-columns:minmax(165px,1fr) auto minmax(165px,1fr)!important;
  gap:12px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-pagination-left{
  gap:6px!important;
  font-size:.64rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-pagination-right{
  font-size:.63rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-pagination-center{
  min-height:30px!important;
  border-radius:8px!important;
  padding:2px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-page-btn{
  min-width:28px!important;
  height:26px!important;
  padding:0 7px!important;
  border-radius:6px!important;
  font-size:.66rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-page-arrow{
  font-size:.88rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-page-ellipsis{
  min-width:22px!important;
  height:26px!important;
  font-size:.7rem!important;
}
.system-pro-v3 #cobPanelAcordos .cob-pagination-size-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.system-pro-v3 #cobPanelAcordos .cob-pagination-size{
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  height:27px!important;
  min-width:55px!important;
  border-radius:14px!important;
  padding:0 23px 0 9px!important;
  font-size:.65rem!important;
  line-height:27px!important;
  background-image:none!important;
}
.system-pro-v3 #cobPanelAcordos .cob-pagination-size::-ms-expand{display:none;}
.system-pro-v3 #cobPanelAcordos .cob-pagination-size-arrow{
  position:absolute;
  right:7px;
  top:50%;
  width:12px;
  height:12px;
  transform:translateY(-50%);
  fill:none;
  stroke:var(--t2);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
@media(max-width:1250px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:minmax(230px,340px) minmax(130px,.7fr) minmax(155px,.8fr) auto auto!important;
  }
}
@media(max-width:980px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-pagination{
    grid-template-columns:1fr auto!important;
  }
}
@media(max-width:900px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:1fr!important;
  }
}


/* ===== legacy-4 ===== */
/*
   O botão de limpar (X) fazia parte do fluxo flex e ocupava largura mesmo
   quando invisível. Isso deslocava visualmente o seletor para a esquerda.
   Agora o X fica absoluto e o valor permanece exatamente no centro da coluna.
*/
.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  gap:0!important;
}

.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap > .cob-inline-choice-btn,
.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap > .cob-status-btn{
  margin-left:auto!important;
  margin-right:auto!important;
}

.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap > .cob-clear-field-btn{
  position:absolute!important;
  left:calc(100% + 3px)!important;
  top:50%!important;
  margin:0!important;
  transform:translateY(-50%) scale(.84)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-clearable-cell:hover .cob-clearable-wrap > .cob-clear-field-btn,
.system-pro-v3 #cobPanelAcordos .cob-clearable-wrap:focus-within > .cob-clear-field-btn{
  transform:translateY(-50%) scale(1)!important;
}

/* Origem e Forma usam a mesma régua visual, sem alterar opções ou cores. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(5) .cob-inline-choice-btn,
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td:nth-child(8) .cob-inline-choice-btn{
  min-width:82px!important;
  justify-content:center!important;
  text-align:center!important;
}


/* ===== v3133-refino-visual ===== */
/* ---------- AGENDA: composição mais limpa ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
  padding:0 22px 28px;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
  width:100%;
  max-width:920px;
  margin:24px auto 60px!important;
  padding:22px 24px 20px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.012)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head{
  margin-bottom:20px!important;
  padding-bottom:16px;
  border-bottom:1px solid rgba(128,128,128,.13);
  align-items:center!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head .cob-drawer-stage-title{
  font-size:1rem!important;
  font-weight:790!important;
  letter-spacing:-.01em;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head .cob-drawer-stage-sub{
  margin-top:5px!important;
  max-width:580px;
  font-size:.66rem!important;
  line-height:1.5!important;
}
/* O status já aparece no resumo; remove repetição visual no topo. */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusBadge{
  display:none!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid{
  grid-template-columns:minmax(250px,.82fr) minmax(360px,1.18fr)!important;
  gap:20px!important;
  align-items:stretch!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid > .fg{
  padding:16px;
  border:1px solid rgba(128,128,128,.14);
  border-radius:11px;
  background:var(--s2);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid > .fg .fl{
  margin-bottom:9px!important;
  font-size:.56rem!important;
  font-weight:760!important;
  letter-spacing:.52px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData{
  height:42px!important;
  min-height:42px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  font-size:.78rem!important;
  font-weight:650!important;
  background:var(--sf)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-help{
  margin-top:10px!important;
  font-size:.59rem!important;
  line-height:1.55!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary > div{
  min-height:76px;
  padding:14px 15px!important;
  border-radius:10px!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary span{
  font-size:.52rem!important;
  font-weight:760!important;
  letter-spacing:.5px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary strong{
  margin-top:7px!important;
  font-size:.7rem!important;
  font-weight:720!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary-full{
  min-height:70px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  margin-top:18px!important;
  padding-top:16px;
  border-top:1px solid rgba(128,128,128,.13);
  gap:9px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions .fbtn{
  min-height:38px!important;
  padding:0 16px!important;
  border-radius:9px!important;
  font-size:.65rem!important;
  font-weight:760!important;
}
@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{padding:0 14px 24px}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{padding:18px!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid{grid-template-columns:1fr!important}
}

/* ---------- DASHBOARD: centraliza Competência / Hoje ---------- */
.system-pro-v3 #cobStatusTabela .cob-status-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.system-pro-v3 #cobStatusTabela .cob-status-card > div:first-child{
  width:100%;
  display:flex;
  justify-content:center;
}
.system-pro-v3 #cobStatusTabela .cob-status-card-grid{
  width:100%;
  grid-template-columns:repeat(2,minmax(82px,100px))!important;
  justify-content:center!important;
  gap:7px!important;
}
.system-pro-v3 #cobStatusTabela .cob-status-number{
  width:100%;
  padding:8px 7px!important;
}

/* ---------- ACORDOS: filtros com uma única linguagem visual ---------- */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  border-radius:11px!important;
  background:rgba(255,255,255,.012)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  grid-template-columns:minmax(280px,390px) minmax(150px,.72fr) minmax(180px,.82fr) minmax(170px,.78fr) auto auto!important;
  gap:10px!important;
  padding:14px!important;
  align-items:end!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  display:block;
  min-height:14px;
  margin:0 0 6px!important;
  color:var(--t3)!important;
  font-family:'Inter',sans-serif!important;
  font-size:.54rem!important;
  font-weight:760!important;
  line-height:1.2!important;
  letter-spacing:.55px!important;
  text-transform:uppercase!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  border:1px solid var(--bd)!important;
  border-radius:9px!important;
  background:var(--s2)!important;
  color:var(--t2)!important;
  font-family:'Inter',sans-serif!important;
  font-size:.65rem!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:0!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs{
  padding-top:0!important;
  padding-bottom:0!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter select.fs{
  padding-left:11px!important;
  padding-right:30px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod{
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dptext{
  font:inherit!important;
  color:inherit!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap{
  height:38px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap svg{
  left:12px!important;
  width:14px!important;
  height:14px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap .fs{
  height:38px!important;
  min-height:38px!important;
  padding:0 12px 0 35px!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca::placeholder{
  color:var(--t3)!important;
  opacity:.85;
  font-weight:500;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  align-self:end!important;
  justify-self:start!important;
  padding:0 12px!important;
  gap:7px!important;
  color:var(--t2)!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more svg{
  width:13px!important;
  height:13px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  align-self:end!important;
  justify-self:start!important;
  width:auto!important;
  min-width:58px!important;
  padding:0 12px!important;
  color:var(--t3)!important;
  cursor:pointer;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear:hover{
  border-color:rgba(255,138,61,.32)!important;
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
  gap:10px!important;
  padding:13px 14px 15px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced .fs{
  height:38px!important;
  min-height:38px!important;
  font-size:.65rem!important;
}
@media(max-width:1250px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:minmax(250px,340px) minmax(140px,.75fr) minmax(165px,.8fr) minmax(155px,.76fr) auto auto!important;
  }
}
@media(max-width:980px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-more,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
    justify-self:stretch!important;
    justify-content:center!important;
  }
}
@media(max-width:640px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3134-avista-payment ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-payment-action{
  margin-top:10px;
  padding:13px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--s2);
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-paid-note{
  min-width:0;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-paid-note strong{
  display:block;
  color:var(--tx);
  font-size:.69rem;
  font-weight:760;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-paid-note span{
  display:block;
  margin-top:4px;
  color:var(--t3);
  font-size:.57rem;
  line-height:1.45;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-paid-btn{
  flex:0 0 auto;
  min-height:37px;
  padding:0 15px;
  border-color:rgba(34,197,94,.38);
  background:rgba(34,197,94,.10);
  color:#22c55e;
  font-weight:780;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-undo-btn{
  flex:0 0 auto;
  min-height:37px;
  padding:0 15px;
  color:var(--t2);
  font-weight:700;
}
@media(max-width:620px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-payment-action{
    align-items:stretch;
    flex-direction:column;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-payment-action .fbtn{
    width:100%;
  }
}


/* ===== v3135-filtros-acordos ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  overflow:hidden!important;
  border:1px solid var(--bd)!important;
  border-radius:12px!important;
  background:var(--s1)!important;
}

/* Primeira linha */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  display:grid!important;
  grid-template-columns:minmax(285px,1.12fr) minmax(190px,.82fr) minmax(215px,.92fr) minmax(210px,.9fr) auto auto!important;
  gap:14px!important;
  padding:17px 18px!important;
  align-items:end!important;
  background:var(--s1)!important;
}

/* Segunda linha / filtros avançados */
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(180px,1fr))!important;
  gap:14px!important;
  padding:16px 18px 18px!important;
  border-top:1px solid var(--bd)!important;
  background:var(--s1)!important;
}

/* Remove diferenças herdadas entre componentes */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
}

/* Labels próximos do modelo enviado: maiores e fáceis de ler */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  min-height:0!important;
  margin:0 0 8px!important;
  color:var(--t2)!important;
  font-family:'Inter',sans-serif!important;
  font-size:.68rem!important;
  line-height:1.2!important;
  font-weight:620!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

/* Todos os campos têm exatamente a mesma presença visual */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  border-radius:9px!important;
}

/* Inputs e selects */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs{
  border:1px solid var(--bd)!important;
  background:var(--s2)!important;
  color:var(--tx)!important;
  font-family:'Inter',sans-serif!important;
  font-size:.72rem!important;
  line-height:1.2!important;
  font-weight:520!important;
  letter-spacing:0!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter select.fs{
  padding:0 38px 0 13px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap{
  position:relative!important;
  border:0!important;
  background:transparent!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap .fs{
  width:100%!important;
  height:44px!important;
  padding:0 13px 0 40px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap svg{
  left:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:15px!important;
  height:15px!important;
  color:var(--t3)!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca::placeholder{
  color:var(--t3)!important;
  opacity:1!important;
  font-size:.71rem!important;
  font-weight:480!important;
}

/* Period / custom select segue a mesma tipografia */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod{
  padding:0 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  border:1px solid var(--bd)!important;
  background:var(--s2)!important;
  color:var(--tx)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dptext{
  color:inherit!important;
  font-family:'Inter',sans-serif!important;
  font-size:.72rem!important;
  font-weight:520!important;
}

/* Botão Mais filtros: destaque leve, sem parecer componente de outro sistema */
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  align-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 15px!important;
  border:1px solid rgba(255,138,61,.42)!important;
  background:rgba(255,138,61,.065)!important;
  color:var(--ac)!important;
  font-family:'Inter',sans-serif!important;
  font-size:.69rem!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more svg{
  width:14px!important;
  height:14px!important;
}

/* Limpar fica secundário */
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  align-self:end!important;
  min-width:68px!important;
  padding:0 14px!important;
  border:1px solid var(--bd)!important;
  background:var(--s2)!important;
  color:var(--t2)!important;
  font-family:'Inter',sans-serif!important;
  font-size:.68rem!important;
  font-weight:560!important;
}

/* Estados */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear:hover{
  border-color:rgba(255,255,255,.20)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:focus,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:focus-within{
  outline:none!important;
  border-color:rgba(255,138,61,.72)!important;
  box-shadow:0 0 0 2px rgba(255,138,61,.08)!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more:hover{
  background:rgba(255,138,61,.11)!important;
  border-color:rgba(255,138,61,.65)!important;
}

/* Responsivo */
@media(max-width:1250px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:1.2fr .85fr .95fr .9fr auto auto!important;
    gap:11px!important;
  }
}
@media(max-width:1050px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-more,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
    width:100%!important;
  }
}
@media(max-width:620px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3138-avista-etapa4 ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-paid-btn{
  min-width:148px;
  min-height:39px;
  border-color:rgba(34,197,94,.44)!important;
  background:rgba(34,197,94,.11)!important;
  color:#22c55e!important;
  font-weight:780!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-avista-paid-btn:hover{
  background:rgba(34,197,94,.17)!important;
  border-color:rgba(34,197,94,.62)!important;
}


/* ===== v3139-tipografia-global ===== */
:root{
  --ui-font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --ui-text-xs:11px;
  --ui-text-sm:12px;
  --ui-text-md:13px;
  --ui-text-base:14px;
  --ui-text-lg:16px;
  --ui-text-xl:19px;
  --ui-line:1.45;
}

/* Família única no sistema inteiro. */
html,
body,
.system-pro-v3,
.system-pro-v3 button,
.system-pro-v3 input,
.system-pro-v3 select,
.system-pro-v3 textarea,
.system-pro-v3 table,
.system-pro-v3 option,
.system-pro-v3 label{
  font-family:var(--ui-font)!important;
}

/* Evita alterar famílias usadas exclusivamente para ícones. */
.system-pro-v3 .material-icons,
.system-pro-v3 .material-symbols-outlined,
.system-pro-v3 [class^="fa-"],
.system-pro-v3 [class*=" fa-"]{
  font-family:inherit;
}

/* Corpo e textos corridos. */
.system-pro-v3{
  font-size:var(--ui-text-base)!important;
  line-height:var(--ui-line);
  font-weight:400;
}

.system-pro-v3 p,
.system-pro-v3 .sub,
.system-pro-v3 .subtitle,
.system-pro-v3 .hint,
.system-pro-v3 .help,
.system-pro-v3 .helper,
.system-pro-v3 .desc,
.system-pro-v3 .description,
.system-pro-v3 [class*="-sub"],
.system-pro-v3 [class*="-help"]{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-sm)!important;
  line-height:1.5!important;
  font-weight:400!important;
}

/* Títulos */
.system-pro-v3 h1,
.system-pro-v3 .page-title{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-xl)!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

.system-pro-v3 h2,
.system-pro-v3 .section-title,
.system-pro-v3 .modal-title,
.system-pro-v3 .drawer-title{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-lg)!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
}

.system-pro-v3 h3,
.system-pro-v3 h4{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-base)!important;
  line-height:1.35!important;
  font-weight:700!important;
}

/* Campos, selects e botões */
.system-pro-v3 input,
.system-pro-v3 select,
.system-pro-v3 textarea,
.system-pro-v3 .fs,
.system-pro-v3 .form-control{
  font-size:var(--ui-text-md)!important;
  line-height:1.35!important;
  font-weight:500!important;
  letter-spacing:0!important;
}

.system-pro-v3 button,
.system-pro-v3 .btn,
.system-pro-v3 .fbtn{
  font-size:var(--ui-text-md)!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:0!important;
}

/* Labels: sem microtexto excessivo. */
.system-pro-v3 label,
.system-pro-v3 .fl,
.system-pro-v3 .field-label,
.system-pro-v3 [class*="-label"]{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-sm)!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:0!important;
}

/* Navegação principal e subtabs */
.system-pro-v3 nav,
.system-pro-v3 .nav,
.system-pro-v3 .tabs,
.system-pro-v3 .tab,
.system-pro-v3 [role="tab"],
.system-pro-v3 [class*="-tab"]{
  font-family:var(--ui-font)!important;
}

.system-pro-v3 .tabs button,
.system-pro-v3 .tab,
.system-pro-v3 [role="tab"],
.system-pro-v3 [class*="-subnav"] button{
  font-size:var(--ui-text-md)!important;
  font-weight:600!important;
  letter-spacing:0!important;
}

/* Tabelas */
.system-pro-v3 table{
  font-size:var(--ui-text-md)!important;
}

.system-pro-v3 table th,
.system-pro-v3 .table th{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-xs)!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
}

.system-pro-v3 table td,
.system-pro-v3 .table td{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-md)!important;
  line-height:1.4!important;
  font-weight:400!important;
}

/* Badges/chips/status */
.system-pro-v3 .badge,
.system-pro-v3 .badge-soft,
.system-pro-v3 .chip,
.system-pro-v3 [class*="-badge"],
.system-pro-v3 [class*="-chip"],
.system-pro-v3 [class*="-status"]{
  font-family:var(--ui-font)!important;
  font-size:var(--ui-text-xs)!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:0!important;
}

/* Acordos — títulos e dados principais */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  font-size:var(--ui-text-sm)!important;
  font-weight:600!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  font-size:var(--ui-text-md)!important;
  font-weight:500!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  font-weight:600!important;
}

/* Drawer de atendimento */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-name{
  font-family:var(--ui-font)!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-meta{
  font-size:var(--ui-text-sm)!important;
  font-weight:400!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-title{
  font-size:var(--ui-text-lg)!important;
  font-weight:700!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-sub{
  font-size:var(--ui-text-sm)!important;
  font-weight:400!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-label{
  font-size:var(--ui-text-xs)!important;
  font-weight:600!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-value{
  font-size:var(--ui-text-md)!important;
  font-weight:600!important;
}

/* Agenda */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary span{
  font-size:var(--ui-text-xs)!important;
  font-weight:600!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary strong{
  font-size:var(--ui-text-md)!important;
  font-weight:600!important;
}

/* Dashboard / KPIs */
.system-pro-v3 .cob-kpi-label,
.system-pro-v3 [class*="kpi-label"]{
  font-size:var(--ui-text-sm)!important;
  font-weight:500!important;
}

.system-pro-v3 .cob-kpi-value,
.system-pro-v3 [class*="kpi-value"]{
  font-size:var(--ui-text-lg)!important;
  font-weight:700!important;
}

/* Modais */
.system-pro-v3 [class*="modal"] .modal-title,
.system-pro-v3 [class*="modal"] [class*="-title"]{
  font-size:var(--ui-text-base)!important;
  font-weight:700!important;
}

.system-pro-v3 [class*="modal"] input,
.system-pro-v3 [class*="modal"] select{
  font-size:var(--ui-text-md)!important;
  font-weight:500!important;
}

/* Evita textos minúsculos herdados de versões antigas. */
.system-pro-v3 .text-xs,
.system-pro-v3 small{
  font-size:var(--ui-text-xs)!important;
}

/* Mobile mantém legibilidade. */
@media(max-width:720px){
  :root{
    --ui-text-xs:10.5px;
    --ui-text-sm:11.5px;
    --ui-text-md:12.5px;
    --ui-text-base:13.5px;
    --ui-text-lg:15.5px;
    --ui-text-xl:18px;
  }
}


/* ===== v3140-filtros-compactos ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  background:#161b22!important;
  border:1px solid #35373c!important;
  border-radius:10px!important;
  overflow:hidden!important;
}

/* Linha principal: não estica os controles pelo viewport inteiro. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  display:grid!important;
  grid-template-columns:
    minmax(260px,340px)
    210px
    250px
    240px
    118px
    70px!important;
  justify-content:start!important;
  align-items:end!important;
  column-gap:12px!important;
  row-gap:10px!important;
  padding:14px 16px!important;
  background:#161b22!important;
}

/* Linha avançada: mantém os campos compactos em vez de ocupar 100%. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
  display:grid!important;
  grid-template-columns:280px 280px 300px 300px!important;
  justify-content:start!important;
  align-items:end!important;
  gap:12px!important;
  padding:13px 16px 15px!important;
  border-top:1px solid #35373c!important;
  background:#161b22!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter{
  min-width:0!important;
}

/* Labels legíveis, mas discretas. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  margin:0 0 6px!important;
  color:#b7bac2!important;
  font-family:var(--ui-font)!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.2!important;
  text-transform:none!important;
  letter-spacing:0!important;
}

/* Todos os controles no padrão de 38px da referência. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  border-radius:8px!important;
}

/* Fundo cinza uniforme. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  border:1px solid #30363d!important;
  background:#27282b!important;
  color:#f2f3f5!important;
  font-size:13px!important;
  font-weight:500!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter select.fs{
  padding:0 34px 0 12px!important;
}

/* Busca */
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap{
  position:relative!important;
  border:0!important;
  background:transparent!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap .fs{
  width:100%!important;
  height:38px!important;
  padding:0 12px 0 37px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap svg{
  left:12px!important;
  width:14px!important;
  height:14px!important;
  color:#8e929b!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca::placeholder{
  color:#8e929b!important;
  font-size:13px!important;
  font-weight:400!important;
  opacity:1!important;
}

/* Select/custom select */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod{
  padding:0 12px!important;
  gap:8px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dptext{
  font-size:13px!important;
  font-weight:500!important;
}

/* Botões mais estreitos. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  width:118px!important;
  min-width:118px!important;
  padding:0 11px!important;
  gap:7px!important;
  border:1px solid rgba(255,138,61,.48)!important;
  background:#27221f!important;
  color:#ff8a3d!important;
  font-size:12px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more svg{
  width:13px!important;
  height:13px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:70px!important;
  min-width:70px!important;
  padding:0 9px!important;
  color:#b7bac2!important;
  font-size:12px!important;
  font-weight:500!important;
}

/* Hover/focus discreto. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear:hover{
  border-color:#5a5d65!important;
  background:#2b2c30!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:focus,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:focus-within{
  outline:none!important;
  border-color:#6b6f78!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-more:hover{
  background:#31251f!important;
}

/* Responsividade sem voltar a deixar tudo gigante. */
@media(max-width:1400px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:minmax(230px,310px) 190px 220px 210px 112px 66px!important;
    column-gap:10px!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:250px 250px 280px 280px!important;
  }
}
@media(max-width:1120px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:repeat(2,minmax(220px,1fr))!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:repeat(2,minmax(220px,1fr))!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-more,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
    width:auto!important;
    min-width:0!important;
  }
}
@media(max-width:640px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3141-filtros-acordos-compactos ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  background:#202124!important;
  border:1px solid #21262d!important;
  border-radius:10px!important;
  padding:0!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  display:grid!important;
  grid-template-columns:300px 210px 230px 230px 112px 68px!important;
  width:max-content!important;
  max-width:100%!important;
  justify-content:start!important;
  align-items:end!important;
  gap:10px!important;
  padding:12px 14px!important;
  background:#202124!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
  display:grid!important;
  grid-template-columns:240px 240px 260px 260px!important;
  width:max-content!important;
  max-width:100%!important;
  justify-content:start!important;
  gap:10px!important;
  padding:12px 14px 14px!important;
  background:#202124!important;
  border-top:1px solid #21262d!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  margin:0 0 5px!important;
  color:#c3c5ca!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:38px!important;
  min-height:38px!important;
  border-radius:8px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  background:#2a2b2f!important;
  border:1px solid #464950!important;
  color:#f4f4f5!important;
  font-size:13px!important;
  font-weight:500!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap{
  width:300px!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
  width:300px!important;
  padding-left:36px!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap,
.system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap .fs{
  width:210px!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroTag{
  width:230px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  width:112px!important;
  min-width:112px!important;
  padding:0 10px!important;
  background:#2a231f!important;
  border:1px solid rgba(255,138,61,.48)!important;
  color:#ff8a3d!important;
  font-size:12px!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:68px!important;
  min-width:68px!important;
  padding:0 8px!important;
  font-size:12px!important;
}

/* Segunda linha: cada filtro mantém tamanho contido */
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroOrigem,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroForma{
  width:240px!important;
}
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroResponsavel,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroBase{
  width:260px!important;
}

@media(max-width:1280px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:280px 190px 210px 210px 108px 64px!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
  .system-pro-v3 #cobPanelAcordos #cobAcordosBusca{width:280px!important}
  .system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap,
  .system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap .fs{width:190px!important}
  .system-pro-v3 #cobPanelAcordos #cobAcordosFiltroTag{width:210px!important}
}

@media(max-width:1040px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filter,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
  .system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
    width:100%!important;
  }
}


/* ===== v3143-filtros-acordos-padrao-usuarios ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  background:#161b22!important;
  border:1px solid #21262d!important;
  border-radius:10px!important;
  overflow:hidden!important;
}

/* Linha principal com proporções semelhantes à tela de usuários */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  display:grid!important;
  grid-template-columns:
    335px
    190px
    250px
    250px
    120px
    76px!important;
  justify-content:start!important;
  align-items:end!important;
  gap:16px!important;
  padding:18px 18px 16px!important;
  background:#161b22!important;
}

/* Segunda linha mantendo a mesma linguagem visual */
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
  display:grid!important;
  grid-template-columns:260px 260px 300px 300px!important;
  justify-content:start!important;
  align-items:end!important;
  gap:16px!important;
  padding:16px 18px 18px!important;
  border-top:1px solid #21262d!important;
  background:#161b22!important;
}

/* Labels no mesmo estilo da tela de usuários */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  margin:0 0 7px!important;
  color:#c7c9cf!important;
  font-family:var(--ui-font)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

/* Mesma altura de controle da referência (~38px) */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  border-radius:8px!important;
}

/* Inputs/selects */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod{
  background:#161b22!important;
  border:1px solid #30363d!important;
  color:#f1f2f4!important;
  font-family:var(--ui-font)!important;
  font-size:14px!important;
  font-weight:400!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter select.fs{
  padding:0 36px 0 12px!important;
}

/* Busca */
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap{
  position:relative!important;
  width:335px!important;
  border:0!important;
  background:transparent!important;
}

.system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
  width:335px!important;
  height:38px!important;
  padding:0 12px 0 38px!important;
  background:#161b22!important;
  border:1px solid #30363d!important;
  font-size:14px!important;
  font-weight:400!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap svg{
  left:13px!important;
  width:14px!important;
  height:14px!important;
  color:#90939a!important;
}

.system-pro-v3 #cobPanelAcordos #cobAcordosBusca::placeholder{
  color:#9ca0a8!important;
  opacity:1!important;
  font-size:14px!important;
  font-weight:400!important;
}

/* Larguras controladas */
.system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap,
.system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap .fs{
  width:190px!important;
}

.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroTag{
  width:250px!important;
}

.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroOrigem,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroForma{
  width:260px!important;
}

.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroResponsavel,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroBase{
  width:300px!important;
}

/* Botões com a mesma proporção compacta da tela de usuários */
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  width:120px!important;
  min-width:120px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(255,138,61,.48)!important;
  background:#26201c!important;
  color:#ff8a3d!important;
  font-family:var(--ui-font)!important;
  font-size:13px!important;
  font-weight:600!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:76px!important;
  min-width:76px!important;
  padding:0 10px!important;
  background:#161b22!important;
  border:1px solid #30363d!important;
  color:#c8cbd1!important;
  font-family:var(--ui-font)!important;
  font-size:13px!important;
  font-weight:500!important;
}

/* Hover/focus iguais ao padrão escuro */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear:hover{
  border-color:#5a5d64!important;
  background:#161b22!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:focus,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:focus-within{
  outline:none!important;
  border-color:#666a72!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-more:hover{
  background:#30251e!important;
}

/* Responsivo */
@media(max-width:1280px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:300px 175px 220px 220px 114px 70px!important;
    gap:12px!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
  .system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
    width:300px!important;
  }
}

@media(max-width:1050px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
  }

  .system-pro-v3 #cobPanelAcordos .cob-acordos-filter,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
  .system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
    width:100%!important;
  }
}


/* ===== v3144-acordos-sem-mais-filtros ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  background:#161b22!important;
  border:1px solid #21262d!important;
  border-radius:10px!important;
  overflow:hidden!important;
}

/* Linha 1: Buscar, Unidade, Status, Tag, Limpar */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  display:grid!important;
  grid-template-columns:335px 190px 250px 250px 76px!important;
  justify-content:start!important;
  align-items:end!important;
  gap:16px!important;
  padding:18px 18px 14px!important;
  background:#161b22!important;
}

/* Linha 2: Origem, Forma, Responsável, Base */
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
.system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
  display:grid!important;
  grid-template-columns:260px 260px 300px 300px!important;
  justify-content:start!important;
  align-items:end!important;
  gap:16px!important;
  padding:14px 18px 18px!important;
  margin:0!important;
  border-top:1px solid #21262d!important;
  background:#161b22!important;
}

/* Mesma base visual em todas as duas linhas */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  margin:0 0 7px!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:500!important;
  color:#c7c9cf!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:38px!important;
  min-height:38px!important;
  border-radius:8px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  background:#161b22!important;
  border:1px solid #30363d!important;
  color:#f1f2f4!important;
  font-size:14px!important;
  font-weight:400!important;
}

/* Limpar fica alinhado com os campos */
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:76px!important;
  min-width:76px!important;
  align-self:end!important;
  padding:0 10px!important;
  color:#c8cbd1!important;
  font-size:13px!important;
  font-weight:500!important;
}

/* Garante que o antigo botão não apareça mesmo se algum JS tentar recriá-lo */
.system-pro-v3 #cobPanelAcordos #cobAcordosMoreBtn,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  display:none!important;
}

@media(max-width:1280px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:300px 175px 220px 220px 70px!important;
    gap:12px!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:240px 240px 280px 280px!important;
    gap:12px!important;
  }
}

@media(max-width:1050px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
    width:100%!important;
  }
}

@media(max-width:640px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3145-acordos-responsive-grid ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  width:100%!important;
  background:#161b22!important;
  border:1px solid #21262d!important;
  border-radius:10px!important;
  overflow:hidden!important;
}

/* Primeira linha: proporções fluidas, sem larguras fixas */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  display:grid!important;
  grid-template-columns:
    minmax(260px,1.35fr)
    minmax(150px,.72fr)
    minmax(190px,.92fr)
    minmax(190px,.92fr)
    auto!important;
  width:100%!important;
  align-items:end!important;
  gap:14px!important;
  padding:16px 18px 14px!important;
  background:#161b22!important;
  box-sizing:border-box!important;
}

/* Segunda linha */
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
.system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
  display:grid!important;
  grid-template-columns:
    repeat(4,minmax(190px,1fr))!important;
  width:100%!important;
  align-items:end!important;
  gap:14px!important;
  padding:14px 18px 18px!important;
  margin:0!important;
  border-top:1px solid #21262d!important;
  background:#161b22!important;
  box-sizing:border-box!important;
}

/* Todos os campos ocupam a célula, sem largura fixa herdada */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca,
.system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap,
.system-pro-v3 #cobPanelAcordos #cobAcordosUnidadeWrap .fs,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroTag,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroOrigem,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroForma,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroResponsavel,
.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroBase{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* Mantém proporção do sistema */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  margin:0 0 7px!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap,
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  height:38px!important;
  min-height:38px!important;
  border-radius:8px!important;
}

/* Limpar fica compacto e alinhado ao final da primeira linha */
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:auto!important;
  min-width:76px!important;
  padding:0 14px!important;
  align-self:end!important;
  justify-self:start!important;
  white-space:nowrap!important;
}

/* Evita qualquer resquício do antigo Mais filtros */
.system-pro-v3 #cobPanelAcordos #cobAcordosMoreBtn,
.system-pro-v3 #cobPanelAcordos .cob-acordos-more{
  display:none!important;
}

/* Notebook / desktop menor */
@media (max-width:1360px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
    grid-template-columns:
      minmax(230px,1.2fr)
      minmax(145px,.7fr)
      minmax(175px,.85fr)
      minmax(175px,.85fr)
      auto!important;
    gap:12px!important;
  }

  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:repeat(4,minmax(165px,1fr))!important;
    gap:12px!important;
  }
}

/* Tablet / notebook estreito: duas colunas bem equilibradas */
@media (max-width:980px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
    width:100%!important;
    justify-self:stretch!important;
  }
}

/* Celular / janela pequena */
@media (max-width:620px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
}


/* ===== v3147-central-ajuda-cobrancas ===== */
.system-pro-v3 #cobPanelAjuda{
  --help-surface:#161b22;
  --help-surface-2:#25272b;
  --help-border:#373a40;
  --help-muted:#92969f;
  width:100%;
  padding-bottom:36px;
}
.system-pro-v3 .cob-help-hero{
  border:1px solid var(--help-border);
  border-radius:14px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,138,61,.11), transparent 34%),
    linear-gradient(135deg,#202226 0%,#191a1d 100%);
  padding:38px 24px;
  margin-bottom:20px;
  overflow:hidden;
}
.system-pro-v3 .cob-help-hero-inner{
  width:min(760px,100%);
  margin:0 auto;
  text-align:center;
}
.system-pro-v3 .cob-help-kicker{
  color:var(--ac);
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  margin-bottom:9px;
}
.system-pro-v3 .cob-help-hero h2{
  margin:0;
  color:var(--tx);
  font-size:24px!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
}
.system-pro-v3 .cob-help-hero p{
  margin:8px 0 21px;
  color:var(--help-muted);
  font-size:13px!important;
}
.system-pro-v3 .cob-help-search{
  position:relative;
  width:min(620px,100%);
  margin:0 auto;
}
.system-pro-v3 .cob-help-search svg{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  width:17px;
  height:17px;
  fill:none;
  stroke:#8f949d;
  stroke-width:1.8;
}
.system-pro-v3 .cob-help-search input{
  width:100%;
  height:46px;
  padding:0 16px 0 44px;
  border:1px solid #30363d;
  border-radius:10px;
  outline:none;
  background:#21262d;
  color:var(--tx);
  font-size:13px!important;
  font-weight:400!important;
  transition:.18s ease;
}
.system-pro-v3 .cob-help-search input:focus{
  border-color:rgba(255,138,61,.7);
  box-shadow:0 0 0 3px rgba(255,138,61,.08);
}
.system-pro-v3 .cob-help-search input::placeholder{color:#858a93}
.system-pro-v3 .cob-help-content{
  border:1px solid var(--help-border);
  border-radius:14px;
  background:var(--help-surface);
  padding:22px;
}
.system-pro-v3 .cob-help-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.system-pro-v3 .cob-help-section-head h3{
  margin:0;
  color:var(--tx);
  font-size:16px!important;
  font-weight:700!important;
}
.system-pro-v3 .cob-help-section-head p{
  margin:4px 0 0;
  color:var(--help-muted);
  font-size:12px!important;
}
.system-pro-v3 .cob-help-back{
  min-height:36px;
  padding:0 13px;
  white-space:nowrap;
}
.system-pro-v3 .cob-help-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(235px,1fr));
  gap:13px;
}
.system-pro-v3 .cob-help-card{
  appearance:none;
  text-align:left;
  min-height:176px;
  padding:18px;
  border:1px solid var(--help-border);
  border-radius:11px;
  background:var(--help-surface-2);
  color:var(--tx);
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.system-pro-v3 .cob-help-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,138,61,.45);
  background:#2a2c31;
}
.system-pro-v3 .cob-help-icon{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  margin-bottom:16px;
  background:rgba(255,138,61,.11);
  color:var(--ac);
  font-size:14px!important;
  font-weight:700!important;
}
.system-pro-v3 .cob-help-card strong{
  display:block;
  color:var(--tx);
  font-size:14px!important;
  font-weight:650!important;
  margin-bottom:7px;
}
.system-pro-v3 .cob-help-card > span:not(.cob-help-icon){
  display:block;
  color:var(--help-muted);
  font-size:12px!important;
  line-height:1.5!important;
  min-height:38px;
}
.system-pro-v3 .cob-help-card em{
  display:block;
  margin-top:14px;
  color:var(--ac);
  font-size:11px!important;
  font-style:normal;
  font-weight:600!important;
}
.system-pro-v3 .cob-help-empty{
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border:1px dashed var(--help-border);
  border-radius:11px;
  color:var(--help-muted);
}
.system-pro-v3 .cob-help-empty strong{
  color:var(--tx);
  font-size:14px!important;
  margin-bottom:4px;
}
.system-pro-v3 .cob-help-empty span{font-size:12px!important}
.system-pro-v3 .cob-help-article{
  max-width:920px;
  margin:0 auto;
}
.system-pro-v3 .cob-help-article-header{
  padding:4px 0 20px;
  border-bottom:1px solid var(--help-border);
  margin-bottom:20px;
}
.system-pro-v3 .cob-help-article-header .cob-help-icon{
  margin-bottom:12px;
}
.system-pro-v3 .cob-help-article-header h2{
  margin:0 0 6px;
  font-size:20px!important;
  font-weight:700!important;
}
.system-pro-v3 .cob-help-article-header p{
  margin:0;
  color:var(--help-muted);
  font-size:13px!important;
}
.system-pro-v3 .cob-help-article-section{
  margin:0 0 22px;
}
.system-pro-v3 .cob-help-article-section h4{
  margin:0 0 9px;
  font-size:14px!important;
  font-weight:650!important;
}
.system-pro-v3 .cob-help-article-section p,
.system-pro-v3 .cob-help-article-section li{
  color:#b6bac2;
  font-size:13px!important;
  line-height:1.65!important;
}
.system-pro-v3 .cob-help-article-section ul,
.system-pro-v3 .cob-help-article-section ol{
  margin:8px 0 0;
  padding-left:20px;
}
.system-pro-v3 .cob-help-note{
  padding:13px 15px;
  border:1px solid rgba(255,138,61,.25);
  border-radius:9px;
  background:rgba(255,138,61,.06);
  color:#d3d5da;
  font-size:12px!important;
  line-height:1.55!important;
}
@media(max-width:760px){
  .system-pro-v3 .cob-help-hero{padding:28px 16px}
  .system-pro-v3 .cob-help-content{padding:16px}
  .system-pro-v3 .cob-help-grid{grid-template-columns:1fr}
  .system-pro-v3 .cob-help-section-head{align-items:flex-start;flex-direction:column}
}


/* ===== v3152-agenda-layout ===== */
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
  padding:0 18px 26px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
  width:100%!important;
  max-width:none!important;
  margin:18px 0 42px!important;
  padding:22px 24px 20px!important;
  border-radius:14px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head{
  margin-bottom:18px!important;
  padding-bottom:15px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid{
  display:grid!important;
  grid-template-columns:minmax(230px,0.9fr) minmax(0,1.55fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}

/* Coluna da data */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid > .fg{
  min-width:0!important;
  padding:16px!important;
  border:1px solid rgba(128,128,128,.14)!important;
  border-radius:11px!important;
  background:var(--s2)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData{
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
}

/* Resumo: 2 cards no topo + detalhes ocupando largura total */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  min-width:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary > div{
  min-width:0!important;
  min-height:78px!important;
  padding:14px 15px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary-full{
  grid-column:1 / -1!important;
  min-height:72px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary strong{
  overflow-wrap:anywhere!important;
}

/* Rodapé dos botões */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:18px!important;
  padding-top:16px!important;
  border-top:1px solid rgba(128,128,128,.13)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions .fbtn{
  min-height:38px!important;
  padding:0 16px!important;
  border-radius:9px!important;
}

/* Tela média: mantém tudo legível */
@media(max-width:820px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-grid{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Tela pequena */
@media(max-width:560px){
  .system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
    padding:0 12px 22px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
    padding:18px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-summary-full{
    grid-column:auto!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
    flex-direction:column-reverse!important;
    align-items:stretch!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions .fbtn{
    width:100%!important;
  }
}


/* ===== v3154-base-fixed ===== */
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field{
  display:grid!important;
  grid-template-columns:190px 28px!important;
  grid-template-rows:auto 38px!important;
  column-gap:8px!important;
  row-gap:0!important;
  align-items:center!important;
  justify-content:start!important;
  min-width:226px!important;
  max-width:226px!important;
  overflow:visible!important;
}

/* Label ocupa a largura do conjunto */
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field > .fl{
  grid-column:1 / -1!important;
  grid-row:1!important;
  margin:0 0 7px!important;
}

/* O select NÃO muda de tamanho ao selecionar uma base */
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field #cobAcordosFiltroBase,
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field.has-base-delete #cobAcordosFiltroBase{
  grid-column:1!important;
  grid-row:2!important;
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  height:38px!important;
  box-sizing:border-box!important;
}

/* Espaço da lixeira já existe sempre; ela só aparece quando necessário */
.system-pro-v3 #cobPanelAcordos .cob-base-delete-wrap{
  grid-column:2!important;
  grid-row:2!important;
  position:static!important;
  width:28px!important;
  height:28px!important;
  margin:0!important;
  align-self:center!important;
  justify-self:start!important;
}

.system-pro-v3 #cobPanelAcordos .cob-base-delete-btn{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(239,68,68,.34)!important;
  border-radius:7px!important;
  background:rgba(239,68,68,.06)!important;
  color:#ef6464!important;
  cursor:pointer;
}

.system-pro-v3 #cobPanelAcordos .cob-base-delete-btn svg{
  width:13px!important;
  height:13px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-base-delete-btn:hover{
  background:rgba(239,68,68,.13)!important;
  border-color:rgba(239,68,68,.58)!important;
}

/* Em tela pequena continua estável, mas pode usar o espaço disponível */
@media(max-width:620px){
  .system-pro-v3 #cobPanelAcordos .cob-base-filter-field{
    grid-template-columns:minmax(0,190px) 28px!important;
    min-width:0!important;
    max-width:100%!important;
  }

  .system-pro-v3 #cobPanelAcordos .cob-base-filter-field #cobAcordosFiltroBase,
  .system-pro-v3 #cobPanelAcordos .cob-base-filter-field.has-base-delete #cobAcordosFiltroBase{
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
  }
}


/* ===== v3155-filtro-agenda-acordos ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
.system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
  grid-template-columns:
    minmax(175px,1fr)
    minmax(175px,1fr)
    minmax(210px,1.15fr)
    minmax(170px,.75fr)
    226px!important;
  align-items:end!important;
}

.system-pro-v3 #cobPanelAcordos .cob-agenda-filter-field{
  min-width:0!important;
}

.system-pro-v3 #cobPanelAcordos #cobAcordosFiltroAgenda{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
}

@media(max-width:1280px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  .system-pro-v3 #cobPanelAcordos .cob-base-filter-field{
    min-width:226px!important;
    max-width:226px!important;
  }
}

@media(max-width:900px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3156-agenda-approved ===== */
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
  padding:0 18px 30px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156{
  width:100%!important;
  max-width:none!important;
  margin:18px 0 36px!important;
  padding:24px 26px 22px!important;
  background:#161b22!important;
  border:1px solid #3a3d43!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head{
  display:flex!important;
  align-items:flex-start!important;
  gap:14px!important;
  margin:0 0 22px!important;
  padding:0 0 20px!important;
  border-bottom:1px solid #21262d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title-icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:9px!important;
  background:rgba(255,138,61,.13)!important;
  color:#ff8a3d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title-icon svg{
  width:19px!important;
  height:19px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-title{
  margin:1px 0 4px!important;
  font-size:18px!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-sub{
  font-size:12px!important;
  color:#969aa3!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
  display:grid!important;
  grid-template-columns:minmax(205px,1.15fr) minmax(165px,.85fr) minmax(190px,1fr)!important;
  gap:0!important;
  align-items:stretch!important;
  padding:0 0 20px!important;
  border-bottom:1px solid #21262d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  min-width:0!important;
  padding:4px 22px 4px 0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  padding-left:22px!important;
  border-left:1px solid #3a3d43!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-label{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 12px!important;
  color:#bfc2c9!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-label-icon,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-inline-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#9ca0a8!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-label-icon svg{
  width:15px!important;
  height:15px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{
  position:relative!important;
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#191a1d!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control{
  padding-left:12px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-inline-icon svg{
  width:16px!important;
  height:16px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData{
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 10px 0 0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f3f4f6!important;
  font-size:13px!important;
  font-weight:600!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-help,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-help{
  margin:12px 0 0!important;
  color:#9397a0!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:400!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line{
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-dot{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  border-radius:50%!important;
  background:#858991!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status{
  position:static!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:999px!important;
  background:#21262d!important;
  color:#c9ccd2!important;
  font-size:12px!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.pendente{
  background:rgba(245,158,11,.13)!important;
  color:#f59e0b!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.processando{
  background:rgba(96,165,250,.13)!important;
  color:#60a5fa!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.sucesso{
  background:rgba(34,197,94,.13)!important;
  color:#22c55e!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.erro{
  background:rgba(239,68,68,.13)!important;
  color:#ef4444!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.pendente ~ .cob-agenda-status-text,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.processando ~ .cob-agenda-status-text,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.sucesso ~ .cob-agenda-status-text,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.erro ~ .cob-agenda-status-text{
  display:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line:has(.cob-agenda-status.pendente) .cob-agenda-status-dot{background:#f59e0b!important}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line:has(.cob-agenda-status.processando) .cob-agenda-status-dot{background:#60a5fa!important}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line:has(.cob-agenda-status.sucesso) .cob-agenda-status-dot{background:#22c55e!important}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line:has(.cob-agenda-status.erro) .cob-agenda-status-dot{background:#ef4444!important}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{
  padding:0 12px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoEm{
  color:#f1f2f4!important;
  font-size:13px!important;
  font-weight:600!important;
  overflow-wrap:anywhere!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-block{
  padding:18px 0 0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-content{
  min-height:66px!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
  padding:14px 15px!important;
  border:1px solid #42454b!important;
  border-radius:10px!important;
  background:#202226!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-icon{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,138,61,.62)!important;
  border-radius:50%!important;
  color:#ff8a3d!important;
  font-size:12px!important;
  font-weight:700!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaDetalhes{
  display:block!important;
  color:#f0f1f3!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaDetalhesHelp{
  margin:3px 0 0!important;
  color:#9397a0!important;
  font-size:11px!important;
  line-height:1.45!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:18px!important;
  padding-top:18px!important;
  border-top:1px solid #21262d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions .fbtn{
  min-height:38px!important;
  padding:0 16px!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-clear{
  min-width:108px!important;
  background:transparent!important;
  color:#f59e0b!important;
  border-color:rgba(245,158,11,.38)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaSaveBtn{
  min-width:108px!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-block,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
    padding:15px 0!important;
    border-left:0!important;
    border-bottom:1px solid #21262d!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
    border-bottom:0!important;
  }
}

@media(max-width:520px){
  .system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
    padding:0 12px 24px!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156{
    padding:18px!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
    flex-direction:column-reverse!important;
    align-items:stretch!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions .fbtn{
    width:100%!important;
  }
}


/* ===== v3157-ajuda-spacing-status ===== */
.system-pro-v3 #cobPanelAjuda{
  width:100%!important;
  max-width:100%!important;
  padding:0 18px 36px!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}

.system-pro-v3 #cobPanelAjuda .cob-help-hero,
.system-pro-v3 #cobPanelAjuda .cob-help-content{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Mantém a separação vertical sem encostar uma borda na outra */
.system-pro-v3 #cobPanelAjuda .cob-help-hero{
  margin-top:18px!important;
  margin-bottom:18px!important;
}

.system-pro-v3 #cobPanelAjuda .cob-help-content{
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Os cards nunca ultrapassam o container */
.system-pro-v3 #cobPanelAjuda .cob-help-grid{
  width:100%!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:14px!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobPanelAjuda .cob-help-card{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Artigo também respeita o mesmo alinhamento */
.system-pro-v3 #cobPanelAjuda .cob-help-article{
  width:100%!important;
  max-width:920px!important;
  box-sizing:border-box!important;
}

/* Notebook / sidebar aberta */
@media(max-width:1200px){
  .system-pro-v3 #cobPanelAjuda{
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .system-pro-v3 #cobPanelAjuda .cob-help-grid{
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  }
}

@media(max-width:760px){
  .system-pro-v3 #cobPanelAjuda{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .system-pro-v3 #cobPanelAjuda .cob-help-hero{
    margin-top:12px!important;
    margin-bottom:12px!important;
  }

  .system-pro-v3 #cobPanelAjuda .cob-help-grid{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3158-ajuda-subida ===== */
.system-pro-v3 #cobPanelAjuda{
  margin-top:-42px!important;
}

.system-pro-v3 #cobPanelAjuda .cob-help-hero{
  margin-top:0!important;
}

@media(max-width:1200px){
  .system-pro-v3 #cobPanelAjuda{
    margin-top:-34px!important;
  }
}

@media(max-width:760px){
  .system-pro-v3 #cobPanelAjuda{
    margin-top:-24px!important;
  }
}


/* ===== v3159-fix-agenda ===== */
/* Regra antiga escondia o badge novo. Força exibição novamente. */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusBadge{
  display:inline-flex!important;
}

/* O texto duplicado existe apenas por compatibilidade com a lógica antiga. */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusText{
  display:none!important;
}

/* Mantém a linha de status estável mesmo em drawers estreitos. */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  min-width:0!important;
  gap:8px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusBadge{
  max-width:100%!important;
  white-space:nowrap!important;
}

/* Evita os dois calendários: usamos o ícone visual criado no layout.
   O seletor nativo continua funcional ao clicar no campo de data. */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData::-webkit-calendar-picker-indicator{
  opacity:0!important;
  width:28px!important;
  height:100%!important;
  position:absolute!important;
  right:0!important;
  cursor:pointer!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control{
  position:relative!important;
}

/* Ajustes para o conteúdo não ficar espremido no drawer. */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
  grid-template-columns:minmax(200px,1.1fr) minmax(155px,.85fr) minmax(185px,1fr)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  min-width:0!important;
}

@media(max-width:720px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3160-fix-header-agenda ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:14px!important;
  margin:0 0 22px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #21262d!important;
  background:transparent!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title-icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  border-radius:9px!important;
  background:rgba(255,138,61,.12)!important;
  color:#ff8a3d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head > div:last-child{
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-title{
  display:block!important;
  width:auto!important;
  margin:0 0 4px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#f4f5f7!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-sub{
  display:block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  color:#9ca0a8!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:400!important;
}

/* Remove qualquer pseudo-elemento/decoração antiga que atravesse o header */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head::before,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head::after,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-title::before,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-title::after,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-sub::before,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-sub::after{
  content:none!important;
  display:none!important;
}

/* Evita corte em drawer estreito */
@media(max-width:520px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head{
    grid-template-columns:36px minmax(0,1fr)!important;
    column-gap:11px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title-icon{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-title{
    font-size:17px!important;
  }
}


/* ===== v3162-processamento-agenda ===== */
/* Remove o segundo relógio que aparecia dentro da caixa. */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value > .cob-agenda-inline-icon{
  display:none!important;
}

/* Valor compacto e sem quebra. */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{
  min-height:38px!important;
  height:38px!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoEm{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#f1f2f4!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:650!important;
}

/* Explicação curta, sem poluir o bloco. */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoHelp{
  margin-top:8px!important;
  color:#8f949d!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}

/* Mantém o título do bloco mais compacto. */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block .cob-agenda-block-label{
  gap:5px!important;
  margin-bottom:10px!important;
  white-space:nowrap!important;
  font-size:10px!important;
  letter-spacing:.015em!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block .cob-agenda-label-icon svg{
  width:13px!important;
  height:13px!important;
}


/* ===== v3163-global-typography ===== */
/* FAMÍLIA TIPOGRÁFICA — sistema inteiro */
html,
body,
button,
input,
select,
textarea,
option{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}

/* Preserva conteúdo técnico em monoespaçada */
code,
pre,
kbd,
samp,
.fin-code-box{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono',monospace!important;
}

/* BASE */
body{
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.45!important;
}

/* TÍTULOS PRINCIPAIS */
h1,
.system-pro-v3 h1,
.page-title,
.screen-title,
.module-title,
.drawer-title,
.modal-title,
.cob-drawer-name{
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

/* TÍTULOS DE SEÇÃO */
h2,
h3,
.system-pro-v3 h2,
.system-pro-v3 h3,
.section-title,
.card-title,
.panel-title,
.cob-drawer-stage-title,
.cob-help-section-head h3,
.cob-help-card strong,
.cob-proof-title{
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
}

/* SUBTÍTULOS / TEXTOS DE APOIO */
.subtitle,
.page-subtitle,
.screen-subtitle,
.section-subtitle,
.drawer-subtitle,
.modal-subtitle,
.helper-text,
.help-text,
.hint,
.muted,
.cob-drawer-stage-sub,
.cob-help-section-head p{
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:400!important;
}

/* TEXTO NORMAL */
p,
td,
li,
.system-pro-v3 p,
.system-pro-v3 td,
.system-pro-v3 li,
.body-text,
.content-text,
.description,
.cob-help-card > span:not(.cob-help-icon){
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:400!important;
}

/* VALORES / DESTAQUES */
.value,
.metric-value,
.stat-value,
.summary-value,
.amount,
.total,
strong:not(.modal-title):not(.drawer-title):not(.cob-drawer-name):not(.cob-drawer-stage-title),
.system-pro-v3 .cob-agenda-status-text,
.system-pro-v3 #cobAgendaProcessadoEm{
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:650!important;
}

/* LABELS PEQUENOS */
label,
.fl,
.field-label,
.form-label,
.metric-label,
.stat-label,
.summary-label,
.kicker,
.eyebrow,
.cob-agenda-block-label,
.cob-help-kicker,
th{
  font-size:10.5px!important;
  line-height:1.25!important;
  font-weight:650!important;
  letter-spacing:.025em!important;
}

/* Inputs / selects / textarea */
input,
select,
textarea,
.fs,
.dperiod{
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:500!important;
}

/* BOTÕES */
button,
.fbtn,
.btn,
.primary-btn,
.secondary-btn,
.action-btn,
.cob-drawer-save,
.cob-agenda-clear{
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
  letter-spacing:0!important;
}

/* ABAS / NAVEGAÇÃO */
.drawer-tab,
.nav-tab,
.tab,
.tabs button,
[data-cobtab],
.cob-tabs .drawer-tab{
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:0!important;
}

/* TABELAS */
th{
  font-size:10.5px!important;
  font-weight:650!important;
  text-transform:uppercase;
}

td{
  font-size:13px!important;
  font-weight:400!important;
}

/* BADGES / CHIPS / TAGS */
.badge,
.chip,
.tag,
.status-badge,
.cob-agenda-status,
[class*="badge"],
[class*="chip"]{
  font-size:11px!important;
  line-height:1!important;
  font-weight:650!important;
}

/* MODAIS E DRAWERS — garante mesma régua */
.modal input,
.modal select,
.modal textarea,
.drawer input,
.drawer select,
.drawer textarea,
#cobAcordoDrawerOverlay input,
#cobAcordoDrawerOverlay select,
#cobAcordoDrawerOverlay textarea{
  font-size:13px!important;
  font-weight:500!important;
}

.modal button,
.drawer button,
#cobAcordoDrawerOverlay button{
  font-size:12px!important;
  font-weight:650!important;
}

/* Cobranças — títulos de blocos financeiros e cards */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-pay-card-label,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-summary-label,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-label{
  font-size:10.5px!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-pay-card-value,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-summary-value{
  font-size:13px!important;
  font-weight:650!important;
}

/* Evita variações de fonte geradas por browser em controles */
button,
input,
select,
textarea{
  font-style:normal!important;
}

/* Responsividade: mantém a hierarquia sem inflar em telas pequenas */
@media(max-width:620px){
  h1,
  .page-title,
  .screen-title,
  .module-title,
  .drawer-title,
  .modal-title,
  .cob-drawer-name{
    font-size:17px!important;
  }

  h2,
  h3,
  .section-title,
  .card-title,
  .panel-title,
  .cob-drawer-stage-title{
    font-size:15px!important;
  }
}


/* ===== v3164-agenda-process-clean ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{gap:0!important;justify-content:flex-start!important;}


/* ===== v3165-agenda-three-columns ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
  display:grid!important;
  grid-template-columns:1.05fr .8fr 1.05fr!important;
  gap:14px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #21262d!important;
  align-items:end!important;
}

/* Remove divisórias verticais e caixas extras */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  min-width:0!important;
}

/* Labels iguais e alinhadas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-label{
  margin:0 0 8px!important;
  padding:0!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  color:#bfc2c9!important;
}

/* Data e último processamento com mesma altura */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{
  height:38px!important;
  min-height:38px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#191a1d!important;
}

/* Status fica no mesmo eixo visual */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line{
  height:38px!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

/* Badge de status mais limpo */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusBadge{
  min-height:28px!important;
  padding:0 11px!important;
  font-size:11px!important;
  font-weight:650!important;
}

/* Valor de processamento em uma linha */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoEm{
  font-size:12px!important;
  font-weight:650!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Mantém detalhes abaixo como área separada */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-block{
  padding-top:16px!important;
}

/* Responsivo */
@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-block,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
    padding:0!important;
    border:0!important;
  }
}


/* ===== v3166-agenda-values-clean ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
  grid-template-columns:1fr .8fr 1fr!important;
  align-items:start!important;
  gap:20px!important;
}

/* Remove aparência de caixa do campo de data */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control{
  min-height:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Mantém apenas o ícone de calendário + valor */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control > .cob-agenda-inline-icon{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  margin-right:8px!important;
  color:#8f949d!important;
}

/* Input visualmente como texto, mas continua editável */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData{
  width:auto!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 24px 0 0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f4f5f7!important;
  font-size:13px!important;
  line-height:30px!important;
  font-weight:650!important;
  cursor:pointer!important;
}

/* Último processamento sem caixa */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{
  min-height:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
}

/* Só data + hora */
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoEm{
  width:auto!important;
  max-width:100%!important;
  color:#f4f5f7!important;
  font-size:13px!important;
  line-height:30px!important;
  font-weight:650!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Status no mesmo eixo dos outros valores */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line{
  min-height:30px!important;
  height:30px!important;
  align-items:center!important;
}

/* Labels perfeitamente alinhadas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-block .cob-agenda-block-label,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block .cob-agenda-block-label,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block .cob-agenda-block-label{
  margin-bottom:7px!important;
}

/* Divisórias verticais suaves para organizar, sem criar caixas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  position:relative!important;
  padding-left:20px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block::before,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block::before{
  content:''!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:1px!important;
  background:#373a40!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
    padding-left:0!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block::before,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block::before{
    display:none!important;
  }
}


/* ===== v3168-light-mode-fix ===== */
/* ---------- ACORDOS / FILTROS ---------- */
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filters,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
  background:#ffffff!important;
  border-color:#e4e6e9!important;
  color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  color:#52565d!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-clear,
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosFiltroBase,
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosFiltroAgenda{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#d8dbe0!important;
  box-shadow:none!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs::placeholder{
  color:#8e939b!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:hover,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:hover{
  background:#fafafa!important;
  border-color:#c9cdd3!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:focus,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod:focus-within{
  background:#fff!important;
  border-color:#ff9a57!important;
  box-shadow:0 0 0 3px rgba(255,138,61,.08)!important;
}

/* ---------- DRAWER / FOOTER ---------- */
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clean-footer,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-footer{
  background:rgba(255,255,255,.97)!important;
  border-top-color:#e1e3e7!important;
  box-shadow:0 -8px 20px rgba(0,0,0,.04)!important;
}

/* ---------- AGENDA ---------- */
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#e0e2e6!important;
  box-shadow:0 1px 2px rgba(0,0,0,.03)!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-agenda-head,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  border-color:#e4e6e9!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  border-left-color:#e4e6e9!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-title,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoEm,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaDetalhes{
  color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-v156 .cob-drawer-stage-sub,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-help,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-help,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaDetalhesHelp{
  color:#73777f!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-label{
  color:#555a62!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-label-icon,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-inline-icon{
  color:#777c84!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value{
  background:transparent!important;
  border-color:transparent!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status{
  background:#f0f1f3!important;
  color:#50545b!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.pendente{
  background:#fff4df!important;
  color:#b66b00!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.processando{
  background:#eaf3ff!important;
  color:#2563b8!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.sucesso{
  background:#e8f8ee!important;
  color:#16803b!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status.erro{
  background:#fdecec!important;
  color:#c83b3b!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-content{
  background:#f7f8f9!important;
  border-color:#e0e3e7!important;
  color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-clear{
  background:#fff!important;
  border-color:#e5b85c!important;
  color:#9a6400!important;
}

/* ---------- MENSAGENS / IMPORTAÇÃO ---------- */
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-import-info,
body[data-theme=light].system-pro-v3 #page-importacao .imp-info-box{
  background:#ffffff!important;
  border-color:#e2e4e8!important;
  color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-import-info-title{
  color:#171717!important;
}
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-import-info-sub{
  color:#656a72!important;
}

body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-message-preview{
  background:#ffffff!important;
  border-color:#e1e3e7!important;
}

body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-head{
  background:#ffffff!important;
  border-bottom-color:#e8eaed!important;
}

body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-title{
  color:#171717!important;
}
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-message-preview-sub{
  color:#777c84!important;
}

body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-whatsapp-stage{
  background:#f1f3f2!important;
  border-color:#e3e5e7!important;
}

body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-whatsapp-bubble{
  background:#ffffff!important;
  color:#202323!important;
  border:1px solid #e0e3e1!important;
  box-shadow:0 3px 10px rgba(0,0,0,.05)!important;
}

/* "Somente importação" / cards internos da prévia */
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-whatsapp-stage > div,
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-message-preview [style*="background:#202421"],
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-message-preview [style*="background: #202421"]{
  color:#171717!important;
}

/* ---------- CENTRAL DE AJUDA ---------- */
body[data-theme=light].system-pro-v3 #cobPanelAjuda{
  color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-hero{
  background:
    radial-gradient(circle at 85% 10%,rgba(255,138,61,.10),transparent 34%),
    linear-gradient(135deg,#ffffff 0%,#f8f8f9 100%)!important;
  border-color:#e0e2e6!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-hero h2,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-section-head h3,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-card strong,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-article-header h2,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-article-section h4{
  color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-hero p,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-section-head p,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-card > span:not(.cob-help-icon),
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-article-header p,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-article-section p,
body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-article-section li{
  color:#656a72!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-search input{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#d8dbe0!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-search input::placeholder{
  color:#8c9199!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-content{
  background:#ffffff!important;
  border-color:#e0e2e6!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-card{
  background:#f8f9fa!important;
  color:#171717!important;
  border-color:#e0e3e7!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-card:hover{
  background:#ffffff!important;
  border-color:rgba(255,138,61,.55)!important;
  box-shadow:0 5px 18px rgba(0,0,0,.05)!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-icon{
  background:#fff1e7!important;
  color:#e96b18!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-article-header{
  border-bottom-color:#e2e4e8!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAjuda .cob-help-note{
  background:#fff7f1!important;
  border-color:#ffd8bc!important;
  color:#555a62!important;
}

/* ---------- GENERAL LIGHT SAFETY FOR RECENT DARK FIXED CARDS ---------- */
body[data-theme=light].system-pro-v3 .cc,
body[data-theme=light].system-pro-v3 .panel,
body[data-theme=light].system-pro-v3 .card{
  color:var(--tx);
}

/* mantém contraste dos ícones e selects nativos */
body[data-theme=light].system-pro-v3 select{
  color-scheme:light!important;
}


/* ===== v3169-search-light-fix ===== */
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#d8dbe0!important;
  box-shadow:none!important;
  caret-color:#171717!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosBusca::placeholder{
  color:#8e939b!important;
  opacity:1!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosBusca:hover{
  background:#fafafa!important;
  border-color:#c9cdd3!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosBusca:focus{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#ff9a57!important;
  box-shadow:0 0 0 3px rgba(255,138,61,.08)!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap svg{
  color:#777c84!important;
}


/* ===== v3167-relatorio-vendedor ===== */
/* ===== Relatório por vendedor ===== */
.cob-relatorio-open-btn{
  min-height:38px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  border:1px solid #474a50!important;
  background:#26282c!important;
  color:#e8e9ec!important;
  border-radius:9px!important;
}
.cob-relatorio-open-btn:hover{
  border-color:rgba(255,138,61,.55)!important;
  color:#ff9a57!important;
}
.cob-relatorio-open-btn svg{width:15px;height:15px}

.cob-relatorio-overlay{
  position:fixed;
  inset:0;
  z-index:10050;
  padding:28px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(5px);
  align-items:center;
  justify-content:center;
  overflow:auto;
}

.cob-relatorio-modal{
  width:min(1040px,100%);
  max-height:calc(100vh - 56px);
  overflow:auto;
  margin:auto;
  background:#1d1f22;
  color:#f2f3f5;
  border:1px solid #41444a;
  border-radius:15px;
  box-shadow:0 30px 90px rgba(0,0,0,.45);
}

.cob-relatorio-modal-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  padding:22px 24px 18px;
  border-bottom:1px solid #35383d;
}
.cob-relatorio-kicker{
  color:#ff8a3d;
  font-size:10.5px!important;
  font-weight:700!important;
  letter-spacing:.08em;
  margin-bottom:5px;
}
.cob-relatorio-modal-head h2{
  margin:0 0 5px;
  font-size:18px!important;
  font-weight:700!important;
}
.cob-relatorio-modal-head p{
  margin:0;
  color:#969aa3;
  font-size:12px!important;
}
.cob-relatorio-close{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#9da1aa;
  font-size:22px!important;
  cursor:pointer;
  border-radius:8px;
}
.cob-relatorio-close:hover{background:#21262d;color:#fff}

.cob-relatorio-form-grid{
  display:grid;
  grid-template-columns:170px 180px minmax(220px,1fr) auto;
  gap:12px;
  align-items:end;
  padding:20px 24px 12px;
}
.cob-relatorio-preview-btn{
  height:38px!important;
  padding:0 17px!important;
  background:#ff8a3d!important;
  color:#111!important;
  border-color:#ff8a3d!important;
}

.cob-relatorio-rule-note{
  margin:0 24px 18px;
  padding:11px 13px;
  border:1px solid rgba(255,138,61,.2);
  background:rgba(255,138,61,.055);
  border-radius:9px;
  color:#aeb2ba;
  font-size:11px!important;
  line-height:1.5;
}
.cob-relatorio-rule-note strong{color:#dfe1e5;font-size:11px!important}

.cob-relatorio-loading,
.cob-relatorio-empty{
  margin:0 24px 22px;
  min-height:125px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px dashed #3d4046;
  border-radius:11px;
  color:#92969e;
  font-size:12px!important;
}
.cob-relatorio-spinner{
  width:17px;
  height:17px;
  border:2px solid #45484e;
  border-top-color:#ff8a3d;
  border-radius:50%;
  animation:cobRelatorioSpin .7s linear infinite;
}
@keyframes cobRelatorioSpin{to{transform:rotate(360deg)}}

.cob-relatorio-preview{padding:0 24px 22px}
.cob-relatorio-preview-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin:2px 0 14px;
}
.cob-relatorio-preview-head div{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.cob-relatorio-preview-head span{
  color:#989ca5;
  font-size:11px!important;
}
.cob-relatorio-preview-head strong{
  color:#f3f4f6;
  font-size:14px!important;
}

.cob-relatorio-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:20px;
}
.cob-relatorio-kpi{
  min-height:106px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:14px;
  border:1px solid #3b3e44;
  border-radius:11px;
  background:#24262a;
}
.cob-relatorio-kpi span{
  color:#a2a6ae;
  font-size:10.5px!important;
  font-weight:650!important;
}
.cob-relatorio-kpi strong{
  margin:7px 0 2px;
  color:#f6f7f8;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
.cob-relatorio-kpi:nth-child(3) strong{color:#ff9a57}
.cob-relatorio-kpi:nth-child(4) strong{color:#4ade80}
.cob-relatorio-kpi small{
  color:#737880;
  font-size:10px!important;
}

.cob-relatorio-table-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
}
.cob-relatorio-table-head > div{
  display:flex;
  align-items:center;
  gap:9px;
}
.cob-relatorio-table-head strong{font-size:13px!important}
.cob-relatorio-table-head span{color:#8e929a;font-size:10.5px!important}

.cob-relatorio-table-wrap{
  max-height:310px;
  overflow:auto;
  border:1px solid #393c42;
  border-radius:10px;
}
.cob-relatorio-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.cob-relatorio-table th{
  position:sticky;
  top:0;
  z-index:1;
  padding:10px 11px;
  text-align:left;
  background:#21262d;
  border-bottom:1px solid #3c3f45;
  color:#9ca0a9;
  font-size:10px!important;
}
.cob-relatorio-table td{
  padding:10px 11px;
  border-bottom:1px solid #31343a;
  color:#d6d8dc;
  font-size:11px!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cob-relatorio-table tbody tr:last-child td{border-bottom:0}
.cob-relatorio-table td:nth-child(4),
.cob-relatorio-table td:nth-child(5){font-weight:650!important}

.cob-relatorio-detail-empty{
  padding:30px;
  text-align:center;
  color:#8d9199;
  font-size:11px!important;
}

.cob-relatorio-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  padding-top:17px;
}
.cob-relatorio-pdf-btn{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  background:#ff8a3d!important;
  border-color:#ff8a3d!important;
  color:#111!important;
}
.cob-relatorio-pdf-btn svg{width:15px;height:15px}

@media(max-width:880px){
  .cob-relatorio-form-grid{grid-template-columns:1fr 1fr}
  .cob-relatorio-preview-btn{width:100%}
  .cob-relatorio-kpis{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .cob-relatorio-overlay{padding:10px}
  .cob-relatorio-modal{max-height:calc(100vh - 20px)}
  .cob-relatorio-form-grid{grid-template-columns:1fr;padding-left:16px;padding-right:16px}
  .cob-relatorio-rule-note{margin-left:16px;margin-right:16px}
  .cob-relatorio-preview{padding-left:16px;padding-right:16px}
  .cob-relatorio-kpis{grid-template-columns:1fr}
  .cob-relatorio-preview-head{align-items:flex-start;flex-direction:column}
}


/* ===== v3170-relatorio-prod-light ===== */
/* Mantém o botão alinhado ao header atual */
.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn{
  min-height:38px!important;
  height:38px!important;
  white-space:nowrap!important;
}

/* MODO CLARO DO RELATÓRIO */
body[data-theme=light] .cob-relatorio-overlay{
  background:rgba(30,32,36,.38)!important;
}
body[data-theme=light] .cob-relatorio-modal{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#dde0e4!important;
  box-shadow:0 24px 70px rgba(0,0,0,.16)!important;
}
body[data-theme=light] .cob-relatorio-modal-head{
  border-bottom-color:#e4e6e9!important;
}
body[data-theme=light] .cob-relatorio-modal-head h2{
  color:#171717!important;
}
body[data-theme=light] .cob-relatorio-modal-head p,
body[data-theme=light] .cob-relatorio-preview-head span,
body[data-theme=light] .cob-relatorio-table-head span{
  color:#6e737b!important;
}
body[data-theme=light] .cob-relatorio-close{
  color:#777c84!important;
}
body[data-theme=light] .cob-relatorio-close:hover{
  background:#f1f2f4!important;
  color:#171717!important;
}
body[data-theme=light] .cob-relatorio-modal .fs{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#d8dbe0!important;
  color-scheme:light!important;
}
body[data-theme=light] .cob-relatorio-rule-note{
  background:#fff7f1!important;
  border-color:#ffd9be!important;
  color:#62666d!important;
}
body[data-theme=light] .cob-relatorio-rule-note strong{
  color:#27292d!important;
}
body[data-theme=light] .cob-relatorio-loading,
body[data-theme=light] .cob-relatorio-empty{
  border-color:#d9dce0!important;
  color:#757a82!important;
  background:#fafafa!important;
}
body[data-theme=light] .cob-relatorio-preview-head strong,
body[data-theme=light] .cob-relatorio-table-head strong{
  color:#171717!important;
}
body[data-theme=light] .cob-relatorio-kpi{
  background:#f8f9fa!important;
  border-color:#e0e3e7!important;
}
body[data-theme=light] .cob-relatorio-kpi span{
  color:#666b73!important;
}
body[data-theme=light] .cob-relatorio-kpi strong{
  color:#171717!important;
}
body[data-theme=light] .cob-relatorio-kpi:nth-child(3) strong{
  color:#df6514!important;
}
body[data-theme=light] .cob-relatorio-kpi:nth-child(4) strong{
  color:#16803b!important;
}
body[data-theme=light] .cob-relatorio-kpi small{
  color:#858a92!important;
}
body[data-theme=light] .cob-relatorio-table-wrap{
  border-color:#dfe2e6!important;
}
body[data-theme=light] .cob-relatorio-table th{
  background:#f0f1f3!important;
  color:#555a62!important;
  border-bottom-color:#dfe2e6!important;
}
body[data-theme=light] .cob-relatorio-table td{
  color:#272a2f!important;
  border-bottom-color:#e8eaed!important;
  background:#ffffff!important;
}
body[data-theme=light] .cob-relatorio-detail-empty{
  color:#777c84!important;
  background:#fafafa!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn span{
    display:none!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn{
    width:38px!important;
    min-width:38px!important;
    padding:0!important;
    justify-content:center!important;
  }
}


/* ===== v3174-delete-historico-mensagens ===== */
.system-pro-v3 #cobPanelMensagens .cob-msg-hist-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-hist-delete-btn{
  color:var(--t3);
}
.system-pro-v3 #cobPanelMensagens .cob-msg-hist-delete-btn:hover{
  color:#ef4444!important;
  border-color:rgba(239,68,68,.28)!important;
  background:rgba(239,68,68,.10)!important;
}
.system-pro-v3 #cobPanelMensagens .cob-msg-hist-delete-btn:disabled{
  opacity:.4;
  pointer-events:none;
}
body[data-theme=light].system-pro-v3 #cobPanelMensagens .cob-msg-hist-delete-btn:hover{
  color:#dc2626!important;
  border-color:rgba(220,38,38,.22)!important;
  background:rgba(220,38,38,.07)!important;
}


/* ===== v3176-responsive-global ===== */
/* Evita estouro horizontal causado por filhos grandes */
html,
body.system-pro-v3{
  max-width:100%;
}

body.system-pro-v3{
  min-width:0!important;
}

/* Todos os overlays precisam respeitar a altura real da tela */
.system-pro-v3 .imp-confirm-overlay,
.system-pro-v3 .mpw-overlay,
.system-pro-v3 .drawer-overlay{
  box-sizing:border-box!important;
  max-width:100vw!important;
}

/* Cards/modais genéricos */
.system-pro-v3 .imp-confirm-overlay{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:16px!important;
  align-items:center!important;
}

.system-pro-v3 .imp-confirm-card,
.system-pro-v3 .mpw-card{
  box-sizing:border-box!important;
  max-width:calc(100vw - 32px)!important;
  max-height:calc(100dvh - 32px)!important;
}

/* ---------- Parcelamento: principal correção ---------- */
.system-pro-v3 #cobParcelamentoOverlay{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:16px!important;
  align-items:center!important;
}

.system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
  display:flex!important;
  flex-direction:column!important;
  width:min(920px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  max-height:calc(100dvh - 32px)!important;
  min-height:0!important;
  overflow:hidden!important;
  margin:auto!important;
}

.system-pro-v3 #cobParcelamentoOverlay .cob-installment-head{
  flex:0 0 auto!important;
}

.system-pro-v3 #cobParcelamentoOverlay .cob-installment-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}

.system-pro-v3 #cobParcelamentoOverlay .cob-installment-actions{
  flex:0 0 auto!important;
  background:var(--sf)!important;
  position:relative!important;
  z-index:3!important;
}

/* Preview de parcelas nunca força largura da tela */
.system-pro-v3 #cobParcelamentoOverlay .cob-installment-preview-scroll{
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
}

.system-pro-v3 #cobParcelamentoOverlay .cob-installment-preview-table{
  min-width:640px;
}

/* Drawers de cobranças e outros drawers */
.system-pro-v3 .drawer-panel{
  max-height:100dvh!important;
  min-height:0!important;
}

.system-pro-v3 .drawer-body,
.system-pro-v3 .drawer-tab-content,
.system-pro-v3 .cob-drawer-body{
  min-height:0!important;
  overscroll-behavior:contain;
}

/* Tabelas: nunca expandir a viewport */
.system-pro-v3 .tsc,
.system-pro-v3 .cob-acordos-tsc,
.system-pro-v3 .cob-installment-preview-scroll,
.system-pro-v3 [class*="table-wrap"],
.system-pro-v3 [class*="table-scroll"]{
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
}

/* Componentes flex/grid não podem impedir encolhimento */
.system-pro-v3 .cob-acordos-shell,
.system-pro-v3 .cob-acordos-head,
.system-pro-v3 .cob-acordos-head-right,
.system-pro-v3 .cob-acordos-filters,
.system-pro-v3 .cob-dash-card,
.system-pro-v3 .cob-installment-grid,
.system-pro-v3 .cob-installment-rule-grid,
.system-pro-v3 .cob-installment-date-grid{
  min-width:0!important;
}

/* ================================================================
   NOTEBOOK / VIEWPORT BAIXO
   ================================================================ */
@media (max-height: 820px), (max-width: 1440px){

  /* Menos margens verticais para aproveitar a área disponível */
  .system-pro-v3 #cobParcelamentoOverlay{
    padding:10px!important;
    align-items:flex-start!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
    width:min(920px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    margin:auto!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-head{
    padding:11px 14px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-body{
    padding:12px 14px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-actions{
    padding:9px 14px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-summary{
    margin-bottom:10px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-rule-grid{
    margin-top:9px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-note{
    margin-top:8px!important;
  }

  /* Cards genéricos grandes em notebooks */
  .system-pro-v3 .imp-confirm-card,
  .system-pro-v3 .mpw-card{
    max-height:calc(100dvh - 20px)!important;
  }

  /* Acordos: ganha altura útil */
  .system-pro-v3 #cobPanelAcordos .cob-acordos-tsc{
    max-height:calc(100dvh - 245px)!important;
    min-height:220px!important;
  }
}

/* Notebook estreito */
@media (max-width: 1180px){

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-grid-v337{
    grid-template-columns:minmax(0,1fr) minmax(160px,.55fr)!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-rule-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-date-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .system-pro-v3 .cob-acordos-head{
    gap:10px!important;
  }

  .system-pro-v3 .cob-acordos-head-right{
    max-width:100%;
  }
}

/* Tablet / notebook bem estreito */
@media (max-width: 900px){

  .system-pro-v3 #cobParcelamentoOverlay{
    padding:8px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:12px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-grid-v337,
  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-date-grid{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-rule-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .system-pro-v3 .cob-acordos-head{
    flex-direction:column!important;
    align-items:stretch!important;
  }

  .system-pro-v3 .cob-acordos-head-right{
    width:100%!important;
    justify-content:flex-start!important;
  }

  .system-pro-v3 .cob-acordos-filters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .system-pro-v3 .drawer-panel{
    width:min(100vw,720px)!important;
  }
}

/* Mobile */
@media (max-width: 650px){

  .system-pro-v3 #cobParcelamentoOverlay{
    padding:0!important;
    align-items:stretch!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-head{
    padding:12px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-body{
    padding:12px!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-actions{
    padding:10px 12px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-actions .fbtn{
    width:100%!important;
    min-width:0!important;
  }

  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-rule-grid,
  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-date-grid,
  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-grid-v337{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 .cob-acordos-filters{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 .cob-acordos-head-right{
    flex-direction:column!important;
    align-items:stretch!important;
  }

  .system-pro-v3 .cob-acordos-head-right > *{
    max-width:100%!important;
  }

  .system-pro-v3 .drawer-panel{
    width:100vw!important;
    max-width:100vw!important;
  }

  .system-pro-v3 .drawer-tab-content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

/* Fallback para navegadores sem dvh */
@supports not (height: 100dvh){
  .system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
    max-height:calc(100vh - 32px)!important;
  }

  @media (max-height:820px), (max-width:1440px){
    .system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
      max-height:calc(100vh - 20px)!important;
    }
  }

  @media (max-width:650px){
    .system-pro-v3 #cobParcelamentoOverlay .cob-installment-modal{
      height:100vh!important;
      max-height:100vh!important;
    }
  }
}


/* ===== v3177-auth-navigation ===== */
body.auth-pending #loginScreen{visibility:hidden!important}
body.auth-pending #appShell{visibility:hidden!important}


/* ===== v3184-dashboard-consolidado ===== */
.system-pro-v3 .cob-dash-section-intro{
  margin:4px 0 10px;
}
.system-pro-v3 .cob-dash-caixa-intro{
  margin-top:18px;
}
.system-pro-v3 .cob-dash-section-title{
  font-size:14px;
  font-weight:750;
  color:var(--tx);
}
.system-pro-v3 .cob-dash-section-sub{
  margin-top:3px;
  font-size:11px;
  color:var(--t3);
}
.system-pro-v3 .cob-kpi-grid-caixa{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.system-pro-v3 .cob-kpi-card[data-clickable="1"]{
  cursor:pointer;
}
.system-pro-v3 .cob-kpi-card[data-clickable="1"]:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--pro-ac) 35%,var(--bd));
}
.system-pro-v3 .cob-kpi-card .cob-kpi-see{
  font-size:10px;
  color:var(--t3);
  margin-left:auto;
}
.system-pro-v3 .cob-dash-detail-overlay{
  position:fixed;
  inset:0;
  z-index:2900;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.58);
}
.system-pro-v3 .cob-dash-detail-overlay.show{display:flex}
.system-pro-v3 .cob-dash-detail-modal{
  width:min(900px,calc(100vw - 36px));
  max-height:calc(100dvh - 36px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--bd);
  border-radius:14px;
  background:var(--sf);
  box-shadow:0 22px 65px rgba(0,0,0,.38);
}
.system-pro-v3 .cob-dash-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:15px 17px;
  border-bottom:1px solid var(--bd);
}
.system-pro-v3 .cob-dash-detail-title{font-size:15px;font-weight:750;color:var(--tx)}
.system-pro-v3 .cob-dash-detail-sub{margin-top:3px;font-size:11px;color:var(--t3)}
.system-pro-v3 .cob-dash-detail-close{
  border:0;background:transparent;color:var(--t2);font-size:22px;cursor:pointer;
}
.system-pro-v3 .cob-dash-detail-body{
  min-height:0;
  overflow:auto;
  padding:12px 16px 16px;
}
.system-pro-v3 .cob-dash-detail-table{
  width:100%;
  border-collapse:collapse;
  min-width:650px;
  font-size:12px;
}
.system-pro-v3 .cob-dash-detail-table th,
.system-pro-v3 .cob-dash-detail-table td{
  padding:9px 10px;
  border-bottom:1px solid var(--bd);
  text-align:left;
}
.system-pro-v3 .cob-dash-detail-table th{
  position:sticky;top:0;background:var(--sf);z-index:1;
  font-size:10.5px;color:var(--t3);font-weight:700;
}
.system-pro-v3 .cob-dash-detail-total{
  margin-top:12px;
  text-align:right;
  font-size:13px;
  font-weight:750;
  color:var(--tx);
}
@media(max-width:850px){
  .system-pro-v3 .cob-kpi-grid-caixa{grid-template-columns:1fr!important}
}


/* ===== v3186-modal-pagamento-obrigatorio ===== */
.system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog{
  width:min(560px,calc(100vw - 32px))!important;
  padding:22px!important;
  column-gap:15px!important;
}
.system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-icon{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
}
.system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-title{
  font-size:1.03rem!important;
  line-height:1.3!important;
  font-weight:800!important;
}
.system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-message{
  margin-top:8px!important;
  font-size:.86rem!important;
  line-height:1.55!important;
  font-weight:560!important;
}
.system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-actions{
  gap:10px!important;
  padding-top:20px!important;
}
.system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-actions .fbtn{
  min-width:148px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 17px!important;
  font-size:.78rem!important;
  font-weight:760!important;
}
@media(max-width:560px){
  .system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog{
    width:calc(100vw - 20px)!important;
    padding:18px!important;
  }
  .system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 .sys-dialog-overlay[data-emphasis="payment"] .sys-dialog-actions .fbtn{
    width:100%!important;
  }
}


/* ===== v3196-agenda-refino-final ===== */
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
  padding:0 20px 22px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
  width:100%!important;
  max-width:860px!important;
  margin:18px auto 34px!important;
  padding:18px 20px 16px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.012)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:none!important;
}

/* Cabeçalho mais leve */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head{
  margin-bottom:15px!important;
  padding-bottom:12px!important;
  gap:11px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  align-items:center!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title-icon svg{
  width:17px!important;
  height:17px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head .cob-drawer-stage-title{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head .cob-drawer-stage-sub{
  margin-top:3px!important;
  max-width:570px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:11.5px!important;
  line-height:1.45!important;
  color:var(--t3)!important;
}

/* Linha principal mais compacta */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
  grid-template-columns:1fr .78fr 1fr!important;
  gap:15px!important;
  padding:0 0 13px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  align-items:start!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-label{
  margin:0 0 5px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  color:#aeb3bb!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-value,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line{
  min-height:27px!important;
  height:27px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-date-control > .cob-agenda-inline-icon{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
  margin-right:7px!important;
  color:#888d96!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaData{
  height:27px!important;
  min-height:27px!important;
  padding:0 18px 0 0!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:27px!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-line{
  gap:7px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-dot{
  width:6px!important;
  height:6px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusBadge{
  min-height:23px!important;
  height:23px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:10.5px!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaStatusText,
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaProcessadoEm{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
  padding-left:15px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block::before,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block::before{
  background:rgba(255,255,255,.08)!important;
}

/* Detalhes menos volumosos */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-block{
  padding-top:13px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-content{
  padding:12px 14px!important;
  min-height:0!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.01)!important;
  gap:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-icon{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  font-size:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaDetalhes{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaDetalhesHelp{
  margin-top:2px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:11px!important;
  line-height:1.4!important;
  color:var(--t3)!important;
}

/* Botões proporcionais, sem aspecto de CTA gigante */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  margin-top:13px!important;
  padding-top:13px!important;
  gap:8px!important;
  justify-content:flex-end!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions .fbtn,
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaSaveBtn,
.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaClearBtn{
  min-height:32px!important;
  height:32px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:700!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaClearBtn{
  min-width:108px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay #cobAgendaSaveBtn{
  min-width:116px!important;
}

/* Tema claro */
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
  background:#fff!important;
  border-color:#e4e6e9!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-head,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
  border-color:#eceef0!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-details-content{
  background:#fafafa!important;
  border-color:#e4e6e9!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block::before,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block::before{
  background:#e4e6e9!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-block-label{
  color:#5f636b!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerViewAgenda{
    padding:0 14px 20px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-card{
    margin:14px auto 24px!important;
    padding:15px 15px 13px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-main{
    grid-template-columns:1fr!important;
    gap:13px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block{
    padding-left:0!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status-block::before,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-process-block::before{
    display:none!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions{
    flex-wrap:wrap!important;
  }
}


/* ===== v3197-parcelamentos-cobranca-enxuta ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:12px 0 10px;
  flex-wrap:wrap;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickfilters{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-quickfilters{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quick{
  height:31px;
  min-height:31px;
  padding:0 10px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:11px;
  line-height:1;
  font-weight:650;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:.15s ease;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-quick{
  height:31px;
  min-height:31px;
  padding:0 10px;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:11px;
  line-height:1;
  font-weight:650;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:.15s ease;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quick:hover{
  border-color:rgba(249,115,22,.45);
  color:var(--tx);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-quick:hover{
  border-color:rgba(249,115,22,.45);
  color:var(--tx);
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quick.active{
  border-color:rgba(249,115,22,.55);
  background:rgba(249,115,22,.10);
  color:var(--ac);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-quick.active{
  border-color:rgba(249,115,22,.55);
  background:rgba(249,115,22,.10);
  color:var(--ac);
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quick span{
  min-width:20px;
  height:19px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  color:inherit;
  font-size:10px;
  font-weight:750;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-quick span{
  min-width:20px;
  height:19px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  color:inherit;
  font-size:10px;
  font-weight:750;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10.5px;
  font-weight:650;
  color:var(--t3);
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10.5px;
  font-weight:650;
  color:var(--t3);
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-message-chip{
  height:28px;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10.5px;
  font-weight:650;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-message-chip{
  height:28px;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  border:1px solid var(--bd);
  border-radius:8px;
  background:var(--s2);
  color:var(--t2);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10.5px;
  font-weight:650;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  border-color:#f97316!important;
  background:#f97316!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:750!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  border-color:#f97316!important;
  background:#f97316!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:750!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn:disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn:disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  margin:-2px 0 10px;
  padding:8px 10px;
  border:1px solid rgba(249,115,22,.16);
  border-radius:8px;
  background:rgba(249,115,22,.045);
  color:var(--t3);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10.5px;
  line-height:1.4;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  margin:-2px 0 10px;
  padding:8px 10px;
  border:1px solid rgba(249,115,22,.16);
  border-radius:8px;
  background:rgba(249,115,22,.045);
  color:var(--t3);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10.5px;
  line-height:1.4;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-meta{
  display:block;
  margin-top:3px;
  color:var(--ac);
  font-size:10px;
  line-height:1.25;
  font-weight:650;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-meta{
  display:block;
  margin-top:3px;
  color:var(--ac);
  font-size:10px;
  line-height:1.25;
  font-weight:650;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-invalid{
  display:block;
  margin-top:3px;
  color:#ef4444;
  font-size:9.5px;
  font-weight:650;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-invalid{
  display:block;
  margin-top:3px;
  color:#ef4444;
  font-size:9.5px;
  font-weight:650;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-row-selected > td{
  background:rgba(249,115,22,.045)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-row-selected > td{
  background:rgba(249,115,22,.045)!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasSelectAll,
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-check{
  width:14px;
  height:14px;
  accent-color:#f97316;
  cursor:pointer;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quick span{
  background:rgba(0,0,0,.045);
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-quick span{
  background:rgba(0,0,0,.045);
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  background:#fff8f3;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  background:#fff8f3;
}
@media(max-width:760px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
    align-items:flex-start;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
    width:100%;
    justify-content:flex-start;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
    width:100%;
    justify-content:flex-start;
  }
}


/* ===== v3198-status-mensagem-parcelamentos ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-status-refresh{
  height:31px!important;
  min-height:31px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:10.5px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-status-refresh{
  height:31px!important;
  min-height:31px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:10.5px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:23px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid var(--bd);
  background:var(--s2);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:23px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid var(--bd);
  background:var(--s2);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:10px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  flex:0 0 6px;
  background:#8b9098;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  flex:0 0 6px;
  background:#8b9098;
}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.none{color:var(--t3)}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.none{color:var(--t3)}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.wait{color:#d99b36;border-color:rgba(217,155,54,.28);background:rgba(217,155,54,.07)}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.wait{color:#d99b36;border-color:rgba(217,155,54,.28);background:rgba(217,155,54,.07)}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.wait::before{background:#d99b36}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.wait::before{background:#d99b36}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.success{color:#22a06b;border-color:rgba(34,160,107,.26);background:rgba(34,160,107,.07)}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.success{color:#22a06b;border-color:rgba(34,160,107,.26);background:rgba(34,160,107,.07)}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.success::before{background:#22a06b}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.success::before{background:#22a06b}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.error{color:#ef6262;border-color:rgba(239,98,98,.28);background:rgba(239,98,98,.07)}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.error{color:#ef6262;border-color:rgba(239,98,98,.28);background:rgba(239,98,98,.07)}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.error::before{background:#ef6262}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.error::before{background:#ef6262}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-time{
  display:block;
  margin-top:4px;
  color:var(--t3);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:9.5px;
  line-height:1.2;
  font-weight:550;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-time{
  display:block;
  margin-top:4px;
  color:var(--t3);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:9.5px;
  line-height:1.2;
  font-weight:550;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(1){width:34px!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(1){width:34px!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(2){width:13%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(2){width:13%!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(3){width:25%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(3){width:25%!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(4){width:14%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(4){width:14%!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(5){width:20%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(5){width:20%!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(6){width:12%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(6){width:12%!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(7){width:16%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(7){width:16%!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status{
  background:#fff;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status{
  background:#fff;
}


/* ===== v3199-cards-cobranca-parcelamentos ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:12px 0 10px}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{border:1px solid var(--bd);border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.01));padding:14px 14px 13px;text-align:left;cursor:pointer;transition:.15s ease;min-height:96px;display:flex;flex-direction:column;justify-content:space-between;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{border-color:rgba(249,115,22,.38);transform:translateY(-1px)}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{border-color:rgba(249,115,22,.55);background:rgba(249,115,22,.08);box-shadow:0 0 0 1px rgba(249,115,22,.14) inset}
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{display:block;color:var(--t2);font-size:11px;line-height:1.2;font-weight:700}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{display:block;color:var(--t2);font-size:11px;line-height:1.2;font-weight:700}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{display:block;margin-top:8px;color:var(--tx);font-size:24px;line-height:1;font-weight:800;letter-spacing:-.02em}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active strong{color:var(--ac)}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card small{display:block;margin-top:8px;color:var(--t3);font-size:10.5px;line-height:1.35;font-weight:600}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{height:31px!important;min-height:31px!important;padding:0 10px!important;border-radius:8px!important;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:10.5px!important;font-weight:650!important}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-cobranca) .cob-parcelas-table > thead > tr > th:nth-child(7),
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-cobranca) .cob-parcelas-table > tbody > tr:not(.cob-parcela-detail-row) > td:nth-child(7){display:none}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-cobranca) .cob-parcela-inline-table thead th:nth-child(8),
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-cobranca) .cob-parcela-inline-table tbody td:nth-child(8){display:none}
@media(max-width:900px){.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{grid-template-columns:1fr}}
@media(max-width:760px){.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{justify-content:flex-start}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{justify-content:flex-start}.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{width:100%}}


/* ===== v3200-parcelamentos-cards-refinados ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
  gap:14px!important;
  margin:14px 0 12px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  padding:0 2px!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  position:relative!important;
  overflow:hidden!important;
  min-height:102px!important;
  padding:15px 16px 14px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.012))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  transform:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{
  border-color:rgba(226,232,240,.24)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.016))!important;
  transform:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{
  border-color:rgba(229,231,235,.42)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.022))!important;
  box-shadow:inset 0 0 0 1px rgba(229,231,235,.14), 0 0 0 1px rgba(255,255,255,.02)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card::after{
  content:''!important;
  position:absolute!important;
  left:16px!important;
  right:16px!important;
  bottom:0!important;
  height:2px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.05)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active::after{
  background:rgba(229,231,235,.44)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  color:#d7dbe2!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  color:#d7dbe2!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  margin-top:10px!important;
  color:#f4f6f8!important;
  font-size:23px!important;
  font-weight:800!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active strong{
  color:#ffffff!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card small{
  margin-top:9px!important;
  color:#9aa3af!important;
  font-size:10.5px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  gap:8px!important;
  padding:0 2px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  gap:8px!important;
  padding:0 2px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  margin:0 2px 10px!important;
  padding:9px 11px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.025)!important;
  color:#a1a8b3!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  margin:0 2px 10px!important;
  padding:9px 11px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.025)!important;
  color:#a1a8b3!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-meta{
  color:#c7cdd6!important;
  font-size:9.8px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-meta{
  color:#c7cdd6!important;
  font-size:9.8px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-row-selected > td{
  background:rgba(255,255,255,.03)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-row-selected > td{
  background:rgba(255,255,255,.03)!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasSelectAll,
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-check{
  accent-color:#cfd5de!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-status-refresh,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-message-chip{
  border-color:rgba(255,255,255,.11)!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  padding:0 1px!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  border-color:#d5dbe3!important;
  background:linear-gradient(180deg,#ffffff,#f7f8fa)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{
  border-color:#c7ced8!important;
  background:linear-gradient(180deg,#ffffff,#f3f5f7)!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{
  border-color:#bcc5d0!important;
  background:linear-gradient(180deg,#f7f8fa,#eef1f4)!important;
  box-shadow:inset 0 0 0 1px rgba(148,163,184,.14)!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card::after{
  background:#e5e7eb!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active::after{
  background:#98a2b3!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  color:#4b5563!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  color:#4b5563!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active strong{
  color:#111827!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card small{
  color:#6b7280!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  border-color:#d8dde5!important;
  background:#f5f6f8!important;
  color:#5f6672!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  border-color:#d8dde5!important;
  background:#f5f6f8!important;
  color:#5f6672!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-meta{
  color:#4b5563!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-meta{
  color:#4b5563!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-row-selected > td{
  background:#f3f5f7!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-row-selected > td{
  background:#f3f5f7!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos #cobParcelasSelectAll,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-check{
  accent-color:#6b7280!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-status-refresh,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-message-chip{
  border-color:#d5dbe3!important;
}
@media(max-width:1024px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3201-parcelamentos-cards-minimalistas ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
  gap:10px!important;
  margin:10px 0 10px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  padding:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  position:relative!important;
  min-height:84px!important;
  padding:13px 14px 12px!important;
  border:1px solid var(--bd)!important;
  border-radius:12px!important;
  background:var(--s2)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card::before{
  content:''!important;
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  height:2px!important;
  background:transparent!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{
  border-color:rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.015)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{
  border-color:rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.022)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active::before{
  background:rgba(226,232,240,.72)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  color:#d4d8de!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  color:#d4d8de!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  display:block!important;
  margin-top:10px!important;
  color:#f5f7fa!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card small{
  display:block!important;
  margin-top:8px!important;
  color:#96a0ac!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:10px 12px!important;
  border:1px solid var(--bd)!important;
  border-radius:10px!important;
  background:var(--s2)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:10px 12px!important;
  border:1px solid var(--bd)!important;
  border-radius:10px!important;
  background:var(--s2)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions::before{
  content:none!important;
  color:var(--t3)!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  margin-right:auto!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions::before{
  content:none!important;
  color:var(--t3)!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  margin-right:auto!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  order:2!important;
  font-size:10px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  order:2!important;
  font-size:10px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{order:1!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-message-chip{order:3!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-message-chip{order:3!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-status-refresh{order:4!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-status-refresh{order:4!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{order:5!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{order:5!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-status-refresh,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-message-chip,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  height:30px!important;
  min-height:30px!important;
  border-radius:8px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  border-color:rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.08)!important;
  color:#f5f7fa!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  border-color:rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.08)!important;
  color:#f5f7fa!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn:disabled{
  background:rgba(255,255,255,.04)!important;
  color:#8d97a4!important;
  border-color:rgba(255,255,255,.08)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn:disabled{
  background:rgba(255,255,255,.04)!important;
  color:#8d97a4!important;
  border-color:rgba(255,255,255,.08)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  margin:0!important;
  padding:0 2px!important;
  border:none!important;
  border-radius:0!important;
  background:transparent!important;
  color:#97a1ad!important;
  font-size:10px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  margin:0!important;
  padding:0 2px!important;
  border:none!important;
  border-radius:0!important;
  background:transparent!important;
  color:#97a1ad!important;
  font-size:10px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-row-selected > td{
  background:rgba(255,255,255,.02)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-row-selected > td{
  background:rgba(255,255,255,.02)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-meta{
  color:#b8c0cb!important;
  font-size:9.5px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-meta{
  color:#b8c0cb!important;
  font-size:9.5px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.none{
  color:#9aa3af!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.none{
  color:#9aa3af!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  background:#fafbfc!important;
  border-color:#d9dee6!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{
  background:#f7f8fa!important;
  border-color:#d0d6df!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{
  background:#f3f5f7!important;
  border-color:#cbd2dc!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active::before{
  background:#8f98a5!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  color:#4b5563!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  color:#4b5563!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  color:#111827!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card small{
  color:#6b7280!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  background:#fafbfc!important;
  border-color:#d9dee6!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  background:#fafbfc!important;
  border-color:#d9dee6!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  border-color:#cfd5dd!important;
  background:#eceff3!important;
  color:#1f2937!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  border-color:#cfd5dd!important;
  background:#eceff3!important;
  color:#1f2937!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn:disabled{
  background:#f4f6f8!important;
  color:#8b95a2!important;
  border-color:#dde2e8!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn:disabled{
  background:#f4f6f8!important;
  color:#8b95a2!important;
  border-color:#dde2e8!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  color:#66707d!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  color:#66707d!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-row-selected > td{
  background:#f7f8fa!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-row-selected > td{
  background:#f7f8fa!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-meta{
  color:#5f6a77!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-meta{
  color:#5f6a77!important;
}
@media(max-width:1100px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
    justify-content:flex-start!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
    justify-content:flex-start!important;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions::before{
    width:100%!important;
    margin-right:0!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions::before{
    width:100%!important;
    margin-right:0!important;
  }
}


/* ===== v3202-parcelamentos-cards-padding-fix ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
  padding:0 12px!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  width:100%!important;
  padding:0!important;
  gap:12px!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  margin:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  margin:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  margin:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  padding:0 12px 2px!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  padding:0 12px 2px!important;
  box-sizing:border-box!important;
}
@media(max-width:1100px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
    padding:0 10px!important;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
    padding:0 10px 2px!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
    padding:0 10px 2px!important;
  }
}
@media(max-width:760px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
    padding:0 8px!important;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
    padding:0 8px 2px!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
    padding:0 8px 2px!important;
  }
}


/* ===== v3204-acoes-cobranca-simplificadas ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:30px;
  padding:0 2px;
  margin-bottom:0;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-context-top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:30px;
  padding:0 2px;
  margin-bottom:0;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-top .cob-parcelas-back-btn{
  height:29px!important;
  min-height:29px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:10.5px!important;
  font-weight:650!important;
  background:transparent!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  justify-content:flex-end!important;
  padding:8px 2px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  justify-content:flex-end!important;
  padding:8px 2px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions::before{
  content:none!important;
  display:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions::before{
  content:none!important;
  display:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  order:initial!important;
  color:var(--t3)!important;
  font-size:10.5px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  order:initial!important;
  color:var(--t3)!important;
  font-size:10.5px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  order:initial!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  order:initial!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{
  margin:0!important;
  padding:5px 14px 2px!important;
  border:0!important;
  background:transparent!important;
  font-size:10px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{
  margin:0!important;
  padding:5px 14px 2px!important;
  border:0!important;
  background:transparent!important;
  font-size:10px!important;
}
/* Mensagem só existe quando o card Vencimento do dia está aberto. */
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > thead > tr > th:nth-child(7),
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > tbody > tr:not(.cob-parcela-detail-row) > td:nth-child(7){display:none!important}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcela-inline-table thead th:nth-child(8),
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcela-inline-table tbody td:nth-child(8){display:none!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  background:transparent!important;
  border:0!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  background:transparent!important;
  border:0!important;
}
@media(max-width:760px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
    justify-content:flex-start!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
    justify-content:flex-start!important;
  }
}


/* ===== v3205-parcelamentos-profissional ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card{
  border-radius:15px!important;
  border-color:rgba(255,255,255,.105)!important;
  background:#161b22!important;
  box-shadow:0 12px 34px rgba(0,0,0,.14)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card{
  border-radius:15px!important;
  border-color:rgba(255,255,255,.105)!important;
  background:#161b22!important;
  box-shadow:0 12px 34px rgba(0,0,0,.14)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2{
  min-height:68px!important;
  padding:15px 17px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2{
  min-height:68px!important;
  padding:15px 17px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 .tt{
  font-size:13px!important;
  font-weight:760!important;
  letter-spacing:-.18px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 .tt{
  font-size:13px!important;
  font-weight:760!important;
  letter-spacing:-.18px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:10.5px!important;
  color:#8f99a6!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:10.5px!important;
  color:#8f99a6!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
  padding:13px 16px!important;
  gap:10px!important;
  background:#161b22!important;
  border-bottom:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
  padding:13px 16px!important;
  gap:10px!important;
  background:#161b22!important;
  border-bottom:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .dperiod{
  height:38px!important;
  min-height:38px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:#1c2128!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .dperiod{
  height:38px!important;
  min-height:38px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:#1c2128!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs:focus{
  border-color:rgba(226,232,240,.32)!important;
  box-shadow:0 0 0 3px rgba(226,232,240,.045)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs:focus{
  border-color:rgba(226,232,240,.32)!important;
  box-shadow:0 0 0 3px rgba(226,232,240,.045)!important;
}

/* bloco de prioridade */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{
  margin:0 16px 14px!important;
  padding:15px!important;
  border:1px solid rgba(255,255,255,.085)!important;
  border-radius:13px!important;
  background:#202224!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:12px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-title{
  color:#f2f4f7!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:760!important;
  letter-spacing:-.08px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-sub{
  margin-top:4px!important;
  color:#8f99a6!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:9.8px!important;
  line-height:1.35!important;
  font-weight:520!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-top{
  display:flex;
  align-items:center!important;
  gap:9px!important;
  min-height:30px!important;
  padding:0!important;
  margin:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-context-top{
  display:flex;
  align-items:center!important;
  gap:9px!important;
  min-height:30px!important;
  padding:0!important;
  margin:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-label{
  color:#8f99a6!important;
  font-size:9.7px!important;
  font-weight:620!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-context-label{
  color:#8f99a6!important;
  font-size:9.7px!important;
  font-weight:620!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{
  height:30px!important;
  min-height:30px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:8px!important;
  background:#26282b!important;
  color:#cbd2dc!important;
  font-size:9.8px!important;
  font-weight:680!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn:hover{
  border-color:rgba(255,255,255,.18)!important;
  background:#2b2e31!important;
  color:#fff!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn svg{
  width:13px!important;height:13px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-quickbar{
  margin:0!important;
  padding:0!important;
  gap:12px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  display:grid!important;
  /* V3.196: "Vencidas" virou 2 cards (neste mês / meses anteriores), então
     agora são 4 cards no total — auto-fit evita recontar um número fixo de
     colunas toda vez que um card for adicionado ou removido. */
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:10px!important;
  padding:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto 14px!important;
  align-items:center!important;
  gap:10px!important;
  min-height:72px!important;
  padding:11px 12px!important;
  margin:0!important;
  overflow:hidden!important;
  text-align:left!important;
  border:1px solid rgba(255,255,255,.095)!important;
  border-radius:10px!important;
  background:#252729!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:border-color .14s ease,background .14s ease,transform .14s ease!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card::before,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card::after{
  content:none!important;
  display:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{
  border-color:rgba(226,232,240,.20)!important;
  background:#21262d!important;
  transform:translateY(-1px)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{
  border-color:rgba(226,232,240,.28)!important;
  background:#21262d!important;
  box-shadow:inset 0 0 0 1px rgba(226,232,240,.035)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon{
  width:34px!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:9px!important;
  background:#202224!important;
  color:#b6bec9!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon svg{
  width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active .cob-charge-card-icon{
  border-color:rgba(226,232,240,.18)!important;
  background:#303338!important;
  color:#edf1f5!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  display:block!important;
  margin:0!important;
  color:#dde2e8!important;
  font-size:10.2px!important;
  line-height:1.15!important;
  font-weight:720!important;
  letter-spacing:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  display:block!important;
  margin:0!important;
  color:#dde2e8!important;
  font-size:10.2px!important;
  line-height:1.15!important;
  font-weight:720!important;
  letter-spacing:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-caption{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#8993a0!important;
  font-size:9.1px!important;
  line-height:1.2!important;
  font-weight:520!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  display:block!important;
  margin:0!important;
  min-width:30px!important;
  color:#f8fafc!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:780!important;
  letter-spacing:-.45px!important;
  text-align:right!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-arrow{
  color:#6f7884!important;
  font-size:19px!important;
  line-height:1!important;
  transition:transform .14s ease,color .14s ease!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover .cob-charge-card-arrow,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active .cob-charge-card-arrow{
  color:#c4cbd4!important;
  transform:translateX(1px)!important;
}

/* ação de envio: só existe em Hoje pela regra JS já existente */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  display:flex;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid rgba(255,255,255,.085)!important;
  border-radius:9px!important;
  background:#252729!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  display:flex;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid rgba(255,255,255,.085)!important;
  border-radius:9px!important;
  background:#252729!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions::before{content:none!important;display:none!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions::before{content:none!important;display:none!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-copy{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  min-width:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-copy{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  min-width:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-title{
  color:#d9dee5!important;
  font-size:10px!important;
  font-weight:700!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-title{
  color:#d9dee5!important;
  font-size:10px!important;
  font-weight:700!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  color:#8d97a4!important;
  font-size:9.6px!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  color:#8d97a4!important;
  font-size:9.6px!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #f97316!important;
  border-radius:8px!important;
  background:#f97316!important;
  color:#fff!important;
  font-size:9.8px!important;
  font-weight:720!important;
  box-shadow:0 4px 12px rgba(249,115,22,.12)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #f97316!important;
  border-radius:8px!important;
  background:#f97316!important;
  color:#fff!important;
  font-size:9.8px!important;
  font-weight:720!important;
  box-shadow:0 4px 12px rgba(249,115,22,.12)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn svg{
  width:13px!important;height:13px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn svg{
  width:13px!important;height:13px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn:disabled{
  border-color:rgba(255,255,255,.08)!important;
  background:#2a2c2e!important;
  color:#69727e!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn:disabled{
  border-color:rgba(255,255,255,.08)!important;
  background:#2a2c2e!important;
  color:#69727e!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selection-note{display:none!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selection-note{display:none!important}

/* tabela mais limpa */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table-wrap{
  max-height:calc(100vh - 330px)!important;
  min-height:270px!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  background:#161b22!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table-wrap{
  max-height:calc(100vh - 330px)!important;
  min-height:270px!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  background:#161b22!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th{
  height:38px!important;
  padding:0 13px!important;
  background:#1c2128!important;
  border-bottom:1px solid rgba(255,255,255,.065)!important;
  color:#7f8996!important;
  font-size:8.7px!important;
  font-weight:720!important;
  letter-spacing:.45px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  height:38px!important;
  padding:0 13px!important;
  background:#1c2128!important;
  border-bottom:1px solid rgba(255,255,255,.065)!important;
  color:#7f8996!important;
  font-size:8.7px!important;
  font-weight:720!important;
  letter-spacing:.45px!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row){
  transition:background .12s ease!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row){
  transition:background .12s ease!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row):hover{
  background:#21262d!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row):hover{
  background:#21262d!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td{
  min-height:48px!important;
  padding:12px 13px!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
  color:#c4cbd4!important;
  font-size:10.4px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td{
  min-height:48px!important;
  padding:12px 13px!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
  color:#c4cbd4!important;
  font-size:10.4px!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){
  color:#f1f3f5!important;
  font-weight:700!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){
  color:#f1f3f5!important;
  font-weight:700!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-charge-meta{
  margin-top:4px!important;
  color:#9aa4b0!important;
  font-size:8.9px!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-charge-meta{
  margin-top:4px!important;
  color:#9aa4b0!important;
  font-size:8.9px!important;
  font-weight:600!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card{
  margin:0!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:10px!important;
  background:#1c2128!important;
  overflow:hidden!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card{
  margin:0!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:10px!important;
  background:#1c2128!important;
  overflow:hidden!important;
}

/* light mode */
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card{background:#fff!important;border-color:#dfe3e8!important;box-shadow:0 10px 28px rgba(15,23,42,.05)!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card{background:#fff!important;border-color:#dfe3e8!important;box-shadow:0 10px 28px rgba(15,23,42,.05)!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2{border-color:#e7eaee!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2{border-color:#e7eaee!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 > div:first-child > div:last-child{color:#7b8490!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 > div:first-child > div:last-child{color:#7b8490!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{background:#fff!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{background:#fff!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .dperiod{background:#f8f9fb!important;border-color:#dfe3e8!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .dperiod{background:#f8f9fb!important;border-color:#dfe3e8!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{background:#f8f9fb!important;border-color:#e0e4e9!important;box-shadow:none!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-title{color:#171a1f!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-sub,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-label{color:#76808c!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{background:#fff!important;border-color:#dce1e7!important;color:#4f5966!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{background:#fff!important;border-color:#dde2e8!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover{background:#f7f8fa!important;border-color:#cbd2da!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{background:#f3f5f7!important;border-color:#bcc4ce!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon{background:#f5f6f8!important;border-color:#e0e4e9!important;color:#5d6773!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{color:#303740!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{color:#303740!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-charge-card-caption{color:#7d8793!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{color:#111827!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-charge-card-arrow{color:#a0a7b0!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{background:#fff!important;border-color:#dde2e8!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{background:#fff!important;border-color:#dde2e8!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-title{color:#333a43!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-title{color:#333a43!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{color:#7c8692!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{color:#7c8692!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table-wrap{background:#fff!important;border-color:#e5e8ec!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table-wrap{background:#fff!important;border-color:#e5e8ec!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th{background:#f7f8fa!important;border-color:#e7eaee!important;color:#7a8490!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{background:#f7f8fa!important;border-color:#e7eaee!important;color:#7a8490!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row):hover{background:#fafbfc!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row):hover{background:#fafbfc!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td{border-color:#eef0f2!important;color:#4b5563!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td{border-color:#eef0f2!important;color:#4b5563!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){color:#171a1f!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){color:#171a1f!important}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcela-detail-card{background:#fbfcfd!important;border-color:#e2e6eb!important}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card{background:#fbfcfd!important;border-color:#e2e6eb!important}

@media(max-width:1180px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{grid-template-columns:1fr!important}
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{min-height:66px!important}
}
@media(max-width:760px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{margin:0 10px 12px!important;padding:12px!important}
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-head{flex-direction:column!important}
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{align-items:stretch!important;flex-direction:column!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{align-items:stretch!important;flex-direction:column!important}
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-copy{justify-content:space-between!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-copy{justify-content:space-between!important}
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{width:100%!important;justify-content:center!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{width:100%!important;justify-content:center!important}
}


/* ===== v3206-parcelamentos-icons-fonts ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{
  padding:18px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-title{
  font-size:15px !important;
  font-weight:780 !important;
  letter-spacing:-.18px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-sub{
  margin-top:5px !important;
  font-size:11.8px !important;
  line-height:1.45 !important;
  font-weight:560 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-label{
  font-size:11px !important;
  font-weight:650 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-context-label{
  font-size:11px !important;
  font-weight:650 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{
  height:34px !important;
  min-height:34px !important;
  padding:0 12px !important;
  font-size:11.2px !important;
  font-weight:700 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  gap:12px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  grid-template-columns:40px minmax(0,1fr) auto 16px !important;
  gap:12px !important;
  min-height:82px !important;
  padding:14px 15px !important;
  border-radius:12px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon{
  width:40px !important;
  height:40px !important;
  border-radius:10px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon svg{
  width:18px !important;
  height:18px !important;
  stroke-width:1.9 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  font-size:13.2px !important;
  line-height:1.18 !important;
  font-weight:760 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  font-size:13.2px !important;
  line-height:1.18 !important;
  font-weight:760 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-caption{
  font-size:11.2px !important;
  line-height:1.3 !important;
  font-weight:560 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  min-width:34px !important;
  font-size:30px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:-.6px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-arrow{
  font-size:22px !important;
}

/* cores profissionais por card */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(1) .cob-charge-card-icon{
  color:#7cc4ff !important;
  border-color:rgba(124,196,255,.22) !important;
  background:rgba(124,196,255,.10) !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(2) .cob-charge-card-icon{
  color:#f4b55f !important;
  border-color:rgba(244,181,95,.22) !important;
  background:rgba(244,181,95,.10) !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(3) .cob-charge-card-icon{
  color:#8ec5a9 !important;
  border-color:rgba(142,197,169,.24) !important;
  background:rgba(142,197,169,.10) !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(1) .cob-charge-card-arrow{ color:#7cc4ff !important; opacity:.72; }
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(2) .cob-charge-card-arrow{ color:#f4b55f !important; opacity:.72; }
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(3) .cob-charge-card-arrow{ color:#8ec5a9 !important; opacity:.72; }

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active:nth-child(1) .cob-charge-card-icon{
  color:#9ed5ff !important;
  border-color:rgba(158,213,255,.34) !important;
  background:rgba(124,196,255,.16) !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active:nth-child(2) .cob-charge-card-icon{
  color:#ffd089 !important;
  border-color:rgba(255,208,137,.34) !important;
  background:rgba(244,181,95,.16) !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active:nth-child(3) .cob-charge-card-icon{
  color:#a8dbc1 !important;
  border-color:rgba(168,219,193,.34) !important;
  background:rgba(142,197,169,.16) !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  padding:12px 14px !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  padding:12px 14px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-title{
  font-size:12.2px !important;
  font-weight:760 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-title{
  font-size:12.2px !important;
  font-weight:760 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  font-size:11.2px !important;
  font-weight:620 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  font-size:11.2px !important;
  font-weight:620 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  height:34px !important;
  min-height:34px !important;
  padding:0 14px !important;
  font-size:11.3px !important;
  font-weight:760 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  height:34px !important;
  min-height:34px !important;
  padding:0 14px !important;
  font-size:11.3px !important;
  font-weight:760 !important;
}

/* light mode */
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-sub{
  color:#66707c !important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-label{
  color:#6c7581 !important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-context-label{
  color:#6c7581 !important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(1) .cob-charge-card-icon{
  color:#2d74b9 !important;
  border-color:rgba(45,116,185,.16) !important;
  background:rgba(45,116,185,.08) !important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(2) .cob-charge-card-icon{
  color:#b87412 !important;
  border-color:rgba(184,116,18,.16) !important;
  background:rgba(184,116,18,.08) !important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(3) .cob-charge-card-icon{
  color:#2d7e61 !important;
  border-color:rgba(45,126,97,.16) !important;
  background:rgba(45,126,97,.08) !important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(1) .cob-charge-card-arrow{ color:#2d74b9 !important; opacity:.75; }
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(2) .cob-charge-card-arrow{ color:#b87412 !important; opacity:.75; }
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(3) .cob-charge-card-arrow{ color:#2d7e61 !important; opacity:.75; }


/* ===== v3207-parcelamentos-padrao-sistema ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{
  padding:15px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-title{
  font-size:12.4px !important;
  font-weight:760 !important;
  letter-spacing:-.1px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-sub{
  margin-top:4px !important;
  font-size:10.2px !important;
  line-height:1.4 !important;
  font-weight:540 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-context-label{
  font-size:9.8px !important;
  font-weight:620 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-context-label{
  font-size:9.8px !important;
  font-weight:620 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-back-btn{
  height:30px !important;
  min-height:30px !important;
  padding:0 10px !important;
  font-size:9.9px !important;
  font-weight:680 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-cards{
  gap:10px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card{
  grid-template-columns:34px minmax(0,1fr) auto 14px !important;
  gap:10px !important;
  min-height:72px !important;
  padding:11px 12px !important;
  border-radius:10px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon{
  width:34px !important;
  height:34px !important;
  border-radius:9px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-icon svg{
  width:15px !important;
  height:15px !important;
  stroke-width:1.8 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  font-size:10.8px !important;
  line-height:1.18 !important;
  font-weight:720 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  font-size:10.8px !important;
  line-height:1.18 !important;
  font-weight:720 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-caption{
  font-size:9.4px !important;
  line-height:1.25 !important;
  font-weight:540 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  min-width:30px !important;
  font-size:22px !important;
  line-height:1 !important;
  font-weight:790 !important;
  letter-spacing:-.45px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-arrow{
  font-size:19px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  padding:10px 12px !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-charge-actions{
  padding:10px 12px !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-title{
  font-size:10.2px !important;
  font-weight:700 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-title{
  font-size:10.2px !important;
  font-weight:700 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  font-size:9.6px !important;
  font-weight:600 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  font-size:9.6px !important;
  font-weight:600 !important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-send-btn{
  height:31px !important;
  min-height:31px !important;
  padding:0 12px !important;
  font-size:9.9px !important;
  font-weight:720 !important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-send-btn{
  height:31px !important;
  min-height:31px !important;
  padding:0 12px !important;
  font-size:9.9px !important;
  font-weight:720 !important;
}


/* ===== v3208-alerta-vencimentos-dia ===== */
.system-pro-v3 .cob-parcelamentos-tab-alert{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}
.system-pro-v3 .cob-vencimentos-tab-badge{
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(124,196,255,.24);
  background:rgba(124,196,255,.11);
  color:#91ceff;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:9px;
  line-height:1;
  font-weight:800;
}
.system-pro-v3 .cob-due-toast{
  position:fixed;
  top:78px;
  right:20px;
  z-index:2600;
  width:min(370px,calc(100vw - 32px));
  padding:14px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 26px;
  gap:11px;
  align-items:start;
  border:1px solid rgba(124,196,255,.20);
  border-radius:13px;
  background:#202326;
  box-shadow:0 18px 48px rgba(0,0,0,.34);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.system-pro-v3 .cob-due-toast.show{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.system-pro-v3 .cob-due-toast-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(124,196,255,.22);
  border-radius:10px;
  background:rgba(124,196,255,.10);
  color:#7cc4ff;
}
.system-pro-v3 .cob-due-toast-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.system-pro-v3 .cob-due-toast-title{
  margin-top:1px;
  color:#f3f5f7;
  font-size:12px;
  line-height:1.25;
  font-weight:780;
}
.system-pro-v3 .cob-due-toast-text{
  margin-top:4px;
  color:#a1aab6;
  font-size:10.5px;
  line-height:1.45;
  font-weight:540;
}
.system-pro-v3 .cob-due-toast-action{
  margin-top:10px;
  height:31px;
  padding:0 11px;
  border:1px solid rgba(124,196,255,.22);
  border-radius:8px;
  background:rgba(124,196,255,.09);
  color:#9fd5ff;
  font:700 10px/1 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  cursor:pointer;
}
.system-pro-v3 .cob-due-toast-action:hover{
  background:rgba(124,196,255,.14);
  border-color:rgba(124,196,255,.32);
}
.system-pro-v3 .cob-due-toast-close{
  width:26px;
  height:26px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#747f8c;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}
.system-pro-v3 .cob-due-toast-close:hover{
  background:rgba(255,255,255,.05);
  color:#d2d7dd;
}
body[data-theme=light].system-pro-v3 .cob-vencimentos-tab-badge{
  border-color:rgba(45,116,185,.18);
  background:rgba(45,116,185,.08);
  color:#2d74b9;
}
body[data-theme=light].system-pro-v3 .cob-due-toast{
  border-color:#d6e6f5;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.12);
}
body[data-theme=light].system-pro-v3 .cob-due-toast-icon{
  border-color:rgba(45,116,185,.16);
  background:rgba(45,116,185,.08);
  color:#2d74b9;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-title{color:#17202a}
body[data-theme=light].system-pro-v3 .cob-due-toast-text{color:#66717d}
body[data-theme=light].system-pro-v3 .cob-due-toast-action{
  border-color:rgba(45,116,185,.18);
  background:rgba(45,116,185,.07);
  color:#2d74b9;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close{color:#8a949f}
body[data-theme=light].system-pro-v3 .cob-due-toast-close:hover{
  background:#f2f4f6;
  color:#3b4652;
}
@media(max-width:760px){
  .system-pro-v3 .cob-due-toast{
    top:68px;
    right:10px;
    width:calc(100vw - 20px);
  }
}


/* ===== v3209-toast-vencimentos-animado ===== */
.system-pro-v3 .cob-due-toast{
  opacity:0!important;
  transform:translate3d(0,-14px,0) scale(.975)!important;
  filter:blur(2px)!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:
    opacity .32s cubic-bezier(.2,.8,.2,1),
    transform .38s cubic-bezier(.2,.8,.2,1),
    filter .30s ease,
    visibility 0s linear .38s!important;
}
.system-pro-v3 .cob-due-toast.show{
  opacity:1!important;
  transform:translate3d(0,0,0) scale(1)!important;
  filter:blur(0)!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transition:
    opacity .32s cubic-bezier(.2,.8,.2,1),
    transform .38s cubic-bezier(.2,.8,.2,1),
    filter .30s ease,
    visibility 0s!important;
}
.system-pro-v3 .cob-due-toast-icon{
  transition:transform .28s ease, box-shadow .28s ease!important;
}
.system-pro-v3 .cob-due-toast.show .cob-due-toast-icon{
  animation:cobDueIconIn .46s cubic-bezier(.2,.8,.2,1) .08s both;
}
.system-pro-v3 .cob-due-toast.show .cob-due-toast-title,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-text,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-action{
  animation:cobDueContentIn .42s cubic-bezier(.2,.8,.2,1) .10s both;
}
@keyframes cobDueIconIn{
  from{opacity:.35;transform:translateY(-3px) scale(.90)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes cobDueContentIn{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  .system-pro-v3 .cob-due-toast,
  .system-pro-v3 .cob-due-toast.show{
    transition:opacity .15s ease!important;
    transform:none!important;
    filter:none!important;
  }
  .system-pro-v3 .cob-due-toast.show .cob-due-toast-icon,
  .system-pro-v3 .cob-due-toast.show .cob-due-toast-title,
  .system-pro-v3 .cob-due-toast.show .cob-due-toast-text,
  .system-pro-v3 .cob-due-toast.show .cob-due-toast-action{
    animation:none!important;
  }
}


/* ===== v3210-fix-status-mensagem ===== */
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) #cobParcelasMensagemHead{
  display:none!important;
}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio #cobParcelasMensagemHead{
  display:table-cell!important;
}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-msg-mini-status{
  display:inline-flex!important;
}


/* ===== v3211-toast-vencimentos-premium ===== */
.system-pro-v3 .cob-due-toast{
  top:74px!important;
  right:18px!important;
  width:min(336px,calc(100vw - 28px))!important;
  padding:0!important;
  display:block!important;
  overflow:hidden!important;
  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:14px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008)),
    #1f2225!important;
  box-shadow:
    0 20px 50px rgba(0,0,0,.30),
    0 2px 8px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.028)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
.system-pro-v3 .cob-due-toast::before{
  content:''!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:3px!important;
  background:linear-gradient(180deg,#66b8f3 0%,#4d96d2 100%)!important;
}
.system-pro-v3 .cob-due-toast-inner{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 24px!important;
  gap:10px!important;
  align-items:start!important;
  padding:13px 13px 12px 14px!important;
}
.system-pro-v3 .cob-due-toast-icon{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  border:1px solid rgba(102,184,243,.18)!important;
  background:rgba(102,184,243,.09)!important;
  color:#78c4f7!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.system-pro-v3 .cob-due-toast-icon svg{
  width:17px!important;
  height:17px!important;
  stroke-width:1.8!important;
}
.system-pro-v3 .cob-due-toast-main{
  min-width:0!important;
  padding-top:1px!important;
}
.system-pro-v3 .cob-due-toast-title-row{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
}
.system-pro-v3 .cob-due-toast-title{
  margin:0!important;
  color:#f4f6f8!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  font-weight:760!important;
  letter-spacing:-.08px!important;
}
.system-pro-v3 .cob-due-toast-count{
  min-width:20px!important;
  height:19px!important;
  padding:0 6px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(102,184,243,.20)!important;
  border-radius:999px!important;
  background:rgba(102,184,243,.09)!important;
  color:#8fcef7!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:800!important;
}
.system-pro-v3 .cob-due-toast-text{
  margin-top:4px!important;
  color:#929ca8!important;
  font-size:9.9px!important;
  line-height:1.42!important;
  font-weight:540!important;
}
.system-pro-v3 .cob-due-toast-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-top:10px!important;
}
.system-pro-v3 .cob-due-toast-hint{
  color:#68727e!important;
  font-size:8.8px!important;
  line-height:1.2!important;
  font-weight:570!important;
  white-space:nowrap!important;
}
.system-pro-v3 .cob-due-toast-action{
  margin:0!important;
  height:29px!important;
  min-height:29px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid rgba(102,184,243,.18)!important;
  border-radius:8px!important;
  background:rgba(102,184,243,.075)!important;
  color:#92cef6!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:9.6px!important;
  line-height:1!important;
  font-weight:720!important;
  box-shadow:none!important;
}
.system-pro-v3 .cob-due-toast-action:hover{
  border-color:rgba(102,184,243,.28)!important;
  background:rgba(102,184,243,.12)!important;
  color:#b8def7!important;
}
.system-pro-v3 .cob-due-toast-action svg{
  width:12px!important;
  height:12px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.system-pro-v3 .cob-due-toast-close{
  width:24px!important;
  height:24px!important;
  margin-top:-2px!important;
  border-radius:7px!important;
  color:#626d78!important;
  font-size:15px!important;
}
.system-pro-v3 .cob-due-toast-close:hover{
  background:rgba(255,255,255,.045)!important;
  color:#c4cbd3!important;
}

/* entrada mais refinada */
.system-pro-v3 .cob-due-toast{
  transform:translate3d(10px,-6px,0) scale(.985)!important;
}
.system-pro-v3 .cob-due-toast.show{
  transform:translate3d(0,0,0) scale(1)!important;
}

/* light mode */
body[data-theme=light].system-pro-v3 .cob-due-toast{
  border-color:#dce3ea!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.96)),
    #fff!important;
  box-shadow:
    0 18px 44px rgba(15,23,42,.12),
    0 2px 8px rgba(15,23,42,.05)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast::before{
  background:linear-gradient(180deg,#4d9bd3 0%,#397fb3 100%)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-icon{
  border-color:rgba(61,135,190,.16)!important;
  background:rgba(61,135,190,.075)!important;
  color:#397fb3!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-title{
  color:#1f2933!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-count{
  border-color:rgba(61,135,190,.16)!important;
  background:rgba(61,135,190,.07)!important;
  color:#397fb3!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-text{
  color:#66717d!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-hint{
  color:#98a1ab!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action{
  border-color:rgba(61,135,190,.16)!important;
  background:rgba(61,135,190,.065)!important;
  color:#397fb3!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action:hover{
  border-color:rgba(61,135,190,.24)!important;
  background:rgba(61,135,190,.10)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close{
  color:#9ba4ae!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close:hover{
  background:#f1f3f5!important;
  color:#59636f!important;
}
@media(max-width:760px){
  .system-pro-v3 .cob-due-toast{
    top:66px!important;
    right:8px!important;
    width:calc(100vw - 16px)!important;
  }
}


/* ===== v3212-toast-central-vivo ===== */
.system-pro-v3 .cob-due-toast{
  top:18px!important;
  left:50%!important;
  right:auto!important;
  width:min(430px,calc(100vw - 28px))!important;
  border:1px solid rgba(255,154,46,.28)!important;
  border-radius:16px!important;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(255,164,66,.18) 0%, rgba(255,164,66,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.010)),
    #1f2226!important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.34),
    0 8px 24px rgba(255,154,46,.12),
    inset 0 1px 0 rgba(255,255,255,.035)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;

  /* estado inicial: centralizado, vindo de cima */
  transform:translate3d(-50%,-28px,0) scale(.975)!important;
}
.system-pro-v3 .cob-due-toast.show{
  transform:translate3d(-50%,0,0) scale(1)!important;
}
.system-pro-v3 .cob-due-toast::before{
  left:0!important;
  top:0!important;
  right:0!important;
  bottom:auto!important;
  width:auto!important;
  height:3px!important;
  background:linear-gradient(90deg,#ff922e 0%, #ffb84d 48%, #ffd36e 100%)!important;
}
.system-pro-v3 .cob-due-toast-inner{
  grid-template-columns:42px minmax(0,1fr) 26px!important;
  gap:12px!important;
  padding:14px 14px 13px 15px!important;
}
.system-pro-v3 .cob-due-toast-icon{
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,167,71,.24)!important;
  background:linear-gradient(180deg, rgba(255,158,52,.18), rgba(255,158,52,.08))!important;
  color:#ffb24e!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 6px 18px rgba(255,158,52,.10)!important;
}
.system-pro-v3 .cob-due-toast-icon svg{
  width:18px!important;
  height:18px!important;
  stroke-width:1.9!important;
}
.system-pro-v3 .cob-due-toast-title{
  color:#fff4e8!important;
  font-size:12.8px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:-.12px!important;
}
.system-pro-v3 .cob-due-toast-count{
  min-width:22px!important;
  height:20px!important;
  padding:0 6px!important;
  border:1px solid rgba(255,176,78,.26)!important;
  background:rgba(255,176,78,.12)!important;
  color:#ffbf67!important;
  font-size:9.4px!important;
  font-weight:800!important;
}
.system-pro-v3 .cob-due-toast-text{
  margin-top:5px!important;
  color:#d7b28a!important;
  font-size:10.4px!important;
  line-height:1.45!important;
  font-weight:560!important;
}
.system-pro-v3 .cob-due-toast-footer{
  margin-top:11px!important;
  align-items:center!important;
}
.system-pro-v3 .cob-due-toast-hint{
  color:#b18658!important;
  font-size:9px!important;
  font-weight:650!important;
}
.system-pro-v3 .cob-due-toast-action{
  height:31px!important;
  min-height:31px!important;
  padding:0 12px!important;
  border:1px solid rgba(255,176,78,.30)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg, rgba(255,166,64,.18), rgba(255,166,64,.12))!important;
  color:#ffd29a!important;
  font-size:10px!important;
  font-weight:780!important;
  box-shadow:0 6px 18px rgba(255,166,64,.10)!important;
}
.system-pro-v3 .cob-due-toast-action:hover{
  border-color:rgba(255,188,105,.40)!important;
  background:linear-gradient(180deg, rgba(255,176,78,.25), rgba(255,176,78,.16))!important;
  color:#fff1dd!important;
}
.system-pro-v3 .cob-due-toast-close{
  width:26px!important;
  height:26px!important;
  color:#b18a60!important;
}
.system-pro-v3 .cob-due-toast-close:hover{
  background:rgba(255,176,78,.08)!important;
  color:#ffd29a!important;
}

/* Entrada mais “descendo de cima pra baixo” */
.system-pro-v3 .cob-due-toast{
  transition:
    opacity .34s cubic-bezier(.2,.85,.2,1),
    transform .42s cubic-bezier(.18,.88,.2,1),
    filter .30s ease,
    visibility 0s linear .42s!important;
}
.system-pro-v3 .cob-due-toast.show .cob-due-toast-icon{
  animation:cobDueIconDropIn .46s cubic-bezier(.18,.88,.2,1) .06s both;
}
.system-pro-v3 .cob-due-toast.show .cob-due-toast-title-row,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-text,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-footer{
  animation:cobDueContentDropIn .42s cubic-bezier(.18,.88,.2,1) .10s both;
}
@keyframes cobDueIconDropIn{
  from{opacity:.15;transform:translateY(-10px) scale(.92)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes cobDueContentDropIn{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}

/* Light mode */
body[data-theme=light].system-pro-v3 .cob-due-toast{
  border-color:#ffd4a6!important;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(255,176,78,.14) 0%, rgba(255,176,78,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,250,252,.97)),
    #fff!important;
  box-shadow:
    0 18px 44px rgba(15,23,42,.14),
    0 8px 18px rgba(255,166,64,.10)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast::before{
  background:linear-gradient(90deg,#f28a21 0%, #f5a63c 50%, #f7bb58 100%)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-icon{
  border-color:rgba(242,138,33,.18)!important;
  background:rgba(242,138,33,.08)!important;
  color:#d97812!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-title{
  color:#5d3307!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-count{
  border-color:rgba(242,138,33,.18)!important;
  background:rgba(242,138,33,.08)!important;
  color:#c66c0f!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-text{
  color:#8a653b!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-hint{
  color:#bb8a59!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action{
  border-color:rgba(242,138,33,.20)!important;
  background:rgba(242,138,33,.08)!important;
  color:#c96d0d!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action:hover{
  background:rgba(242,138,33,.12)!important;
  color:#a95908!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close{
  color:#b1885b!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close:hover{
  background:#fff3e4!important;
  color:#925109!important;
}

@media(max-width:760px){
  .system-pro-v3 .cob-due-toast{
    top:12px!important;
    left:50%!important;
    right:auto!important;
    width:calc(100vw - 16px)!important;
    transform:translate3d(-50%,-24px,0) scale(.98)!important;
  }
  .system-pro-v3 .cob-due-toast.show{
    transform:translate3d(-50%,0,0) scale(1)!important;
  }
}


/* ===== v3213-toast-banner-pro ===== */
.system-pro-v3 .cob-due-toast{
  top:18px!important;
  left:50%!important;
  right:auto!important;
  width:min(560px,calc(100vw - 28px))!important;
  padding:0!important;
  overflow:hidden!important;

  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:12px!important;
  background:#111315!important;

  box-shadow:
    0 18px 48px rgba(0,0,0,.36),
    0 3px 12px rgba(0,0,0,.20)!important;

  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;

  transform:translate3d(-50%,-24px,0) scale(.985)!important;
}

.system-pro-v3 .cob-due-toast.show{
  transform:translate3d(-50%,0,0) scale(1)!important;
}

/* linha viva de alerta */
.system-pro-v3 .cob-due-toast::before{
  content:''!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:4px!important;
  height:auto!important;
  background:#ef4444!important;
}

.system-pro-v3 .cob-due-toast-inner{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto 24px!important;
  gap:11px!important;
  align-items:center!important;
  padding:12px 12px 12px 15px!important;
}

/* ícone */
.system-pro-v3 .cob-due-toast-icon{
  width:36px!important;
  height:36px!important;
  border-radius:9px!important;
  border:1px solid rgba(239,68,68,.20)!important;
  background:rgba(239,68,68,.10)!important;
  color:#ff6b6b!important;
  box-shadow:none!important;
}
.system-pro-v3 .cob-due-toast-icon svg{
  width:17px!important;
  height:17px!important;
  stroke-width:1.85!important;
}

/* conteúdo */
.system-pro-v3 .cob-due-toast-main{
  min-width:0!important;
  padding:0!important;
}
.system-pro-v3 .cob-due-toast-title-row{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
}
.system-pro-v3 .cob-due-toast-title{
  margin:0!important;
  color:#f7f7f8!important;
  font-size:12.2px!important;
  line-height:1.2!important;
  font-weight:780!important;
  letter-spacing:-.08px!important;
}
.system-pro-v3 .cob-due-toast-count{
  min-width:20px!important;
  height:19px!important;
  padding:0 6px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(239,68,68,.23)!important;
  border-radius:999px!important;
  background:rgba(239,68,68,.10)!important;
  color:#ff8181!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:800!important;
}
.system-pro-v3 .cob-due-toast-text{
  margin-top:4px!important;
  color:#9da4ad!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:540!important;
}

/* CTA na mesma linha */
.system-pro-v3 .cob-due-toast-footer{
  display:contents!important;
}
.system-pro-v3 .cob-due-toast-hint{
  display:none!important;
}
.system-pro-v3 .cob-due-toast-action{
  grid-column:3!important;
  grid-row:1!important;
  margin:0!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;

  border:1px solid rgba(239,68,68,.28)!important;
  border-radius:8px!important;
  background:rgba(239,68,68,.08)!important;
  color:#ff8b8b!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:9.8px!important;
  line-height:1!important;
  font-weight:720!important;

  box-shadow:none!important;
  white-space:nowrap!important;
}
.system-pro-v3 .cob-due-toast-action:hover{
  border-color:rgba(239,68,68,.40)!important;
  background:rgba(239,68,68,.14)!important;
  color:#ffb0b0!important;
}
.system-pro-v3 .cob-due-toast-action svg{
  width:12px!important;
  height:12px!important;
  stroke-width:2!important;
}

/* fechar */
.system-pro-v3 .cob-due-toast-close{
  grid-column:4!important;
  grid-row:1!important;
  align-self:center!important;
  width:24px!important;
  height:24px!important;
  margin:0!important;
  border-radius:7px!important;
  color:#666d76!important;
  font-size:15px!important;
}
.system-pro-v3 .cob-due-toast-close:hover{
  background:rgba(255,255,255,.05)!important;
  color:#d7dbe0!important;
}

/* entrada limpa, de cima para baixo */
.system-pro-v3 .cob-due-toast{
  transition:
    opacity .28s cubic-bezier(.2,.8,.2,1),
    transform .34s cubic-bezier(.2,.8,.2,1),
    visibility 0s linear .34s!important;
}
.system-pro-v3 .cob-due-toast.show .cob-due-toast-icon,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-title-row,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-text,
.system-pro-v3 .cob-due-toast.show .cob-due-toast-footer{
  animation:none!important;
}

/* light mode */
body[data-theme=light].system-pro-v3 .cob-due-toast{
  border-color:#e1e4e8!important;
  background:#ffffff!important;
  box-shadow:
    0 16px 38px rgba(15,23,42,.14),
    0 3px 10px rgba(15,23,42,.06)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast::before{
  background:#dc2626!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-icon{
  border-color:rgba(220,38,38,.16)!important;
  background:rgba(220,38,38,.07)!important;
  color:#c62828!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-title{
  color:#20242a!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-count{
  border-color:rgba(220,38,38,.16)!important;
  background:rgba(220,38,38,.06)!important;
  color:#c62828!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-text{
  color:#69717a!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action{
  border-color:rgba(220,38,38,.18)!important;
  background:rgba(220,38,38,.05)!important;
  color:#b91c1c!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action:hover{
  background:rgba(220,38,38,.09)!important;
  color:#991b1b!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close{
  color:#9299a1!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close:hover{
  background:#f2f4f6!important;
  color:#414850!important;
}

/* responsivo */
@media(max-width:640px){
  .system-pro-v3 .cob-due-toast{
    top:10px!important;
    width:calc(100vw - 16px)!important;
  }
  .system-pro-v3 .cob-due-toast-inner{
    grid-template-columns:34px minmax(0,1fr) 24px!important;
    padding:11px 10px 11px 13px!important;
  }
  .system-pro-v3 .cob-due-toast-icon{
    width:32px!important;
    height:32px!important;
  }
  .system-pro-v3 .cob-due-toast-action{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    margin-top:8px!important;
  }
  .system-pro-v3 .cob-due-toast-close{
    grid-column:3!important;
    grid-row:1!important;
  }
}


/* ===== v3214-tipografia-global-inter ===== */
:root{
  --john-font-ui:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --john-font-body:14px;
  --john-font-small:12px;
  --john-font-xs:11px;
}

/* Base global */
html,
body.system-pro-v3,
.system-pro-v3{
  font-family:var(--john-font-ui)!important;
  font-size:var(--john-font-body)!important;
}

/* Campos, filtros e controles */
.system-pro-v3 input:not([type="checkbox"]):not([type="radio"]),
.system-pro-v3 select,
.system-pro-v3 textarea,
.system-pro-v3 button,
.system-pro-v3 .fs,
.system-pro-v3 .dperiod,
.system-pro-v3 .dptext{
  font-family:var(--john-font-ui)!important;
  font-size:14px!important;
}

/* Tabelas: padrão principal do sistema */
.system-pro-v3 table{
  font-family:var(--john-font-ui)!important;
}
.system-pro-v3 table tbody td,
.system-pro-v3 .tsc tbody td,
.system-pro-v3 .cob-parcelas-table tbody td,
.system-pro-v3 .cob-acordos-table tbody td,
.system-pro-v3 .cob-msg-history-table tbody td{
  font-family:var(--john-font-ui)!important;
  font-size:14px!important;
  line-height:1.45!important;
}
.system-pro-v3 table thead th,
.system-pro-v3 .tsc thead th,
.system-pro-v3 .cob-parcelas-table thead th,
.system-pro-v3 .cob-acordos-table thead th,
.system-pro-v3 .cob-msg-history-table thead th{
  font-family:var(--john-font-ui)!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
}

/* Badges, status e chips */
.system-pro-v3 .badge,
.system-pro-v3 [class*="badge"],
.system-pro-v3 [class*="status-badge"],
.system-pro-v3 [class*="status-pill"],
.system-pro-v3 [class*="status-chip"],
.system-pro-v3 .cob-parcela-status-badge,
.system-pro-v3 .cob-msg-mini-status,
.system-pro-v3 .cob-vencimentos-tab-badge,
.system-pro-v3 .cob-due-toast-count{
  font-family:var(--john-font-ui)!important;
  font-size:12px!important;
  line-height:1!important;
}

/* Navegação */
.system-pro-v3 .drawer-tab,
.system-pro-v3 .cob-tab,
.system-pro-v3 .cob-subtab,
.system-pro-v3 .cob-msg-subtab,
.system-pro-v3 .sb-item,
.system-pro-v3 .cfg-nav-item{
  font-family:var(--john-font-ui)!important;
  font-size:13px!important;
}

/* Botões */
.system-pro-v3 .fbtn,
.system-pro-v3 .hbtn,
.system-pro-v3 .hist-icon-btn,
.system-pro-v3 .cob-parcelas-back-btn,
.system-pro-v3 .cob-parcelas-send-btn,
.system-pro-v3 .cob-due-toast-action{
  font-family:var(--john-font-ui)!important;
  font-size:12px!important;
  font-weight:700!important;
}

/* Labels, legendas e textos auxiliares */
.system-pro-v3 label,
.system-pro-v3 .fl,
.system-pro-v3 .flabel,
.system-pro-v3 .field-label,
.system-pro-v3 .filter-label,
.system-pro-v3 small,
.system-pro-v3 .sub,
.system-pro-v3 .helper,
.system-pro-v3 .hint{
  font-family:var(--john-font-ui)!important;
  font-size:12px!important;
  line-height:1.4!important;
}

/* Conteúdo comum de cards/drawers */
.system-pro-v3 .drawer-panel,
.system-pro-v3 .modal-card,
.system-pro-v3 .tc,
.system-pro-v3 .cc{
  font-family:var(--john-font-ui)!important;
}

/* Cobranças — títulos e textos */
.system-pro-v3 #page-renegociacao .cob-page-title,
.system-pro-v3 #page-renegociacao h1{
  font-size:20px!important;
  line-height:1.2!important;
}
.system-pro-v3 #page-renegociacao .cob-page-sub,
.system-pro-v3 #page-renegociacao .cob-parcelas-card > .th2 > div:first-child > div:last-child{
  font-size:12px!important;
  line-height:1.4!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2 .tt{
  font-size:14px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2 .tt{
  font-size:14px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-title{
  font-size:14px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection-sub{
  font-size:12px!important;
}

/* Cards de vencimento: coerentes com o padrão, sem ficarem gigantes */
.system-pro-v3 #cobPanelParcelamentos .cob-card-eyebrow{
  font-size:13px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-card-eyebrow{
  font-size:13px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-charge-card-caption{
  font-size:12px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card strong{
  font-size:24px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-action-title{
  font-size:12px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-action-title{
  font-size:12px!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-selected-count{
  font-size:12px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-selected-count{
  font-size:12px!important;
}

/* Drawer de Acordos */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-name{
  font-size:18px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-sub,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-section-title,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-meta{
  font-size:12px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay input,
.system-pro-v3 #cobAcordoDrawerOverlay select,
.system-pro-v3 #cobAcordoDrawerOverlay textarea{
  font-size:14px!important;
}

/* Modais e telas administrativas */
.system-pro-v3 .modal-title,
.system-pro-v3 .imp-confirm-title,
.system-pro-v3 .cfg-content-title,
.system-pro-v3 .ct,
.system-pro-v3 .tt{
  font-family:var(--john-font-ui)!important;
}
.system-pro-v3 .modal-title,
.system-pro-v3 .imp-confirm-title{
  font-size:16px!important;
}
.system-pro-v3 .modal-body,
.system-pro-v3 .imp-confirm-body,
.system-pro-v3 .cfg-content,
.system-pro-v3 .nr{
  font-family:var(--john-font-ui)!important;
  font-size:14px!important;
  line-height:1.5!important;
}

/* Toast segue a mesma escala */
.system-pro-v3 .cob-due-toast-title{
  font-size:14px!important;
}
.system-pro-v3 .cob-due-toast-text{
  font-size:12px!important;
}
.system-pro-v3 .cob-due-toast-hint{
  font-size:11px!important;
}

/* Não altera elementos técnicos monoespaçados */
.system-pro-v3 code,
.system-pro-v3 pre,
.system-pro-v3 kbd,
.system-pro-v3 samp,
.system-pro-v3 .fin-code-box{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono',monospace!important;
}

/* Responsivo: mantém legibilidade sem inflar */
@media(max-width:760px){
  html,
  body.system-pro-v3,
  .system-pro-v3{
    font-size:14px!important;
  }
  .system-pro-v3 input:not([type="checkbox"]):not([type="radio"]),
  .system-pro-v3 select,
  .system-pro-v3 textarea,
  .system-pro-v3 button{
    font-size:14px!important;
  }
}


/* ===== v3215-alerta-vencimentos-redesign ===== */
.system-pro-v3 .cob-due-toast{
  position:fixed!important;
  top:16px!important;
  left:50%!important;
  right:auto!important;
  width:min(620px,calc(100vw - 32px))!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(239,68,68,.22)!important;
  border-radius:14px!important;
  background:#14171b!important;
  box-shadow:
    0 20px 56px rgba(0,0,0,.38),
    0 8px 22px rgba(0,0,0,.18)!important;
  transform:translate3d(-50%,-18px,0) scale(.985)!important;
  z-index:2600!important;
}
.system-pro-v3 .cob-due-toast.show{
  transform:translate3d(-50%,0,0) scale(1)!important;
}
.system-pro-v3 .cob-due-toast::before{
  content:''!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:4px!important;
  background:linear-gradient(180deg,#ff5e5e 0%, #ef4444 100%)!important;
}

/* estrutura */
.system-pro-v3 .cob-due-toast-inner{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) auto 26px!important;
  gap:14px!important;
  align-items:center!important;
  padding:14px 16px 14px 18px!important;
}
.system-pro-v3 .cob-due-toast-icon{
  width:40px!important;
  height:40px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:11px!important;
  border:1px solid rgba(239,68,68,.24)!important;
  background:rgba(239,68,68,.10)!important;
  color:#ff6b6b!important;
  box-shadow:none!important;
}
.system-pro-v3 .cob-due-toast-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.system-pro-v3 .cob-due-toast-main{
  min-width:0!important;
}
.system-pro-v3 .cob-due-toast-title-row{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}
.system-pro-v3 .cob-due-toast-title{
  margin:0!important;
  color:#f7f8fa!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:780!important;
  letter-spacing:-.15px!important;
}
.system-pro-v3 .cob-due-toast-count{
  min-width:22px!important;
  height:22px!important;
  padding:0 7px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid rgba(239,68,68,.22)!important;
  background:rgba(239,68,68,.11)!important;
  color:#ff8b8b!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
}
.system-pro-v3 .cob-due-toast-text{
  margin-top:5px!important;
  color:#b0b8c2!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:500!important;
}

.system-pro-v3 .cob-due-toast-footer{
  display:none!important;
}
.system-pro-v3 .cob-due-toast-hint{
  display:none!important;
}

.system-pro-v3 .cob-due-toast-action{
  height:36px!important;
  min-height:36px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(239,68,68,.28)!important;
  border-radius:10px!important;
  background:rgba(239,68,68,.12)!important;
  color:#ff9e9e!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:760!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.system-pro-v3 .cob-due-toast-action:hover{
  border-color:rgba(239,68,68,.40)!important;
  background:rgba(239,68,68,.18)!important;
  color:#ffd0d0!important;
}
.system-pro-v3 .cob-due-toast-action svg{
  width:13px!important;
  height:13px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.system-pro-v3 .cob-due-toast-close{
  width:26px!important;
  height:26px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#7f8892!important;
  font-size:16px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.system-pro-v3 .cob-due-toast-close:hover{
  background:rgba(255,255,255,.05)!important;
  color:#dce1e6!important;
}

/* animação refinada */
.system-pro-v3 .cob-due-toast{
  opacity:0!important;
  filter:blur(1.5px)!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:
    opacity .26s cubic-bezier(.2,.8,.2,1),
    transform .34s cubic-bezier(.2,.8,.2,1),
    filter .22s ease,
    visibility 0s linear .34s!important;
}
.system-pro-v3 .cob-due-toast.show{
  opacity:1!important;
  filter:blur(0)!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transition:
    opacity .26s cubic-bezier(.2,.8,.2,1),
    transform .34s cubic-bezier(.2,.8,.2,1),
    filter .22s ease,
    visibility 0s!important;
}

/* light mode */
body[data-theme=light].system-pro-v3 .cob-due-toast{
  border-color:rgba(220,38,38,.16)!important;
  background:#ffffff!important;
  box-shadow:
    0 18px 42px rgba(15,23,42,.14),
    0 6px 16px rgba(15,23,42,.06)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast::before{
  background:linear-gradient(180deg,#ef4444 0%, #dc2626 100%)!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-icon{
  border-color:rgba(220,38,38,.16)!important;
  background:rgba(220,38,38,.07)!important;
  color:#d63a3a!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-title{
  color:#1f2933!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-count{
  border-color:rgba(220,38,38,.16)!important;
  background:rgba(220,38,38,.06)!important;
  color:#c82b2b!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-text{
  color:#66717d!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action{
  border-color:rgba(220,38,38,.18)!important;
  background:rgba(220,38,38,.06)!important;
  color:#c62828!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-action:hover{
  background:rgba(220,38,38,.10)!important;
  color:#a61f1f!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close{
  color:#98a1ab!important;
}
body[data-theme=light].system-pro-v3 .cob-due-toast-close:hover{
  background:#f2f4f6!important;
  color:#49515a!important;
}

@media(max-width:760px){
  .system-pro-v3 .cob-due-toast{
    top:10px!important;
    width:calc(100vw - 16px)!important;
  }
  .system-pro-v3 .cob-due-toast-inner{
    grid-template-columns:38px minmax(0,1fr) 24px!important;
    gap:10px!important;
    padding:12px 12px 12px 14px!important;
  }
  .system-pro-v3 .cob-due-toast-action{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:8px!important;
  }
  .system-pro-v3 .cob-due-toast-close{
    grid-column:3!important;
    grid-row:1!important;
    align-self:start!important;
  }
}


/* ===== v3217-acordos-tipografia-14px ===== */
/* Cabeçalho da tabela */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}

/* Corpo: base de 14px */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
  line-height:1.4!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
}

/* Nome do aluno */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno strong,
.system-pro-v3 #cobPanelAcordos .cob-v319-aluno strong{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:720!important;
}

/* RA / quantidade de acordos: secundário */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno span,
.system-pro-v3 #cobPanelAcordos .cob-v319-aluno span{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:560!important;
}

/* Curso */
.system-pro-v3 #cobPanelAcordos .cob-acordo-course,
.system-pro-v3 #cobPanelAcordos .cob-v319-course{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:500!important;
}

/* Responsável */
.system-pro-v3 #cobPanelAcordos .cob-acordo-resp,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn span{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:600!important;
}

/* Valor do acordo */
.system-pro-v3 #cobPanelAcordos .cob-acordo-money{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:760!important;
}

/* Data da abordagem / registrar agora */
.system-pro-v3 #cobPanelAcordos .cob-acordo-date strong,
.system-pro-v3 #cobPanelAcordos .cob-abordagem-date strong,
.system-pro-v3 #cobPanelAcordos .cob-abordagem-register{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
  line-height:1.3!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordo-date span,
.system-pro-v3 #cobPanelAcordos .cob-abordagem-date span{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
}

/* ID permanece compacto, mas legível */
.system-pro-v3 #cobPanelAcordos .cob-acordo-id{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
}

/* Tags */
.system-pro-v3 #cobPanelAcordos .cob-tags-empty,
.system-pro-v3 #cobPanelAcordos .cob-tag-chip,
.system-pro-v3 #cobPanelAcordos .cob-tag-chip.compact,
.system-pro-v3 #cobPanelAcordos .cob-tags-cell-btn{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1.2!important;
}

/* Origem / Status / Acordo atual: chips continuam menores que o conteúdo */
.system-pro-v3 #cobPanelAcordos .cob-inline-origin,
.system-pro-v3 #cobPanelAcordos .cob-status-btn,
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn,
.system-pro-v3 #cobPanelAcordos .cob-acordo-chip{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:700!important;
}

/* Melhora um pouco o espaço visual da linha sem inflar a tela */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr{
  min-height:54px!important;
}

/* Textos genéricos internos que ainda vinham de versões antigas em rem */
.system-pro-v3 #cobPanelAcordos .cob-mini-kv>strong,
.system-pro-v3 #cobPanelAcordos .cob-v319-obs{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:14px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-mini-kv>span{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
}


/* ===== v3218-vencimento-dia-enxuto ===== */
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table-wrap{
  min-height:250px!important;
}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio #cobParcelasBody > tr.cob-hoje-row{
  cursor:default!important;
}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio #cobParcelasBody > tr.cob-hoje-row > td{
  padding-top:14px!important;
  padding-bottom:14px!important;
  vertical-align:middle!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela strong{
  color:var(--tx);
  font-size:14px;
  line-height:1.2;
  font-weight:720;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela span{
  color:var(--t3);
  font-size:12px;
  line-height:1.25;
  font-weight:560;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno strong{
  color:var(--tx);
  font-size:14px;
  line-height:1.2;
  font-weight:720;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno span{
  color:var(--t3);
  font-size:12px;
  line-height:1.25;
  font-weight:540;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-vencimento{
  color:var(--tx);
  font-size:14px;
  font-weight:650;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-vencimento small{
  display:block;
  margin-top:3px;
  color:#7cc4ff;
  font-size:11px!important;
  font-weight:680;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-valor{
  color:var(--tx);
  font-size:14px;
  font-weight:740;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-valor small{
  display:block;
  margin-top:3px;
  color:var(--t3);
  font-size:11px!important;
  font-weight:540;
}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcela-detail-row{
  display:none!important;
}

/* No modo Hoje não há seta/expansão: a própria linha já é a parcela. */
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcela-charge-check{
  width:15px!important;
  height:15px!important;
}

/* Status "Não enviada" neutro e limpo */
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.none{
  border-color:rgba(148,163,184,.16)!important;
  background:rgba(148,163,184,.055)!important;
  color:#929ca8!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.none{
  border-color:rgba(148,163,184,.16)!important;
  background:rgba(148,163,184,.055)!important;
  color:#929ca8!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.none::before{
  background:#77818d!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.none::before{
  background:#77818d!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-msg-mini-status.none{
  border-color:#d9dee5!important;
  background:#f5f6f8!important;
  color:#68727e!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-msg-mini-status.none{
  border-color:#d9dee5!important;
  background:#f5f6f8!important;
  color:#68727e!important;
}


/* ===== v3219-drawer-acordos-tipografia-13px ===== */
.system-pro-v3 #cobAcordoDrawerOverlay,
.system-pro-v3 #cobAcordoDrawerOverlay .drawer-panel,
.system-pro-v3 #cobAcordoDrawerOverlay button,
.system-pro-v3 #cobAcordoDrawerOverlay input,
.system-pro-v3 #cobAcordoDrawerOverlay select,
.system-pro-v3 #cobAcordoDrawerOverlay textarea{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}

/* Cabeçalho do aluno */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-name{
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:760!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-sub{
  font-size:13px!important;
  line-height:1.35!important;
}

/* Abas: Atendimento / Agenda / Histórico */
.system-pro-v3 #cobAcordoDrawerOverlay .drawer-tabs{
  min-height:48px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .drawer-tab{
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:680!important;
  padding:12px 10px!important;
}

/* Jornada do atendimento */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-title{
  font-size:11px!important;
  line-height:1.2!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  font-size:12px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  font-size:12px!important;
  line-height:1.25!important;
}

/* Resumo Status / Responsável / Origem / Última base */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item span,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top span{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong{
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:700!important;
}

/* Etapas / cards principais */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-kicker{
  font-size:11px!important;
  line-height:1.2!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-title{
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:760!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-sub{
  font-size:13px!important;
  line-height:1.45!important;
}

/* Dados do acordo */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item strong{
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-top strong{
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:720!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-meta{
  font-size:12px!important;
  line-height:1.35!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-meta b{
  font-size:12px!important;
}

/* Botões */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-secondary-action,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-open-parcelas,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer button,
.system-pro-v3 #cobAcordoDrawerOverlay .fbtn{
  font-size:13px!important;
  line-height:1!important;
  font-weight:700!important;
}

/* Formulários */
.system-pro-v3 #cobAcordoDrawerOverlay .fl,
.system-pro-v3 #cobAcordoDrawerOverlay .field-label{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .fs,
.system-pro-v3 #cobAcordoDrawerOverlay .dperiod,
.system-pro-v3 #cobAcordoDrawerOverlay textarea.fs{
  font-size:13px!important;
  line-height:1.4!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-hint{
  font-size:12px!important;
  line-height:1.4!important;
}

/* Histórico de renegociações */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-title,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-title-wrap strong{
  font-size:13px!important;
  line-height:1.3!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-sub,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-meta,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-head time{
  font-size:12px!important;
  line-height:1.35!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta span{
  font-size:11px!important;
  line-height:1.25!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-history-card-meta strong{
  font-size:13px!important;
  line-height:1.3!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-total,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-legend,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-history-state-v112{
  font-size:12px!important;
}

/* Linha do histórico de renegociações atual/anteriores */
.system-pro-v3 #cobAcordoDrawerOverlay [class*="reneg"] strong,
.system-pro-v3 #cobAcordoDrawerOverlay [class*="agreement"] strong{
  font-size:13px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay [class*="reneg"] span,
.system-pro-v3 #cobAcordoDrawerOverlay [class*="agreement"] span{
  font-size:11px!important;
}

/* Agenda */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-title{
  font-size:14px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-sub,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-help{
  font-size:12px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-value,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-status{
  font-size:13px!important;
}

/* Rodapé */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
  font-size:13px!important;
}

/* Responsivo sem reduzir a legibilidade */
@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .drawer-tab,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-info-item strong,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-meta,
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button{
    font-size:13px!important;
  }
}


/* ===== v3220-vencimento-dia-acordo ===== */
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela-meta{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:1px;
  color:var(--t3);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:12px;
  line-height:1.3;
  font-weight:560;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-acordo{
  color:#9eb7cf;
  font-weight:680;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-meta-sep{
  color:#626d78;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-hoje-acordo{
  color:#506c86;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-hoje-meta-sep{
  color:#9aa3ad;
}


/* ===== v3221-botoes-padrao-global ===== */
/*
  Aplicamos o padrão aos botões de AÇÃO.
  Navegação, abas, cards clicáveis, status/chips, paginação e
  botões exclusivamente de ícone mantêm suas dimensões próprias.
*/
.system-pro-v3 button:not(.sb-item):not(.sb-foot-btn):not(.drawer-tab):not(.drawer-subtab):not(.cob-msg-subtab):not(.cfg-nav-item):not(.cob-parcelamentos-tab-alert):not(.cob-parcelas-charge-card):not(.cob-help-card):not(.pc-qtd-btn):not(.pc-toggle-btn):not(.pb):not(.dpnav):not(.dpclear):not(.dpapply):not(.hist-icon-btn):not(.hbtn):not(.theme-toggle-btn):not(.drawer-close):not(.cob-drawer-close):not(.cob-np-close):not(.cob-installment-close):not(.cob-msg-history-close):not(.cob-clear-neg-x):not(.search-clear):not(.copy-btn):not(.imp-file-clear):not(.dc-remove-field):not(.cob-base-delete-btn):not(.cfg-tag-action-btn):not(.cob-page-arrow):not(.cob-status-btn):not(.cob-inline-choice-btn):not(.cob-tags-cell-btn):not(.cob-clear-field-btn):not(.cob-responsavel-inline-btn):not(.sys-dialog-close):not(.cob-relatorio-close):not(.cob-dash-detail-close):not(.cob-due-toast-close):not(.mpw-eye):not(.cob-weekly-toggle):not(.cob-notif-bell):not(.cob-notif-tab):not(.cob-notif-item):not(.cob-notif-clear):not(.sb-v228-rail-btn):not(.sb-v228-bottom-btn):not(.sb-v228-collapse):not(.sb-v228-context-item):not(.imp-hist-more-btn):not(.imp-hist-row-menu-item):not(.imp-acomp-chip){
  box-sizing:border-box!important;
  min-height:32px!important;
  height:32px!important;
  padding:8px 20px!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;

  border-radius:8px!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:14px!important;
  font-weight:650!important;
  letter-spacing:0!important;

  white-space:nowrap!important;
}

/* Botões que já são a base principal do sistema */
.system-pro-v3 .fbtn,
.system-pro-v3 .btn,
.system-pro-v3 .btn-base,
.system-pro-v3 .primary-btn,
.system-pro-v3 .secondary-btn,
.system-pro-v3 .action-btn,
.system-pro-v3 .cfg-primary-btn,
.system-pro-v3 .cob-page-btn,
.system-pro-v3 .cob-drawer-secondary-action,
.system-pro-v3 .cob-drawer-save,
.system-pro-v3 .cob-drawer-open-parcelas,
.system-pro-v3 .cob-agenda-clear,
.system-pro-v3 .cob-drawer-clear-neg,
.system-pro-v3 .cob-drawer-delete-person,
.system-pro-v3 .cob-np-cancel,
.system-pro-v3 .cob-np-save,
.system-pro-v3 .cob-clear-neg-cancel,
.system-pro-v3 .cob-clear-neg-confirm,
.system-pro-v3 .cob-installment-cancel,
.system-pro-v3 .cob-installment-confirm,
.system-pro-v3 .cob-relatorio-open-btn,
.system-pro-v3 .cob-acordos-new,
.system-pro-v3 .cob-acordos-add-person,
.system-pro-v3 .cob-acordos-clear,
.system-pro-v3 .cob-parcelas-back-btn,
.system-pro-v3 .cob-parcelas-send-btn,
.system-pro-v3 .cob-tags-picker-trigger,
.system-pro-v3 .cob-msg-send-btn,
.system-pro-v3 .cob-tags-manage-link,
.system-pro-v3 .cob-tags-apply-btn,
.system-pro-v3 .cob-help-back,
.system-pro-v3 .cob-avista-undo-btn,
.system-pro-v3 .cob-avista-paid-btn,
.system-pro-v3 .cob-msg-hist-delete-btn,
.system-pro-v3 .sys-dialog-cancel,
.system-pro-v3 .sys-dialog-confirm,
.system-pro-v3 .cob-relatorio-preview-btn,
.system-pro-v3 .cob-relatorio-pdf-btn,
.system-pro-v3 .login-submit-btn{
  box-sizing:border-box!important;
  min-height:32px!important;
  height:32px!important;
  padding:8px 20px!important;
  border-radius:8px!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:14px!important;
  font-weight:650!important;
  letter-spacing:0!important;
}

/* SVGs em botões textuais: tamanho padronizado, sem alterar a cor */
.system-pro-v3 .fbtn svg,
.system-pro-v3 .btn svg,
.system-pro-v3 .btn-base svg,
.system-pro-v3 .primary-btn svg,
.system-pro-v3 .secondary-btn svg,
.system-pro-v3 .action-btn svg,
.system-pro-v3 .cfg-primary-btn svg,
.system-pro-v3 .cob-page-btn svg,
.system-pro-v3 .cob-drawer-save svg,
.system-pro-v3 .cob-parcelas-back-btn svg,
.system-pro-v3 .cob-parcelas-send-btn svg,
.system-pro-v3 .cob-msg-send-btn svg,
.system-pro-v3 .sys-dialog-confirm svg,
.system-pro-v3 .cob-due-toast-action svg{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
}

/* Ações agrupadas mantêm espaçamento uniforme */
.system-pro-v3 .sys-dialog-actions,
.system-pro-v3 .imp-confirm-actions,
.system-pro-v3 .mpw-actions,
.system-pro-v3 .pc-wizard-foot,
.system-pro-v3 .cob-installment-actions,
.system-pro-v3 .cob-agenda-actions,
.system-pro-v3 .cob-msg-actions,
.system-pro-v3 .cob-proof-actions,
.system-pro-v3 .cob-drawer-agreement-actions,
.system-pro-v3 .cob-parcela-value-actions,
.system-pro-v3 .cob-responsavel-actions{
  gap:8px!important;
}

/*
  Botões full-width continuam full-width.
  Só padronizamos a altura/tipografia, sem forçar largura.
*/
.system-pro-v3 .login-submit-btn,
.system-pro-v3 .imp-confirm-actions .fbtn,
.system-pro-v3 .mpw-actions .fbtn,
.system-pro-v3 .pc-wizard-foot .fbtn{
  min-height:32px!important;
}

/* Mobile: mesma régua; não infla os controles */
@media(max-width:760px){
  .system-pro-v3 button:not(.sb-item):not(.sb-foot-btn):not(.drawer-tab):not(.drawer-subtab):not(.cob-msg-subtab):not(.cfg-nav-item):not(.cob-parcelamentos-tab-alert):not(.cob-parcelas-charge-card):not(.cob-help-card):not(.pc-qtd-btn):not(.pc-toggle-btn):not(.pb):not(.dpnav):not(.dpclear):not(.dpapply):not(.hist-icon-btn):not(.hbtn):not(.theme-toggle-btn):not(.drawer-close):not(.cob-drawer-close):not(.cob-np-close):not(.cob-installment-close):not(.cob-msg-history-close):not(.cob-clear-neg-x):not(.search-clear):not(.copy-btn):not(.imp-file-clear):not(.dc-remove-field):not(.cob-base-delete-btn):not(.cfg-tag-action-btn):not(.cob-page-arrow):not(.cob-status-btn):not(.cob-inline-choice-btn):not(.cob-tags-cell-btn):not(.cob-clear-field-btn):not(.cob-responsavel-inline-btn):not(.sys-dialog-close):not(.cob-relatorio-close):not(.cob-dash-detail-close):not(.cob-due-toast-close):not(.mpw-eye):not(.cob-weekly-toggle):not(.cob-notif-bell):not(.cob-notif-tab):not(.cob-notif-item):not(.cob-notif-clear):not(.sb-v228-rail-btn):not(.sb-v228-bottom-btn):not(.sb-v228-collapse):not(.sb-v228-context-item):not(.imp-hist-more-btn):not(.imp-hist-row-menu-item):not(.imp-acomp-chip){
    min-height:32px!important;
    height:32px!important;
    padding:8px 16px!important;
    font-size:12px!important;
  }
}


/* ===== v3222-drawer-acordo-refinado ===== */
/* Mais respiro e menos peso visual geral */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-scroll{
  padding:18px 20px 84px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage{
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:14px!important;
  background:#1f2123!important;
  box-shadow:none!important;
  padding:18px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-head{
  margin-bottom:14px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-kicker{
  color:#f97316!important;
  font-size:10.5px!important;
  font-weight:800!important;
  letter-spacing:.05em!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-title{
  margin-top:4px!important;
  font-size:17px!important;
  font-weight:780!important;
  letter-spacing:-.18px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-sub{
  margin-top:4px!important;
  color:#858d96!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}

/* Jornada mais elegante e menos dominante */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-card{
  padding:14px 16px 13px!important;
  border-radius:13px!important;
  background:#1e2022!important;
  border-color:rgba(255,255,255,.08)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-title{
  margin-bottom:11px!important;
  color:#737c87!important;
  font-size:10px!important;
  font-weight:780!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
  gap:5px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  width:27px!important;
  height:27px!important;
  font-size:11px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  font-size:11.5px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i{
  margin-top:13px!important;
  opacity:.65!important;
}

/* Overview vira uma faixa compacta, não quatro caixas pesadas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview{
  margin:12px 0 14px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:12px!important;
  background:#232527!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div{
  min-height:58px!important;
  padding:11px 13px!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  background:transparent!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div:last-child{
  border-right:0!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main span{
  color:#737c87!important;
  font-size:9.5px!important;
  font-weight:760!important;
  letter-spacing:.04em!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong{
  margin-top:5px!important;
  color:#f2f4f6!important;
  font-size:12.5px!important;
  font-weight:700!important;
}

/* ===== Acordo atual ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-card{
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:13px!important;
  background:#1c2128!important;
  box-shadow:none!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-hero{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:15px 16px 14px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-kicker{
  color:#747e89!important;
  font-size:9.5px!important;
  font-weight:760!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-title{
  margin-top:5px!important;
  color:#f4f6f8!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:780!important;
  letter-spacing:-.15px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-date{
  margin-top:4px!important;
  color:#7f8994!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  font-weight:560!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total{
  flex:0 0 auto!important;
  min-width:132px!important;
  padding-left:14px!important;
  text-align:right!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total span{
  display:block!important;
  color:#747e89!important;
  font-size:9.5px!important;
  font-weight:760!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total strong{
  display:block!important;
  margin-top:5px!important;
  color:#f4f6f8!important;
  font-size:17px!important;
  line-height:1.15!important;
  font-weight:800!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-facts{
  display:grid!important;
  grid-template-columns:1.15fr 1fr .72fr!important;
  gap:0!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  background:rgba(255,255,255,.012)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact{
  min-width:0!important;
  padding:11px 14px!important;
  border-right:1px solid rgba(255,255,255,.075)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact:last-child{
  border-right:0!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact span{
  display:block!important;
  color:#747e89!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:720!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact strong{
  display:block!important;
  margin-top:4px!important;
  color:#dfe3e7!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:680!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions{
  margin-top:10px!important;
  gap:8px!important;
}

/* ===== Histórico de renegociações ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history{
  margin-top:18px!important;
  padding-top:16px!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-head{
  align-items:flex-start!important;
  margin-bottom:10px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-title{
  color:#e7eaed!important;
  font-size:13px!important;
  font-weight:740!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-sub{
  max-width:440px!important;
  margin-top:3px!important;
  color:#777f89!important;
  font-size:10.5px!important;
  line-height:1.4!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-count{
  height:24px!important;
  min-width:auto!important;
  padding:0 8px!important;
  display:inline-flex!important;
  align-items:center!important;
  border-radius:999px!important;
  border:1px solid rgba(249,115,22,.20)!important;
  background:rgba(249,115,22,.07)!important;
  color:#f58a43!important;
  font-size:9.5px!important;
  font-weight:740!important;
}

/* Timeline mais leve */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-node{
  grid-template-columns:20px minmax(0,1fr)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-rail{
  width:20px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-dot{
  width:9px!important;
  height:9px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card{
  margin:4px 0 8px!important;
  padding:11px 12px!important;
  border-radius:11px!important;
  background:#232527!important;
  border-color:rgba(255,255,255,.075)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-node.active .cob-reneg-card{
  border-color:rgba(34,197,94,.27)!important;
  background:linear-gradient(180deg,rgba(34,197,94,.025),rgba(255,255,255,.008)),#232527!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card-top{
  gap:8px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card-title{
  color:#e9ecef!important;
  font-size:12px!important;
  font-weight:730!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px 12px!important;
  margin-top:8px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:5px!important;
  min-width:0!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item span{
  color:#717a85!important;
  font-size:9.5px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item strong{
  color:#d9dde1!important;
  font-size:11px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin-top:9px!important;
  padding-top:9px!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance > div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance span{
  color:#717a85!important;
  font-size:9.5px!important;
  font-weight:650!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance strong{
  color:#e1e5e8!important;
  font-size:11px!important;
  font-weight:700!important;
}
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-replaced-note{
  margin-top:8px!important;
  padding:7px 8px!important;
  border-radius:7px!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}

/* Footer menos chamativo, mas claro */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
  min-height:56px!important;
  padding:10px 14px!important;
  background:#161b22!important;
  border-top-color:rgba(255,255,255,.09)!important;
}

/* Light */
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-card{
  background:#fff!important;
  border-color:#e1e5ea!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-card,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card{
  background:#fafbfc!important;
  border-color:#e0e4e9!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-title,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total strong,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card-title{
  color:#20262d!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact strong,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item strong,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance strong{
  color:#3e4853!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-facts{
  background:#f7f8fa!important;
  border-color:#e4e7eb!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-scroll{padding:14px 12px 82px!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main{grid-template-columns:1fr 1fr!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div:nth-child(2){border-right:0!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-hero{flex-direction:column!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total{text-align:left!important;padding-left:0!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-facts{grid-template-columns:1fr!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact:last-child{border-bottom:0!important}
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance{grid-template-columns:1fr!important}
}


/* ===== v3223-fix-bolinhas-jornada ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey{
  align-items:center!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-width:92px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  padding:0!important;
  border-radius:999px!important;
  aspect-ratio:1 / 1!important;
  line-height:1!important;
  flex:0 0 28px!important;

  font-size:11px!important;
  font-weight:700!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  text-align:center!important;
  line-height:1.2!important;
}

/* conectores alinhados no centro das bolinhas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i{
  align-self:flex-start!important;
  margin-top:13px!important;
  height:1px!important;
  flex:1 1 56px!important;
}

/* mobile */
@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
    min-width:72px!important;
    gap:6px!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    height:26px!important;
    min-height:26px!important;
    max-height:26px!important;
    flex:0 0 26px!important;
  }
}


/* ===== v3224-fix-jornada-overflow ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey{
  display:flex!important;
  align-items:flex-start!important;
  min-height:50px!important;
}

/* A jornada NÃO usa a altura global de 32px dos botões de ação */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
  width:auto!important;
  min-width:86px!important;
  height:auto!important;
  min-height:50px!important;
  max-height:none!important;

  padding:0!important;
  margin:0!important;

  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;

  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

/* bolinha fixa */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  flex:0 0 28px!important;

  padding:0!important;
  margin:0!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  border-radius:50%!important;
  box-sizing:border-box!important;
  line-height:1!important;
}

/* rótulo fica dentro da altura real do botão */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  display:block!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  position:static!important;
  transform:none!important;
}

/* conectores centralizados na bolinha */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i{
  align-self:flex-start!important;
  flex:1 1 48px!important;
  height:1px!important;
  min-height:1px!important;
  margin:13.5px 4px 0!important;
}

/* garante espaço interno correto do card */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-card{
  overflow:visible!important;
  padding-bottom:14px!important;
}

@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
    min-width:68px!important;
    min-height:48px!important;
    gap:5px!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    height:26px!important;
    min-height:26px!important;
    max-height:26px!important;
    flex-basis:26px!important;
  }
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i{
    margin-top:12.5px!important;
  }
}


/* ===== v3225-central-notificacoes-vencimento-dia ===== */
.system-pro-v3 .cob-notif-wrap{position:relative;display:flex;align-items:center;justify-content:center;margin:2px 8px 4px}
.system-pro-v3 .cob-notif-bell{
  position:relative;width:38px!important;min-width:38px!important;max-width:38px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;padding:0!important;
  border:0!important;border-radius:9px!important;background:transparent!important;color:var(--t2)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;transition:.16s ease
}
.system-pro-v3 .cob-notif-bell:hover,.system-pro-v3 .cob-notif-bell.active{color:var(--tx)!important;background:rgba(255,255,255,.055)!important}
.system-pro-v3 .cob-notif-bell svg{width:19px;height:19px;flex:0 0 19px}
.system-pro-v3 .cob-notif-badge{
  position:absolute;top:1px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:999px;
  background:#ef4444;color:#fff;border:2px solid var(--bg);font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:9px;line-height:13px;font-weight:800;display:none;align-items:center;justify-content:center;box-sizing:border-box
}
.system-pro-v3 .cob-notif-badge.show{display:flex}

.system-pro-v3 .cob-notif-popover{
  position:fixed;left:86px;bottom:92px;width:340px;max-width:calc(100vw - 110px);height:390px;
  max-height:calc(100vh - 140px);z-index:10080;display:none;flex-direction:column;overflow:hidden;
  border:1px solid rgba(255,255,255,.11);border-radius:12px;background:#161b22;
  box-shadow:0 18px 48px rgba(0,0,0,.34);font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif
}
.system-pro-v3 .cob-notif-popover.open{display:flex}
.system-pro-v3 .cob-notif-head{padding:14px 14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.system-pro-v3 .cob-notif-title{color:var(--tx);font-size:14px;line-height:1.25;font-weight:760;margin-bottom:10px}
.system-pro-v3 .cob-notif-tabs{display:flex;gap:18px;align-items:flex-end}
.system-pro-v3 .cob-notif-tab{
  position:relative;width:auto!important;min-width:0!important;height:34px!important;min-height:34px!important;
  padding:0 2px!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:var(--t3)!important;font-size:11px!important;line-height:34px!important;font-weight:650!important
}
.system-pro-v3 .cob-notif-tab.active{color:var(--tx)!important}
.system-pro-v3 .cob-notif-tab.active::after{
  content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:var(--ac)
}
.system-pro-v3 .cob-notif-body{flex:1;min-height:0;overflow-y:auto;padding:6px 0}
.system-pro-v3 .cob-notif-item{
  width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.055);background:transparent;padding:12px 14px;
  display:flex;gap:10px;text-align:left;cursor:pointer;transition:.14s ease
}
.system-pro-v3 .cob-notif-item:hover{background:rgba(255,255,255,.035)}
.system-pro-v3 .cob-notif-item.unread{background:rgba(249,115,22,.045)}
.system-pro-v3 .cob-notif-item-icon{
  width:30px;height:30px;min-width:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  color:#f97316;background:rgba(249,115,22,.12);margin-top:1px
}
.system-pro-v3 .cob-notif-item-icon svg{width:15px;height:15px}
.system-pro-v3 .cob-notif-item-main{min-width:0;flex:1}
.system-pro-v3 .cob-notif-item-title{display:block;color:var(--tx);font-size:12px;line-height:1.35;font-weight:700}
.system-pro-v3 .cob-notif-item-text{display:block;margin-top:3px;color:var(--t3);font-size:10.5px;line-height:1.42;font-weight:520}
.system-pro-v3 .cob-notif-item-time{display:block;margin-top:5px;color:#737b84;font-size:9.5px;line-height:1.2;font-weight:600}
.system-pro-v3 .cob-notif-unread-dot{width:7px;height:7px;min-width:7px;border-radius:50%;background:var(--ac);margin-top:8px}
.system-pro-v3 .cob-notif-empty{
  height:100%;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:20px;text-align:center;color:var(--t3)
}
.system-pro-v3 .cob-notif-empty svg{width:24px;height:24px;margin-bottom:10px;opacity:.7}
.system-pro-v3 .cob-notif-empty strong{color:var(--t2);font-size:12px;font-weight:680}
.system-pro-v3 .cob-notif-empty span{margin-top:5px;font-size:10.5px;line-height:1.4}
.system-pro-v3 .cob-notif-foot{
  min-height:44px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center
}
.system-pro-v3 .cob-notif-clear{
  width:auto!important;height:32px!important;min-height:32px!important;padding:0 12px!important;border:0!important;
  background:transparent!important;color:var(--ac)!important;font-size:11px!important;line-height:32px!important;font-weight:700!important
}
.system-pro-v3 .cob-notif-clear:hover{text-decoration:underline}

/* Toast antigo de vencimentos não aparece mais */
.system-pro-v3 .cob-due-toast{display:none!important}

body[data-theme=light].system-pro-v3 .cob-notif-popover{background:#fff;border-color:#dfe3e8;box-shadow:0 18px 48px rgba(15,23,42,.16)}
body[data-theme=light].system-pro-v3 .cob-notif-head,
body[data-theme=light].system-pro-v3 .cob-notif-foot,
body[data-theme=light].system-pro-v3 .cob-notif-item{border-color:#eef0f2}
body[data-theme=light].system-pro-v3 .cob-notif-bell:hover,
body[data-theme=light].system-pro-v3 .cob-notif-bell.active{background:#f5f6f7!important}
body[data-theme=light].system-pro-v3 .cob-notif-item:hover{background:#f8f9fa}
body[data-theme=light].system-pro-v3 .cob-notif-item.unread{background:#fff7ed}
body[data-theme=light].system-pro-v3 .cob-notif-badge{border-color:#fff}
.system-pro-v3 .sidebar.collapsed .cob-notif-wrap{margin-left:0;margin-right:0}
.system-pro-v3 .sidebar.collapsed .cob-notif-popover{left:82px}
@media(max-width:760px){
  .system-pro-v3 .cob-notif-popover{left:14px;right:14px;bottom:76px;width:auto;max-width:none}
}


/* ===== v3226-notificacoes-compactas ===== */
.system-pro-v3 .cob-notif-popover{
  width:332px!important;
  height:360px!important;
}

.system-pro-v3 .cob-notif-body{
  overflow-x:hidden!important;
}

.system-pro-v3 .cob-notif-item{
  box-sizing:border-box!important;
  max-width:100%!important;
  padding:11px 13px!important;
  gap:9px!important;
  overflow:hidden!important;
}

.system-pro-v3 .cob-notif-item-main{
  min-width:0!important;
  overflow:hidden!important;
}

.system-pro-v3 .cob-notif-item-title{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:11.5px!important;
}

.system-pro-v3 .cob-notif-item-text{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:10.5px!important;
  margin-top:2px!important;
}

.system-pro-v3 .cob-notif-item-time{
  margin-top:4px!important;
  font-size:9.5px!important;
}

.system-pro-v3 .cob-notif-item-icon{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:8px!important;
}

.system-pro-v3 .cob-notif-unread-dot{
  margin-left:2px!important;
}

@media(max-width:760px){
  .system-pro-v3 .cob-notif-popover{
    width:auto!important;
    height:360px!important;
  }
}


/* ===== v3227-fix-notificacoes-heranca-botoes ===== */
.system-pro-v3 .cob-notif-item{
  height:auto!important;
  min-height:62px!important;
  max-height:none!important;
  padding:11px 13px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  white-space:normal!important;
  line-height:normal!important;
}

.system-pro-v3 .cob-notif-item-main{
  display:block!important;
  min-width:0!important;
  white-space:normal!important;
}

.system-pro-v3 .cob-notif-item-title,
.system-pro-v3 .cob-notif-item-text,
.system-pro-v3 .cob-notif-item-time{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

.system-pro-v3 .cob-notif-item-title{
  display:block!important;
  line-height:1.32!important;
}

.system-pro-v3 .cob-notif-item-text{
  display:block!important;
  line-height:1.35!important;
}

.system-pro-v3 .cob-notif-item-time{
  display:block!important;
  line-height:1.25!important;
}

/* Controles da central mantêm dimensões próprias */
.system-pro-v3 .cob-notif-bell{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0!important;
  white-space:normal!important;
}
.system-pro-v3 .cob-notif-tab{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:0 2px!important;
}
.system-pro-v3 .cob-notif-clear{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 12px!important;
}


/* ===== v3228-sidebar-pro-contexto ===== */
.sb-v228-desktop{display:none}

@media(min-width:901px){
  .system-pro-v3 .sidebar{
    width:310px;
    min-width:310px;
    overflow:visible;
    background:#0d1117;
    border-right:1px solid rgba(255,255,255,.08);
    transition:width .18s ease,min-width .18s ease;
  }

  .system-pro-v3 .sidebar.collapsed{
    width:72px;
    min-width:72px;
  }

  /* Menu antigo fica como fallback apenas no mobile. */
  .system-pro-v3 .sidebar > .sb-brand,
  .system-pro-v3 .sidebar > .sb-nav{
    display:none!important;
  }

  .system-pro-v3 .sidebar > .sb-foot{
    position:absolute;
    left:0;
    bottom:100px;
    width:72px;
    margin:0;
    padding:0;
    border:0;
    z-index:8;
  }
  .system-pro-v3 .sidebar > .sb-foot .login-user-badge,
  .system-pro-v3 .sidebar > .sb-foot .sb-foot-btn{
    display:none!important;
  }
  .system-pro-v3 .sidebar > .sb-foot .cob-notif-wrap{
    margin:0;
    width:72px;
    display:flex;
    justify-content:center;
  }

  .system-pro-v3 .sb-v228-desktop{
    display:block;
  }

  /* ---------------- RAIL ---------------- */
  .system-pro-v3 .sb-v228-rail{
    position:absolute;
    inset:0 auto 0 0;
    width:72px;
    z-index:5;
    display:flex;
    flex-direction:column;
    align-items:center;
    background:#0d1117;
    border-right:1px solid rgba(255,255,255,.075);
  }

  .system-pro-v3 .sb-v228-brand{
    width:72px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 70px;
  }

  .system-pro-v3 .sb-v228-mark{
    width:40px;
    height:40px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(145deg,rgba(249,115,22,.20),rgba(249,115,22,.08));
    border:1px solid rgba(249,115,22,.28);
    color:#fb923c;
    font-size:20px;
    line-height:1;
    font-weight:900;
    letter-spacing:-1px;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.015);
    user-select:none;
  }

  .system-pro-v3 .sb-v228-main{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    padding:5px 0 0;
  }

  .system-pro-v3 .sb-v228-rail-btn,
  .system-pro-v3 .sb-v228-bottom-btn{
    position:relative;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    padding:0!important;
    border:1px solid transparent!important;
    border-radius:11px!important;
    background:transparent!important;
    color:#a4a7af!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer;
    transition:.14s ease;
  }

  .system-pro-v3 .sb-v228-rail-btn svg,
  .system-pro-v3 .sb-v228-bottom-btn svg{
    width:20px;
    height:20px;
  }

  .system-pro-v3 .sb-v228-rail-btn:hover,
  .system-pro-v3 .sb-v228-bottom-btn:hover{
    color:#f2f3f5!important;
    background:rgba(255,255,255,.055)!important;
  }

  .system-pro-v3 .sb-v228-rail-btn.active{
    color:#fb923c!important;
    background:rgba(249,115,22,.14)!important;
    border-color:rgba(249,115,22,.18)!important;
  }

  .system-pro-v3 .sb-v228-rail-btn.active::before{
    content:'';
    position:absolute;
    left:-13px;
    width:3px;
    height:22px;
    border-radius:0 3px 3px 0;
    background:#f97316;
  }

  .system-pro-v3 .sb-v228-bottom{
    margin-top:auto;
    width:72px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    padding:0 0 10px;
  }

  .system-pro-v3 .sb-v228-bottom-btn.danger:hover{
    color:#f87171!important;
    background:rgba(239,68,68,.08)!important;
  }

  /* ---------------- CONTEXTO ---------------- */
  .system-pro-v3 .sb-v228-context{
    position:absolute;
    top:0;
    left:72px;
    bottom:0;
    width:238px;
    z-index:4;
    display:flex;
    flex-direction:column;
    background:#161b22;
    overflow:hidden;
    opacity:1;
    transform:translateX(0);
    transition:opacity .14s ease,transform .18s ease;
  }

  .system-pro-v3 .sidebar.collapsed .sb-v228-context{
    opacity:0;
    transform:translateX(-12px);
    pointer-events:none;
  }

  .system-pro-v3 .sb-v228-context-head{
    position:relative;
    min-height:70px;
    padding:17px 44px 12px 16px;
    border-bottom:1px solid rgba(255,255,255,.065);
  }

  .system-pro-v3 .sb-v228-context-title{
    color:#f3f4f6;
    font-size:14px;
    line-height:1.2;
    font-weight:780;
    letter-spacing:-.15px;
  }

  .system-pro-v3 .sb-v228-context-sub{
    margin-top:4px;
    color:#70757e;
    font-size:9.5px;
    line-height:1.3;
    font-weight:680;
    letter-spacing:.55px;
    text-transform:uppercase;
  }

  .system-pro-v3 .sb-v228-collapse{
    position:absolute;
    right:9px;
    top:18px;
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#f97316!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer;
  }
  .system-pro-v3 .sb-v228-collapse:hover{
    background:rgba(249,115,22,.09)!important;
  }
  .system-pro-v3 .sb-v228-collapse svg{width:17px;height:17px}

  .system-pro-v3 .sb-v228-context-body{
    flex:1;
    min-height:0;
    overflow-y:auto;
    padding:14px 10px 20px;
  }

  .system-pro-v3 .sb-v228-section{
    margin-bottom:19px;
  }

  .system-pro-v3 .sb-v228-section-label{
    padding:0 9px 7px;
    color:#686d76;
    font-size:9px;
    line-height:1;
    font-weight:780;
    text-transform:uppercase;
    letter-spacing:.75px;
  }

  .system-pro-v3 .sb-v228-context-item{
    width:100%!important;
    min-height:37px!important;
    height:auto!important;
    padding:8px 9px!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#b3b6bd!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    text-align:left!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:570!important;
    white-space:normal!important;
    cursor:pointer;
    transition:.13s ease;
  }

  .system-pro-v3 .sb-v228-context-item:hover{
    color:#f2f3f5!important;
    background:rgba(255,255,255,.045)!important;
  }

  .system-pro-v3 .sb-v228-context-item.active{
    color:#fff!important;
    background:rgba(249,115,22,.105)!important;
    font-weight:680!important;
  }

  .system-pro-v3 .sb-v228-context-item-left{
    min-width:0;
    display:flex;
    align-items:center;
    gap:9px;
  }

  .system-pro-v3 .sb-v228-context-item-icon{
    width:17px;
    height:17px;
    flex:0 0 17px;
    color:#858a93;
  }

  .system-pro-v3 .sb-v228-context-item.active .sb-v228-context-item-icon{
    color:#fb923c;
  }

  .system-pro-v3 .sb-v228-context-item-text{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .system-pro-v3 .sb-v228-context-item-end{
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
    color:#666c75;
  }

  .system-pro-v3 .sb-v228-context-item-end svg{
    width:13px;
    height:13px;
  }

  .system-pro-v3 .sb-v228-mini-badge{
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(239,68,68,.13);
    color:#f87171;
    font-size:9px;
    line-height:18px;
    font-weight:800;
  }
  .system-pro-v3 .sb-v228-mini-badge.show{display:inline-flex}

  .system-pro-v3 .sb-v228-context-foot{
    flex:0 0 auto;
    padding:12px 12px 13px;
    border-top:1px solid rgba(255,255,255,.065);
  }

  .system-pro-v3 .sb-v228-user{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
  }

  .system-pro-v3 .sb-v228-avatar{
    width:30px;
    height:30px;
    min-width:30px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25272c;
    color:#f97316;
    font-size:11px;
    font-weight:800;
  }

  .system-pro-v3 .sb-v228-user-copy{
    min-width:0;
    flex:1;
  }

  .system-pro-v3 .sb-v228-user-name{
    color:#e5e7eb;
    font-size:10.5px;
    line-height:1.25;
    font-weight:680;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .system-pro-v3 .sb-v228-user-email{
    margin-top:2px;
    color:#6f747d;
    font-size:8.8px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* Top tabs passam a morar no menu contextual no desktop. */
  .system-pro-v3 #page-importacao > main > .drawer-tabs,
  .system-pro-v3 #page-renegociacao > main > .drawer-tabs{
    display:none!important;
  }

  /* Notificação nasce visualmente no rail. */
  .system-pro-v3 .cob-notif-popover{
    left:80px!important;
  }

  /* Remove regra antiga de colapso visual dos itens legados no desktop,
     pois o desktop usa exclusivamente a nova sidebar. */
  .system-pro-v3 .sidebar.collapsed .sb-v228-rail{
    width:72px;
  }
}

/* Tema claro */
@media(min-width:901px){
  body[data-theme=light].system-pro-v3 .sidebar,
  body[data-theme=light].system-pro-v3 .sb-v228-rail{
    background:#f7f7f8;
    border-color:#e6e7e9;
  }
  body[data-theme=light].system-pro-v3 .sb-v228-context{
    background:#fff;
  }
  body[data-theme=light].system-pro-v3 .sb-v228-context-head,
  body[data-theme=light].system-pro-v3 .sb-v228-context-foot{
    border-color:#eceef0;
  }
  body[data-theme=light].system-pro-v3 .sb-v228-context-title{color:#1b1d21}
  body[data-theme=light].system-pro-v3 .sb-v228-context-item{color:#626872!important}
  body[data-theme=light].system-pro-v3 .sb-v228-context-item:hover{
    color:#17191d!important;
    background:#f4f5f6!important;
  }
  body[data-theme=light].system-pro-v3 .sb-v228-context-item.active{
    color:#9a3412!important;
    background:#fff3e9!important;
  }
  body[data-theme=light].system-pro-v3 .sb-v228-user-name{color:#24262b}
  body[data-theme=light].system-pro-v3 .sb-v228-avatar{background:#f2f3f5}
}


/* ===== v3229-sidebar-logo-menu-limpo ===== */
/* Logo original do sistema — mesma arte já embarcada no HTML */
@media(min-width:901px){
  .system-pro-v3 .sb-v228-brand{
    height:70px!important;
    min-height:70px!important;
    padding:0!important;
  }

  .system-pro-v3 .sb-v228-brand-logo{
    display:block;
    width:38px;
    height:38px;
    object-fit:contain;
    opacity:1;
    filter:none;
  }

  body[data-theme=light].system-pro-v3 .sb-v228-brand-logo{
    filter:invert(1);
  }

  /* O antigo bloco com letra J deixa de existir visualmente. */
  .system-pro-v3 .sb-v228-mark{
    display:none!important;
  }

  /* Menu contextual sem pictogramas: texto ganha alinhamento mais limpo. */
  .system-pro-v3 .sb-v228-context-item-left{
    gap:0!important;
    width:100%;
  }

  .system-pro-v3 .sb-v228-context-item-text{
    padding-left:2px;
  }

  /* DARK — ativo em cinza claro/neutro, sem laranja/vermelho. */
  .system-pro-v3 .sb-v228-context-item.active{
    color:#f0f1f3!important;
    background:rgba(255,255,255,.075)!important;
    border-color:transparent!important;
    font-weight:680!important;
  }

  .system-pro-v3 .sb-v228-context-item.active:hover{
    color:#ffffff!important;
    background:rgba(255,255,255,.095)!important;
  }

  /* Também remove qualquer cor de destaque herdada do ícone interno antigo. */
  .system-pro-v3 .sb-v228-context-item.active .sb-v228-context-item-icon{
    color:inherit!important;
  }

  /* LIGHT — ativo em cinza escuro/neutro. */
  body[data-theme=light].system-pro-v3 .sb-v228-context-item.active{
    color:#2f3338!important;
    background:#e7e9ec!important;
    border-color:transparent!important;
  }

  body[data-theme=light].system-pro-v3 .sb-v228-context-item.active:hover{
    color:#1d2024!important;
    background:#dde0e4!important;
  }
}


/* ===== v3230-sidebar-simplificada ===== */
@media(min-width:901px){

  /* Cabeçalho: somente o nome do menu */
  .system-pro-v3 .sb-v228-context-head{
    min-height:62px!important;
    padding:20px 44px 14px 16px!important;
    display:flex!important;
    align-items:flex-start!important;
  }

  .system-pro-v3 .sb-v228-context-title{
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:760!important;
    letter-spacing:-.1px!important;
  }

  .system-pro-v3 .sb-v228-context-sub{
    display:none!important;
  }

  .system-pro-v3 .sb-v228-context-body{
    padding:12px 10px 18px!important;
  }

  /* Opções do menu */
  .system-pro-v3 .sb-v228-context-item{
    min-height:39px!important;
    padding:9px 10px!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:560!important;
  }

  .system-pro-v3 .sb-v228-context-item.active{
    font-weight:680!important;
  }

  /* IMPORTAÇÕES: sem labels PROCESSAMENTO / ACOMPANHAMENTO */
  .system-pro-v3 .sb-v230-import-list{
    display:flex;
    flex-direction:column;
    gap:2px;
  }

  /* Rail principal: estado ativo totalmente neutro no dark */
  .system-pro-v3 .sb-v228-rail-btn.active{
    color:#f1f2f4!important;
    background:rgba(255,255,255,.08)!important;
    border-color:rgba(255,255,255,.09)!important;
  }

  .system-pro-v3 .sb-v228-rail-btn.active::before{
    background:#d3d5d9!important;
  }

  .system-pro-v3 .sb-v228-rail-btn.active:hover{
    color:#fff!important;
    background:rgba(255,255,255,.105)!important;
  }

  /* Tema claro: ativo em cinza escuro, sem laranja/vermelho */
  body[data-theme=light].system-pro-v3 .sb-v228-rail-btn.active{
    color:#34383d!important;
    background:#e7e9ec!important;
    border-color:#dde0e4!important;
  }

  body[data-theme=light].system-pro-v3 .sb-v228-rail-btn.active::before{
    background:#555b63!important;
  }

  body[data-theme=light].system-pro-v3 .sb-v228-rail-btn.active:hover{
    color:#202327!important;
    background:#dde0e4!important;
  }

  /* Mantém o submenu selecionado neutro */
  .system-pro-v3 .sb-v228-context-item.active{
    color:#f0f1f3!important;
    background:rgba(255,255,255,.075)!important;
  }

  body[data-theme=light].system-pro-v3 .sb-v228-context-item.active{
    color:#30343a!important;
    background:#e7e9ec!important;
  }
}


/* ===== v3230-hide-disparos ===== */
#impTabDisparosBtn{display:none!important;}


/* ===== v3231-topbar-limpa-alinhada ===== */
/* Desktop */
@media(min-width:901px){
  /*
    Uma única régua vertical:
    rail, cabeçalho contextual e topbar terminam em 62px.
  */
  .system-pro-v3 .sb-v228-brand{
    height:62px!important;
    min-height:62px!important;
    flex-basis:62px!important;
  }

  .system-pro-v3 .sb-v228-context-head{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:19px 44px 0 16px!important;
    box-sizing:border-box!important;
    border-bottom:1px solid rgba(255,255,255,.065)!important;
  }

  .system-pro-v3 .content > header{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:0!important;
    border-bottom:1px solid rgba(255,255,255,.065)!important;
    background:#161b22!important;
    display:flex!important;
    align-items:center!important;
  }

  /*
    Mantemos os elementos no DOM porque o JS existente ainda atualiza
    hTitle/hSub/themeToggleIcon. Apenas não são mais exibidos.
  */
  .system-pro-v3 .content > header .hleft > div,
  .system-pro-v3 .content > header .refresh-wrapper,
  .system-pro-v3 .content > header .twr{
    display:none!important;
  }

  .system-pro-v3 .content > header .hbtn{
    display:none!important;
  }

  /* A barra fica visualmente limpa, sem conteúdo redundante. */
  .system-pro-v3 .content > header{
    justify-content:flex-start!important;
  }

  body[data-theme=light].system-pro-v3 .content > header{
    background:#fff!important;
    border-bottom-color:#e6e7e9!important;
  }

  body[data-theme=light].system-pro-v3 .sb-v228-context-head{
    border-bottom-color:#e6e7e9!important;
  }
}

/* Mobile: mantém apenas o botão de abrir menu; tira títulos e tema do topo. */
@media(max-width:900px){
  .system-pro-v3 .content > header .hleft > div,
  .system-pro-v3 .content > header .refresh-wrapper,
  .system-pro-v3 .content > header .twr{
    display:none!important;
  }

  .system-pro-v3 .content > header{
    min-height:54px!important;
    height:54px!important;
    padding:0 14px!important;
    flex-wrap:nowrap!important;
  }

  .system-pro-v3 .content > header .hbtn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}


/* ===== v3232-header-menu-centralizado ===== */
@media(min-width:901px){
  .system-pro-v3 .sb-v228-context-head{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:0 44px 0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    box-sizing:border-box!important;
  }

  .system-pro-v3 .sb-v228-context-title{
    margin:0!important;
    padding:0!important;
    line-height:1!important;
    display:flex!important;
    align-items:center!important;
    min-height:30px;
  }

  .system-pro-v3 .sb-v228-collapse{
    top:50%!important;
    right:9px!important;
    transform:translateY(-50%)!important;
    margin:0!important;
  }
}


/* ===== v3234-previews-importacao-12px ===== */
.system-pro-v3 #page-importacao .imp-preview-card > .th2 .tt,
.system-pro-v3 #page-importacao .imp-preview-card > .th2 [id$="PreviewCount"],
.system-pro-v3 #page-importacao .imp-preview-card #dcPreviewCount,
.system-pro-v3 #page-importacao .imp-preview-card .nr,
.system-pro-v3 #page-importacao .imp-preview-card table,
.system-pro-v3 #page-importacao .imp-preview-card thead th,
.system-pro-v3 #page-importacao .imp-preview-card tbody td,
.system-pro-v3 #page-importacao .imp-preview-card .pag,
.system-pro-v3 #page-importacao .imp-preview-card .pi,
.system-pro-v3 #page-importacao .imp-preview-card .pbs,
.system-pro-v3 #page-importacao .imp-preview-card .pbs button{
  font-size:12px!important;
}

/* Mantém hierarquia por peso, não por tamanho */
.system-pro-v3 #page-importacao .imp-preview-card > .th2 .tt{
  font-weight:700!important;
}

.system-pro-v3 #page-importacao .imp-preview-card thead th{
  font-weight:700!important;
}

.system-pro-v3 #page-importacao .imp-preview-card tbody td{
  line-height:1.4!important;
}

/* Contadores continuam discretos mesmo em 12px */
.system-pro-v3 #page-importacao #impPreviewCount,
.system-pro-v3 #page-importacao #impPreviewCountVv,
.system-pro-v3 #page-importacao #dcPreviewCount{
  font-size:12px!important;
}


/* ===== v3235-paginacao-importacoes ===== */
.system-pro-v3 #page-importacao .imp-preview-card .pag{
  min-height:44px!important;
  padding:7px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  background:rgba(255,255,255,.012)!important;
}

/* O contador não é botão: remove o visual de "caixinha". */
.system-pro-v3 #page-importacao .imp-preview-card .pi{
  min-width:0!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--t3)!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

.system-pro-v3 #page-importacao .imp-preview-card .pi:hover{
  border:0!important;
  background:transparent!important;
  color:var(--t3)!important;
}

/* Grupo de páginas */
.system-pro-v3 #page-importacao .imp-preview-card .pbs{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin-left:auto!important;
}

/* Botões compactos, sem herdar dimensões globais */
.system-pro-v3 #page-importacao .imp-preview-card .pb{
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
  color:var(--t2)!important;
  background:transparent!important;
  border:1px solid var(--bd)!important;
}

.system-pro-v3 #page-importacao .imp-preview-card .pb:hover:not(:disabled){
  color:var(--tx)!important;
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(255,255,255,.18)!important;
}

/* Página atual discreta e profissional */
.system-pro-v3 #page-importacao .imp-preview-card .pb.on{
  color:var(--tx)!important;
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.17)!important;
}

.system-pro-v3 #page-importacao .imp-preview-card .pb:disabled{
  opacity:.28!important;
  cursor:default!important;
}

/* Uma única página: não mostra controles inúteis. */
.system-pro-v3 #page-importacao .imp-preview-card .pbs.is-single-page{
  display:none!important;
}

body[data-theme=light].system-pro-v3 #page-importacao .imp-preview-card .pag{
  background:rgba(0,0,0,.012)!important;
}
body[data-theme=light].system-pro-v3 #page-importacao .imp-preview-card .pb:hover:not(:disabled){
  color:#25282d!important;
  background:#f1f2f4!important;
  border-color:#d9dde2!important;
}
body[data-theme=light].system-pro-v3 #page-importacao .imp-preview-card .pb.on{
  color:#25282d!important;
  background:#e7e9ec!important;
  border-color:#d3d7dc!important;
}

@media(max-width:760px){
  .system-pro-v3 #page-importacao .imp-preview-card .pag{
    min-height:42px!important;
    padding:6px 10px!important;
  }
  .system-pro-v3 #page-importacao .imp-preview-card .pi{
    font-size:11px!important;
  }
  .system-pro-v3 #page-importacao .imp-preview-card .pb{
    width:28px!important;
    min-width:28px!important;
    max-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
  }
}


/* ===== v3236-tipografia-listas-filtros-13px ===== */
/* ---------- LISTAS / TABELAS ---------- */
.system-pro-v3 table,
.system-pro-v3 table thead th,
.system-pro-v3 table tbody td,
.system-pro-v3 .table,
.system-pro-v3 .table th,
.system-pro-v3 .table td{
  font-size:13px!important;
}

/* Cabeçalho de lista continua distinguido apenas por peso/cor. */
.system-pro-v3 table thead th,
.system-pro-v3 .table th{
  line-height:1.25!important;
  font-weight:650!important;
}

/* Dados de lista */
.system-pro-v3 table tbody td,
.system-pro-v3 .table td{
  line-height:1.4!important;
}

/* Controles textuais que vivem dentro das listas também seguem 13px. */
.system-pro-v3 table .cob-inline-choice-btn,
.system-pro-v3 table .cob-status-btn,
.system-pro-v3 table .cob-tags-cell-btn,
.system-pro-v3 table .cob-responsavel-inline-btn,
.system-pro-v3 table .cob-clear-field-btn{
  font-size:13px!important;
}

/* Histórico de execuções/importações: remove microtexto legado. */
.system-pro-v3 #page-importacao .imp-history-card > .th2 .tt,
.system-pro-v3 #page-importacao .imp-history-card thead th,
.system-pro-v3 #page-importacao .imp-history-card tbody td{
  font-size:13px!important;
}

/* ---------- FILTROS / CAMPOS OPERACIONAIS ---------- */
.system-pro-v3 .fs,
.system-pro-v3 .sdrop,
.system-pro-v3 .dperiod,
.system-pro-v3 .csel-option,
.system-pro-v3 input.fs,
.system-pro-v3 select.fs,
.system-pro-v3 textarea.fs{
  font-size:13px!important;
}

/* Labels especificamente dentro de barras/áreas de filtro. */
.system-pro-v3 [class*="filter"] .fl,
.system-pro-v3 [class*="filters"] .fl,
.system-pro-v3 [class*="filtro"] .fl,
.system-pro-v3 .dc-toolbar .fl,
.system-pro-v3 .cob-dash-toolbar .fl{
  font-size:13px!important;
  line-height:1.25!important;
}

/* Filtros customizados e botões que representam valores selecionados. */
.system-pro-v3 [class*="filter"] .cob-inline-choice-btn,
.system-pro-v3 [class*="filter"] .cob-status-btn,
.system-pro-v3 [class*="filtro"] .cob-inline-choice-btn,
.system-pro-v3 [class*="filtro"] .cob-status-btn{
  font-size:13px!important;
}

/* ---------- EXCEÇÃO: PREVIEW DAS IMPORTAÇÕES = 12PX ---------- */

.system-pro-v3 #page-importacao .imp-preview-card,
.system-pro-v3 #page-importacao .imp-preview-card table,
.system-pro-v3 #page-importacao .imp-preview-card thead th,
.system-pro-v3 #page-importacao .imp-preview-card tbody td,
.system-pro-v3 #page-importacao .imp-preview-card .nr,
.system-pro-v3 #page-importacao .imp-preview-card .pag,
.system-pro-v3 #page-importacao .imp-preview-card .pi{
  font-size:12px!important;
}


.system-pro-v3 #page-importacao .imp-preview-card .pb{
  font-size:12px!important;
}

/* Mobile não reduz listas/filtros abaixo da régua definida. */
@media(max-width:700px){
  .system-pro-v3 table thead th,
  .system-pro-v3 table tbody td,
  .system-pro-v3 .fs,
  .system-pro-v3 .sdrop,
  .system-pro-v3 .dperiod,
  .system-pro-v3 .csel-option{
    font-size:13px!important;
  }

  .system-pro-v3 #page-importacao .imp-preview-card thead th,
  .system-pro-v3 #page-importacao .imp-preview-card tbody td,
  .system-pro-v3 #page-importacao .imp-preview-card .pi,
  .system-pro-v3 #page-importacao .imp-preview-card .pb{
    font-size:12px!important;
  }
}


/* ===== v3237-ajustes-importacao-historico ===== */
/* Títulos solicitados em 12px */
.system-pro-v3 #page-importacao .imp-section-title-12{
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
}

/* Histórico: o título/subtítulo já existem no topo da página.
   Dentro do card ficam somente ações/contador. */
.system-pro-v3 #page-importacao #impPanelHist .imp-history-toolbar-only{
  min-height:48px!important;
  justify-content:flex-end!important;
  padding-left:12px!important;
  padding-right:12px!important;
}

.system-pro-v3 #page-importacao #impPanelHist .imp-history-toolbar-only > div{
  margin-left:auto!important;
}


/* ===== v3238-historico-acoes-menu ===== */
.system-pro-v3 #impPanelHist .imp-hist-actions-cell{
  text-align:center!important;
  vertical-align:middle!important;
}

.system-pro-v3 #impPanelHist .imp-hist-more-btn{
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0!important;
  border:1px solid var(--bd)!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--t2)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:1px!important;
  cursor:pointer!important;
}
.system-pro-v3 #impPanelHist .imp-hist-more-btn:hover{
  color:var(--tx)!important;
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.18)!important;
}

.system-pro-v3 .imp-hist-row-menu{
  position:fixed;
  z-index:12050;
  width:154px;
  display:none;
  padding:5px;
  border:1px solid var(--bd);
  border-radius:10px;
  background:var(--sf);
  box-shadow:0 14px 36px rgba(0,0,0,.34);
}
.system-pro-v3 .imp-hist-row-menu.open{display:block}

.system-pro-v3 .imp-hist-row-menu-item{
  width:100%!important;
  height:auto!important;
  min-height:34px!important;
  max-height:none!important;
  padding:7px 10px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--tx)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:600!important;
  text-align:left!important;
  cursor:pointer!important;
}
.system-pro-v3 .imp-hist-row-menu-item:hover:not(:disabled){
  background:rgba(255,255,255,.055)!important;
}
.system-pro-v3 .imp-hist-row-menu-item.danger{color:#ef6262!important}
.system-pro-v3 .imp-hist-row-menu-item.danger:hover{background:rgba(239,98,98,.08)!important}
.system-pro-v3 .imp-hist-row-menu-item:disabled{opacity:.38!important;cursor:not-allowed!important}

body[data-theme=light].system-pro-v3 #impPanelHist .imp-hist-more-btn:hover{
  background:#f1f2f4!important;
  border-color:#d7dade!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu{
  background:#fff!important;
  border-color:#dfe2e6!important;
  box-shadow:0 14px 36px rgba(15,23,42,.16)!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item:hover:not(:disabled){
  background:#f3f4f6!important;
}


/* ===== v3239-fundo-dark-cinza ===== */



/* ===== v3240-fundo-dark-referencia ===== */
body.system-pro-v3:not([data-theme="light"]),
body.system-pro-v3:not([data-theme="light"]) .app,
body.system-pro-v3:not([data-theme="light"]) .content,
body.system-pro-v3:not([data-theme="light"]) #page-importacao,
body.system-pro-v3:not([data-theme="light"]) #page-renegociacao,
body.system-pro-v3:not([data-theme="light"]) #page-usuarios,
body.system-pro-v3:not([data-theme="light"]) #page-configuracoes{
  background:#0d1117!important;
}

/*
  Cards permanecem separados do fundo.
  Não alteramos --sf / superfícies nesta versão para evitar
  achatar a hierarquia visual dos blocos.
*/


/* ===== v3241-historico-alinhado-menu-delicado ===== */
/* Respiro do card/tabela nas extremidades */
.system-pro-v3 #impPanelHist .tsc{
  overflow:visible!important;
}

/* Cabeçalhos centralizados e com padding uniforme */
.system-pro-v3 #impPanelHist table thead th{
  text-align:center!important;
  vertical-align:middle!important;
  padding:12px 16px!important;
  font-size:13px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}

/* Dá respiro extra nas bordas esquerda e direita */
.system-pro-v3 #impPanelHist table thead th:first-child{
  padding-left:22px!important;
}
.system-pro-v3 #impPanelHist table thead th:last-child{
  padding-right:22px!important;
}

/* Informações da lista permanecem alinhadas à esquerda */
.system-pro-v3 #impPanelHist table tbody td{
  text-align:left!important;
  vertical-align:middle!important;
  padding:12px 16px!important;
  font-size:13px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
.system-pro-v3 #impPanelHist table tbody td:first-child{
  padding-left:22px!important;
}

/* Coluna de ações é a única centralizada */
.system-pro-v3 #impPanelHist table tbody td.imp-hist-actions-cell{
  text-align:center!important;
  padding-right:22px!important;
}

/* Botão delicado em formato circular */
.system-pro-v3 #impPanelHist .imp-hist-more-btn{
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:50%!important;
  background:#21262d!important;
  color:#b9bdc5!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  transition:background .14s ease,color .14s ease,border-color .14s ease!important;
  box-shadow:none!important;
}
.system-pro-v3 #impPanelHist .imp-hist-more-btn svg{
  width:17px!important;
  height:17px!important;
  display:block!important;
}
.system-pro-v3 #impPanelHist .imp-hist-more-btn:hover{
  color:#fff!important;
  background:#3a3d44!important;
  border-color:rgba(255,255,255,.08)!important;
}

/* Menu flutuante no estilo da referência */
.system-pro-v3 .imp-hist-row-menu{
  width:168px!important;
  padding:6px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  background:#161b22!important;
  box-shadow:0 16px 38px rgba(0,0,0,.42)!important;
  overflow:hidden!important;
}

.system-pro-v3 .imp-hist-row-menu-item{
  width:100%!important;
  min-height:36px!important;
  height:auto!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#c7cad0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:560!important;
  text-align:left!important;
  cursor:pointer!important;
}
.system-pro-v3 .imp-hist-row-menu-item svg{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  opacity:.88!important;
}
.system-pro-v3 .imp-hist-row-menu-item:hover:not(:disabled){
  color:#fff!important;
  background:rgba(255,255,255,.055)!important;
}

/* Apagar fica destacado, mas sem pesar visualmente */
.system-pro-v3 .imp-hist-row-menu-item.danger{
  color:#f97316!important;
}
.system-pro-v3 .imp-hist-row-menu-item.danger:hover{
  color:#fb8b3d!important;
  background:rgba(249,115,22,.08)!important;
}

/* Tema claro */
body[data-theme=light].system-pro-v3 #impPanelHist .imp-hist-more-btn{
  background:#eceef1!important;
  color:#626871!important;
}
body[data-theme=light].system-pro-v3 #impPanelHist .imp-hist-more-btn:hover{
  background:#dfe2e6!important;
  color:#24272c!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu{
  background:#fff!important;
  border-color:#dfe2e6!important;
  box-shadow:0 16px 38px rgba(15,23,42,.16)!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item{
  color:#444a52!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item:hover:not(:disabled){
  color:#202328!important;
  background:#f3f4f6!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item.danger{
  color:#c2410c!important;
}


/* ===== v3242-historico-alinhamento-pro ===== */
.system-pro-v3 #impPanelHist .tsc{
  overflow:visible!important;
}

/* A tabela usa uma grade previsível para cabeçalho e dados baterem. */
.system-pro-v3 #impPanelHist table{
  width:100%!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}

/* Larguras por coluna */
.system-pro-v3 #impPanelHist table thead th:nth-child(1),
.system-pro-v3 #impPanelHist table tbody td:nth-child(1){width:20%!important;}

.system-pro-v3 #impPanelHist table thead th:nth-child(2),
.system-pro-v3 #impPanelHist table tbody td:nth-child(2){width:15%!important;}

.system-pro-v3 #impPanelHist table thead th:nth-child(3),
.system-pro-v3 #impPanelHist table tbody td:nth-child(3){width:14%!important;}

.system-pro-v3 #impPanelHist table thead th:nth-child(4),
.system-pro-v3 #impPanelHist table tbody td:nth-child(4){width:11%!important;}

.system-pro-v3 #impPanelHist table thead th:nth-child(5),
.system-pro-v3 #impPanelHist table tbody td:nth-child(5){width:17%!important;}

.system-pro-v3 #impPanelHist table thead th:nth-child(6),
.system-pro-v3 #impPanelHist table tbody td:nth-child(6){width:14%!important;}

.system-pro-v3 #impPanelHist table thead th:nth-child(7),
.system-pro-v3 #impPanelHist table tbody td:nth-child(7){width:9%!important;}

/* Cabeçalhos e dados no MESMO eixo, todos à esquerda. */
.system-pro-v3 #impPanelHist table thead th,
.system-pro-v3 #impPanelHist table tbody td{
  box-sizing:border-box!important;
  text-align:left!important;
  vertical-align:middle!important;
  padding-left:20px!important;
  padding-right:12px!important;
  white-space:nowrap!important;
}

/* Cabeçalhos */
.system-pro-v3 #impPanelHist table thead th{
  padding-top:12px!important;
  padding-bottom:12px!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:650!important;
}

/* Linhas */
.system-pro-v3 #impPanelHist table tbody td{
  padding-top:13px!important;
  padding-bottom:13px!important;
  font-size:13px!important;
  line-height:1.35!important;
}

/* Mais respiro nas duas extremidades sem deslocar o eixo das colunas. */
.system-pro-v3 #impPanelHist table thead th:first-child,
.system-pro-v3 #impPanelHist table tbody td:first-child{
  padding-left:24px!important;
}

.system-pro-v3 #impPanelHist table thead th:last-child,
.system-pro-v3 #impPanelHist table tbody td:last-child{
  padding-right:24px!important;
}

/* Ações também ficam alinhadas à esquerda da própria coluna. */
.system-pro-v3 #impPanelHist table tbody td.imp-hist-actions-cell{
  text-align:left!important;
}

/* Botão circular mais leve e discreto. */
.system-pro-v3 #impPanelHist .imp-hist-more-btn{
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#21262d!important;
  color:#9da3ad!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
}

.system-pro-v3 #impPanelHist .imp-hist-more-btn svg{
  width:16px!important;
  height:16px!important;
}

.system-pro-v3 #impPanelHist .imp-hist-more-btn:hover{
  background:#21262d!important;
  color:#f1f3f5!important;
}

/* Menu contextual: opções realmente alinhadas à esquerda. */
.system-pro-v3 .imp-hist-row-menu{
  width:160px!important;
  padding:6px!important;
  border-radius:10px!important;
  background:#161b22!important;
}

.system-pro-v3 .imp-hist-row-menu-item{
  width:100%!important;
  min-height:36px!important;
  height:auto!important;
  padding:8px 10px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  text-align:left!important;
  white-space:nowrap!important;
}

.system-pro-v3 .imp-hist-row-menu-item span{
  display:block!important;
  width:auto!important;
  flex:0 1 auto!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}

.system-pro-v3 .imp-hist-row-menu-item svg{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
  margin:0!important;
}

/* Tema claro */
body[data-theme=light].system-pro-v3 #impPanelHist .imp-hist-more-btn{
  background:#eceef1!important;
  color:#666c75!important;
}
body[data-theme=light].system-pro-v3 #impPanelHist .imp-hist-more-btn:hover{
  background:#dfe2e6!important;
  color:#24272c!important;
}


/* ===== v3243-menu-acoes-refinado ===== */
/* remove aro branco de foco/click e mantém feedback discreto */
.system-pro-v3 #impPanelHist .imp-hist-more-btn{
  outline:none!important;
  box-shadow:none!important;
  border:0!important;
  background:#21262d!important;
  color:#9ca2ab!important;
}
.system-pro-v3 #impPanelHist .imp-hist-more-btn:focus,
.system-pro-v3 #impPanelHist .imp-hist-more-btn:focus-visible,
.system-pro-v3 #impPanelHist .imp-hist-more-btn:active{
  outline:none!important;
  box-shadow:none!important;
  border:0!important;
}
.system-pro-v3 #impPanelHist .imp-hist-more-btn:hover,
.system-pro-v3 #impPanelHist .imp-hist-more-btn[aria-expanded="true"]{
  background:#21262d!important;
  color:#eef0f3!important;
}

/* menu compacto, delicado e com dimensões previsíveis */
.system-pro-v3 .imp-hist-row-menu{
  box-sizing:border-box!important;
  width:168px!important;
  min-width:168px!important;
  max-width:168px!important;
  padding:5px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  background:#161b22!important;
  box-shadow:0 14px 32px rgba(0,0,0,.38)!important;
  overflow:hidden!important;
}

/* itens alinhados à ESQUERDA */
.system-pro-v3 .imp-hist-row-menu-item{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:35px!important;
  height:35px!important;
  max-height:35px!important;
  margin:0!important;
  padding:0 11px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  text-align:left!important;
  white-space:nowrap!important;
  color:#c4c8cf!important;
  font-size:13px!important;
  line-height:35px!important;
  font-weight:560!important;
}

.system-pro-v3 .imp-hist-row-menu-item + .imp-hist-row-menu-item{
  margin-top:2px!important;
}

.system-pro-v3 .imp-hist-row-menu-item svg{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  flex:0 0 15px!important;
  margin:0!important;
  opacity:.82!important;
}

.system-pro-v3 .imp-hist-row-menu-item span{
  width:auto!important;
  flex:0 1 auto!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  text-align:left!important;
  line-height:1!important;
}

.system-pro-v3 .imp-hist-row-menu-item:hover:not(:disabled){
  color:#fff!important;
  background:rgba(255,255,255,.055)!important;
}

.system-pro-v3 .imp-hist-row-menu-item.danger{
  color:#f97316!important;
}
.system-pro-v3 .imp-hist-row-menu-item.danger:hover:not(:disabled){
  color:#fb8b3d!important;
  background:rgba(249,115,22,.075)!important;
}

/* tema claro */
body[data-theme=light].system-pro-v3 .imp-hist-row-menu{
  background:#fff!important;
  border-color:#dfe2e6!important;
  box-shadow:0 14px 32px rgba(15,23,42,.14)!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item{
  color:#454b54!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item:hover:not(:disabled){
  color:#20242a!important;
  background:#f2f3f5!important;
}
body[data-theme=light].system-pro-v3 .imp-hist-row-menu-item.danger{
  color:#c2410c!important;
}


/* ===== v3244-fix-menu-acoes-alinhamento ===== */
.system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
  margin:0!important;
  padding:0 12px!important;

  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;

  text-align:left!important;
  white-space:nowrap!important;
}

.system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item svg{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  flex:0 0 15px!important;
  margin:0!important;
}

.system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item span{
  display:block!important;
  width:auto!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}

/* botão de três pontos também fica fora do padding global */
.system-pro-v3 #impPanelHist .imp-hist-more-btn{
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}


/* ===== v3245-menu-apagar-neutro ===== */
.system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item.danger{
  color:#c4c8cf!important;
}

.system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item.danger svg{
  color:inherit!important;
}

/* O caráter destrutivo aparece somente no hover, de forma discreta. */
.system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item.danger:hover:not(:disabled){
  color:#ef6262!important;
  background:rgba(239,98,98,.07)!important;
}

body[data-theme=light].system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item.danger{
  color:#454b54!important;
}

body[data-theme=light].system-pro-v3 #impHistRowMenu .imp-hist-row-menu-item.danger:hover:not(:disabled){
  color:#b42318!important;
  background:#fff1f0!important;
}


/* ===== v3246-botoes-importacao-padronizados ===== */
/* Mesmo container em RA e Senha, Vazio Virtual e DataCrazy */
.system-pro-v3 #page-importacao .imp-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding-top:0!important;
}

/* Mesma régua de botão em todas as importações */
.system-pro-v3 #page-importacao .imp-actions > .fbtn{
  width:auto!important;
  min-width:auto!important;
  max-width:none!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 20px!important;
  border-radius:8px!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

/* Secundários: mesmo acabamento do Limpar do DataCrazy */
.system-pro-v3 #page-importacao .imp-actions > .fbtn:not([style*="background:var(--ac)"]){
  background:var(--s2)!important;
  color:var(--t2)!important;
  border:1px solid var(--bd)!important;
}

.system-pro-v3 #page-importacao .imp-actions > .fbtn:not([style*="background:var(--ac)"]):hover:not(:disabled){
  background:rgba(255,255,255,.055)!important;
  color:var(--tx)!important;
}

/* Primários: mesmo laranja do Criar importação DataCrazy */
.system-pro-v3 #page-importacao .imp-actions > .fbtn[style*="background:var(--ac)"]{
  background:var(--pro-ac)!important;
  border-color:var(--pro-ac)!important;
  color:#161616!important;
}

.system-pro-v3 #page-importacao .imp-actions > .fbtn[style*="background:var(--ac)"]:hover:not(:disabled){
  background:var(--pro-ac-hover)!important;
  border-color:var(--pro-ac-hover)!important;
}

/* Estado disabled segue o mesmo padrão nas três telas */
.system-pro-v3 #page-importacao .imp-actions > .fbtn:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
}

/* Light */
body[data-theme=light].system-pro-v3 #page-importacao .imp-actions > .fbtn:not([style*="background:var(--ac)"]){
  background:#f5f6f7!important;
  color:#555b63!important;
  border-color:#d8dce1!important;
}

body[data-theme=light].system-pro-v3 #page-importacao .imp-actions > .fbtn:not([style*="background:var(--ac)"]):hover:not(:disabled){
  background:#eceef1!important;
  color:#24272c!important;
}


/* ===== v3248-svg-financeiro-maior ===== */
@media(min-width:901px){
  .system-pro-v3 .sb-v228-rail-btn[data-v228-page="renegociacao"] svg{
    width:24px!important;
    height:24px!important;
  }
}


/* ===== v3249-acordos-refinado-padrao-parcelamentos ===== */
@media(min-width:1px){

/* ---------- ESTRUTURA ---------- */
.system-pro-v3 #cobPanelAcordos{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-shell{
  gap:12px!important;
}

/* ---------- CABEÇALHO DA ÁREA ---------- */
.system-pro-v3 #cobPanelAcordos .cob-acordos-head{
  min-height:68px!important;
  padding:15px 17px!important;
  border:1px solid rgba(255,255,255,.105)!important;
  border-radius:15px!important;
  background:#161b22!important;
  box-shadow:0 12px 34px rgba(0,0,0,.14)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-title{
  color:#f2f4f7!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:760!important;
  letter-spacing:-.15px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-sub{
  margin-top:4px!important;
  color:#8f99a6!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:520!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-head-right{
  gap:10px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-count{
  color:#8f99a6!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:650!important;
}

/* ---------- BOTÕES DO CABEÇALHO ---------- */
.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn,
.system-pro-v3 #cobPanelAcordos .cob-acordos-new,
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person{
  width:auto!important;
  min-width:auto!important;
  max-width:none!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 16px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  transform:none!important;
}

.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn{
  border:1px solid rgba(255,255,255,.12)!important;
  background:#1c2128!important;
  color:#cbd2dc!important;
}

.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn:hover{
  border-color:rgba(255,255,255,.20)!important;
  background:#21262d!important;
  color:#fff!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-new,
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person{
  border:1px solid #f97316!important;
  background:#f97316!important;
  color:#171717!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-new:hover,
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person:hover{
  border-color:#fb8738!important;
  background:#fb8738!important;
  color:#171717!important;
}

.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn svg,
.system-pro-v3 #cobPanelAcordos .cob-acordos-new svg,
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person svg{
  width:13px!important;
  height:13px!important;
  flex:0 0 13px!important;
}

/* ---------- FILTROS ---------- */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell{
  width:100%!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.105)!important;
  border-radius:15px!important;
  background:#161b22!important;
  box-shadow:0 12px 34px rgba(0,0,0,.10)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary{
  gap:10px!important;
  padding:13px 16px!important;
  background:#161b22!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
.system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
  gap:10px!important;
  padding:13px 16px 15px!important;
  margin:0!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  background:#161b22!important;
}

/* Em desktop largo, os 5 filtros avançados ficam em uma linha. */
@media(min-width:1380px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
  .system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
    grid-template-columns:
      minmax(145px,1fr)
      minmax(155px,1fr)
      minmax(160px,1fr)
      minmax(155px,1fr)
      minmax(226px,1.2fr)!important;
  }
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  margin:0 0 6px!important;
  color:#929ba7!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
  height:38px!important;
  min-height:38px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:#1c2128!important;
  color:#d8dde4!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:520!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs:focus,
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca:focus{
  outline:none!important;
  border-color:rgba(226,232,240,.32)!important;
  box-shadow:0 0 0 3px rgba(226,232,240,.045)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dptext{
  color:#d8dde4!important;
  font-size:13px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap svg{
  left:11px!important;
  width:14px!important;
  height:14px!important;
  color:#7f8995!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-search-wrap .fs{
  padding-left:34px!important;
}

/* Limpar filtros = padrão de botão secundário */
.system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  width:auto!important;
  min-width:auto!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 16px!important;
  align-self:end!important;
  justify-self:start!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:8px!important;
  background:#1c2128!important;
  color:#cbd2dc!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
  white-space:nowrap!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-clear:hover{
  border-color:rgba(255,255,255,.20)!important;
  background:#21262d!important;
  color:#fff!important;
}

/* Base/importação mantém a largura funcional que já existia, só equaliza a altura. */
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field{
  grid-template-rows:auto 38px!important;
}
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field #cobAcordosFiltroBase,
.system-pro-v3 #cobPanelAcordos .cob-base-filter-field.has-base-delete #cobAcordosFiltroBase{
  height:38px!important;
  min-height:38px!important;
}

/* ---------- CARD DA LISTA ---------- */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table-card{
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.105)!important;
  border-radius:15px!important;
  background:#161b22!important;
  box-shadow:0 12px 34px rgba(0,0,0,.12)!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table-top{
  min-height:50px!important;
  padding:10px 15px!important;
  border-bottom:1px solid rgba(255,255,255,.075)!important;
  background:#161b22!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table-title{
  color:#e4e8ed!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:720!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table-hint{
  color:#89939f!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:520!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-tsc{
  max-height:calc(100vh - 325px)!important;
  min-height:280px!important;
  background:#161b22!important;
}

/* ---------- TABELA ---------- */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table{
  min-width:1280px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead{
  position:sticky!important;
  top:0!important;
  z-index:4!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th{
  height:40px!important;
  padding:0 14px!important;
  background:#1c2128!important;
  border-bottom:1px solid rgba(255,255,255,.065)!important;
  color:#87919d!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr{
  min-height:52px!important;
  background:transparent!important;
  transition:background .12s ease!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr:hover{
  background:#21262d!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{
  padding:13px 14px!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
  color:#c4cbd4!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1.4!important;
  vertical-align:middle!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr:last-child td{
  border-bottom:0!important;
}

/* Conteúdo principal: 13px */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno strong,
.system-pro-v3 #cobPanelAcordos .cob-v319-aluno strong,
.system-pro-v3 #cobPanelAcordos .cob-acordo-course,
.system-pro-v3 #cobPanelAcordos .cob-v319-course,
.system-pro-v3 #cobPanelAcordos .cob-acordo-resp,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn span,
.system-pro-v3 #cobPanelAcordos .cob-acordo-money,
.system-pro-v3 #cobPanelAcordos .cob-acordo-date strong,
.system-pro-v3 #cobPanelAcordos .cob-abordagem-date strong{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1.35!important;
}

/* Principal de maior relevância */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno strong,
.system-pro-v3 #cobPanelAcordos .cob-v319-aluno strong{
  color:#f1f3f5!important;
  font-weight:700!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-money{
  color:#f1f3f5!important;
  font-weight:720!important;
}

/* Secundários: 12px */
.system-pro-v3 #cobPanelAcordos .cob-acordo-aluno span,
.system-pro-v3 #cobPanelAcordos .cob-v319-aluno span,
.system-pro-v3 #cobPanelAcordos .cob-acordo-date span,
.system-pro-v3 #cobPanelAcordos .cob-abordagem-date span,
.system-pro-v3 #cobPanelAcordos .cob-mini-kv > span,
.system-pro-v3 #cobPanelAcordos .cob-tags-empty{
  font-size:12px!important;
  line-height:1.3!important;
  color:#89939f!important;
}

/* IDs, chips e controles inline */
.system-pro-v3 #cobPanelAcordos .cob-acordo-id,
.system-pro-v3 #cobPanelAcordos .cob-acordo-chip,
.system-pro-v3 #cobPanelAcordos .cob-chip-soft,
.system-pro-v3 #cobPanelAcordos .cob-tag-chip,
.system-pro-v3 #cobPanelAcordos .cob-tags-cell-btn,
.system-pro-v3 #cobPanelAcordos .cob-inline-origin,
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn,
.system-pro-v3 #cobPanelAcordos .cob-status-btn{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-id{
  padding:4px 8px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:7px!important;
  background:#1c2128!important;
  color:#aeb6c0!important;
}

.system-pro-v3 #cobPanelAcordos .cob-chip-soft,
.system-pro-v3 #cobPanelAcordos .cob-acordo-chip{
  min-height:26px!important;
  padding:0 9px!important;
  border-radius:999px!important;
}

/* Controles clicáveis inline ficam compactos, como ações de Parcelamentos */
.system-pro-v3 #cobPanelAcordos .cob-status-btn,
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn,
.system-pro-v3 #cobPanelAcordos .cob-tags-cell-btn,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn{
  min-height:28px!important;
  height:28px!important;
  max-height:28px!important;
  border-radius:7px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn{
  padding:0 9px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn,
.system-pro-v3 #cobPanelAcordos .cob-tags-cell-btn,
.system-pro-v3 #cobPanelAcordos .cob-responsavel-inline-btn{
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Último contato/abordagem */
.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-btn{
  height:28px!important;
  min-height:28px!important;
  padding:0 9px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:7px!important;
  background:#1c2128!important;
  color:#b8c0ca!important;
  font-size:12px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-contact-btn:hover{
  border-color:rgba(255,255,255,.17)!important;
  background:#21262d!important;
  color:#fff!important;
}

/* Chevron da linha */
.system-pro-v3 #cobPanelAcordos .cob-acordo-chevron{
  width:28px!important;
  height:28px!important;
  border-radius:8px!important;
  color:#707985!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordo-chevron svg{
  width:14px!important;
  height:14px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr:hover .cob-acordo-chevron{
  background:#21262d!important;
  color:#d8dde4!important;
}

/* Colunas de valor e abertura continuam com seu alinhamento funcional. */
.system-pro-v3 #cobPanelAcordos .cob-acordos-table .col-total{
  text-align:right!important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-table .col-open{
  text-align:center!important;
}

/* Estados vazios/carregando */
.system-pro-v3 #cobPanelAcordos .cob-acordos-empty,
.system-pro-v3 #cobPanelAcordos .cob-acordos-loading{
  padding:52px 18px!important;
  color:#89939f!important;
  font-size:13px!important;
}

/* ---------- PAGINAÇÃO ---------- */
.system-pro-v3 #cobPanelAcordos .cob-acordos-pagination{
  min-height:48px!important;
  padding:8px 14px!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  background:#161b22!important;
}

.system-pro-v3 #cobPanelAcordos .cob-pagination-left,
.system-pro-v3 #cobPanelAcordos .cob-pagination-right{
  color:#8f99a6!important;
  font-size:12px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-page-btn{
  min-width:30px!important;
  height:30px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  font-size:12px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-pagination-size{
  height:30px!important;
  min-height:30px!important;
  border-radius:8px!important;
  font-size:12px!important;
}

/* ---------- MODAL NOVO ACORDO: mesma régua ---------- */
.system-pro-v3 #cobNovoAcordoOverlay .fl{
  font-size:12px!important;
  line-height:1.25!important;
}
.system-pro-v3 #cobNovoAcordoOverlay .fs,
.system-pro-v3 #cobNovoAcordoOverlay textarea.fs{
  font-size:13px!important;
  line-height:1.35!important;
}
.system-pro-v3 #cobNovoAcordoOverlay .cob-na-cancel,
.system-pro-v3 #cobNovoAcordoOverlay .cob-na-confirm{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 16px!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:650!important;
}

/* ---------- LIGHT MODE ---------- */
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-head,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter-shell,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filters-primary,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table-card,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table-top,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-tsc,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-pagination{
  background:#fff!important;
  border-color:#dfe3e8!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-title,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table-title{
  color:#171a1f!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-sub,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table-hint,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-count{
  color:#7b8490!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-advanced,
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosAdvancedFilters{
  border-top-color:#e7eaee!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fl{
  color:#68727e!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
body[data-theme=light].system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
  border-color:#dfe3e8!important;
  background:#f8f9fb!important;
  color:#303740!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dptext{
  color:#303740!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
  border-color:#dce1e7!important;
  background:#f5f6f7!important;
  color:#4f5966!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn:hover,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-clear:hover{
  background:#eceef1!important;
  color:#24272c!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table thead th{
  background:#f7f8fa!important;
  border-bottom-color:#e7eaee!important;
  color:#7a8490!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr:hover{
  background:#fafbfc!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody td{
  border-bottom-color:#eef0f2!important;
  color:#4b5563!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordo-aluno strong,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-v319-aluno strong,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordo-money{
  color:#171a1f!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordo-id,
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordo-contact-btn{
  border-color:#e0e4e9!important;
  background:#f5f6f8!important;
  color:#5d6773!important;
}

body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-acordos-table tbody tr:hover .cob-acordo-chevron{
  background:#f0f2f4!important;
  color:#404852!important;
}

/* ---------- RESPONSIVO ---------- */
@media(max-width:980px){
  .system-pro-v3 #cobPanelAcordos .cob-acordos-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .system-pro-v3 #cobPanelAcordos .cob-acordos-head-right{
    width:100%!important;
    justify-content:flex-start!important;
  }
}

@media(max-width:620px){
  .system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-new,
  .system-pro-v3 #cobPanelAcordos .cob-acordos-add-person{
    padding:0 12px!important;
  }

  .system-pro-v3 #cobPanelAcordos .cob-acordos-clear{
    width:100%!important;
    justify-self:stretch!important;
  }
}

} /* end media min-width 1px */


/* ===== v3250-dark-azul-github ===== */
body.system-pro-v3:not([data-theme="light"]),
body.system-pro-v3:not([data-theme="light"]) .app,
body.system-pro-v3:not([data-theme="light"]) .content{
  background:#0d1117!important;
  color:#e6edf3!important;
}

/* Área de conteúdo */
body.system-pro-v3:not([data-theme="light"]) #page-importacao,
body.system-pro-v3:not([data-theme="light"]) #page-renegociacao,
body.system-pro-v3:not([data-theme="light"]) #page-usuarios,
body.system-pro-v3:not([data-theme="light"]) #page-configuracoes{
  background:#0d1117!important;
}

/* Navegação */
@media(min-width:901px){
  body.system-pro-v3:not([data-theme="light"]) .sidebar,
  body.system-pro-v3:not([data-theme="light"]) .sb-v228-rail{
    background:#0d1117!important;
    border-color:#30363d!important;
  }

  body.system-pro-v3:not([data-theme="light"]) .sb-v228-context{
    background:#161b22!important;
  }

  body.system-pro-v3:not([data-theme="light"]) .sb-v228-context-head,
  body.system-pro-v3:not([data-theme="light"]) .sb-v228-context-foot{
    border-color:#30363d!important;
  }

  body.system-pro-v3:not([data-theme="light"]) .sb-v228-context-item:hover{
    background:#21262d!important;
  }

  body.system-pro-v3:not([data-theme="light"]) .sb-v228-context-item.active{
    background:#21262d!important;
    color:#e6edf3!important;
  }

  body.system-pro-v3:not([data-theme="light"]) .sb-v228-rail-btn.active{
    background:#21262d!important;
    border-color:#30363d!important;
    color:#e6edf3!important;
  }

  body.system-pro-v3:not([data-theme="light"]) .content > header{
    background:#161b22!important;
    border-bottom-color:#30363d!important;
  }
}

/* Cards / blocos gerais */
body.system-pro-v3:not([data-theme="light"]) .fb,
body.system-pro-v3:not([data-theme="light"]) .cc,
body.system-pro-v3:not([data-theme="light"]) .kpi,
body.system-pro-v3:not([data-theme="light"]) .card{
  border-color:#30363d!important;
}

/* Inputs e selects */
body.system-pro-v3:not([data-theme="light"]) .fs,
body.system-pro-v3:not([data-theme="light"]) .sdrop,
body.system-pro-v3:not([data-theme="light"]) .dperiod,
body.system-pro-v3:not([data-theme="light"]) .csel-panel{
  background:#1c2128!important;
  border-color:#30363d!important;
  color:#e6edf3!important;
}

/* Menus/popup */
body.system-pro-v3:not([data-theme="light"]) .imp-hist-row-menu,
body.system-pro-v3:not([data-theme="light"]) .reneg-actions-popup{
  background:#161b22!important;
  border-color:#30363d!important;
}

/* Tabelas */
body.system-pro-v3:not([data-theme="light"]) table thead th{
  border-color:#30363d!important;
}
body.system-pro-v3:not([data-theme="light"]) table tbody td{
  border-color:rgba(48,54,61,.72)!important;
}

/* Texto secundário comum */
body.system-pro-v3:not([data-theme="light"]) .pgsub,
body.system-pro-v3:not([data-theme="light"]) .fl,
body.system-pro-v3:not([data-theme="light"]) .slbl{
  color:#8b949e!important;
}

/* Notificações */
body.system-pro-v3:not([data-theme="light"]) .cob-notif-popover,
body.system-pro-v3:not([data-theme="light"]) .cob-notif-head,
body.system-pro-v3:not([data-theme="light"]) .cob-notif-foot{
  background:#161b22!important;
  border-color:#30363d!important;
}


body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-head,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-filter-shell,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-filters-primary,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-advanced,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos #cobAcordosAdvancedFilters,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-table-card,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-table-top,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-tsc,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-pagination{
  background:#161b22!important;
  border-color:#30363d!important;
}

body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-filter .fs,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-filter .dperiod,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos #cobAcordosBusca,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordo-id,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordo-contact-btn,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-relatorio-open-btn,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-clear{
  background:#1c2128!important;
  border-color:#30363d!important;
}

body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-table thead th{
  background:#1c2128!important;
  border-color:#30363d!important;
}

body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-table tbody tr:hover,
body.system-pro-v3:not([data-theme="light"]) #cobPanelAcordos .cob-acordos-table tbody tr:hover .cob-acordo-chevron{
  background:#21262d!important;
}

/* Parcelamentos / cards de cobrança */
body.system-pro-v3:not([data-theme="light"]) .cob-parcelas-card,
body.system-pro-v3:not([data-theme="light"]) .cob-parcelas-table-card,
body.system-pro-v3:not([data-theme="light"]) .cob-parcelas-toolbar{
  border-color:#30363d!important;
}

/* Mantém cores semânticas e o laranja John intactos. */


/* ===== v3251-drawer-acordos-pro-compacto ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103{
  width:min(680px,97vw)!important;
  background:#161b22!important;
}

/* ---------- CABEÇALHO ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-head{
  min-height:60px!important;
  padding:12px 16px!important;
  border-bottom:1px solid #30363d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-avatar{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  border-radius:9px!important;
  background:#1c2128!important;
  border-color:#30363d!important;
  font-size:11px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-name{
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:750!important;
  letter-spacing:-.1px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-sub{
  margin-top:3px!important;
  color:#8b949e!important;
  font-size:12px!important;
  line-height:1.25!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-close{
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  min-height:28px!important;
}

/* ---------- SUBNAV ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav{
  min-height:42px!important;
  height:42px!important;
  padding:0 16px!important;
  gap:24px!important;
  background:#161b22!important;
  border-bottom:1px solid #30363d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 1px!important;
  font-size:12px!important;
  line-height:42px!important;
  font-weight:650!important;
  color:#6e7681!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button.active{
  color:#e6edf3!important;
}

/* ---------- ÁREA ROLÁVEL ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-scroll{
  height:calc(100vh - 118px)!important;
  padding:14px 14px 78px!important;
}

/* ---------- JORNADA ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-card{
  padding:11px 14px 10px!important;
  border:1px solid #30363d!important;
  border-radius:10px!important;
  background:#161b22!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-title{
  margin-bottom:9px!important;
  color:#6e7681!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey{
  min-height:44px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button{
  min-width:82px!important;
  min-height:44px!important;
  gap:4px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button span{
  width:26px!important;
  min-width:26px!important;
  max-width:26px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  flex-basis:26px!important;
  font-size:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey button b{
  font-size:11px!important;
  line-height:1.15!important;
  font-weight:620!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey > i{
  margin-top:12.5px!important;
}

/* ---------- RESUMO GLOBAL ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview{
  margin:9px 0 10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main{
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#161b22!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main > div{
  min-height:48px!important;
  padding:8px 10px!important;
  border-right:1px solid #30363d!important;
  background:transparent!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main span{
  color:#6e7681!important;
  font-size:9px!important;
  line-height:1.15!important;
  font-weight:650!important;
  letter-spacing:.025em!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main strong{
  margin-top:4px!important;
  color:#d7dde5!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:650!important;
}

/* ---------- ETAPAS ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-notes-v103{
  margin-top:10px!important;
  padding:14px!important;
  border:1px solid #30363d!important;
  border-radius:10px!important;
  background:#161b22!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-head{
  margin-bottom:12px!important;
  gap:12px!important;
}

/* A etapa Acordo repetia: Jornada > Acordo / Etapa 3 / Acordo / Acordo atual.
   O cabeçalho intermediário é redundante e sai da composição visual. */
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerStageAcordo > .cob-drawer-stage-head{
  display:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-kicker{
  margin-bottom:2px!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:700!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-title{
  margin:0!important;
  color:#e6edf3!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:720!important;
  letter-spacing:-.08px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage-sub{
  margin-top:3px!important;
  color:#8b949e!important;
  font-size:12px!important;
  line-height:1.4!important;
}

/* ---------- ACORDO ATUAL ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-card{
  border:1px solid #30363d!important;
  border-radius:10px!important;
  background:#1c2128!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-hero{
  padding:12px 14px!important;
  gap:14px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-kicker{
  color:#6e7681!important;
  font-size:9px!important;
  line-height:1.15!important;
  font-weight:680!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-title{
  margin-top:4px!important;
  color:#e6edf3!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:740!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-date{
  margin-top:3px!important;
  color:#8b949e!important;
  font-size:11px!important;
  line-height:1.3!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total{
  min-width:120px!important;
  padding-left:10px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total span{
  color:#6e7681!important;
  font-size:9px!important;
  line-height:1.15!important;
  font-weight:680!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-total strong{
  margin-top:4px!important;
  color:#e6edf3!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:760!important;
}

/* Os 3 fatos viram uma faixa realmente compacta */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-facts{
  grid-template-columns:1.15fr 1fr .72fr!important;
  border-top:1px solid #30363d!important;
  background:#161b22!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact{
  padding:9px 12px!important;
  border-right:1px solid #30363d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact span{
  color:#6e7681!important;
  font-size:9px!important;
  line-height:1.15!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact strong{
  margin-top:3px!important;
  color:#cbd2dc!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:640!important;
}

/* ---------- AÇÕES DO ACORDO ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions{
  margin:9px 0 0!important;
  display:flex!important;
  gap:7px!important;
  flex-wrap:wrap!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button{
  width:auto!important;
  min-width:auto!important;
  max-width:none!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 14px!important;
  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:#1c2128!important;
  color:#b7c0ca!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:620!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button:hover{
  background:#21262d!important;
  color:#e6edf3!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button.primary{
  border-color:#f97316!important;
  background:#f97316!important;
  color:#171717!important;
}

/* ---------- HISTÓRICO ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history{
  margin-top:14px!important;
  padding-top:12px!important;
  border-top:1px solid #30363d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-head{
  margin-bottom:8px!important;
  align-items:center!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-title{
  color:#d7dde5!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:690!important;
}

/* descrição redundante não compete mais com os cards */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-sub{
  display:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-history-count{
  height:22px!important;
  min-height:22px!important;
  padding:0 7px!important;
  border:1px solid #30363d!important;
  border-radius:999px!important;
  background:#1c2128!important;
  color:#8b949e!important;
  font-size:10px!important;
  line-height:20px!important;
  font-weight:650!important;
}

/* Timeline visualmente mais leve */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-node{
  grid-template-columns:16px minmax(0,1fr)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-rail{
  width:16px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-dot{
  width:7px!important;
  height:7px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card{
  margin:3px 0 6px!important;
  padding:10px 11px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#161b22!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-node.active .cob-reneg-card{
  border-color:rgba(34,197,94,.28)!important;
  background:#161b22!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card-title{
  color:#d7dde5!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:680!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-badge{
  padding:3px 7px!important;
  font-size:9px!important;
  line-height:1!important;
}

/* Data / Forma / Atendente numa linha enxuta */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary{
  margin-top:7px!important;
  gap:5px 11px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item{
  gap:4px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item span{
  color:#6e7681!important;
  font-size:9px!important;
  line-height:1.15!important;
  font-weight:620!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-summary-item strong{
  color:#b7c0ca!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:620!important;
}

/* Valores financeiros em uma única faixa de 3 colunas */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  margin-top:8px!important;
  padding-top:8px!important;
  border-top:1px solid rgba(48,54,61,.82)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance > div{
  min-width:0!important;
  display:block!important;
  padding:0 8px!important;
  border-right:1px solid rgba(48,54,61,.72)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance > div:first-child{
  padding-left:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance > div:last-child{
  padding-right:0!important;
  border-right:0!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance span{
  display:block!important;
  color:#6e7681!important;
  font-size:9px!important;
  line-height:1.15!important;
  font-weight:620!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance strong{
  display:block!important;
  margin-top:3px!important;
  color:#cbd2dc!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:680!important;
}

/* ---------- BOTÕES GERAIS DO DRAWER ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-secondary-action,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-open-parcelas,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer button,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-actions button{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:620!important;
}

/* ---------- FOOTER ---------- */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
  min-height:54px!important;
  padding:9px 14px!important;
  background:rgba(22,27,34,.97)!important;
  border-top:1px solid #30363d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-danger-actions{
  display:flex!important;
  gap:7px!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-delete-person{
  background:transparent!important;
  color:#8b949e!important;
  border-color:#30363d!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg:hover{
  color:#d7dde5!important;
  background:#1c2128!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-delete-person:hover{
  color:#f87171!important;
  background:rgba(239,68,68,.07)!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-save{
  background:#f97316!important;
  border-color:#f97316!important;
  color:#171717!important;
}

/* ---------- LIGHT ---------- */
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-head,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-journey-card,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-stage,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-card{
  background:#fff!important;
  border-color:#dfe3e8!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main,
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-card{
  background:#f8f9fb!important;
  border-color:#dfe3e8!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-facts{
  background:#fff!important;
  border-color:#dfe3e8!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-footer{
  background:rgba(255,255,255,.97)!important;
  border-color:#dfe3e8!important;
}

/* ---------- MOBILE ---------- */
@media(max-width:760px){
  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-v103-scroll{
    padding:12px 10px 76px!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-overview-main{
    grid-template-columns:1fr 1fr!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-hero{
    flex-direction:row!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-facts{
    grid-template-columns:1fr 1fr!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-agreement-fact:last-child{
    grid-column:1 / -1!important;
    border-top:1px solid #30363d!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance{
    grid-template-columns:1fr 1fr!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-reneg-finance > div{
    border-right:0!important;
    padding:0!important;
  }

  .system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button{
    flex:1 1 auto!important;
  }
}


/* ===== v3253-reverte-botoes-globais-fix-add-pessoa ===== */
/* Adicionar pessoa: cor exata aprovada */
.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 20px!important;

  border:1px solid #ff8a3d!important;
  border-radius:8px!important;
  background:#ff8a3d!important;
  color:#161616!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-add-person:hover:not(:disabled){
  border-color:#ff9d63!important;
  background:#ff9d63!important;
  color:#161616!important;
}

/* Gerar relatório permanece secundário/neutro */
.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 20px!important;

  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:#1c2128!important;
  color:#cbd2dc!important;

  font-size:12px!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn:hover:not(:disabled){
  background:#21262d!important;
  border-color:#3b424b!important;
  color:#e6edf3!important;
}

/* Data da abordagem:
   explicitamente preservada como controle inline, não como CTA. */
.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn{
  width:auto!important;
  min-width:0!important;
  max-width:145px!important;

  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;

  padding:0 7px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--t2)!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;

  font-size:13px!important;
  line-height:1!important;
  font-weight:650!important;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn.empty{
  color:var(--t3)!important;
  font-weight:560!important;
}

.system-pro-v3 #cobPanelAcordos .cob-abordagem-inline-btn:hover{
  border-color:var(--bd)!important;
  background:var(--pro-hover)!important;
  color:var(--tx)!important;
}

/* Light */
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn{
  background:#f5f6f7!important;
  border-color:#d8dde3!important;
  color:#4f5965!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordos .cob-relatorio-open-btn:hover:not(:disabled){
  background:#eceef1!important;
  color:#24272c!important;
}


/* ===== v3256-fix-tabs-drawer-limpar-amarelo ===== */
/* Submenu do lead: sempre neutro */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button{
  background:transparent!important;
  border:0!important;
  color:#6e7681!important;

  width:auto!important;
  min-width:auto!important;
  max-width:none!important;

  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;

  padding:0 1px!important;
  border-radius:0!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:42px!important;
  font-weight:650!important;

  box-shadow:none!important;
  transform:none!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button:hover{
  background:transparent!important;
  color:#b7c0ca!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button.active{
  background:transparent!important;
  color:#e6edf3!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button.active::after{
  background:#ff8a3d!important;
}

/* Limpar renegociação: amarelo preenchido, como solicitado */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 14px!important;

  border:1px solid #f59e0b!important;
  border-radius:8px!important;
  background:#f59e0b!important;
  color:#161616!important;

  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg:hover:not(:disabled){
  border-color:#fbbf24!important;
  background:#fbbf24!important;
  color:#161616!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button{
  background:transparent!important;
  color:#707782!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button:hover{
  color:#343a42!important;
}
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-subnav button.active{
  color:#171a1f!important;
}


/* ===== v3259-limpar-renegociacao-so-hover-amarelo ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg{
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 14px!important;

  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#8b949e!important;

  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:620!important;

  box-shadow:none!important;
}

/* Amarelo CLARO apenas quando passa o mouse */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg:hover:not(:disabled){
  border-color:rgba(245,158,11,.42)!important;
  background:rgba(245,158,11,.07)!important;
  color:#fbbf24!important;
}

/* Light mode: neutro parado, amarelo suave no hover */
body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg{
  border-color:#d8dde3!important;
  background:transparent!important;
  color:#626b76!important;
}

body[data-theme=light].system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-clear-neg:hover:not(:disabled){
  border-color:rgba(217,119,6,.38)!important;
  background:rgba(245,158,11,.08)!important;
  color:#b45309!important;
}


/* ===== v3260-cta-drawer-ff8a3d ===== */
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button.primary,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-save,
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerSaveBtn,
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-save,
.system-pro-v3 #cobAcordoDrawerOverlay button[onclick*="salvarCobAgenda"],
.system-pro-v3 #cobAcordoDrawerOverlay button[onclick*="salvarAgenda"]{
  background:#ff8a3d!important;
  border-color:#ff8a3d!important;
  color:#161616!important;
}

.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-agreement-actions button.primary:hover:not(:disabled),
.system-pro-v3 #cobAcordoDrawerOverlay .cob-drawer-save:hover:not(:disabled),
.system-pro-v3 #cobAcordoDrawerOverlay #cobDrawerSaveBtn:hover:not(:disabled),
.system-pro-v3 #cobAcordoDrawerOverlay .cob-agenda-save:hover:not(:disabled),
.system-pro-v3 #cobAcordoDrawerOverlay button[onclick*="salvarCobAgenda"]:hover:not(:disabled),
.system-pro-v3 #cobAcordoDrawerOverlay button[onclick*="salvarAgenda"]:hover:not(:disabled){
  background:#ff9d63!important;
  border-color:#ff9d63!important;
  color:#161616!important;
}


/* ===== v3261-acordos-sem-duplicidade ===== */
.system-pro-v3 #cobPanelAcordos .cob-acordos-head > div:first-child{
  display:none !important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-head{
  justify-content:flex-end !important;
  align-items:center !important;
  gap:12px !important;
  padding-top:18px !important;
  padding-bottom:18px !important;
}
.system-pro-v3 #cobPanelAcordos .cob-acordos-head-right{
  margin-left:auto !important;
}


/* ===== v3262-acordos-filtros-controles-compactos ===== */
/* 1. Contador à esquerda, ações à direita */
.system-pro-v3 #cobPanelAcordos .cob-acordos-head-right{
  width:100%!important;
  margin-left:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
}

.system-pro-v3 #cobPanelAcordos .cob-acordos-count{
  margin-right:auto!important;
  text-align:left!important;
}

/* 2. Filtros mais compactos */
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .fs,
.system-pro-v3 #cobPanelAcordos .cob-acordos-filter .dperiod,
.system-pro-v3 #cobPanelAcordos #cobAcordosBusca{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  border-radius:8px!important;
  font-size:13px!important;
}

/* Dropdowns dos <select> de Acordos no mesmo modelo do Status */
.system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact{
  box-sizing:border-box!important;
  max-height:210px!important;
  padding:4px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#161b22!important;
  box-shadow:0 14px 32px rgba(0,0,0,.38)!important;
}

.system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option{
  min-height:30px!important;
  padding:6px 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#c3cad3!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:560!important;
  text-align:left!important;
}

.system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option:hover{
  background:#21262d!important;
  color:#e6edf3!important;
}

.system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option.selected{
  background:transparent!important;
  color:#ff8a3d!important;
  font-weight:700!important;
}

/* Status filter criado diretamente no body */
#cobSelectFloatMenu.cob-select-filter-compact > .cob-select-float-item{
  box-sizing:border-box!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  text-align:left!important;
}

#cobSelectFloatMenu.cob-select-filter-compact > .cob-select-float-item:hover{
  background:#21262d!important;
}

/* 3. Controles inline da Carteira iguais ao padrão compacto de PROD */
.system-pro-v3 #cobPanelAcordos .cob-status-btn,
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn{
  width:auto!important;
  min-width:0!important;
  max-width:max-content!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  padding:0 7px!important;
  gap:4px!important;
  border-radius:6px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:650!important;
  white-space:nowrap!important;
}

.system-pro-v3 #cobPanelAcordos .cob-status-btn svg,
.system-pro-v3 #cobPanelAcordos .cob-inline-choice-btn svg{
  width:10px!important;
  height:10px!important;
  min-width:10px!important;
  flex:0 0 10px!important;
}

/* Menus inline: Status / Origem / Acordo atual */
#cobStatusFloatMenu > button,
#cobInlineChoiceMenu > button{
  box-sizing:border-box!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border-radius:6px!important;
  background:transparent!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:11px!important;
  line-height:1!important;
  text-align:left!important;
}

#cobStatusFloatMenu > button:hover,
#cobInlineChoiceMenu > button:hover{
  background:#21262d!important;
}

/* Light */
body[data-theme=light].system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact{
  background:#fff!important;
  border-color:#dfe3e8!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option{
  color:#4e5864!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option:hover{
  background:#f2f4f6!important;
  color:#20242a!important;
}


/* ===== v3263-filtros-com-selecione ===== */
.system-pro-v3 #cobPanelAcordos .csel-trigger.muted,
.system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option.muted{
  color:#8b949e!important;
  font-weight:520!important;
}

.system-pro-v3 #cobPanelAcordos .csel-panel-acordos-compact .csel-option:first-child{
  color:#8b949e!important;
}

/* Status é um menu custom fora da árvore do painel */
#cobSelectFloatMenu.cob-select-filter-compact > .cob-select-float-item:first-child{
  color:#8b949e!important;
  font-weight:520!important;
}


/* ===== v3264-adicionar-pessoa-refinado ===== */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-card-v112{
  width:min(700px,94vw)!important;
  max-height:90vh!important;
  border:1px solid #30363d!important;
  border-radius:14px!important;
  background:#161b22!important;
  box-shadow:0 24px 70px rgba(0,0,0,.42)!important;
}

/* ---------- CABEÇALHO ---------- */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-v112{
  padding:18px 20px!important;
  gap:14px!important;
  border-bottom:1px solid #30363d!important;
  background:#161b22!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-main{
  gap:12px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:9px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-icon svg{
  width:18px!important;
  height:18px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .imp-confirm-title{
  margin:0!important;
  color:#e6edf3!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:750!important;
  letter-spacing:-.08px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-sub{
  max-width:520px!important;
  margin-top:4px!important;
  color:#8b949e!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:500!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-close{
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  border-radius:7px!important;
  color:#8b949e!important;
}

/* ---------- CORPO ---------- */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-body-v112{
  max-height:calc(90vh - 142px)!important;
  padding:18px 20px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section{
  padding:15px 16px!important;
  border:1px solid #30363d!important;
  border-radius:10px!important;
  background:#161b22!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section + .cob-np-section{
  margin-top:12px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head{
  gap:10px!important;
  margin-bottom:14px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:#1c2128!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-icon svg{
  width:15px!important;
  height:15px!important;
}

/* Título de seção */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head strong{
  display:block!important;
  color:#e6edf3!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
}

/* Descrição da seção */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head span{
  display:block!important;
  margin-top:2px!important;
  color:#8b949e!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:500!important;
}

/* ---------- CAMPOS ---------- */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-grid{
  gap:12px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .fg{
  margin:0!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .fl{
  margin:0 0 6px!important;
  color:#8b949e!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:650!important;
  letter-spacing:0!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-required{
  color:#ff8a3d!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .fs,
.system-pro-v3 #cobNovaPessoaOverlay .csel-trigger{
  box-sizing:border-box!important;
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 12px!important;
  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:#1c2128!important;
  color:#e6edf3!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:520!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .fs::placeholder{
  color:#6e7681!important;
  font-size:13px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .fs:focus,
.system-pro-v3 #cobNovaPessoaOverlay .csel.open .csel-trigger{
  outline:none!important;
  border-color:#57606a!important;
  box-shadow:0 0 0 3px rgba(139,148,158,.08)!important;
}

/* Dropdown Unidade segue o mesmo padrão */
.system-pro-v3 #cobNovaPessoaOverlay .csel-panel{
  max-height:180px!important;
  padding:4px!important;
  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:#161b22!important;
  box-shadow:0 14px 32px rgba(0,0,0,.38)!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .csel-option{
  min-height:32px!important;
  padding:7px 9px!important;
  display:flex!important;
  align-items:center!important;
  border-radius:6px!important;
  color:#c3cad3!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:550!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .csel-option:hover{
  background:#21262d!important;
  color:#e6edf3!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .csel-option.selected{
  background:transparent!important;
  color:#ff8a3d!important;
  font-weight:700!important;
}

/* ---------- AVISO "CONTATAR" ---------- */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview{
  margin-top:12px!important;
  padding:12px 14px!important;
  gap:10px!important;
  border:1px solid rgba(59,130,246,.18)!important;
  border-radius:9px!important;
  background:rgba(59,130,246,.055)!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  border-radius:8px!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview strong{
  display:block!important;
  color:#e6edf3!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:700!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview span{
  display:block!important;
  margin-top:3px!important;
  color:#8b949e!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:500!important;
}

/* ---------- RODAPÉ / BOTÕES ---------- */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-footer-v112{
  min-height:58px!important;
  padding:12px 20px!important;
  gap:8px!important;
  border-top:1px solid #30363d!important;
  background:#161b22!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-footer-v112 .fbtn{
  width:auto!important;
  min-width:auto!important;
  max-width:none!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 16px!important;
  border-radius:8px!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
}

/* Cancelar = secundário */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-cancel{
  border:1px solid #30363d!important;
  background:#1c2128!important;
  color:#b7c0ca!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-cancel:hover:not(:disabled){
  background:#21262d!important;
  color:#e6edf3!important;
}

/* Adicionar pessoa = CTA principal aprovado */
.system-pro-v3 #cobNovaPessoaOverlay .cob-np-save{
  min-width:145px!important;
  border:1px solid #ff8a3d!important;
  background:#ff8a3d!important;
  color:#161616!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-save:hover:not(:disabled){
  border-color:#ff9d63!important;
  background:#ff9d63!important;
  color:#161616!important;
}

.system-pro-v3 #cobNovaPessoaOverlay .cob-np-save svg{
  width:13px!important;
  height:13px!important;
}

/* ---------- LIGHT ---------- */
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .cob-np-card-v112,
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-v112,
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .cob-np-section,
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .cob-np-footer-v112{
  background:#fff!important;
  border-color:#dfe3e8!important;
}

body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .imp-confirm-title,
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .cob-np-section-head strong,
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .cob-np-status-preview strong{
  color:#171a1f!important;
}

body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .fs,
body[data-theme=light].system-pro-v3 #cobNovaPessoaOverlay .csel-trigger{
  background:#f8f9fb!important;
  border-color:#dfe3e8!important;
  color:#303740!important;
}

/* ---------- RESPONSIVO ---------- */
@media(max-width:620px){
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-head-v112,
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-body-v112,
  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-footer-v112{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-grid{
    grid-template-columns:1fr!important;
  }

  .system-pro-v3 #cobNovaPessoaOverlay .cob-np-span-2{
    grid-column:auto!important;
  }
}


/* ===== v3269-menu-cobrancas-fix-real ===== */
.system-pro-v3 .sb-v269-cobrancas-list{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}


/* ===== legacy-105 ===== */
@keyframes spin{to{transform:rotate(360deg)}}
/* ========================================================================
   PARCELAMENTOS — V3.271
   Refinamento consolidado: filtros, tabela, cobrança por vencimento,
   contexto superior e status por parcela.
   ======================================================================== */

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card{
  background:#161b22!important;
  border-color:#30363d!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card{
  background:#161b22!important;
  border-color:#30363d!important;
}

/* Sem cabeçalho duplicado dentro do bloco. */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card > .th2{
  display:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card > .th2{
  display:none!important;
}

/* Filtros no padrão de Acordos */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(180px,240px) minmax(190px,260px) auto!important;
  align-items:end!important;
  gap:10px!important;
  padding:16px!important;
  border-bottom:1px solid #30363d!important;
  background:#161b22!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(180px,240px) minmax(190px,260px) auto!important;
  align-items:end!important;
  gap:10px!important;
  padding:16px!important;
  border-bottom:1px solid #30363d!important;
  background:#161b22!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fg{
  min-width:0!important;
  margin:0!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fg{
  min-width:0!important;
  margin:0!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fl{
  margin:0 0 6px!important;
  color:#929ba7!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fl{
  margin:0 0 6px!important;
  color:#929ba7!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .dperiod,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters .csel-trigger{
  width:100%!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:#1c2128!important;
  color:#d8dde4!important;
  box-shadow:none!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .dperiod,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .csel-trigger{
  width:100%!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:#1c2128!important;
  color:#d8dde4!important;
  box-shadow:none!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:13px!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filter-unidade .fs,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filter-unidade .csel-trigger,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filter-unidade .csel-trigger-label{
  font-size:14px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filter-unidade .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filter-unidade .csel-trigger,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filter-unidade .csel-trigger-label{
  font-size:14px!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-count{
  align-self:end!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px!important;
  border:1px solid rgba(255,138,61,.30)!important;
  border-radius:9px!important;
  background:rgba(255,138,61,.07)!important;
  color:#ff9d63!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-count{
  align-self:end!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px!important;
  border:1px solid rgba(255,138,61,.30)!important;
  border-radius:9px!important;
  background:rgba(255,138,61,.07)!important;
  color:#ff9d63!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

/* Dropdowns compactos também em Parcelamentos */
.system-pro-v3 #cobPanelParcelamentos .csel-panel-cobrancas-compact,
.system-pro-v3 #cobPanelParcelamentos .csel-panel-acordos-compact{
  box-sizing:border-box!important;
  max-height:210px!important;
  padding:4px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#161b22!important;
  box-shadow:0 14px 32px rgba(0,0,0,.38)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-cobrancas-compact,
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-acordos-compact{
  box-sizing:border-box!important;
  max-height:210px!important;
  padding:4px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#161b22!important;
  box-shadow:0 14px 32px rgba(0,0,0,.38)!important;
}

.system-pro-v3 #cobPanelParcelamentos .csel-panel-cobrancas-compact .csel-option,
.system-pro-v3 #cobPanelParcelamentos .csel-panel-acordos-compact .csel-option{
  min-height:30px!important;
  padding:6px 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#c3cad3!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:560!important;
  text-align:left!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-cobrancas-compact .csel-option,
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-acordos-compact .csel-option{
  min-height:30px!important;
  padding:6px 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#c3cad3!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:560!important;
  text-align:left!important;
}

.system-pro-v3 #cobPanelParcelamentos .csel-panel-cobrancas-compact .csel-option:hover,
.system-pro-v3 #cobPanelParcelamentos .csel-panel-acordos-compact .csel-option:hover{
  background:#21262d!important;
  color:#e6edf3!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-cobrancas-compact .csel-option:hover,
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-acordos-compact .csel-option:hover{
  background:#21262d!important;
  color:#e6edf3!important;
}

.system-pro-v3 #cobPanelParcelamentos .csel-panel-cobrancas-compact .csel-option.selected,
.system-pro-v3 #cobPanelParcelamentos .csel-panel-acordos-compact .csel-option.selected{
  background:transparent!important;
  color:#ff8a3d!important;
  font-weight:700!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-cobrancas-compact .csel-option.selected,
.system-pro-v3 #cobPanelAcordosFinanceiro .csel-panel-acordos-compact .csel-option.selected{
  background:transparent!important;
  color:#ff8a3d!important;
  font-weight:700!important;
}

/* Contexto do filtro agora fica na mesma altura do título da página. */
.system-pro-v3 #page-renegociacao .pghead{
  align-items:center!important;
}

.system-pro-v3 #page-renegociacao .cob-parcelas-page-context{
  margin-left:auto!important;
  display:flex;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
}

.system-pro-v3 #page-renegociacao .cob-parcelas-context-label{
  color:#9aa4b0!important;
  font-size:12px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

.system-pro-v3 #page-renegociacao .cob-parcelas-back-btn{
  height:32px!important;
  min-height:32px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #30363d!important;
  border-radius:8px!important;
  background:#161b22!important;
  color:#c9d1d9!important;
  font-size:12px!important;
  font-weight:650!important;
}

.system-pro-v3 #page-renegociacao .cob-parcelas-back-btn:hover{
  background:#21262d!important;
  border-color:#484f58!important;
  color:#f0f6fc!important;
}

.system-pro-v3 #page-renegociacao .cob-parcelas-back-btn svg{
  width:13px!important;
  height:13px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Cobrança por vencimento: dark neutro GitHub-like, sem tom marrom. */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{
  margin:0 16px 14px!important;
  padding:15px!important;
  border:1px solid #30363d!important;
  border-radius:12px!important;
  background:#161b22!important;
  box-shadow:none!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  border-color:#30363d!important;
  background:#1c2128!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:hover,
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card.active{
  background:#21262d!important;
}

/* SVGs mais vivos */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(1) .cob-charge-card-icon{
  color:#58a6ff!important;
  border-color:rgba(88,166,255,.36)!important;
  background:rgba(88,166,255,.12)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(2) .cob-charge-card-icon{
  color:#f2cc60!important;
  border-color:rgba(242,204,96,.36)!important;
  background:rgba(242,204,96,.12)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(3) .cob-charge-card-icon{
  color:#3fb950!important;
  border-color:rgba(63,185,80,.36)!important;
  background:rgba(63,185,80,.12)!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(1) .cob-charge-card-arrow{color:#58a6ff!important;opacity:.95!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(2) .cob-charge-card-arrow{color:#f2cc60!important;opacity:.95!important}
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card:nth-child(3) .cob-charge-card-arrow{color:#3fb950!important;opacity:.95!important}

/* Tabela principal: 14px e alinhamento mais natural à esquerda. */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table{
  width:100%!important;
  table-layout:fixed!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table{
  width:100%!important;
  table-layout:fixed!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th{
  height:40px!important;
  padding:0 12px!important;
  text-align:left!important;
  font-size:12px!important;
  line-height:1.3!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  height:40px!important;
  padding:0 12px!important;
  text-align:left!important;
  font-size:12px!important;
  line-height:1.3!important;
}

.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td{
  min-height:52px!important;
  padding:13px 12px!important;
  text-align:left!important;
  font-size:14px!important;
  line-height:1.4!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td{
  min-height:52px!important;
  padding:13px 12px!important;
  text-align:left!important;
  font-size:14px!important;
  line-height:1.4!important;
}

/* primeira coluna é apenas expansão/seleção */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(1){
  width:44px!important;
  padding-left:14px!important;
  padding-right:6px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(1){
  width:44px!important;
  padding-left:14px!important;
  padding-right:6px!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(1){
  width:44px!important;
  padding-left:14px!important;
  padding-right:6px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(1){
  width:44px!important;
  padding-left:14px!important;
  padding-right:6px!important;
}

/* Visão normal: sem status genérico do acordo. */
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > thead th:nth-child(2){width:18%!important}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > thead th:nth-child(3){width:31%!important}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > thead th:nth-child(4){width:21%!important}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > thead th:nth-child(5){width:30%!important}
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > thead th:nth-child(6),
.system-pro-v3 #cobPanelParcelamentos:not(.cob-parcelas-em-envio) .cob-parcelas-table > tbody > tr:not(.cob-parcela-detail-row) > td:nth-child(6){
  display:none!important;
}

/* ID Acordo encosta visualmente mais perto da margem esquerda. */
.system-pro-v3 #cobPanelParcelamentos .cob-parcelas-table > thead th:nth-child(2),
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  padding-left:6px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th:nth-child(2),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){
  padding-left:6px!important;
}

/* Parcelas expandidas: 13px. */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table thead th{
  padding:8px 10px!important;
  font-size:12px!important;
  line-height:1.3!important;
  text-align:left!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th{
  padding:8px 10px!important;
  font-size:12px!important;
  line-height:1.3!important;
  text-align:left!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table tbody td{
  padding:9px 10px!important;
  font-size:13px!important;
  line-height:1.4!important;
  text-align:left!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td{
  padding:9px 10px!important;
  font-size:13px!important;
  line-height:1.4!important;
  text-align:left!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table thead th:first-child,
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table tbody td:first-child{
  padding-left:14px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:first-child,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:first-child{
  padding-left:14px!important;
}

/* Vencimento do dia: colunas alinhadas e status realmente acionável.
   Coluna 1 não tem mais seletor (envio é automático às 09h) — fica só
   um respiro estreito à esquerda, e o espaço liberado vai para Aluno. */
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(1){width:16px!important}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(2){width:17%!important}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(3){width:27%!important}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(4){width:18%!important}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(5){width:16%!important}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(6){width:11%!important}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio .cob-parcelas-table > thead th:nth-child(7){width:11%!important}

.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio #cobParcelasBody > tr.cob-hoje-row > td{
  vertical-align:middle!important;
  padding:18px 16px!important;
  overflow:hidden!important;
}
.system-pro-v3 #cobPanelParcelamentos.cob-parcelas-em-envio #cobParcelasBody > tr.cob-hoje-row > td:first-child{
  width:16px!important;
  padding-left:0!important;
  padding-right:0!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela strong,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno strong,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-vencimento,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-valor{
  font-size:14px!important;
}

.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela-meta,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno span,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-valor small{
  font-size:12px!important;
}

/* "Vence hoje" em amarelo, como prioridade operacional. */
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-vencimento small{
  margin-top:3px!important;
  color:#f2cc60!important;
  font-size:12px!important;
  font-weight:700!important;
}

/* Status na visão do dia deixa claro que é clicável. */
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-status-cell{
  cursor:pointer!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-status-cell:hover{
  background:rgba(255,255,255,.025)!important;
}

/* Nome longo (ou "Parcela X/Y") não pode vazar pra célula vizinha: a
   tabela é table-layout:fixed e um "tbody td{white-space:nowrap}" genérico
   do app faz o texto não quebrar linha; sem min-width:0 nos itens do flex
   column, o <strong> também não encolhe abaixo do próprio conteúdo. */
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno{
  min-width:0!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela strong,
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-aluno span{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela-meta{
  max-width:100%!important;
  overflow:hidden!important;
}
.system-pro-v3 #cobPanelParcelamentos .cob-hoje-parcela-meta > *{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  min-width:0!important;
}

/* Responsivo */
@media(max-width:1180px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
    grid-template-columns:minmax(220px,1fr) minmax(160px,220px) minmax(180px,220px)!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
    grid-template-columns:minmax(220px,1fr) minmax(160px,220px) minmax(180px,220px)!important;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-count{
    grid-column:1/-1!important;
    justify-self:end!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-count{
    grid-column:1/-1!important;
    justify-self:end!important;
  }
}

@media(max-width:760px){
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters{
    grid-template-columns:1fr!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
    grid-template-columns:1fr!important;
  }
  .system-pro-v3 #cobPanelParcelamentos .cob-parcelas-count{
    justify-self:stretch!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-count{
    justify-self:stretch!important;
  }
  .system-pro-v3 #page-renegociacao .pghead{
    align-items:flex-start!important;
  }
  .system-pro-v3 #page-renegociacao .cob-parcelas-page-context{
    width:100%!important;
    justify-content:space-between!important;
  }
}

/* Light */
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-card,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-filters,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-collection{
  background:#fff!important;
  border-color:#dfe3e8!important;
}
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-card,
body[data-theme=light].system-pro-v3 #cobPanelParcelamentos .cob-parcelas-charge-actions{
  background:#f8f9fb!important;
  border-color:#dfe3e8!important;
}

/* ===== FIX FINAL — ALINHAMENTO DO BLOCO DE PARCELAS EXPANDIDAS ===== */
/* O bloco expandido deve ocupar melhor a largura disponível: pouco recuo à esquerda,
   respiro vertical preservado e sem alterar a estrutura/funcionalidade da tabela. */
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr.cob-parcela-detail-row > td{
  padding-top:10px!important;
  padding-right:12px!important;
  padding-bottom:16px!important;
  padding-left:24px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr.cob-parcela-detail-row > td{
  padding-top:10px!important;
  padding-right:12px!important;
  padding-bottom:16px!important;
  padding-left:24px!important;
}
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr.cob-parcela-detail-row .cob-parcela-detail-card{
  width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr.cob-parcela-detail-row .cob-parcela-detail-card{
  width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Tipografia solicitada: cabeçalhos e linhas das parcelas em 13px. */
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table thead th,
.system-pro-v3 #cobPanelParcelamentos .cob-parcela-inline-table tbody td{
  font-size:13px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td{
  font-size:13px!important;
}

@media(max-width:900px){
  .system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr.cob-parcela-detail-row > td{
    padding:8px 10px 14px 18px!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr.cob-parcela-detail-row > td{
    padding:8px 10px 14px 18px!important;
  }
}


/* ===== FIX V2 — PARCELAS EXPANDIDAS: SIMETRIA + TIPOGRAFIA 13PX =====
   Ajuste exclusivamente visual. Mantém toda lógica e interação existentes. */

/* Mesmo respiro dos dois lados do bloco expandido. */
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr.cob-parcela-detail-row > td{
  padding-top:10px!important;
  padding-right:12px!important;
  padding-bottom:16px!important;
  padding-left:12px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr.cob-parcela-detail-row > td{
  padding-top:10px!important;
  padding-right:12px!important;
  padding-bottom:16px!important;
  padding-left:12px!important;
}

.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr.cob-parcela-detail-row > td > .cob-parcela-detail-card{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr.cob-parcela-detail-row > td > .cob-parcela-detail-card{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* 13px reais no cabeçalho e nas linhas.
   Seletores deliberadamente mais específicos para vencer regras legadas. */
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody .cob-parcela-detail-card > table.cob-parcela-inline-table > thead > tr > th{
  font-size:13px!important;
  line-height:1.35!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody .cob-parcela-detail-card > table.cob-parcela-inline-table > thead > tr > th{
  font-size:13px!important;
  line-height:1.35!important;
}

.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody .cob-parcela-detail-card > table.cob-parcela-inline-table > tbody > tr > td{
  font-size:13px!important;
  line-height:1.4!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody .cob-parcela-detail-card > table.cob-parcela-inline-table > tbody > tr > td{
  font-size:13px!important;
  line-height:1.4!important;
}

/* Mantém a primeira coluna visualmente coerente com as demais. */
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody .cob-parcela-detail-card > table.cob-parcela-inline-table > thead > tr > th:first-child,
.system-pro-v3 #cobPanelParcelamentos #cobParcelasBody .cob-parcela-detail-card > table.cob-parcela-inline-table > tbody > tr > td:first-child{
  padding-left:12px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody .cob-parcela-detail-card > table.cob-parcela-inline-table > thead > tr > th:first-child,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody .cob-parcela-detail-card > table.cob-parcela-inline-table > tbody > tr > td:first-child{
  padding-left:12px!important;
}

@media(max-width:900px){
  .system-pro-v3 #cobPanelParcelamentos #cobParcelasBody > tr.cob-parcela-detail-row > td{
    padding:8px 10px 14px 10px!important;
  }
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr.cob-parcela-detail-row > td{
    padding:8px 10px 14px 10px!important;
  }
}

/* ========================================================================
   ACORDOS (Parcelamentos / À vista) — V3.196
   Mesmo padrão visual já consolidado em Cobrança por Vencimento (V3.271),
   reaplicado para a nova aba de Acordos: cartão escuro, filtros em grid,
   tabela com cabeçalho de 12px e células de 14px.
   ======================================================================== */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card{
  background:#161b22!important;
  border-color:#30363d!important;
}

.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 240px auto!important;
  align-items:end!important;
  gap:10px!important;
  padding:16px!important;
  border-bottom:1px solid #30363d!important;
  background:#161b22!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fg{min-width:0!important;margin:0!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fl,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-filtro .fl{
  margin:0 0 6px!important;color:#929ba7!important;font-size:12px!important;
  line-height:1.25!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-filtro .fs{
  width:100%!important;max-width:none!important;height:38px!important;min-height:38px!important;
  box-sizing:border-box!important;padding:0 12px!important;
  border:1px solid rgba(255,255,255,.12)!important;border-radius:8px!important;
  background:#1c2128!important;color:#d8dde4!important;box-shadow:none!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:13px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-count{
  align-self:end!important;min-width:145px!important;height:38px!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;
  justify-content:center!important;padding:0 12px!important;border:1px solid rgba(255,138,61,.30)!important;
  border-radius:8px!important;background:rgba(255,138,61,.07)!important;color:#ff9d63!important;
  font-size:12px!important;font-weight:700!important;white-space:nowrap!important;
}

/* Tabs Parcelamentos/À vista: mesmo tamanho e posição nas duas abas, só o
   destaque padrão do sistema (cor + linha laranja inferior de .drawer-tab.active,
   sem tocar nessa parte) muda com a aba ativa. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-fin-subtabs{padding:0 16px!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-fin-subtabs .drawer-tab{
  display:inline-flex!important;align-items:center!important;
  height:40px!important;box-sizing:border-box!important;
  padding:0 14px!important;font-size:13px!important;font-weight:600!important;
}

.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table-wrap{
  background:#161b22!important;border-color:#30363d!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
/* Propriedades comuns de th/td das duas tabelas (Parcelamentos e À vista):
   compartilhadas aqui pra não duplicar CSS por aba — só largura/alinhamento
   por coluna (que difere pela quantidade e proporção de colunas de cada
   tabela) fica em regra própria por tabela, mais abaixo. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  height:52px!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
  padding:0 16px!important;
  font-size:13px!important;
  font-weight:600!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
/* Selector id-escopado por tbody (em vez de .cob-parcelas-table > tbody
   genérico): precisa empatar/vencer em especificidade regras legadas mais
   antigas (ex.: #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody >
   tr:not(...) > td, que já existiam com padding/font-size próprios) —
   sendo declarada depois no arquivo, esta regra vence o empate e garante
   que as duas tabelas fiquem com a mesma altura/padding/fonte. */
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td{
  height:52px!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
  padding:0 16px!important;
  font-size:13px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th.cob-col-acordos-arrow,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:first-child,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:first-child{
  padding:0 8px!important;
  text-align:center!important;
}

@media(max-width:900px){
  .system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{grid-template-columns:1fr!important}
}

body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-card,
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters{
  background:#fff!important;border-color:#dfe3e8!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table-wrap{
  background:#fff!important;border-color:#e5e8ec!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > thead th{
  border-bottom-color:rgba(0,0,0,.08)!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table > tbody > tr:not(.cob-parcela-detail-row) > td{
  border-bottom-color:rgba(0,0,0,.06)!important;
}
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-filters .fs,
body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-filtro .fs{
  background:#f8f9fb!important;border-color:#dfe3e8!important;color:#171a1f!important;
}

/* Linha expandida (mesmo padrão de "Cobrança por Vencimento"): clique no
   acordo mostra as parcelas por baixo, com as mesmas células editáveis. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-row{
  background:transparent!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-row > td{
  padding:10px 16px 16px 16px!important;
  border-top:1px solid #30363d!important;
  vertical-align:top!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card{
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:10px!important;
  background:#1c2128!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-resumo{
  padding:12px 14px!important;
  font-size:12.5px!important;
  color:var(--t2)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table{
  table-layout:fixed!important;
  width:100%!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td{
  font-size:13px!important;
  line-height:1.4!important;
  padding:8px 10px!important;
  text-align:left!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
/* Sem largura própria, table-layout:fixed divide as 7 colunas em partes
   iguais — Status (a mais apertada de conteúdo, por causa do badge) ficava
   menor do que precisa e vazava pra fora do card. Mesma distribuição já
   usada com sucesso em "Cobrança por Vencimento". */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(1),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(1){width:9%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(2),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(2){width:14%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(3),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(3){width:15%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(4),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(4){width:16%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(5),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(5){width:16%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(6),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(6){width:16%!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th:nth-child(7),
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td:nth-child(7){width:14%!important}
/* Segurança extra: se mesmo assim algo não couber (janela muito estreita),
   rola por dentro do card em vez de vazar pra fora da tela. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card{
  overflow-x:auto!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell{
  position:relative!important;
  cursor:pointer!important;
  transition:background .12s ease!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell:hover{
  background:var(--pro-hover)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-value{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-hover-hint{
  position:absolute!important;
  top:50%!important;
  right:7px!important;
  transform:translateY(-50%)!important;
  color:var(--t3)!important;
  font-size:.50rem!important;
  font-weight:650!important;
  opacity:0!important;
  visibility:hidden!important;
  transition:opacity .12s ease,visibility .12s ease!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell:hover .cob-parcela-hover-hint{
  opacity:.72!important;
  visibility:visible!important;
}

/* Badge de status (Pendente/Pago/Atrasado/Parcial) — sem isso o SVG da
   setinha de "clique para trocar" fica sem tamanho travado e estica a
   linha inteira (era o que estava quebrando o visual em Acordos). */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 8px!important;
  gap:5px!important;
  border:0!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:.60rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge > span{
  font:inherit!important;
  line-height:1!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-badge svg{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  opacity:.72!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell .cob-parcela-status-badge{
  pointer-events:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-click-cell:hover .cob-parcela-status-badge{
  filter:brightness(1.10)!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-neutral{color:#cbd5e1!important;background:rgba(148,163,184,.12)!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-warning{color:#fbbf24!important;background:rgba(245,158,11,.15)!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-error{color:#fca5a5!important;background:rgba(239,68,68,.14)!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-status-success{color:#6ee7b7!important;background:rgba(16,185,129,.16)!important}

.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-neutral{color:#475569!important;background:rgba(100,116,139,.10)!important}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-warning{color:#b45309!important;background:rgba(245,158,11,.11)!important}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-error{color:#b91c1c!important;background:rgba(239,68,68,.10)!important}
.system-pro-v3[data-theme=light] #cobPanelAcordosFinanceiro .cob-parcela-status-success{color:#047857!important;background:rgba(5,150,105,.10)!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo{
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  font-size:13px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo.entrada{background:rgba(255,138,61,.10)!important;color:#fb923c!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo.regular{background:rgba(59,130,246,.10)!important;color:#93c5fd!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-tipo.avista{background:rgba(16,185,129,.10)!important;color:#6ee7b7!important}

body[data-theme=light].system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-detail-card{
  background:#fbfcfd!important;border-color:#e2e6eb!important;
}

/* Filtro de Situação — só existe dentro de À vista, então fica fora da
   grade de filtros compartilhada (Buscar/Unidade) pra não bagunçar a
   sub-aba de Parcelamentos. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-filtro{
  display:flex!important;
  width:auto!important;
  max-width:none!important;
  padding:0 16px!important;
  margin:0 0 16px!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-filtro .fg{width:188px!important;flex:0 0 auto!important;margin:0!important}

/* Tamanho de letra padrão (13px) nas duas sub-abas (Parcelamentos e À
   vista). O CSS herdado de Cobrança por Vencimento tem várias eras de
   regra de font-size brigando entre si (.68rem, .78rem, 12px, 14px...);
   em vez de caçar qual delas está "ganhando" em cada coluna, fixamos aqui
   um valor único e definitivo pras células de dado das duas tabelas
   (arrow, ID Acordo, Aluno, Parcelas/Previsto, Recebido/Situação, Data) e
   também da tabela de parcelas expandida, incluindo o cabeçalho dela. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcelas-table tbody tr:not(.cob-parcela-detail-row) > td{
  font-size:13px!important;
  line-height:1.4!important;
  vertical-align:middle!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table thead th,
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-parcela-inline-table tbody td{
  font-size:13px!important;
  line-height:1.4!important;
}
/* Colunas 2-5 de #cobAcordosParcelamentoBody tinham regras antigas por
   nth-child (.56rem/.60rem/.68rem/.70rem/.72rem/.80rem) mais específicas
   que a regra geral acima, então continuavam ganhando a cascata. Repete o
   mesmo nível de especificidade aqui (o valor de font-size em si vem da
   regra compartilhada mais acima, que pede 13px nas células). */
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(4),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(5),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:nth-child(2){
  font-size:13px!important;
}

/* Parcelamentos e À vista precisam ficar visualmente iguais: mesma cor, sem
   negrito, sem sublinhado/cor de link — hoje só a coluna Aluno de
   Parcelamentos (nth-child 3) herdava negrito+cor mais clara de Cobrança
   por Vencimento, e À vista podia herdar cor de link de algum estilo
   genérico. Uma regra só, cobrindo as duas tabelas. */
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr > td:not(:first-child),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:not(:first-child),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr > td:not(:first-child),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:not(:first-child){
  color:var(--tx)!important;
  font-weight:400!important;
  text-decoration:none!important;
}
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody a,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody a:visited,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody a:link,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody a,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody a:visited,
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody a:link{
  color:var(--tx)!important;
  font-weight:400!important;
  text-decoration:none!important;
}

/* Grade fixa de largura/alinhamento por coluna — por especificação exata,
   só ajuste visual. As propriedades comuns (altura, padding, tipografia,
   borda) já ficam na regra compartilhada .cob-parcelas-table mais acima;
   aqui fica só o que realmente difere entre as duas tabelas: quantidade e
   proporção de colunas. table-layout:fixed (também na regra
   compartilhada) garante que cabeçalho e conteúdo fiquem sempre alinhados
   na mesma posição. */
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-parcelamento-table > thead th:nth-child(1),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(1){width:4%!important;text-align:center!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-parcelamento-table > thead th:nth-child(2),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){width:17%!important;text-align:left!important;padding-left:16px!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-parcelamento-table > thead th:nth-child(3),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){width:40%!important;text-align:left!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-parcelamento-table > thead th:nth-child(4),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(4){width:19%!important;text-align:center!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-parcelamento-table > thead th:nth-child(5),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosParcelamentoBody > tr:not(.cob-parcela-detail-row) > td:nth-child(5){width:20%!important;text-align:center!important}

.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-table > thead th:nth-child(1),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:nth-child(1){width:4%!important;text-align:center!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-table > thead th:nth-child(2),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:nth-child(2){width:16%!important;text-align:left!important;padding-left:16px!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-table > thead th:nth-child(3),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:nth-child(3){width:32%!important;text-align:left!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-table > thead th:nth-child(4),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:nth-child(4){width:14%!important;text-align:center!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-table > thead th:nth-child(5),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:nth-child(5){width:16%!important;text-align:center!important}
.system-pro-v3 #cobPanelAcordosFinanceiro .cob-acordos-avista-table > thead th:nth-child(6),
.system-pro-v3 #cobPanelAcordosFinanceiro #cobAcordosAvistaBody > tr:not(.cob-parcela-detail-row) > td:nth-child(6){width:18%!important;text-align:center!important}
