/* Soda ZW V16 — isolated, cache-proof Wave-inspired cash-flow widget. */
body.sodazw-v14 .cash-movement-section {
  width: min(1180px,100%);
  margin: 0 auto 18px;
}
body.sodazw-v14 .cash-movement-dashboard {
  padding: 16px 18px 18px !important;
  overflow: hidden !important;
  border: 1px solid #dce5eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(7,49,95,.06) !important;
}
body.sodazw-v14 .cash-movement-dashboard:before {
  content: none !important;
  display: none !important;
}
body.sodazw-v14 .cash-movement-dashboard > .panel-head {
  display: flex !important;
  align-items: flex-start !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
}
body.sodazw-v14 .cash-movement-dashboard > .panel-head .section-kicker {
  color: #6d8292 !important;
  font-size: 7px !important;
  letter-spacing: .12em !important;
}
body.sodazw-v14 .cash-movement-dashboard > .panel-head h2 {
  margin: 2px 0 !important;
  color: #122f46 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
}
body.sodazw-v14 .cash-movement-dashboard > .panel-head p {
  margin: 0 !important;
  color: #718594 !important;
  font-size: 9px !important;
  white-space: normal !important;
}
body.sodazw-v14 .descriptive-legend {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  padding: 3px 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #718594 !important;
  font-size: 8px !important;
}
body.sodazw-v14 .descriptive-legend i,
body.sodazw-v14 .descriptive-legend b {
  width: 8px !important;
  height: 8px !important;
  margin-left: 4px !important;
  border-radius: 2px !important;
}
body.sodazw-v14 .descriptive-legend i { background: #1976a8 !important; }
body.sodazw-v14 .descriptive-legend b { background: #bbc5cc !important; }
body.sodazw-v14 .descriptive-legend em {
  width: 12px !important;
  height: 2px !important;
  margin-left: 4px !important;
  border-radius: 2px !important;
  background: #ff5a14 !important;
}
body.sodazw-v14 .cash-definition,
body.sodazw-v14 .cash-insights { display: none !important; }
body.sodazw-v14 .cash-view-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.sodazw-v14 .cash-view-tabs {
  display: inline-flex !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 2px !important;
  border: 1px solid #dbe4ea !important;
  border-radius: 7px !important;
  background: #f3f6f8 !important;
}
body.sodazw-v14 .cash-view-tabs button {
  display: block !important;
  min-width: 88px !important;
  min-height: 34px !important;
  padding: 4px 10px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #6d8292 !important;
  text-align: center !important;
  box-shadow: none !important;
}
body.sodazw-v14 .cash-view-tabs button strong {
  display: block !important;
  color: #3f586b !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
body.sodazw-v14 .cash-view-tabs button span {
  display: block !important;
  color: #8295a3 !important;
  font-size: 7px !important;
}
body.sodazw-v14 .cash-view-tabs button:after { display: none !important; }
body.sodazw-v14 .cash-view-tabs button[aria-selected="true"] {
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(7,49,95,.12) !important;
}
body.sodazw-v14 .cash-view-tabs button[aria-selected="true"] strong { color: #0b5f8e !important; }
body.sodazw-v14 .cash-view-controls .cash-export {
  min-height: 34px !important;
  padding: 6px 10px !important;
  border: 1px solid #d6e0e7 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #486073 !important;
  font-size: 8px !important;
  box-shadow: none !important;
}
body.sodazw-v14 .cash-movement-graphs {
  display: block !important;
  width: 100% !important;
}
body.sodazw-v14 .cash-movement-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e0e7ec !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.sodazw-v14 .cash-movement-card[hidden] { display: none !important; }
body.sodazw-v14 .cash-movement-card > header {
  order: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid #e7edf1 !important;
  background: #fafcfd !important;
}
body.sodazw-v14 .cash-movement-card > header:before { display: none !important; }
body.sodazw-v14 .cash-movement-card > header span {
  color: #18374d !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
body.sodazw-v14 .cash-movement-card > header p { display: none !important; }
body.sodazw-v14 .cash-movement-card > header > strong {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #16845b !important;
  font-size: 13px !important;
}
body.sodazw-v14 .cash-movement-card > header > strong.negative { color: #b93636 !important; }
body.sodazw-v14 .cash-movement-card > header > strong small {
  color: #8798a5 !important;
  font-size: 6px !important;
}
body.sodazw-v14 .descriptive-summary {
  order: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid #e5ebef !important;
  border-radius: 0 !important;
  background: #fff !important;
}
body.sodazw-v14 .descriptive-summary > div {
  min-height: 43px !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-right: 1px solid #e8edf1 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
body.sodazw-v14 .descriptive-summary > div:last-child { border-right: 0 !important; }
body.sodazw-v14 .descriptive-summary > div:before { display: none !important; }
body.sodazw-v14 .descriptive-summary span {
  color: #7b8f9e !important;
  font-size: 6px !important;
}
body.sodazw-v14 .descriptive-summary strong {
  margin-top: 2px !important;
  color: #18374d !important;
  font-size: 10px !important;
}
body.sodazw-v14 .descriptive-summary .positive strong { color: #16845b !important; }
body.sodazw-v14 .descriptive-summary .negative strong { color: #b93636 !important; }
body.sodazw-v14 .cash-movement-scroll {
  order: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(var(--flow-columns),minmax(52px,1fr)) !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: var(--flow-width,416px) !important;
  height: 146px !important;
  min-height: 146px !important;
  margin: 0 !important;
  padding: 7px 7px 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    repeating-linear-gradient(to bottom,transparent 0,transparent 27px,rgba(128,149,163,.14) 28px),
    #fff !important;
  box-shadow: none !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart:before { display: none !important; }
body.sodazw-v14 .cash-net-line {
  position: absolute !important;
  top: 6px !important;
  right: 7px !important;
  left: 7px !important;
  z-index: 4 !important;
  width: calc(100% - 14px) !important;
  height: 91px !important;
  pointer-events: none !important;
}
body.sodazw-v14 .cash-net-line polyline {
  fill: none !important;
  stroke: #ff5a14 !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}
body.sodazw-v14 .cash-net-line circle {
  fill: #fff !important;
  stroke: #ff5a14 !important;
  stroke-width: 1.5 !important;
  vector-effect: non-scaling-stroke !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-month-v7 {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-rows: 88px auto auto !important;
  align-items: end !important;
  height: auto !important;
  padding: 3px 1px !important;
  border-radius: 4px !important;
  transform: none !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-month-v7:hover {
  background: #f5f8fa !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-bars-v7 {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  height: 88px !important;
  min-height: 88px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-bar-v7 {
  display: block !important;
  flex: 0 0 11px !important;
  width: 11px !important;
  max-width: 11px !important;
  height: var(--cash-height) !important;
  min-height: 2px !important;
  border-radius: 2px 2px 0 0 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-bar-v7.cash-in {
  background: #1976a8 !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-bar-v7.cash-out {
  background: #bbc5cc !important;
}
body.sodazw-v14 .command-cashflow .descriptive-cash-chart .cashflow-month-v7 > span {
  padding-top: 3px !important;
  color: #718594 !important;
  font-size: 7px !important;
  font-weight: 700 !important;
}
body.sodazw-v14 .command-cashflow .period-net {
  display: block !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #16845b !important;
  font-size: 6px !important;
  font-weight: 800 !important;
}
body.sodazw-v14 .command-cashflow .net-negative .period-net {
  background: transparent !important;
  color: #b93636 !important;
}
body.sodazw-v14 .command-cashflow .cashflow-month-v7:hover:after {
  bottom: 27px !important;
  max-width: 220px !important;
  padding: 5px 7px !important;
  font-size: 7px !important;
}
@media (max-width: 680px) {
  body.sodazw-v14 .cash-movement-dashboard { padding: 12px !important; }
  body.sodazw-v14 .cash-movement-dashboard > .panel-head {
    display: block !important;
  }
  body.sodazw-v14 .descriptive-legend { margin-top: 5px !important; }
  body.sodazw-v14 .cash-view-controls {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  body.sodazw-v14 .cash-view-tabs {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    width: 100% !important;
  }
  body.sodazw-v14 .cash-view-tabs button {
    min-width: 0 !important;
    padding: 4px !important;
  }
  body.sodazw-v14 .cash-view-controls .cash-export { width: 100% !important; }
  body.sodazw-v14 .descriptive-summary {
    display: flex !important;
    overflow-x: auto !important;
  }
  body.sodazw-v14 .descriptive-summary > div {
    flex: 0 0 115px !important;
  }
}
