:root {
  --bg: #eef2f8;
  --card: #fff;
  --text: #1f2a44;
  --muted: #6b728f;
  --line: #e6eaf3;
  --purple: #6f5bff;
  --purple-2: #7c3aed;
  --blue: #2e90fa;
  --green: #12b76a;
  --teal: #0e9f6e;
  --amber: #f79009;
  --red: #f04438;
  --shadow: 0 10px 30px rgba(31, 42, 68, .06);
  --radius: 18px;
  --sidebar: 260px;
}
* { box-sizing: border-box; }
html, body { margin: 0; font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
a { color: var(--purple); text-decoration: none; }
img { max-width: 100%; height: auto; }
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; min-width: 0; }
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.menu-toggle, .menu-close, .sidebar-overlay { display: none; }
.brand { display: flex; gap: 12px; align-items: center; padding: 0 8px 8px; }
.brand > div { min-width: 0; }
.logo {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, #6f5bff, #3b82f6);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.brand strong { display: block; font-size: 13.5px; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 11px; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; color: #4b5675; font-weight: 600; font-size: 14px;
}
.nav-item:hover { background: #f4f6fb; }
.nav-item.active { background: #eef0ff; color: var(--purple); }
.ico { width: 18px; height: 18px; border-radius: 5px; background: currentColor; opacity: .35; }
.sidebar-foot { margin-top: auto; }
.promo {
  background: linear-gradient(180deg, #f3f0ff, #ece9ff);
  border-radius: 18px; padding: 16px;
}
.promo strong { display: block; font-size: 13px; margin: 6px 0; }
.promo em { color: var(--muted); font-size: 11px; font-style: normal; }
.main { padding: 18px 22px 32px; min-width: 0; overflow-x: hidden; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.client-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; display: flex; align-items: center; gap: 8px; font-size: 13px;
  min-width: 0; flex: 1 1 auto;
}
.client-chip strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.badge-on { background: #ecfdf3; color: #067647; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.sep { width: 1px; height: 16px; background: var(--line); }
.persona { color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search { min-width: 0; }
.search input {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 14px; width: min(240px, 32vw); font: inherit; max-width: 100%;
}
.bell {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; color: var(--purple);
}
.user { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px 6px 6px; }
.user img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.user strong, .user small { display: block; }
.user small { color: var(--muted); font-size: 11px; }
.ops-nav {
  display: flex; gap: 8px; margin: 0 0 16px; padding: 6px; overflow-x: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); scrollbar-width: none;
}
.ops-nav::-webkit-scrollbar { display: none; }
.ops-link {
  flex: none; padding: 9px 16px; border-radius: 12px; color: #4b5675;
  font-weight: 650; font-size: 13.5px; white-space: nowrap;
}
.ops-link:hover { background: #f4f6fb; color: var(--text); }
.ops-link.active {
  background: linear-gradient(135deg, #6f5bff, #5b4ae8); color: #fff;
}
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.kpi { display: flex; gap: 12px; padding: 16px; align-items: center; }
.kpi span, .kpi small { display: block; color: var(--muted); font-size: 12px; }
.kpi b { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; word-break: break-word; }
.kpi-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; }
.kpi-ico.blue { background: var(--blue); }
.kpi-ico.violet { background: #7a5af8; }
.kpi-ico.green { background: var(--green); }
.kpi-ico.purple { background: var(--purple-2); }
.up { color: var(--green) !important; font-weight: 600; }
.down { color: var(--red) !important; font-weight: 600; }
.kpi-ico.amber { background: var(--amber); }
.kpi-ico.teal { background: var(--teal); }
.grid-dash { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 14px; margin-bottom: 14px; }
.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card { padding: 16px 18px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 16px; }
.card-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-clear {
  border: 1px solid var(--line); background: #fff; color: #4b5675;
  border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 11px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}
.btn-clear:hover { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.btn-clear:disabled { opacity: .55; cursor: default; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.pill { background: #eef0ff; color: var(--purple); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.chat { display: flex; flex-direction: column; gap: 12px; max-height: 340px; overflow: auto; padding-right: 6px; }
.chat.tall { max-height: 52vh; }
.bubble { display: flex; gap: 10px; align-items: flex-start; }
.bubble.user { flex-direction: row-reverse; }
.avatar { width: 32px; height: 32px; border-radius: 10px; background: var(--purple); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.bubble.user .avatar { background: #2e90fa; }
.msg { background: #f4f6fb; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; max-width: 85%; overflow-wrap: anywhere; }
.bubble.user .msg { background: #e8f1ff; }
.msg time { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.quick button, .composer button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 12px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.quick button.primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.composer { display: flex; gap: 8px; align-items: stretch; }
.composer input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit;
}
.composer button { background: var(--purple); color: #fff; border: 0; border-radius: 12px; padding: 0 16px; }
.fila, .alerts, .docs, .people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fila li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 13px; }
.fila li > div { min-width: 0; }
.fila strong, .alerts strong { display: block; overflow-wrap: anywhere; }
.fila small, .alerts small { color: var(--muted); }
.st { font-size: 11px; font-weight: 700; font-style: normal; border-radius: 999px; padding: 3px 8px; }
.st.andamento { background: #eef4ff; color: #175cd3; }
.st.aguardando { background: #fef4e6; color: #b54708; }
.st.concluida { background: #ecfdf3; color: #067647; }
.st.atrasada, .st.atrasado { background: #fef3f2; color: #b42318; }
.st.pendente { background: #f4f6fb; color: #4b5675; }
.st.pago { background: #ecfdf3; color: #067647; }
.st.hoje { background: #eef4ff; color: #175cd3; }
.st.vencido { background: #fef3f2; color: #b42318; }
.st.aberto { background: #f4f6fb; color: #4b5675; }
.st.contrato { background: #fef4e6; color: #b54708; }
.st.proposta { background: #eef0ff; color: var(--purple); }
.st.atendimento { background: #eef4ff; color: #175cd3; }
.st.interno { background: #f4f6fb; color: #4b5675; }
.st.ok { background: #ecfdf3; color: #067647; }
.st.novo { background: #eef4ff; color: #175cd3; }
.st.analise { background: #eef0ff; color: var(--purple); }
.st.aprovacao { background: #fef4e6; color: #b54708; }
.st.fiscal { background: #f4f6fb; color: #4b5675; }
.st.ata { background: #ecfdf3; color: #067647; }
.st.email { background: #eef4ff; color: #175cd3; }
.st.whatsapp { background: #ecfdf3; color: #067647; }
.st.rascunho { background: #eef0ff; color: var(--purple); }
.st.agendada { background: #eef4ff; color: #175cd3; }
.st.ativa { background: #ecfdf3; color: #067647; }
.st.encerrada { background: #f4f6fb; color: #4b5675; }
.alerts li { border-radius: 12px; padding: 10px 12px; padding-right: 88px; position: relative; }
.alerts .critico { background: #fef3f2; }
.alerts .atencao { background: #fffaeb; }
.alerts .info { background: #eef4ff; }
.alerts time { position: absolute; right: 12px; top: 10px; font-size: 11px; color: var(--muted); }
.grid-bottom { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); gap: 14px; }
.fluxo { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.fluxo li { flex: 1 1 0; min-width: 0; background: #f8fafc; border-radius: 14px; padding: 12px 8px; text-align: center; }
.fluxo b { display: block; font-size: 22px; }
.fluxo.big li { padding: 24px 8px; }
.fluxo .blue { color: var(--blue); }
.fluxo .violet { color: #7a5af8; }
.fluxo .green { color: var(--green); }
.fluxo .amber { color: var(--amber); }
.fluxo .teal { color: var(--teal); }
.mini-search input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; font: inherit; }
.kb { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.kb p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.integ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.integ-grid.large { grid-template-columns: repeat(3, 1fr); }
.integ { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.ok { color: var(--green); font-weight: 700; }
.bar { height: 8px; background: #eef0f6; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), #60a5fa); }
.muted, .ia-status { color: var(--muted); font-size: 13px; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.people li, .docs li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.people img { width: 44px; height: 44px; border-radius: 12px; }
.kv dt { color: var(--muted); margin-top: 12px; }
.kv dd { margin: 4px 0 0; overflow-wrap: anywhere; word-break: break-word; }
.page-card.full { min-height: calc(100vh - 110px); }
.typing { opacity: .7; font-style: italic; }

.menu-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; padding: 10px 11px; flex-direction: column; justify-content: space-between; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: #1f2a44; border-radius: 2px; }
.menu-close {
  margin-left: auto; width: 36px; height: 36px; border: 0; background: #f4f6fb;
  border-radius: 10px; font-size: 22px; line-height: 1; cursor: pointer; color: #4b5675;
}
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(31, 42, 68, .45); z-index: 40;
}

@media (max-width: 1280px) {
  .grid-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search input { width: 180px; }
}

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-dash { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    display: flex;
    position: fixed; left: 0; top: 0; bottom: 0;
    width: min(280px, 86vw); height: 100vh;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 20px 0 40px rgba(31, 42, 68, .12);
  }
  .app.nav-open .sidebar { transform: none; }
  .app.nav-open .sidebar-overlay { display: block; }
  .menu-toggle { display: flex; flex: none; }
  .menu-close { display: grid; place-items: center; }
  .main { padding: 14px 14px 28px; }
  .topbar { align-items: center; }
  .client-chip { order: 2; flex: 1 1 calc(100% - 54px); }
  .top-actions { order: 3; width: 100%; justify-content: flex-end; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .ops-nav { margin-bottom: 14px; }
}

@media (max-width: 720px) {
  .kpis, .grid-bottom, .integ-grid, .integ-grid.large { grid-template-columns: 1fr; }
  .kpi b { font-size: 26px; }
  .persona, .client-chip .sep { display: none; }
  .user-meta { display: none; }
  .user { padding: 4px; }
  .fila li {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .fila li .st, .fila li time {
    grid-column: 2;
    justify-self: start;
  }
  .fila li time { font-size: 11px; color: var(--muted); }
  .alerts li { padding-right: 12px; }
  .alerts time { position: static; display: block; margin-top: 6px; }
  .fluxo { flex-wrap: wrap; }
  .fluxo li { flex: 1 1 42%; }
  .msg { max-width: 100%; }
  .chat.tall { max-height: 58vh; }
  .page-card.full { min-height: auto; }
  .quick button { flex: 1 1 auto; }
  .composer button { flex: none; }
}

@media (max-width: 480px) {
  .kpis { grid-template-columns: 1fr; }
  .main { padding: 12px 10px 24px; }
  .card { padding: 14px; }
  .fluxo li { flex: 1 1 100%; }
  .quick { gap: 6px; }
  .quick button { width: 100%; }
  .composer { flex-wrap: wrap; }
  .composer button { width: 100%; padding: 12px 16px; }
  .bell { margin-left: auto; }
}

@media (hover: none) {
  .nav-item, .quick button, .composer button, .btn-pay { min-height: 44px; }
}

.fin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fin-head h1 { margin: 0; font-size: 22px; }
.fin-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.month-chips, .fin-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip {
  border: 1px solid var(--line); background: #fff; color: #4b5675;
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.chip.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.kpis-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-fin-2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 14px; margin-bottom: 14px; }
.grid-fin-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.cash-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cash-legend .in::before, .cash-legend .out::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px;
}
.cash-legend .in::before { background: var(--green); }
.cash-legend .out::before { background: #f7b5b0; }
.cash-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; }
.cash-col { flex: 1; min-width: 0; text-align: center; color: inherit; display: flex; flex-direction: column; gap: 8px; }
.cash-bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 150px; background: #f8fafc; border-radius: 12px; padding: 8px 6px 0; }
.cash-bars i { display: block; width: 12px; border-radius: 6px 6px 0 0; min-height: 6px; }
.cash-bars i.in { background: var(--green); }
.cash-bars i.out { background: #f7b5b0; }
.cash-col.ativo .cash-bars { outline: 2px solid var(--purple); }
.cash-col small { text-transform: uppercase; font-size: 11px; color: var(--muted); }
.dre { list-style: none; margin: 0; padding: 0; }
.dre li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.dre li.neg b { color: var(--muted); font-weight: 600; }
.dre li.sub { background: #f8fafc; margin: 0 -8px; padding: 8px; border-radius: 10px; border: 0; }
.dre li.total { border: 0; margin-top: 6px; font-size: 15px; }
.bank b { display: block; font-size: 22px; margin-top: 10px; letter-spacing: -.03em; }
.bank h3 { margin: 4px 0; }
.bank.green { border-top: 4px solid var(--green); }
.bank.blue { border-top: 4px solid var(--blue); }
.bank.purple { border-top: 4px solid var(--purple-2); }
.aging { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.aging-card {
  border: 1px solid var(--line); background: #f8fafc; border-radius: 12px; padding: 10px;
  text-align: left; cursor: pointer; font: inherit;
}
.aging-card span { display: block; color: var(--muted); font-size: 11px; }
.aging-card b { font-size: 13px; }
.fin-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fin-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; gap: 8px; align-items: center; font-size: 13px; }
.fin-list strong, .fin-list small { display: block; }
.fin-list small, .fin-list time { color: var(--muted); }
.btn-pay {
  border: 1px solid var(--purple); background: #fff; color: var(--purple);
  border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
}
.btn-pay:hover { background: var(--purple); color: #fff; }
.btn-pay:disabled { opacity: .55; }
.cc-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 12.5px; }
.policy { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.fin-filters input { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: inherit; min-width: 180px; }
#fin-csrf, #fluxo-csrf, #doc-csrf, #camp-csrf { display: none; }

.pipe { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.pipe li {
  flex: 1 1 0; min-width: 0; background: #f8fafc; border-radius: 16px;
  padding: 14px 10px; text-align: center; border-top: 4px solid var(--blue);
}
.pipe-violet { border-top-color: #7a5af8 !important; }
.pipe-green { border-top-color: var(--green) !important; }
.pipe-amber { border-top-color: var(--amber) !important; }
.pipe-teal { border-top-color: var(--teal) !important; }
.pipe-name { display: block; font-weight: 700; font-size: 13px; }
.pipe b { display: block; font-size: 28px; letter-spacing: -.03em; margin: 4px 0; }
.pipe small, .pipe em { display: block; color: var(--muted); font-style: normal; font-size: 11px; }
.pipe .bar { margin: 8px 0; }
.kanban {
  display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 14px; margin: 14px 0; overflow-x: auto;
}
.kanban-col { min-width: 210px; }
.kanban-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.k-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  background: #fff; display: flex; flex-direction: column; gap: 4px;
}
.k-card.atrasado { border-color: #fecdca; background: #fef3f2; }
.k-card.aguardando { border-color: #fedf89; background: #fffaeb; }
.k-top { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.k-card strong { font-size: 13px; }
.k-card small { color: var(--muted); font-size: 12px; }
.k-card .btn-pay { margin-top: 6px; align-self: flex-start; text-align: center; }
.grid-docs { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; overflow-x: auto; }
.pipe-novo, .pipe-analise { border-top-color: var(--blue) !important; }
.pipe-analise { border-top-color: #7a5af8 !important; }
.pipe-aprovacao { border-top-color: var(--amber) !important; }
.pipe-ok { border-top-color: var(--teal) !important; }
.pipe-rascunho { border-top-color: #7a5af8 !important; }
.pipe-agendada { border-top-color: var(--blue) !important; }
.pipe-ativa { border-top-color: var(--green) !important; }
.pipe-encerrada { border-top-color: var(--teal) !important; }
.grid-camp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.grid-camp h3 { margin: 6px 0; font-size: 15px; }
.peca { background: #f8fafc; border-radius: 12px; padding: 10px; font-size: 13px; line-height: 1.45; }
.camp-metrics { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); font-weight: 700; }

@media (max-width: 1100px) {
  .kpis-6, .grid-fin-2, .grid-fin-3, .grid-docs, .grid-camp { grid-template-columns: 1fr 1fr; }
  .aging { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .kpis-6, .grid-fin-2, .grid-fin-3, .aging, .grid-docs, .grid-camp { grid-template-columns: 1fr; }
  .fin-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .fin-list .st, .fin-list time, .fin-list .btn-pay { justify-self: start; }
  .cc-row { grid-template-columns: 1fr; }
  .fin-filters input { width: 100%; min-width: 0; }
  .kanban { grid-template-columns: 1fr; }
  .pipe { flex-wrap: wrap; }
  .pipe li { flex: 1 1 42%; }
}
