body[data-workspace-active="growth"] [data-cc-content] { --tch-workspace-scope: growth; }

:where(body[data-workspace-active="growth"], body[data-workspace-active="customers"]) .cc-growth-header {
  background: #f8fbf8;
}

:where(body[data-workspace-active="growth"]) .cc-growth-header-actions,
:where(body[data-workspace-active="growth"]) .cc-growth-trend-controls,
:where(body[data-workspace-active="growth"]) .cc-growth-period-controls,
:where(body[data-workspace-active="growth"]) .cc-growth-read-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-header-actions {
  display: grid;
  justify-items: end;
}

:where(body[data-workspace-active="growth"]) .cc-growth-header-actions button,
:where(body[data-workspace-active="growth"]) .cc-growth-trend-controls button {
  min-height: 44px;
  border: 1px solid #d8e5dc;
  border-radius: 8px;
  background: #fff;
  color: #22322b;
  font-weight: 800;
  cursor: pointer;
}

:where(body[data-workspace-active="growth"]) .cc-growth-header-actions button {
  padding: 0 13px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-trend-controls button {
  padding: 0 11px;
  font-size: 12px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-header-actions button.active,
:where(body[data-workspace-active="growth"]) .cc-growth-trend-controls button.active {
  border-color: #277c54;
  background: #e8f6ee;
  color: #145c38;
}

:where(body[data-workspace-active="growth"]) .cc-growth-trend-controls button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

:where(body[data-workspace-active="growth"], body[data-workspace-active="customers"], body[data-workspace-active="service"]) .cc-growth-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--cc-muted);
  font-size: 13px;
  font-weight: 700;
}

:where(body[data-workspace-active="growth"]) .cc-growth-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
  gap: 18px;
  align-items: stretch;
  border-color: #cfe1d6;
  background: #fbfefb;
}

:where(body[data-workspace-active="growth"]) .cc-growth-primary h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.16;
}

:where(body[data-workspace-active="growth"]) .cc-growth-primary strong {
  display: block;
  margin-top: 12px;
  color: #173c2c;
  font-size: 18px;
  line-height: 1.25;
}

:where(body[data-workspace-active="growth"]) .cc-growth-next {
  display: grid;
  align-content: start;
  gap: 10px;
  border-left: 1px solid #d8e5dc;
  padding-left: 16px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-next span {
  color: var(--cc-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

:where(body[data-workspace-active="growth"]) .cc-growth-next ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid #e0e9e2;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--cc-card-shadow);
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage.is-highlight {
  border-color: #d38c2d;
  background: #fffaf2;
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage span,
:where(body[data-workspace-active="growth"]) .cc-growth-stage li span {
  color: var(--cc-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage > strong {
  display: block;
  overflow-wrap: anywhere;
  color: #14261d;
  font-size: 24px;
  line-height: 1.12;
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage p {
  min-height: 42px;
  margin: 0;
  color: var(--cc-muted);
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(body[data-workspace-active="growth"]) .cc-growth-stage li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf2ee;
  padding-top: 7px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-chart {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

:where(body[data-workspace-active="growth"]) .cc-growth-bar-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
}

:where(body[data-workspace-active="growth"]) .cc-growth-bar-row span,
:where(body[data-workspace-active="growth"]) .cc-growth-bar-row strong {
  font-size: 13px;
  font-weight: 800;
}

:where(body[data-workspace-active="growth"]) .cc-growth-bar-row div {
  height: 18px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf2ee;
}

:where(body[data-workspace-active="growth"]) .cc-growth-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #277c54;
}

:where(body[data-workspace-active="growth"], body[data-workspace-active="customers"]) .cc-growth-detail {
  display: grid;
  gap: 8px;
}

:where(body[data-workspace-active="growth"], body[data-workspace-active="customers"]) .cc-growth-detail p {
  margin: 0;
}

@media (max-width: 1180px) {
  :where(body[data-workspace-active="growth"]) .cc-growth-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :where(body[data-workspace-active="growth"]) .cc-growth-primary,
  :where(body[data-workspace-active="growth"]) .cc-growth-path {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-next {
    border-top: 1px solid #d8e5dc;
    border-left: 0;
    padding-top: 14px;
    padding-left: 0;
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-header-actions,
  :where(body[data-workspace-active="growth"]) .cc-growth-period-controls,
  :where(body[data-workspace-active="growth"]) .cc-growth-read-actions,
  :where(body[data-workspace-active="growth"]) .cc-growth-trend-controls {
    width: 100%;
    min-width: 0;
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-header-actions {
    justify-items: stretch;
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-period-controls button,
  :where(body[data-workspace-active="growth"]) .cc-growth-trend-controls button {
    flex: 1 1 140px;
    min-width: 0;
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-read-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-read-actions button {
    width: 100%;
  }

  :where(body[data-workspace-active="growth"]) .cc-growth-bar-row {
    grid-template-columns: 82px minmax(0, 1fr) 58px;
  }
}
