#wsp17LegacyEngine {
  display: none !important
}

#prospeccao.wsp17-section>:not(#wsp17Root) {
  display: none !important
}

#prospeccao.wsp17-section {
  padding-bottom: 28px;
  --p17-bg: #080e14;
  --p17-card: #0c141c;
  --p17-line: #202d3a;
  --p17-text: #eef3f8;
  --p17-muted: #8292a3
}

#prospeccao .wsp17 {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.wsp17 svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round
}

.wsp17 button {
  font-family: inherit
}

.wsp17-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid #223142;
  border-radius: 15px;
  background: radial-gradient(circle at 90% 20%, rgba(59, 130, 246, .16), transparent 30%), linear-gradient(135deg, #0d1721, #091018);
  box-shadow: 0 13px 32px rgba(0, 0, 0, .22);
  overflow: hidden
}

.wsp17-brand {
  --accent: #14b8a6;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 92%, #fff 8%), color-mix(in srgb, var(--accent) 74%, #07111f 26%));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25)
}

.wsp17-brand svg {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.2))
}

.wsp17-hero>div:nth-child(2) {
  flex: 1
}

.wsp17-hero span {
  display: block;
  color: #5fa0e9;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em
}

.wsp17-hero h2 {
  margin: 3px 0 1px;
  color: #f4f7fa;
  font-size: 17px
}

.wsp17-hero p {
  margin: 0;
  color: #7d8e9f;
  font-size: 9px
}

.wsp17-hero-actions {
  display: flex;
  gap: 7px
}

.wsp17-hero-actions button,
.wsp17-pagehead>button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #2d4355;
  border-radius: 9px;
  background: #101b25;
  color: #bdcad6;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer
}

.wsp17-hero-actions button.primary,
.wsp17-pagehead>button.primary {
  border-color: #377dd0;
  background: linear-gradient(135deg, #287be0, #1e5ea9);
  color: #fff;
  box-shadow: 0 7px 17px rgba(38, 111, 196, .2)
}

.wsp17-nav {
  position: sticky;
  top: -24px;
  z-index: 95;
  display: flex;
  gap: 6px;
  margin: 0 -24px;
  padding: 32px 24px 9px;
  border-bottom: 1px solid #202b38;
  background: #070c12;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent
}

.wsp17-nav button {
  --rgb: 59, 130, 246;
  flex: 0 0 auto;
  min-width: max-content;
  height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(var(--rgb), .055);
  color: #8f9eae;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer
}

.wsp17-nav button svg {
  color: rgb(var(--rgb))
}

.wsp17-nav button:hover,
.wsp17-nav button.active {
  background: rgba(var(--rgb), .15);
  border-color: rgba(var(--rgb), .44);
  color: #f8fafc
}

.wsp17 main {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.wsp17-kpis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px
}

.wsp17-kpis.compact {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr))
}

.wsp17-kpis article {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #202e3a;
  border-radius: 12px;
  background: linear-gradient(145deg, #0e171f, #0a1118);
  overflow: hidden
}

/* Sem barra lateral nos KPIs da Prospecção (padrão exclusivo do Dashboard) — só ícone/valor/título coloridos. */
.wsp17-kpis article>i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: rgba(59, 130, 246, .13);
  border: 1px solid rgba(59, 130, 246, .3);
  color: #60a5fa
}

.wsp17-kpis article.cyan>i {
  color: #22d3ee;
  background: rgba(6, 182, 212, .12);
  border-color: rgba(6, 182, 212, .3)
}

.wsp17-kpis article.gold>i {
  color: #fbbf24;
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .3)
}

.wsp17-kpis article.pink>i {
  color: #f472b6;
  background: rgba(236, 72, 153, .12);
  border-color: rgba(236, 72, 153, .3)
}

.wsp17-kpis article.red>i {
  color: #fb7185;
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .3)
}

.wsp17-kpis article.teal>i {
  color: #2dd4bf;
  background: rgba(20, 184, 166, .12);
  border-color: rgba(20, 184, 166, .3)
}

.wsp17-kpis article.green>i {
  color: #4ade80;
  background: rgba(34, 197, 94, .12);
  border-color: rgba(34, 197, 94, .3)
}

.wsp17-kpis article small,
.wsp17-kpis article strong,
.wsp17-kpis article span {
  display: block
}

.wsp17-kpis article small {
  color: #8fa0b0;
  font-size: 8px
}

.wsp17-kpis article strong {
  color: #60a5fa;
  font-size: 17px;
  margin: 1px 0
}

.wsp17-kpis article span {
  color: #657688;
  font-size: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* Valor do KPI acompanha a mesma cor do ícone/barra lateral (mesmo padrão do Dashboard). */
.wsp17-kpis article.cyan strong {
  color: #22d3ee
}

.wsp17-kpis article.gold strong {
  color: #fbbf24
}

.wsp17-kpis article.pink strong {
  color: #f472b6
}

.wsp17-kpis article.red strong {
  color: #fb7185
}

.wsp17-kpis article.teal strong {
  color: #2dd4bf
}

.wsp17-kpis article.green strong {
  color: #4ade80
}

.wsp17-flow,
.wsp17-panel,
.wsp17-table,
.wsp17-toolbar,
.wsp17-diag-start,
.wsp17-details,
.wsp17-final-actions {
  border: 1px solid #202e3a;
  border-radius: 14px;
  background: linear-gradient(145deg, #0d151d, #091017);
  box-shadow: 0 11px 28px rgba(0, 0, 0, .17)
}

.wsp17-flow {
  padding: 14px
}

.wsp17-flow>header h3,
.wsp17-panel h3 {
  margin: 0;
  color: #eaf0f5;
  font-size: 11px
}

.wsp17-flow>header p,
.wsp17-panel header p {
  margin: 3px 0 0;
  color: #718294;
  font-size: 8px
}

.wsp17-flow>div {
  display: flex;
  margin-top: 11px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #294157 transparent
}

.wsp17-flow>div>button {
  flex: 1;
  min-width: 165px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 0;
  border-right: 1px solid #202e3a;
  background: transparent;
  color: #dce6ef;
  text-align: left;
  cursor: pointer
}

.wsp17-flow>div>button:hover {
  background: rgba(59, 130, 246, .055)
}

.wsp17-flow>div>button>i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: #13263a;
  color: #65acf5
}

.wsp17-flow>div>button>span {
  flex: 1
}

.wsp17-flow small,
.wsp17-flow b,
.wsp17-flow em {
  display: block
}

.wsp17-flow small {
  font-size: 7px;
  color: #57718a
}

.wsp17-flow b {
  font-size: 9px
}

.wsp17-flow em {
  font-style: normal;
  color: #697b8c;
  font-size: 7px;
  margin-top: 2px
}

.wsp17-flow>div>button>svg {
  width: 12px;
  color: #3c5267
}

.wsp17-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.wsp17-grid.diag {
  grid-template-columns: .8fr 1.2fr
}

.wsp17-panel {
  padding: 14px;
  min-width: 0
}

.wsp17-panel>header,
.wsp17-pagehead,
.wsp17-final-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.wsp17-panel>header {
  align-items: flex-start !important
}

.wsp17-panel>header>div {
  flex: 1;
  min-width: 0
}

.wsp17-panel>header>button {
  flex: 0 0 auto;
  height: 29px;
  padding: 0 9px;
  border: 1px solid #294966;
  border-radius: 8px;
  background: #102134;
  color: #79b8fa;
  font-size: 8px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap
}

.wsp17-bars {
  display: grid;
  gap: 8px;
  margin-top: 13px
}

.wsp17-bars>div {
  display: grid;
  grid-template-columns: 130px 1fr 24px;
  align-items: center;
  gap: 8px
}

.wsp17-bars span {
  color: #a3b0bd;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-bars>div>i {
  height: 7px;
  border-radius: 99px;
  background: #141f29;
  overflow: hidden
}

.wsp17-bars em {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: hsl(calc(var(--i)*45 + 205), 75%, 55%)
}

.wsp17-bars b {
  font-size: 8px;
  text-align: right;
  color: #d4dee8
}

.wsp17-list {
  display: grid;
  gap: 6px;
  margin-top: 11px
}

.wsp17-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #1d2a35;
  border-radius: 9px;
  background: #0d161e
}

.wsp17-row.activity.late {
  border-left: 3px solid #ef4456
}

.wsp17-row.activity>i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 8px;
  background: #2d171b;
  color: #ff707a
}

.wsp17-row>div:nth-child(2) {
  flex: 1;
  min-width: 0
}

.wsp17-row b,
.wsp17-row span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-row b {
  font-size: 8.5px;
  color: #e5ecf2
}

.wsp17-row span {
  font-size: 7px;
  color: #718395;
  margin-top: 2px
}

.wsp17-row>em,
.wsp17-temp {
  font-style: normal;
  background: rgba(217, 119, 6, .12);
  color: #d97706
}

.wsp17-row>em.hot,
.wsp17-temp.hot,
.wsp17-row>em.quente,
.wsp17-temp.quente {
  background: rgba(220, 38, 38, .12);
  color: #dc2626
}

.wsp17-row>em.cold,
.wsp17-temp.cold,
.wsp17-row>em.frio,
.wsp17-temp.frio {
  background: rgb(3, 192, 73);
  color: #ffffff
}

.wsp17-row>em {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  height: 14px !important;
  padding: 0 10px !important;
  border-radius: 70px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  border: 1px solid rgba(217, 119, 6, .25) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: .85 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(217, 119, 6, .20) !important
}

.wsp17-row>em.hot,
.wsp17-row>em.quente {
  border-color: rgba(220, 38, 38, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(220, 38, 38, .20) !important
}

.wsp17-row>em.cold,
.wsp17-row>em.frio {
  border-color: rgba(22, 163, 74, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(22, 163, 74, .20) !important
}

.wsp17-row>button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #2c4152;
  border-radius: 7px;
  background: #101c26;
  color: #a9bdce;
  font-size: 7px;
  cursor: pointer
}

.wsp17-avatar {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #247fe4, #7d42bd);
  color: #fff;
  font-size: 7px;
  font-weight: 900
}

.wsp17-avatar-fallback[hidden] { display: none !important }

.wsp17-avatar-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: inherit;
  font: inherit
}

/* Blindagem: seletores genéricos como ".wsp17-cardtop span" (ellipsis de nome/subtítulo) e
   overrides de tema claro como "body.ws-theme-light #wsp17Root .wsp17-card span" têm mais
   especificidade que ".wsp17-avatar-fallback" sozinho e, por acidente, também casam com o
   span das iniciais do avatar (que fica dentro de .wsp17-cardtop/.wsp17-card), sobrescrevendo
   display/cor/margin/font-size e descentralizando ou desbotando as letras. A classe repetida
   abaixo eleva a especificidade de propósito, para vencer essa disputa sempre, independente
   de qualquer override presente ou futuro dessas regras genéricas de "span". */
#wsp17Root .wsp17-avatar-fallback.wsp17-avatar-fallback.wsp17-avatar-fallback:not([hidden]) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  transform: none !important;
  color: inherit !important;
}

.wsp17-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1
}

.wsp17-empty {
  padding: 23px;
  text-align: center;
  color: #657789;
  font-size: 8px
}

.wsp17-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 11px
}

.wsp17-quick button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid #1f2e3a;
  border-radius: 9px;
  background: #0d1720;
  color: #dfe7ee;
  text-align: left;
  cursor: pointer
}

.wsp17-quick button:hover {
  border-color: #31597c;
  background: #102033
}

.wsp17-quick button>svg {
  width: 18px;
  color: #62a9f2
}

.wsp17-quick span {
  flex: 1
}

.wsp17-quick b,
.wsp17-quick small {
  display: block
}

.wsp17-quick b {
  font-size: 8px
}

.wsp17-quick small {
  font-size: 7px;
  color: #6f8192;
  margin-top: 2px
}

.wsp17-pagehead {
  padding: 14px 15px;
  border: 1px solid #233342;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d1721, #0a1118)
}

.wsp17-pagehead>div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1
}

.wsp17-pagehead>div>i {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  background: rgba(59, 130, 246, .13);
  color: #63a9f5
}

.wsp17-pagehead.cyan>div>i {
  background: rgba(6, 182, 212, .12);
  color: #22d3ee
}

.wsp17-pagehead.purple>div>i {
  background: rgba(168, 85, 247, .12);
  color: #c084fc
}

.wsp17-pagehead.gold>div>i {
  background: rgba(245, 158, 11, .12);
  color: #fbbf24
}

.wsp17-pagehead.pink>div>i {
  background: rgba(236, 72, 153, .12);
  color: #f472b6
}

.wsp17-pagehead.teal>div>i {
  background: rgba(20, 184, 166, .12);
  color: #2dd4bf
}

.wsp17-pagehead h3 {
  margin: 0;
  color: #f0f4f7;
  font-size: 13px
}

.wsp17-pagehead p {
  margin: 3px 0 0;
  color: #7e8fa0;
  font-size: 8px
}

.wsp17-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px
}

.wsp17-toolbar label {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #273643;
  border-radius: 9px;
  background: #080e14;
  color: #61778c
}

.wsp17-toolbar label input {
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  color: #e4ebf1;
  outline: 0;
  font-size: 9px
}

.wsp17-toolbar select {
  height: 36px;
  min-width: 170px;
  padding: 0 10px;
  border: 1px solid #273643;
  border-radius: 9px;
  background: #080e14;
  color: #c6d1dc;
  font-size: 9px
}

.wsp17-toolbar>span {
  color: #6f8192;
  font-size: 8px;
  padding: 0 7px
}

.wsp17-table {
  overflow-x: auto;
  padding: 0 14px 14px;
  scrollbar-width: thin;
  scrollbar-color: #294157 transparent
}

.wsp17-table table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse
}

.wsp17-table th {
  padding: 10px 8px;
  border-bottom: 1px solid #22303c;
  color: #718396;
  font-size: 7px;
  text-align: left;
  text-transform: uppercase
}

.wsp17-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #1b2731;
  color: #c5d0db;
  font-size: 8px
}

.wsp17-table td b,
.wsp17-table td small {
  display: block
}

.wsp17-table td small {
  color: #6f8091;
  margin-top: 3px
}

.wsp17-actions {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex: none !important
}

.wsp17-actions button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #2b4051;
  border-radius: 7px;
  background: #101c26;
  color: #93abc0;
  cursor: pointer
}

.wsp17-actions button:hover {
  border-color: #3f719b;
  color: #78baff
}

.wsp17-diag-start {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 13px;
  padding: 14px
}

.wsp17-diag-start>div>span,
#wsp17Root .wsp19-form>header h2,
#wsp17Root .wsp19-results>header h2,
#wsp17Root .wsdh-card>header h3 {
  color: #8576aa;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em
}

.wsp17-diag-sublabel,
#wsp17Root .wsp19-form>header p,
#wsp17Root .wsp19-results>header p,
#wsp17Root .wsdh-card>header p {
  display: block;
  margin: 9px 0 4px;
  color: #5f7488;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .03em
}

.wsp17-diag-start label {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  padding: 0 11px;
  border: 1px solid #344052;
  border-radius: 9px;
  background: #080e14;
  color: #7c6fa8
}

.wsp17-diag-start input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  padding: 0 11px;
  border: 1px solid #293745;
  border-radius: 9px;
  background: #080e14;
  color: #e7edf2;
  outline: 0;
  font-size: 9px
}

.wsp17-diag-start label input {
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent
}

.wsp17-diag-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px
}

.wsp17-diag-actions button,
.wsp17-final-actions button,
.wsp17-alert button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid #4b3a6f;
  border-radius: 8px;
  background: #1d1530;
  color: #c99cfb;
  font-size: 8px;
  font-weight: 850;
  cursor: pointer
}

.wsp17-diag-actions button.primary,
.wsp17-final-actions button.primary {
  border-color: #7650a6;
  background: linear-gradient(135deg, #6d39b5, #4b277f);
  color: #fff
}

/* "Salvar na Base" e "Enviar Ã  Qualificação" tinham a mesma aparência neutra — cada um ganha a cor
   da aba de destino (Base = ciano, Qualificação = dourado), igual ao padrão já usado no menu superior. */
.wsp17-final-actions button.cyan {
  border-color: #0e7490;
  background: rgba(6, 182, 212, .14);
  color: #5eead4
}

.wsp17-final-actions button.gold {
  border-color: #a3760a;
  background: rgba(245, 158, 11, .14);
  color: #fbbf24
}

body.ws-theme-light .wsp17-final-actions button.cyan {
  border-color: #8fd4e6;
  background: #ecfeff;
  color: #0e7490
}

body.ws-theme-light .wsp17-final-actions button.gold {
  border-color: #f3d98a;
  background: #fffaeb;
  color: #92670a
}

.wsp17-diag-start>aside {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid #273543;
  border-radius: 12px;
  background: #091119
}

.wsp17-score {
  width: 78px;
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, #0b141c 56%, transparent 58%), conic-gradient(#a855f7 calc(var(--score)*1%), #1c2833 0)
}

.wsp17-score strong {
  font-size: 22px;
  line-height: 1.1;
  color: #f4f1fa
}

/* "Não avaliado" é bem mais longo que "/100" (único outro conteúdo deste elemento) e, em linha
   única ao lado do "—", vazava para fora do círculo sobre o topo do gráfico. Empilhado e com
   largura limitada à área interna do anel, quebra em até duas linhas sem sair do círculo. */
.wsp17-score small {
  font-size: 8px;
  line-height: 1.15;
  max-width: 54px;
  text-align: center;
  color: #7e8c99
}

.wsp17-diag-start aside>b {
  margin-top: 7px;
  color: #e8edf2;
  font-size: 9px
}

.wsp17-diag-start aside>span {
  margin-top: 3px;
  color: #6f8090;
  font-size: 7px
}

.wsp17-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #6d5216;
  border-radius: 11px;
  background: rgba(245, 184, 0, .07);
  color: #e2b738
}

.wsp17-alert>div {
  flex: 1
}

.wsp17-alert b,
.wsp17-alert span {
  display: block
}

.wsp17-alert b {
  font-size: 9px;
  color: #f0d36b
}

.wsp17-alert span {
  font-size: 7.5px;
  color: #a39162;
  margin-top: 2px
}

.wsp17-alert button {
  min-width: 150px;
  padding: 0 18px;
  border-color: #8a6a1f;
  background: #332812;
  color: #f0d488
}

.wsp17-panel label {
  display: block;
  margin: 9px 0 5px;
  color: #8b9cac;
  font-size: 8px
}

.wsp17-panel textarea {
  width: 100%;
  min-height: 82px;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #283643;
  border-radius: 9px;
  background: #080e14;
  color: #dbe4ec;
  font-size: 8px;
  resize: vertical
}

.wsp17-report {
  min-height: 218px !important;
  line-height: 1.55
}

.wsp17-details {
  overflow: hidden
}

.wsp17-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none
}

.wsp17-details summary>div {
  flex: 1
}

.wsp17-details summary b,
.wsp17-details summary span {
  display: block
}

.wsp17-details summary b {
  font-size: 9px;
  color: #e5ecf2
}

.wsp17-details summary span {
  font-size: 7px;
  color: #718394;
  margin-top: 2px
}

.wsp17-details summary>em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  color: #b48ae1;
  font-size: 11px;
  font-weight: 800
}

.wsp17-details summary>em svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease
}

.wsp17-details[open] summary>em svg {
  transform: rotate(90deg)
}

.wsp17-details>div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 0 13px 13px
}

.wsp17-details label {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 6px;
  align-items: center;
  padding: 9px;
  border: 1px solid #1f2c37;
  border-radius: 8px;
  background: #0c151d
}

.wsp17-details label>span {
  font-size: 7.5px;
  color: #a6b2bd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-details input {
  width: 48px;
  height: 27px;
  border: 1px solid #334250;
  border-radius: 6px;
  background: #080e14;
  color: #e4eaf0;
  text-align: center;
  font-size: 8px
}

.wsp17-details label>i {
  grid-column: 1/3;
  height: 4px;
  border-radius: 99px;
  background: #17232d;
  overflow: hidden
}

.wsp17-details label>i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #c084fc)
}

.wsp17-final-actions {
  padding: 12px 13px
}

.wsp17-final-actions>div {
  flex: 1
}

.wsp17-final-actions b,
.wsp17-final-actions span {
  display: block
}

.wsp17-final-actions b {
  font-size: 9px;
  color: #e6edf3
}

.wsp17-final-actions span {
  font-size: 7px;
  color: #718294;
  margin-top: 2px
}

.wsp17-board {
  display: flex;
  gap: 9px;
  align-items: stretch;
  overflow-x: auto;
  padding: 2px 1px 8px;
  scrollbar-width: thin;
  scrollbar-color: #294157 transparent
}

.wsp17-col {
  flex: 0 0 225px;
  min-width: 225px;
  border: 1px solid #263541;
  border-top: 3px solid #3b82f6;
  border-radius: 11px;
  background: #0a1219;
  overflow: hidden;
  transition: .18s
}

.wsp17-col.c1 {
  border-top-color: #06b6d4
}

.wsp17-col.c2 {
  border-top-color: #a855f7
}

.wsp17-col.c3 {
  border-top-color: #f59e0b
}

.wsp17-col.c4 {
  border-top-color: #22c55e
}

.wsp17-col.c5 {
  border-top-color: #ef4456
}

.wsp17-col.c6 {
  border-top-color: #64748b
}

.wsp17-col.collapsed {
  flex-basis: 45px;
  min-width: 45px
}

.wsp17-col.collapsed>div,
.wsp17-col.collapsed>footer {
  display: none
}

.wsp17-col.collapsed>header {
  writing-mode: vertical-rl;
  min-height: 175px
}

.wsp17-col>header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border-bottom: 1px solid #1e2a34
}

.wsp17-col>header>i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor
}

.wsp17-col>header>b {
  flex: 1;
  font-size: 8.5px;
  color: #dfe7ee
}

.wsp17-col>header>em {
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 8px;
  background: #17232c;
  color: #8396a8;
  font-size: 7px;
  font-style: normal;
  text-align: center
}

.wsp17-col>header>button {
  width: 23px;
  height: 23px;
  border: 1px solid #2d404f;
  border-radius: 6px;
  background: #101b24;
  color: #9cabb8;
  cursor: pointer
}

.wsp17-col>div {
  min-height: 330px;
  padding: 1px
}

.wsp17-col>footer {
  padding: 7px;
  border-top: 1px solid #1d2933
}

.wsp17-col>footer button {
  width: 100%;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #6f8ba3;
  font-size: 7.5px;
  cursor: pointer
}

.wsp17-card {
  margin: 7px;
  padding: 9px;
  border: 1px solid #24333e;
  border-radius: 9px;
  background: linear-gradient(145deg, #111b23, #0d151c);
  cursor: pointer
}

.wsp17-card:hover {
  border-color: #3d5c73;
  transform: translateY(-1px)
}

.wsp17-cardtop {
  display: flex;
  align-items: center;
  gap: 7px
}

.wsp17-cardtop>div:nth-child(2) {
  flex: 1;
  min-width: 0
}

.wsp17-cardtop b,
.wsp17-cardtop span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-cardtop b {
  font-size: 8px;
  color: #eaf0f5
}

.wsp17-cardtop span {
  font-size: 7px;
  color: #6f8191;
  margin-top: 2px
}

.wsp17-cardtop>strong {
  color: #e7c448;
  font-size: 9px
}

.wsp17-cardmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 6px
}

.wsp17-cardmeta span {
  font-size: 6.8px;
  color: #738596
}

.wsp17-cardmeta em {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  height: 14px !important;
  padding: 0 10px !important;
  border-radius: 70px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  border: 1px solid rgba(217, 119, 6, .25) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: .85 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(217, 119, 6, .20) !important;
  background: rgba(217, 119, 6, .12) !important;
  color: #d97706 !important;
  font-style: normal
}

.wsp17-cardmeta em.hot,
.wsp17-cardmeta em.quente {
  background: rgba(220, 38, 38, .12) !important;
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(220, 38, 38, .20) !important
}

.wsp17-cardmeta em.warm,
.wsp17-cardmeta em.morno {
  background: rgba(217, 119, 6, .12) !important;
  color: #d97706 !important;
  border-color: rgba(217, 119, 6, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(217, 119, 6, .20) !important
}

.wsp17-cardmeta em.cold,
.wsp17-cardmeta em.frio {
  background: rgba(22, 163, 74, .12) !important;
  color: #16a34a !important;
  border-color: rgba(22, 163, 74, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(22, 163, 74, .20) !important
}

.wsp17-card>footer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 6px;
  border-top: 1px solid #1e2a34
}

.wsp17-card>footer button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #244233;
  border-radius: 6px;
  background: #0d2118;
  color: #42dc82;
  cursor: pointer
}

.wsp17-card>footer button:last-child {
  border-color: #2a3d4c;
  background: #111d27;
  color: #91a6b8
}

.wsp17-card>footer span {
  flex: 1;
  text-align: right;
  color: #8da0b1;
  font-size: 7px
}

.wsp17-col-empty {
  padding: 45px 10px;
  text-align: center;
  color: #526372;
  font-size: 7.5px
}

.wsp17-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.wsp17-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px
}

.wsp17-tools>button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #202e3a;
  border-radius: 11px;
  background: linear-gradient(145deg, #0e171f, #0a1118);
  color: #dce5ed;
  text-align: left;
  cursor: pointer
}

.wsp17-tools>button:hover {
  border-color: #385873;
  background: #102033
}

.wsp17-tools>button>i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  background: #142538;
  color: #65aaf1
}

.wsp17-tools>button>span {
  flex: 1
}

.wsp17-tools b,
.wsp17-tools small {
  display: block
}

.wsp17-tools b {
  font-size: 9px
}

.wsp17-tools small {
  font-size: 7px;
  color: #6f8192;
  margin-top: 3px
}

.wsp17-tools>button>svg {
  color: #40566b
}

.wsp17-grid.qualify .wsp17-panel {
  max-height: 600px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #294157 transparent
}

@media(max-width:1150px) {
  .wsp17-kpis {
    grid-template-columns: repeat(4, 1fr)
  }

  .wsp17-grid.diag {
    grid-template-columns: 1fr
  }

  .wsp17-details>div {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:760px) {
  .wsp17-hero {
    flex-wrap: wrap
  }

  .wsp17-hero>div:nth-child(2) {
    min-width: calc(100% - 60px)
  }

  .wsp17-hero p {
    display: none
  }

  .wsp17-hero-actions {
    width: 100%
  }

  .wsp17-hero-actions button {
    flex: 1
  }

  .wsp17-kpis {
    grid-template-columns: 1fr 1fr
  }

  .wsp17-grid,
  .wsp17-grid.diag,
  .wsp17-activity-grid {
    grid-template-columns: 1fr
  }

  .wsp17-pagehead {
    align-items: flex-start;
    flex-wrap: wrap
  }

  .wsp17-pagehead>div:first-child {
    min-width: 100%
  }

  .wsp17-toolbar {
    align-items: stretch;
    flex-direction: column
  }

  .wsp17-toolbar select {
    width: 100%
  }

  .wsp17-diag-start {
    grid-template-columns: 1fr
  }

  .wsp17-details>div,
  .wsp17-tools {
    grid-template-columns: 1fr
  }

  .wsp17-final-actions {
    align-items: stretch;
    flex-direction: column
  }

  .wsp17-final-actions button {
    width: 100%
  }
}

/* Prévia real do Instagram */
.wsp17-profile {
  border: 1px solid #293646;
  border-radius: 15px;
  background: linear-gradient(145deg, #0e1720, #091017);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  overflow: hidden
}

.wsp17-profile.empty,
.wsp17-profile.loading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  color: #8192a3
}

.wsp17-profile.empty>i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(168, 85, 247, .13);
  color: #c084fc
}

.wsp17-profile.empty b,
.wsp17-profile.empty span,
.wsp17-profile.loading b,
.wsp17-profile.loading span {
  display: block
}

.wsp17-profile.empty b,
.wsp17-profile.loading b {
  color: #e7edf3;
  font-size: 13px
}

.wsp17-profile.empty span,
.wsp17-profile.loading span {
  margin-top: 3px;
  font-size: 11px
}

.wsp17-loader {
  width: 32px;
  height: 32px;
  border: 3px solid #293747;
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: wsp17spin .8s linear infinite
}

@keyframes wsp17spin {
  to {
    transform: rotate(360deg)
  }
}

.wsp17-profile>header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border-bottom: 1px solid #22303c;
  background: radial-gradient(circle at 90% 15%, rgba(168, 85, 247, .12), transparent 30%)
}

.wsp17-profile-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: none;
  border: 3px solid #a855f7;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #9333ea);
  color: #fff;
  font-size: 18px;
  font-weight: 900
}

.wsp17-profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.wsp17-profile-id {
  flex: 1;
  min-width: 0
}

.wsp17-profile-id h3 {
  margin: 0;
  color: #f2f5f8;
  font-size: 17px
}

.wsp17-profile-id>b {
  display: block;
  margin-top: 2px;
  color: #c084fc;
  font-size: 12px
}

.wsp17-profile-id p {
  max-width: 640px;
  margin: 8px 0 5px;
  color: #c1ccd6;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-line
}

.wsp17-profile-id a {
  color: #68adf6;
  font-size: 11px;
  text-decoration: none
}

.wsp17-profile-stats {
  display: flex;
  gap: 18px;
  padding: 0 16px;
  border-left: 1px solid #273543;
  border-right: 1px solid #273543
}

.wsp17-profile-stats span {
  color: #7f90a1;
  font-size: 10px;
  text-align: center
}

.wsp17-profile-stats b {
  display: block;
  color: #f0f4f7;
  font-size: 17px;
  margin-bottom: 2px
}

.wsp17-profile>header>button {
  height: 36px;
  padding: 0 13px;
  border: 1px solid #4a3a68;
  border-radius: 9px;
  background: #1b142b;
  color: #c59af4;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer
}

.wsp17-profile-section {
  padding: 14px 17px
}

.wsp17-profile-section+.wsp17-profile-section {
  border-top: 1px solid #202d38
}

.wsp17-profile-section h4 {
  margin: 0 0 12px;
  color: #e7edf2;
  font-size: 13px
}

.wsp17-highlights {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent
}

.wsp17-highlights article {
  flex: 0 0 68px;
  text-align: center
}

.wsp17-highlights article>div {
  width: 58px;
  height: 58px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 2px solid #8b5bb8;
  border-radius: 50%;
  overflow: hidden;
  background: #121c25;
  color: #9f78c7
}

.wsp17-highlights img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.wsp17-highlights b {
  display: block;
  margin-top: 6px;
  color: #aeb9c4;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-highlights>p {
  margin: 0;
  color: #8292a3;
  font-size: 11px
}

.wsp17-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px
}

.wsp17-posts>article {
  position: relative;
  min-height: 180px;
  border: 1px solid #24323d;
  border-radius: 11px;
  background: #0a1218;
  overflow: hidden
}

.wsp17-posts>article>img,
.wsp17-post-fallback {
  width: 100%;
  height: 180px;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: #101a22;
  color: #53697c
}

.wsp17-posts>article>footer {
  padding: 9px
}

.wsp17-posts>article>footer span {
  display: block;
  color: #b9c5d0;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-posts>article>footer small {
  display: block;
  margin-top: 4px;
  color: #718394;
  font-size: 9px
}

.wsp17-posts-missing {
  grid-column: 1/4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px dashed #394957;
  border-radius: 10px;
  color: #768899
}

.wsp17-posts-missing>svg {
  width: 26px;
  height: 26px
}

.wsp17-posts-missing>span {
  flex: 1
}

.wsp17-posts-missing b,
.wsp17-posts-missing small {
  display: block
}

.wsp17-posts-missing b {
  color: #cbd5de;
  font-size: 12px
}

.wsp17-posts-missing small {
  margin-top: 3px;
  font-size: 10px
}

.wsp17-posts-missing button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid #6e5218;
  border-radius: 8px;
  background: #211a0c;
  color: #e5c253;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer
}

/* Escala tipográfica da Aprovação de Conteúdo */
#wsp17Root .wsp17 {
  font-size: 13px
}

#wsp17Root .wsp17-nav button {
  font-size: 13px;
  height: 42px;
  padding: 0 14px
}

#wsp17Root .wsp17-hero h2 {
  font-size: 20px
}

#wsp17Root .wsp17-hero p {
  font-size: 12px
}

#wsp17Root .wsp17-hero>div:nth-child(2)>span {
  font-size: 9px
}

#wsp17Root .wsp17-hero-actions button,
#wsp17Root .wsp17-pagehead>button {
  font-size: 12px;
  height: 39px
}

#wsp17Root .wsp17-kpis article small {
  font-size: 11.5px
}

#wsp17Root .wsp17-kpis article strong {
  font-size: 24px
}

#wsp17Root .wsp17-kpis article span {
  font-size: 10.5px
}

#wsp17Root .wsp17-flow>header h3,
#wsp17Root .wsp17-panel h3 {
  font-size: 15px
}

#wsp17Root .wsp17-flow>header p,
#wsp17Root .wsp17-panel header p {
  font-size: 11.5px
}

#wsp17Root .wsp17-flow small {
  font-size: 9px
}

#wsp17Root .wsp17-flow b {
  font-size: 12px
}

#wsp17Root .wsp17-flow em {
  font-size: 10px
}

#wsp17Root .wsp17-pagehead h3 {
  font-size: 16px
}

#wsp17Root .wsp17-pagehead p {
  font-size: 11.5px
}

#wsp17Root .wsp17-row b {
  font-size: 12px
}

#wsp17Root .wsp17-row span {
  font-size: 10.5px
}

#wsp17Root .wsp17-row>em,
#wsp17Root .wsp17-temp {
  font-size: 10px
}

#wsp17Root .wsp17-panel>header>button,
#wsp17Root .wsp17-row>button {
  font-size: 10.5px
}

#wsp17Root .wsp17-toolbar label input,
#wsp17Root .wsp17-toolbar select {
  font-size: 12px
}

#wsp17Root .wsp17-toolbar>span {
  font-size: 11px
}

#wsp17Root .wsp17-table th {
  font-size: 10px
}

#wsp17Root .wsp17-table td {
  font-size: 12px
}

#wsp17Root .wsp17-diag-start>div>span,
#wsp17Root .wsp19-form>header h2,
#wsp17Root .wsp19-results>header h2,
#wsp17Root .wsdh-card>header h3 {
  font-size: 9px
}

#wsp17Root .wsp17-diag-start input {
  font-size: 12px
}

#wsp17Root .wsp17-diag-actions button,
#wsp17Root .wsp17-final-actions button,
#wsp17Root .wsp17-alert button {
  font-size: 11.5px;
  height: 38px
}

#wsp17Root .wsp17-diag-start aside>b {
  font-size: 12px
}

#wsp17Root .wsp17-diag-start aside>span {
  font-size: 10px
}

#wsp17Root .wsp17-alert b {
  font-size: 12px
}

#wsp17Root .wsp17-alert span {
  font-size: 10.5px
}

#wsp17Root .wsp17-panel label {
  font-size: 11px
}

#wsp17Root .wsp17-panel textarea {
  font-size: 12px
}

#wsp17Root .wsp17-details summary b {
  font-size: 12px
}

#wsp17Root .wsp17-details summary span {
  font-size: 10px
}

#wsp17Root .wsp17-details label>span {
  font-size: 10.5px
}

#wsp17Root .wsp17-final-actions b {
  font-size: 12px
}

#wsp17Root .wsp17-final-actions span {
  font-size: 10px
}

#wsp17Root .wsp17-cardtop b {
  font-size: 11.5px
}

#wsp17Root .wsp17-cardtop span,
#wsp17Root .wsp17-cardmeta span,
#wsp17Root .wsp17-cardmeta em {
  font-size: 9.5px
}

#wsp17Root .wsp17-col>header>b {
  font-size: 11.5px
}

#wsp17Root .wsp17-col-empty {
  font-size: 10px
}

#wsp17Root .wsp17-tools b {
  font-size: 12px
}

#wsp17Root .wsp17-tools small {
  font-size: 10.5px
}

@media(max-width:760px) {
  .wsp17-profile>header {
    align-items: flex-start;
    flex-wrap: wrap
  }

  .wsp17-profile-stats {
    order: 4;
    width: 100%;
    justify-content: space-around;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid #273543
  }

  .wsp17-posts {
    grid-template-columns: 1fr
  }

  .wsp17-posts-missing {
    grid-column: 1
  }

  .wsp17-profile-avatar {
    width: 58px;
    height: 58px
  }

  .wsp17-profile-id {
    min-width: calc(100% - 80px)
  }
}

/* Identidade única de clientes + ações no padrão ADM/Link */
#wsp17Root .wsp17-avatar {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  overflow: hidden;
  font-size: 10px;
  border: 0;
  box-shadow: none
}

#wsp17Root .wsp17-avatar.av0{background:#dbeafe;color:#1d4ed8}
#wsp17Root .wsp17-avatar.av1{background:#ede9fe;color:#6d28d9}
#wsp17Root .wsp17-avatar.av2{background:#d9f5df;color:#15803d}
#wsp17Root .wsp17-avatar.av3{background:#fee7b0;color:#a16207}
#wsp17Root .wsp17-avatar.av4{background:#fce7f3;color:#be185d}
#wsp17Root .wsp17-avatar.av5{background:#cffafe;color:#0e7490}
#wsp17Root .wsp17-avatar.av6{background:#fee2e2;color:#b91c1c}
#wsp17Root .wsp17-avatar.av7{background:#e0e7ff;color:#4338ca}

#wsp17Root .wsp17-profile-avatar.av0 {
  background: linear-gradient(135deg, #2563eb, #38bdf8)
}

#wsp17Root .wsp17-profile-avatar.av1 {
  background: linear-gradient(135deg, #7c3aed, #c084fc)
}

#wsp17Root .wsp17-profile-avatar.av2 {
  background: linear-gradient(135deg, #059669, #34d399)
}

#wsp17Root .wsp17-profile-avatar.av3 {
  background: linear-gradient(135deg, #d97706, #fbbf24)
}

#wsp17Root .wsp17-profile-avatar.av4 {
  background: linear-gradient(135deg, #db2777, #f472b6)
}

#wsp17Root .wsp17-profile-avatar.av5 {
  background: linear-gradient(135deg, #0891b2, #22d3ee)
}

#wsp17Root .wsp17-profile-avatar.av6 {
  background: linear-gradient(135deg, #dc2626, #fb7185)
}

#wsp17Root .wsp17-profile-avatar.av7 {
  background: linear-gradient(135deg, #4f46e5, #818cf8)
}

#wsp17Root .wsp17-client-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px
}

#wsp17Root .wsp17-client-cell>div:last-child {
  min-width: 0
}

#wsp17Root .wsp17-actions {
  flex-wrap: wrap;
  min-width: max-content
}

#wsp17Root .wsp17-actions .wsp17-pill-action,
#wsp17Root .wsp17-row>.wsp17-pill-action {
  width: auto !important;
  min-width: auto;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 800;
  white-space: nowrap
}

#wsp17Root .wsp17-pill-action svg {
  width: 13px;
  height: 13px
}

#wsp17Root .wsp17-pill-action.blue {
  border-color: #265a91 !important;
  background: #0d2239 !important;
  color: #72b7ff !important
}

#wsp17Root .wsp17-pill-action.purple {
  border-color: #61418c !important;
  background: #211632 !important;
  color: #c79cf7 !important
}

#wsp17Root .wsp17-pill-action.gold {
  border-color: #7b5c13 !important;
  background: #261f0d !important;
  color: #f0c94f !important
}

#wsp17Root .wsp17-pill-action.green {
  border-color: #1f6849 !important;
  background: #0c281e !important;
  color: #55dc99 !important
}

#wsp17Root .wsp17-pill-action.pink {
  border-color: #74345c !important;
  background: #2d1325 !important;
  color: #f58ac2 !important
}

#wsp17Root .wsp17-grid.qualify .wsp17-row {
  min-height: 48px
}

#wsp17Root .wsp17-grid.qualify .wsp17-row>div:nth-child(2) {
  min-width: 120px
}

.wsp17-media-failed {
  width: 100%;
  height: 100%;
  min-height: 58px;
  place-items: center;
  background: linear-gradient(145deg, #101b24, #0a1219);
  color: #6f8295
}

.wsp17-posts>article>.wsp17-media-failed {
  height: 180px
}

.wsp17-highlights .wsp17-media-failed {
  border-radius: 50%
}

.wsp17-highlights-missing {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #4a3c61;
  border-radius: 11px;
  background: rgba(168, 85, 247, .055);
  color: #a986d0
}

.wsp17-highlights-missing>svg {
  width: 25px;
  height: 25px
}

.wsp17-highlights-missing>span {
  flex: 1
}

.wsp17-highlights-missing b,
.wsp17-highlights-missing small {
  display: block
}

.wsp17-highlights-missing b {
  color: #d7c3ed;
  font-size: 12px
}

.wsp17-highlights-missing small {
  margin-top: 3px;
  color: #887b98;
  font-size: 10px
}

.wsp17-highlights-missing button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid #66458e;
  border-radius: 9px;
  background: #20152e;
  color: #cba2f3;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer
}

@media(max-width:1000px) {
  .wsp17-nav {
    top: -14px;
    margin: 0 -14px;
    padding: 22px 14px 9px
  }
}

/* Diagnóstico 18 — mídia completa, relatório e revisão manual. */
.wsp17-media-section>header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px
}

.wsp17-media-section>header h4 {
  margin: 0
}

.wsp17-media-section>header p {
  margin: 4px 0 0;
  color: #728497;
  font-size: 10px
}

.wsp17-media-section>header>b {
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(168, 85, 247, .12);
  color: #c084fc;
  font-size: 10px
}

.wsp17-media-section .wsp17-posts {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr))
}

.wsp17-media-section .wsp17-posts>article {
  min-height: 0;
  display: flex;
  flex-direction: column
}

.wsp17-media-thumb {
  position: relative;
  height: 155px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #060b10
}

.wsp17-media-thumb>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05090d
}

.wsp17-media-thumb>.wsp17-media-failed {
  height: 100%
}

.wsp17-media-thumb>em {
  position: absolute;
  right: 7px;
  top: 7px;
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(4, 8, 12, .82);
  color: #f1f5f9;
  font-size: 8px;
  font-style: normal
}

.wsp17-media-thumb>em:empty {
  display: none
}

.wsp17-media-thumb>em svg {
  width: 12px;
  height: 12px
}

.wsp17-media-section .wsp17-posts>article>footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto
}

.wsp17-media-section .wsp17-posts>article>footer span {
  flex: 1
}

.wsp17-media-section .wsp17-posts>article>footer button {
  height: 29px;
  flex: none;
  padding: 0 9px;
  border: 1px solid #54406f;
  border-radius: 8px;
  background: #1b1427;
  color: #c69aed;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer
}

.wsp17-highlights article>button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer
}

.wsp17-highlights article>button>div {
  width: 58px;
  height: 58px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 2px solid #8b5bb8;
  border-radius: 50%;
  overflow: hidden;
  background: #121c25;
  color: #9f78c7
}

.wsp17-highlights article>button>div img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.wsp17-highlights article>button>b {
  display: block;
  margin-top: 6px;
  color: #aeb9c4;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wsp17-alert.purple {
  border-color: #62418a;
  background: rgba(168, 85, 247, .075);
  color: #c89df3
}

.wsp17-diagnosis {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #372b48;
  border-radius: 15px;
  background: linear-gradient(145deg, #111521, #0a1018);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2)
}

.wsp17-diagnosis>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid #293240
}

.wsp17-diagnosis>header>div {
  display: flex;
  align-items: center;
  gap: 10px
}

.wsp17-diagnosis>header i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(168, 85, 247, .14);
  color: #c084fc
}

.wsp17-diagnosis>header i svg {
  width: 18px
}

.wsp17-diagnosis>header h3,
.wsp17-manual-head h3 {
  margin: 0;
  font-size: 15px
}

.wsp17-diagnosis>header p,
.wsp17-manual-head p {
  margin: 4px 0 0;
  color: #788a9d;
  font-size: 10px
}

.wsp17-diagnosis>header>strong {
  font-size: 27px;
  color: #c084fc
}

.wsp17-diagnosis>header>strong small {
  font-size: 10px;
  color: #718397
}

.wsp17-findings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.wsp17-findings article {
  min-height: 120px;
  padding: 13px;
  border: 1px solid #293542;
  border-top: 2px solid var(--tone);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018)
}

.wsp17-findings article.good {
  --tone: #22c55e
}

.wsp17-findings article.bad {
  --tone: #ef4444
}

.wsp17-findings article.review {
  --tone: #f59e0b
}

.wsp17-findings h4 {
  margin: 0;
  color: var(--tone);
  font-size: 12px
}

.wsp17-findings ul {
  margin: 9px 0 0;
  padding-left: 17px;
  color: #a8b5c1;
  font-size: 9.5px;
  line-height: 1.55
}

.wsp17-manual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 3px
}

.wsp17-manual-head button {
  height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #62418a;
  border-radius: 9px;
  background: #21162f;
  color: #cda6f4;
  font-size: 10px;
  font-weight: 800
}

.wsp17-manual-head button svg {
  width: 14px
}

.wsp17-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px
}

.wsp17-score-grid>label {
  --tone: #ef4444;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--tone) 24%, #293542);
  border-radius: 11px;
  background: color-mix(in srgb, var(--tone) 5%, #0a1118)
}

.wsp17-score-grid>label.mid {
  --tone: #f59e0b
}

.wsp17-score-grid>label.good {
  --tone: #22c55e
}

.wsp17-score-grid>label>span b,
.wsp17-score-grid>label>span em {
  display: block
}

.wsp17-score-grid>label>span b {
  font-size: 10px
}

.wsp17-score-grid>label>span em {
  margin-top: 3px;
  color: var(--tone);
  font-size: 8px;
  font-style: normal
}

.wsp17-score-grid>label>div {
  display: flex;
  align-items: center;
  gap: 3px
}

.wsp17-score-grid input {
  width: 58px;
  height: 31px !important;
  border: 1px solid color-mix(in srgb, var(--tone) 35%, #293542) !important;
  border-radius: 8px !important;
  background: #070d13 !important;
  color: var(--tone) !important;
  text-align: center;
  font-weight: 900
}

.wsp17-score-grid>label>div strong {
  font-size: 8px;
  color: #66788a
}

.wsp17-score-grid>label>i {
  grid-column: 1/-1;
  height: 3px;
  border-radius: 99px;
  background: #202c37;
  overflow: hidden
}

.wsp17-score-grid>label>i em {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--tone)
}

.wsp17-diagnosis .wsp17-grid.diag {
  margin-top: 1px
}

.wsp17-diagnosis .wsp17-report {
  min-height: 190px
}

.wsp17-viewer {
  color: #e8eef4
}

.wsp17-viewer>header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px
}

.wsp17-viewer h2 {
  margin: 0;
  font-size: 19px
}

.wsp17-viewer header p {
  margin: 4px 0 0;
  color: #8495a6;
  font-size: 10px
}

.wsp17-viewer header button {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 23px;
  cursor: pointer
}

.wsp17-viewer-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 11px;
  max-height: 68vh;
  overflow: auto;
  padding-right: 3px
}

.wsp17-viewer-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #293746;
  border-radius: 12px;
  background: #070d13
}

.wsp17-viewer-item>b {
  font-size: 10px;
  color: #a6b4c1
}

.wsp17-viewer-item img,
.wsp17-viewer-item video {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 8px;
  background: #030609
}

.wsp17-viewer>a {
  height: 37px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #62418a;
  border-radius: 9px;
  background: #21162f;
  color: #cda6f4;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800
}

@media(max-width:980px) {
  .wsp17-score-grid {
    grid-template-columns: 1fr 1fr
  }

  .wsp17-findings {
    grid-template-columns: 1fr
  }

  .wsp17-media-section .wsp17-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:620px) {

  .wsp17-score-grid,
  .wsp17-media-section .wsp17-posts {
    grid-template-columns: 1fr
  }

  .wsp17-manual-head {
    align-items: flex-start;
    flex-direction: column
  }

  .wsp17-viewer-track {
    grid-template-columns: 1fr
  }
}

/* Contraste 2026-07-14: menu mais legível e fluxo operacional mais sóbrio. */
#wsp17Root .wsp17-nav {
  padding-top: 30px;
  background: #0a1118;
  border-bottom-color: #293746;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34)
}

#wsp17Root .wsp17-nav button {
  flex: 1 0 150px;
  justify-content: center;
  min-width: 150px;
  height: 44px;
  border-radius: 999px;
  background: color-mix(in srgb, rgb(var(--rgb)) 7%, #111a23);
  border-color: color-mix(in srgb, rgb(var(--rgb)) 18%, #263746);
  color: #a8b6c4
}

#wsp17Root .wsp17-nav button.active,
#wsp17Root .wsp17-nav button:hover {
  background: color-mix(in srgb, rgb(var(--rgb)) 16%, #101922);
  border-color: color-mix(in srgb, rgb(var(--rgb)) 52%, #2c3d4c);
  color: #f8fafc
}

#wsp17Root .wsp17-flow {
  background: linear-gradient(145deg, #090f15, #060b10);
  border-color: #1d2a35
}

#wsp17Root .wsp17-flow>div>button {
  background: #080e14;
  color: #c5d0da;
  border-color: #182530
}

#wsp17Root .wsp17-flow>div>button:hover {
  background: #0c151d
}

#wsp17Root .wsp17-flow>div>button>i {
  background: color-mix(in srgb, currentColor 9%, #0b1219);
  box-shadow: none;
  filter: saturate(.78)
}

/* Base/Pipeline: campos sem recorte, ações regulares e ícones centralizados. */
#wsp17Root .wsp17-toolbar>label {
  flex: 1 1 440px !important;
  min-width: 280px !important;
  box-sizing: border-box !important;
  padding: 0 14px !important;
  overflow: hidden
}

#wsp17Root .wsp17-toolbar>label>svg {
  flex: 0 0 16px;
  margin: 0
}

#wsp17Root .wsp17-toolbar>label>input {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 3px !important;
  line-height: 36px !important;
  text-overflow: ellipsis
}

#wsp17Root .wsp17-toolbar>select {
  flex: 0 1 340px !important;
  width: min(340px, 35vw) !important;
  min-width: 220px !important;
  box-sizing: border-box !important
}

#wsp17Root .wsp17-toolbar>span {
  flex: 0 0 auto !important;
  white-space: nowrap
}

#wsp17Root .wsp17-toolbar {
  grid-template-columns: minmax(390px, 1.25fr) minmax(230px, .75fr) auto !important;
  width: 100% !important;
  box-sizing: border-box !important
}

#wsp17Root .wsp17-toolbar>label {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 0 14px !important;
  overflow: visible !important
}

#wsp17Root .wsp17-toolbar>label>input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 6px !important;
  line-height: normal !important;
  text-align: left !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  appearance: none !important
}

#wsp17Root .wsp17-toolbar>label>input::placeholder {
  color: #71859a !important;
  opacity: 1 !important;
  text-overflow: clip !important
}

/* Evidencias e nomes manuais dos Destaques. */
#wsp17Root .wsp17-highlights {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding: 2px 0 8px !important;
  overflow-x: auto !important
}

#wsp17Root .wsp17-highlight-fallback {
  flex: 0 0 auto !important;
  max-width: none !important
}

#wsp17Root .wsp17-highlights-missing {
  flex: 1 1 560px !important;
  width: auto !important;
  max-width: none !important;
  min-width: 500px !important;
  margin-left: 14px !important;
  padding: 15px 17px !important;
  box-sizing: border-box !important
}

#wsp17Root .wsp17-highlights-missing:only-child {
  flex: 1 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  margin-left: 0 !important
}

.wsp17-evidence {
  color: #e8eef5
}

.wsp17-evidence>header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid #293948
}

.wsp17-evidence>header>div {
  display: flex;
  gap: 11px
}

.wsp17-evidence>header i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(168, 85, 247, .14);
  color: #c084fc;
  font-style: normal
}

.wsp17-evidence h2 {
  margin: 0;
  font-size: 20px
}

.wsp17-evidence header p {
  margin: 5px 0 0;
  color: #8496a8;
  font-size: 11px
}

.wsp17-evidence .close {
  border: 0;
  background: transparent;
  color: #9aabba;
  font-size: 24px;
  cursor: pointer
}

.wsp17-evidence-grid {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(300px, 1.25fr);
  gap: 13px;
  padding-top: 14px
}

.wsp17-evidence-field {
  display: grid;
  gap: 7px
}

.wsp17-evidence-field>span {
  color: #cdd8e2;
  font-size: 11px;
  font-weight: 800
}

.wsp17-evidence textarea {
  width: 100%;
  min-height: 176px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #304252;
  border-radius: 12px;
  background: #09121a;
  color: #e8eef5;
  resize: vertical;
  outline: 0
}

.wsp17-evidence textarea:focus {
  border-color: #8957bd;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .10)
}

.wsp17-evidence-drop {
  position: relative;
  min-height: 176px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed #67478b;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(168, 85, 247, .08), rgba(15, 24, 33, .72));
  cursor: pointer;
  text-align: center;
  overflow: hidden
}

.wsp17-evidence-drop.drag {
  border-color: #c084fc;
  background: rgba(168, 85, 247, .15)
}

.wsp17-evidence-drop svg {
  width: 30px;
  height: 30px;
  color: #b878ee
}

.wsp17-evidence-drop b,
.wsp17-evidence-drop small {
  display: block
}

.wsp17-evidence-drop b {
  margin-top: 8px;
  color: #e2d3f3
}

.wsp17-evidence-drop small {
  margin-top: 5px;
  color: #8d80a0;
  line-height: 1.45
}

.wsp17-evidence-preview {
  position: absolute;
  inset: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #070d12;
  overflow: hidden
}

.wsp17-evidence-preview.has {
  display: flex
}

.wsp17-evidence-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.wsp17-evidence-preview button {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 30px;
  height: 30px;
  border: 1px solid #77303a;
  border-radius: 8px;
  background: #2d1117;
  color: #ff8b95;
  cursor: pointer
}

.wsp17-evidence-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 13px
}

.wsp17-evidence-actions button {
  min-width: 138px;
  height: 40px;
  border: 1px solid #34495a;
  border-radius: 999px;
  background: #111d27;
  color: #becbd7;
  font-weight: 850;
  cursor: pointer
}

.wsp17-evidence-actions .save {
  border-color: #7d4cab;
  background: linear-gradient(135deg, #7136a3, #49206d);
  color: #fff
}

.wsp17-evidence-actions .clear {
  border-color: #87323b;
  background: #2b1116;
  color: #ff9ca4
}

#wsp17Root .wsp17-hero-actions button {
  min-width: 132px !important;
  padding: 0 20px !important
}

#wsp17Root .wsp17-table .wsp17-actions .wsp17-pill-action {
  width: 96px !important;
  min-width: 96px !important;
  padding: 0 9px !important
}

#wsp17Root .wsp17-card>footer {
  align-items: center !important;
  min-height: 28px
}

#wsp17Root .wsp17-card>footer button {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  line-height: 1 !important
}

#wsp17Root .wsp17-card>footer button svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  margin: auto !important
}

#wsp17Root .wsp17-card>footer button[title="WhatsApp"] {
  color: #25d366 !important;
  border-color: rgba(37, 211, 102, .42) !important;
  background: rgba(37, 211, 102, .10) !important
}

#wsp17Root .wsp17-card>footer button[title="Instagram"] {
  color: #e4408f !important;
  border-color: rgba(228, 64, 143, .45) !important;
  background: linear-gradient(145deg, rgba(245, 133, 41, .1), rgba(193, 53, 132, .12), rgba(64, 93, 230, .12)) !important
}

#wsp17Root .wsp17-card>footer button[title="Editar"] {
  color: #8db5d5 !important;
  border-color: #315067 !important;
  background: #101d27 !important
}

@media(max-width:760px) {
  #wsp17Root .wsp17-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important
  }

  #wsp17Root .wsp17-toolbar>label,
  #wsp17Root .wsp17-toolbar>select {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important
  }

  #wsp17Root .wsp17-toolbar>span {
    margin-left: auto
  }

  .wsp17-evidence-grid {
    grid-template-columns: 1fr
  }

  #wsp17Root .wsp17-highlights-missing {
    flex-basis: 100% !important;
    min-width: calc(100vw - 86px) !important;
    max-width: none !important;
    margin-left: 8px !important
  }
}

/* Tema claro: regras isoladas; nenhum seletor abaixo altera o tema escuro. */
body.ws-theme-light #wsp17Root {
  --wsp-light-bg: #f4f7fb;
  --wsp-light-card: #fff;
  --wsp-light-soft: #f8fafc;
  --wsp-light-line: #d8e0ea;
  --wsp-light-text: #172033;
  --wsp-light-muted: #64748b;
  color: var(--wsp-light-text)
}

body.ws-theme-light #wsp17Root .wsp17-hero,
body.ws-theme-light #wsp17Root .wsp17-pagehead,
body.ws-theme-light #wsp17Root .wsp17-flow,
body.ws-theme-light #wsp17Root .wsp17-panel,
body.ws-theme-light #wsp17Root .wsp17-kpis article,
body.ws-theme-light #wsp17Root .wsp17-profile,
body.ws-theme-light #wsp17Root .wsp17-diag-start,
body.ws-theme-light #wsp17Root .wsp17-diagnosis,
body.ws-theme-light #wsp17Root .wsp17-final-actions,
body.ws-theme-light #wsp17Root .wsp17-details,
body.ws-theme-light #wsp17Root .wsp17-table,
body.ws-theme-light #wsp17Root .wsp17-toolbar {
  background: var(--wsp-light-card) !important;
  color: var(--wsp-light-text) !important;
  border-color: var(--wsp-light-line) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07) !important
}

body.ws-theme-light #wsp17Root .wsp17-nav {
  background: rgba(248, 250, 252, .96) !important;
  border-color: var(--wsp-light-line) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08) !important
}

body.ws-theme-light #wsp17Root .wsp17-nav button {
  background: color-mix(in srgb, rgb(var(--rgb)) 8%, #fff) !important;
  border-color: color-mix(in srgb, rgb(var(--rgb)) 22%, #d8e0ea) !important;
  color: #475569 !important
}

body.ws-theme-light #wsp17Root .wsp17-nav button:hover,
body.ws-theme-light #wsp17Root .wsp17-nav button.active {
  background: color-mix(in srgb, rgb(var(--rgb)) 16%, #fff) !important;
  border-color: color-mix(in srgb, rgb(var(--rgb)) 48%, #cbd5e1) !important;
  color: #172033 !important
}

body.ws-theme-light #wsp17Root h2,
body.ws-theme-light #wsp17Root h3,
body.ws-theme-light #wsp17Root h4,
body.ws-theme-light #wsp17Root b,
body.ws-theme-light #wsp17Root strong {
  color: var(--wsp-light-text)
}

body.ws-theme-light #wsp17Root p,
body.ws-theme-light #wsp17Root small,
body.ws-theme-light #wsp17Root .wsp17-row span,
body.ws-theme-light #wsp17Root .wsp17-card span,
body.ws-theme-light #wsp17Root .wsp17-kpis span {
  color: var(--wsp-light-muted) !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button,
body.ws-theme-light #wsp17Root .wsp17-row,
body.ws-theme-light #wsp17Root .wsp17-card,
body.ws-theme-light #wsp17Root .wsp17-col,
body.ws-theme-light #wsp17Root .wsp17-tools>button,
body.ws-theme-light #wsp17Root .wsp17-details>div>label,
body.ws-theme-light #wsp17Root .wsp17-findings article {
  background: var(--wsp-light-soft) !important;
  color: var(--wsp-light-text) !important;
  border-color: var(--wsp-light-line) !important
}

/* A regra acima zera border-color (inclusive a borda superior colorida por etapa) para um
   cinza neutro. Restaura as mesmas cores de categoria do tema escuro — identidade idêntica,
   só a luminosidade do fundo muda. */
body.ws-theme-light #wsp17Root .wsp17-col {
  border-top-color: #3b82f6 !important
}

body.ws-theme-light #wsp17Root .wsp17-col.c1 {
  border-top-color: #06b6d4 !important
}

body.ws-theme-light #wsp17Root .wsp17-col.c2 {
  border-top-color: #a855f7 !important
}

body.ws-theme-light #wsp17Root .wsp17-col.c3 {
  border-top-color: #f59e0b !important
}

body.ws-theme-light #wsp17Root .wsp17-col.c4 {
  border-top-color: #22c55e !important
}

body.ws-theme-light #wsp17Root .wsp17-col.c5 {
  border-top-color: #ef4456 !important
}

body.ws-theme-light #wsp17Root .wsp17-col.c6 {
  border-top-color: #64748b !important
}

body.ws-theme-light #wsp17Root .wsp17-col>header,
body.ws-theme-light #wsp17Root .wsp17-col>footer,
body.ws-theme-light #wsp17Root .wsp17-profile>header {
  background: #f1f5f9 !important;
  border-color: var(--wsp-light-line) !important
}

body.ws-theme-light #wsp17Root input,
body.ws-theme-light #wsp17Root select,
body.ws-theme-light #wsp17Root textarea,
body.ws-theme-light #wsp17Root .wsp17-diag-start label {
  background: #fff !important;
  color: var(--wsp-light-text) !important;
  border-color: #cbd5e1 !important
}

body.ws-theme-light #wsp17Root .wsp17-toolbar>label {
  background: #fff !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important
}

body.ws-theme-light #wsp17Root input::placeholder,
body.ws-theme-light #wsp17Root textarea::placeholder {
  color: #64748b !important;
  opacity: 1
}

body.ws-theme-light #wsp17Root .wsp17-toolbar>label>input {
  background: #fff !important;
  background-image: none !important;
  color: #172033 !important
}

/* O harmonizador injeta uma regra posterior com #prospeccao e :not(...).
   Os dois IDs abaixo garantem que o campo de busca respeite o tema claro. */
body.ws-theme-light #prospeccao #wsp17Root .wsp17-toolbar>label>input {
  background: #ffffff00 !important;
  background-image: none !important;
  color: #172033 !important;
  border-color: #cbd5e100 !important
}

/* O mesmo conflito de especificidade do harmonizador (comentário acima) afeta TODOS os
   inputs/selects/textareas do wsp17Root, não só a busca — inclui campos de diagnóstico
   (@ do Instagram) e o grid de pontuação manual. Generaliza o duplo-ID para todos eles. */
body.ws-theme-light #prospeccao #wsp17Root input,
body.ws-theme-light #prospeccao #wsp17Root select,
body.ws-theme-light #prospeccao #wsp17Root textarea {
  background: #ffffff00 !important;
  color: var(--wsp-light-text) !important;
  border: color #cbd5e1 !important
}

body.ws-theme-light #prospeccao #wsp17Root input::placeholder,
body.ws-theme-light #prospeccao #wsp17Root textarea::placeholder {
  color: #64748b !important;
  opacity: 1
}

body.ws-theme-light #prospeccao #wsp17Root .wsp17-score-grid input {
  background: #ffffff00 !important;
  color: var(--wsp-light-text) !important;
  border-color: #cbd5e100 !important
}

body.ws-theme-light #wsp17Root .wsp17-table th {
  background: #eef2f7 !important;
  color: #334155 !important;
  border-color: var(--wsp-light-line) !important
}

body.ws-theme-light #wsp17Root .wsp17-table td {
  background: #fff !important;
  color: var(--wsp-light-text) !important;
  border-color: var(--wsp-light-line) !important
}

body.ws-theme-light #wsp17Root .wsp17-score {
  background: radial-gradient(circle at center, #fff 56%, transparent 58%), conic-gradient(#8b5cf6 calc(var(--score)*1%), #dbe3ec 0) !important
}

/* Painel "Informe o perfil para começar" (aside do Diagnóstico) ficava preto no tema claro. */
body.ws-theme-light #wsp17Root .wsp17-diag-start>aside {
  background: #f8fafc !important;
  border-color: var(--wsp-light-line) !important
}

body.ws-theme-light #wsp17Root .wsp17-diag-start aside>b {
  color: var(--wsp-light-text) !important
}

body.ws-theme-light #wsp17Root .wsp17-diag-start aside>span {
  color: #64748b !important
}

body.ws-theme-light #wsp17Root .wsp17-diag-sublabel,
body.ws-theme-light #wsp17Root .wsp19-form>header p,
body.ws-theme-light #wsp17Root .wsp19-results>header p,
body.ws-theme-light #wsp17Root .wsdh-card>header p {
  color: #64748b !important
}

/* Tema claro: regras genéricas de h2/h3 escureciam o título; o rótulo de PERFIL PARA ANÁLISE mantém a cor própria. */
body.ws-theme-light #wsp17Root .wsp19-form>header h2,
body.ws-theme-light #wsp17Root .wsp19-results>header h2,
body.ws-theme-light #wsp17Root .wsdh-card>header h3 {
  color: #8576aa !important
}

/* Somente layout das seções internas (a tipografia vem das regras de PERFIL PARA ANÁLISE acima). */
#wsp17Root .wsp19-form>header h2,
#wsp17Root .wsp19-results>header h2,
#wsp17Root .wsdh-card>header h3 {
  margin: 0;
  text-transform: uppercase
}

#wsp17Root .wsp19-form>header p,
#wsp17Root .wsp19-results>header p,
#wsp17Root .wsdh-card>header p {
  margin: 4px 0 0
}

/* Botão "Adicionar prints" (cabeçalho da página) ficava cinza-escuro em qualquer tema. */
body.ws-theme-light #wsp17Root .wsp17-hero-actions button,
body.ws-theme-light #wsp17Root .wsp17-pagehead>button {
  background: #ffffff !important;
  border-color: #d7dce5 !important;
  color: #334155 !important
}

body.ws-theme-light #wsp17Root .wsp17-pagehead.purple>button {
  border-color: #d8c2f7 !important;
  color: #7c3aed !important
}

body.ws-theme-light #wsp17Root .wsp17-pagehead.gold>button {
  border-color: #f3d98a !important;
  color: #92670a !important
}

body.ws-theme-light #wsp17Root .wsp17-pagehead.pink>button {
  border-color: #f6c7de !important;
  color: #be185d !important
}

body.ws-theme-light #wsp17Root .wsp17-pagehead.teal>button {
  border-color: #a9e4d8 !important;
  color: #0f766e !important
}

body.ws-theme-light #wsp17Root .wsp17-pagehead.cyan>button {
  border-color: #a9e0ee !important;
  color: #0e7490 !important
}

/* Aviso "Diagnóstico incompleto" e botão "Enviar prints": sem contraste no tema claro. */
body.ws-theme-light #wsp17Root .wsp17-alert {
  background: #fffaeb !important;
  border-color: #f3d98a !important;
  color: #92670a !important
}

body.ws-theme-light #wsp17Root .wsp17-alert b {
  color: #7a5200 !important
}

body.ws-theme-light #wsp17Root .wsp17-alert span {
  color: #92670a !important
}

body.ws-theme-light #wsp17Root .wsp17-alert button {
  background: #fff8e1 !important;
  border-color: #e5ae12 !important;
  color: #7a5200 !important
}

body.ws-theme-light #wsp17Root .wsp17-profile-id p,
body.ws-theme-light #wsp17Root .wsp17-findings li {
  color: #475569 !important
}

body.ws-theme-light #wsp17Root .wsp17-profile-section+.wsp17-profile-section {
  border-color: var(--wsp-light-line) !important
}

body.ws-theme-light .wsp17-evidence {
  color: #172033
}

body.ws-theme-light .wsp17-evidence textarea,
body.ws-theme-light .wsp17-evidence-drop {
  background: #fff !important;
  color: #172033 !important;
  border-color: #cbd5e1 !important
}

body.ws-theme-light .wsp17-evidence h2,
body.ws-theme-light .wsp17-evidence-field>span {
  color: #172033 !important
}

body.ws-theme-light .wsp17-evidence header p,
body.ws-theme-light .wsp17-evidence-drop small {
  color: #64748b !important
}

#wsp17Root .wsp17-send-kanban {
  width: auto !important;
  min-width: 150px !important;
  height: 34px !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 13px !important;
  white-space: nowrap !important;
  line-height: 1 !important
}

#wsp17Root .wsp17-send-kanban svg {
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important
}

#wsp17Root .wsp17-highlights-missing {
  min-height: 112px !important;
  padding: 22px 20px !important;
  align-items: center !important
}

#wsp17Root .wsp17-highlights-missing>button {
  min-width: 178px !important;
  height: 40px !important;
  border-radius: 999px !important
}

#wsp17Root .wsp17-grid.qualify .wsp17-actions {
  display: grid !important;
  grid-template-columns: repeat(2, 118px) !important;
  gap: 8px !important
}

#wsp17Root .wsp17-grid.qualify .wsp17-actions>button {
  width: 118px !important;
  min-width: 118px !important;
  height: 34px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border-radius: 999px !important;
  white-space: nowrap !important
}

#ws61NovoLeadModal.ws61-modal {
  align-items: center !important;
  padding: 24px !important;
  background: rgba(2, 6, 10, .82) !important;
  backdrop-filter: blur(8px) !important
}

#ws61NovoLeadModal .ws61-dialog {
  width: min(1120px, 96vw) !important;
  max-width: 1120px !important;
  min-height: 0 !important;
  max-height: 92vh !important;
  overflow: auto !important;
  padding: 22px !important;
  border: 1px solid #2b3e4e !important;
  border-radius: 24px !important;
  background: radial-gradient(circle at 0 0, rgba(245, 184, 0, .10), transparent 32%), linear-gradient(180deg, #111a22, #091118) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72) !important
}

#ws61NovoLeadModal .ws61-head {
  top: -22px !important;
  margin: -22px -22px 16px !important;
  padding: 18px 22px !important;
  background: rgba(10, 18, 25, .97) !important;
  border-bottom: 1px solid #293c4b !important
}

#ws61NovoLeadModal .ws61-head h2 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #f4c431 !important;
  font-size: 20px !important
}

#ws61NovoLeadModal .ws61-head h2:before {
  content: '+';
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(245, 184, 0, .14);
  border: 1px solid rgba(245, 184, 0, .35);
  color: #ffd653
}

#ws61NovoLeadModal .ws61-close {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 1px solid #6e2b33 !important;
  border-radius: 12px !important;
  background: #2b1116 !important;
  color: #ff929a !important
}

#ws61NovoLeadModal .ws61-card {
  border-color: #293c4b !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #101a23, #0b141c) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025) !important
}

#ws61NovoLeadModal :is(input, select, textarea) {
  border-color: #304353 !important;
  background: #081119 !important;
  color: #e7eef5 !important
}

#wsp17Root .wsp17-final-actions>button {
  flex: 0 0 190px !important;
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  height: 42px !important;
  border-radius: 999px !important;
  padding: 0 16px !important
}

#ws61NovoLeadModal .ws61-actions .btn,
#ws61NovoLeadModal #ws61DestinoBox .btn {
  min-width: 230px !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important
}

#ws61NovoLeadModal .ws61-actions {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important
}

#ws61NovoLeadModal .ws61-actions .btn {
  flex: 0 0 230px !important;
  width: 230px !important;
  max-width: 230px !important
}

#ws61NovoLeadModal .ws61-actions .btn:first-child {
  border-color: #e3a714 !important;
  background: rgba(229, 162, 12, .11) !important;
  color: #f2c757 !important;
  box-shadow: inset 0 0 18px rgba(245, 184, 0, .05) !important
}

#ws61NovoLeadModal .ws61-actions .btn:nth-child(2) {
  border-color: #438ee6 !important;
  background: rgba(40, 123, 220, .12) !important;
  color: #79b9ff !important;
  box-shadow: inset 0 0 18px rgba(59, 130, 246, .05) !important
}

#ws61NovoLeadModal .ws-modal-action-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  font-style: normal
}

@media(max-width:620px) {

  #wsp17Root .wsp17-hero,
  #wsp17Root .wsp17-pagehead {
    align-items: flex-start !important
  }

  #wsp17Root .wsp17-hero-actions,
  #wsp17Root .wsp17-pagehead {
    flex-wrap: wrap !important
  }

  #wsp17Root .wsp17-pagehead>button {
    flex: 1 1 145px !important
  }

  #wsp17Root .wsp17-final-actions {
    align-items: stretch !important;
    flex-direction: column !important
  }

  #wsp17Root .wsp17-final-actions button {
    flex:0 0 auto!important;
    width: 100% !important;
    height:44px!important;
    min-height: 42px !important
  }

  #wsp17Root .wsp17-add-stage{
    flex-basis:180px!important;
    min-width:180px!important;
    min-height:180px!important;
  }

  #wsp17Root .wsp17-diag-start {
    grid-template-columns: 1fr !important
  }

  #wsp17Root .wsp17-table {
    overflow-x: auto !important
  }

  #wsp17Root .wsp17-send-kanban {
    min-width: 150px !important
  }
}


/* V11 — Base de Leads premium no tema claro. */
body.ws-theme-light #wsp17Root .wsp17-base-head-premium {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 20px 22px !important;
  min-height: 82px !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-premium>div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  min-width: 0 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-premium>div:first-child>i {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: #e9f9fb !important;
  border: 1px solid #bfeef2 !important;
  color: #0891a6 !important;
  box-shadow: none !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-left: auto !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions button {
  height: 44px !important;
  min-width: 166px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .04) !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions button svg {
  width: 17px !important;
  height: 17px !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions .danger-soft {
  border: 1px solid #fb7185 !important;
  color: #e11d48 !important;
  background: #fff7f8 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions .gold-soft {
  border: 1px solid #d6a23d !important;
  color: #a86d00 !important;
  background: #fffaf0 !important
}

body.ws-theme-light #wsp17Root .wsp17-leads-count {
  height: 44px !important;
  min-width: 126px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid #d6dfeb !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #334155 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .04) !important
}

body.ws-theme-light #wsp17Root .wsp17-leads-count svg {
  width: 16px !important;
  height: 16px !important;
  color: #64748b !important
}

body.ws-theme-light #wsp17Root .wsp17-base-toolbar {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) minmax(230px, 310px) !important;
  gap: 14px !important;
  padding: 14px !important;
  align-items: center !important
}

body.ws-theme-light #wsp17Root .wsp17-base-toolbar>label,
body.ws-theme-light #wsp17Root .wsp17-base-toolbar>select {
  height: 46px !important;
  border-radius: 13px !important;
  border: 1px solid #cdd8e5 !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .02) !important
}

body.ws-theme-light #wsp17Root .wsp17-base-toolbar>select {
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 14px !important
}

/* Sem isto o input de busca fica preso em 40px (regra genérica #prospeccao input:not()...)
   enquanto o label/select ao lado sobe para 46px no tema claro, desalinhando a toolbar.
   Precisa de 2 IDs para vencer a especificidade da regra genérica. */
body.ws-theme-light #prospeccao #wsp17Root .wsp17-base-toolbar>label>input {
  height: 46px !important;
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium {
  overflow-x: auto !important;
  border-radius: 18px !important;
  border: 1px solid #d8e1ec !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06) !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium table {
  min-width: 1120px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium th {
  height: 48px !important;
  padding: 0 14px !important;
  background: #f3f6fa !important;
  color: #475569 !important;
  font-size: 10.5px !important;
  font-weight: 850 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid #d8e1ec !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium td {
  height: 64px !important;
  padding: 10px 14px !important;
  background: #fff !important;
  border-bottom: 1px solid #e6ebf1 !important;
  vertical-align: middle !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium tbody tr:last-child td {
  border-bottom: 0 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium tbody tr:hover td {
  background: #f8fbff !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-client-cell {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp {
  min-width: 76px !important;
  height: 28px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  border: 1px solid transparent !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: currentColor
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.hot,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.quente {
  background: #fff1f2 !important;
  color: #dc2626 !important;
  border-color: #fecdd3 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.warm,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.morno {
  background: #fff8e8 !important;
  color: #d97706 !important;
  border-color: #fde2a7 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.cold,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.frio {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #bfdbfe !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(94px, 1fr)) !important;
  gap: 8px !important;
  min-width: 430px !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action {
  width: 100% !important;
  min-width: 94px !important;
  height: 32px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  box-shadow: none !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action svg {
  width: 14px !important;
  height: 14px !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action.purple {
  color: #7c3aed !important;
  border-color: #c2a8e0 !important;
  background: #d9bff5 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action.gold {
  color: #d97706 !important;
  border-color: #cdaf8d !important;
  background: #f7cb80 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action.green {
  color: #059669 !important;
  border-color: #8fcbaa !important;
  background: #8ce0b4 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action.blue {
  color: #2563eb !important;
  border-color: #a3bfe0 !important;
  background: #a3c9f7 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-pill-action:hover {
  filter: brightness(.985) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .06) !important
}

/* Botões Qualificar/Editar/Pipeline (listas de Qualificação) ficavam escuros no tema claro —
   só a tabela da Base de Leads tinha versão clara. Também alongados (mais padding/altura). */
#wsp17Root .wsp17-row>.wsp17-pill-action {
  padding: 0 14px !important;
  height: 32px !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action {
  background: #fff !important;
  box-shadow: none !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action svg {
  width: 14px !important;
  height: 14px !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action.purple {
  color: #7c3aed !important;
  border-color: #c2a8e0 !important;
  background: #d9bff5 !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action.gold {
  color: #d97706 !important;
  border-color: #cdaf8d !important;
  background: #f7cb80 !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action.green {
  color: #059669 !important;
  border-color: #8fcbaa !important;
  background: #8ce0b4 !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action.blue {
  color: #2563eb !important;
  border-color: #a3bfe0 !important;
  background: #a3c9f7 !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action.pink {
  color: #db2777 !important;
  border-color: #e0a8c4 !important;
  background: #f5a8cc !important
}

body.ws-theme-light #wsp17Root .wsp17-row>.wsp17-pill-action:hover {
  filter: brightness(.985) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .06) !important
}

/* Contador e seta de colapsar do cabeçalho de coluna do Pipeline ficavam pretos no tema claro. */
body.ws-theme-light #wsp17Root .wsp17-col>header>em {
  background: #eef2f6 !important;
  color: #475569 !important
}

body.ws-theme-light #wsp17Root .wsp17-col>header>button {
  background: #fff !important;
  border-color: #d7dce5 !important;
  color: #475569 !important
}

body.ws-theme-light #wsp17Root .wsp17-col>header>button:hover {
  background: #f2f4f7 !important;
  color: #172033 !important
}

@media(max-width:980px) {
  body.ws-theme-light #wsp17Root .wsp17-base-head-premium {
    align-items: flex-start !important;
    flex-direction: column !important
  }

  body.ws-theme-light #wsp17Root .wsp17-base-head-actions {
    width: 100% !important;
    justify-content: flex-start !important;
    margin-left: 0 !important
  }

  body.ws-theme-light #wsp17Root .wsp17-base-toolbar {
    grid-template-columns: 1fr !important
  }
}

/* ============================================================
   V12 — CENTRAL DA PROSPECÇÃO: PARIDADE VISUAL LIGHT/DARK
   Escopo estrito: #wsp17Root. Não altera outros módulos.
   ============================================================ */

/* 1) MENU: aparência limpa; borda colorida apenas no selecionado. */
#wsp17Root .wsp17-nav button {
  border-color: transparent !important;
  background: rgba(var(--rgb), .035) !important;
  box-shadow: none !important;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease !important;
}

#wsp17Root .wsp17-nav button:hover {
  border-color: transparent !important;
  background: rgba(var(--rgb), .08) !important;
  transform: translateY(-1px) !important;
}

#wsp17Root .wsp17-nav button.active {
  border-color: rgba(var(--rgb), .58) !important;
  background: rgba(var(--rgb), .12) !important;
  box-shadow: inset 0 0 18px rgba(var(--rgb), .035) !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button {
  border-color: transparent !important;
  background: color-mix(in srgb, rgb(var(--rgb)) 4%, transparent) !important;
  color: #475569 !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button:hover {
  border-color: transparent !important;
  background: color-mix(in srgb, rgb(var(--rgb)) 8%, #fff) !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button.active {
  border-color: color-mix(in srgb, rgb(var(--rgb)) 58%, #cbd5e1) !important;
  background: color-mix(in srgb, rgb(var(--rgb)) 12%, #fff) !important;
  color: #172033 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .045) !important;
}

/* 2) KPIs LIGHT: mesmo destaque visual do Dashboard. */
body.ws-theme-light #wsp17Root .wsp17-kpis article {
  min-height: 104px !important;
  padding: 13px 12px !important;
  gap: 11px !important;
  border-radius: 14px !important;
  background: #fff !important;
  border-color: #d8e1ec !important;
  box-shadow: 0 9px 22px rgba(15, 23, 42, .065) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

body.ws-theme-light #wsp17Root .wsp17-kpis article:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 13px 28px rgba(15, 23, 42, .095) !important;
}

body.ws-theme-light #wsp17Root .wsp17-kpis article>i {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  color: #2563eb !important;
  background: rgba(59, 130, 246, .13) !important;
  border: 1px solid rgba(59, 130, 246, .3) !important;
  box-shadow: none !important;
}

body.ws-theme-light #wsp17Root .wsp17-kpis article>i svg {
  width: 19px !important;
  height: 19px !important;
  stroke: currentColor !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article.cyan>i {
  color: #0e7490 !important;
  background: rgba(6, 182, 212, .13) !important;
  border-color: rgba(6, 182, 212, .3) !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article.gold>i {
  color: #b45309 !important;
  background: rgba(245, 158, 11, .13) !important;
  border-color: rgba(245, 158, 11, .3) !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article.pink>i {
  color: #be185d !important;
  background: rgba(236, 72, 153, .13) !important;
  border-color: rgba(236, 72, 153, .3) !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article.red>i {
  color: #dc2626 !important;
  background: rgba(239, 68, 68, .13) !important;
  border-color: rgba(239, 68, 68, .3) !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article.teal>i {
  color: #0f766e !important;
  background: rgba(20, 184, 166, .13) !important;
  border-color: rgba(20, 184, 166, .3) !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article.green>i {
  color: #15803d !important;
  background: rgba(34, 197, 94, .13) !important;
  border-color: rgba(34, 197, 94, .3) !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article small {
  font-size: 9px !important;
  color: #64748b !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article strong {
  font-size: 22px !important;
  color: #172033 !important;
  line-height: 1.08 !important
}

body.ws-theme-light #wsp17Root .wsp17-kpis article span {
  font-size: 8px !important;
  color: #64748b !important
}

/* 3) FLUXO ÚNICO — SOMENTE LIGHT. O DARK ORIGINAL FOI PRESERVADO. */
body.ws-theme-light #wsp17Root .wsp17-flow {
  padding: 14px !important;
  border-radius: 14px !important;
  background: #fff !important;
  border-color: #d8e1ec !important;
  box-shadow: 0 10px 27px rgba(15, 23, 42, .07) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div {
  display: flex !important;
  margin-top: 11px !important;
  gap: 0 !important;
  overflow-x: auto !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button {
  flex: 1 !important;
  min-width: 165px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: auto !important;
  padding: 10px !important;
  border: 0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #172033 !important;
  text-align: left !important;
  box-shadow: none !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:last-child {
  border-right: 0 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:hover {
  background: #f8fafc !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button>i {
  width: 31px !important;
  height: 31px !important;
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  border: 1px solid currentColor !important;
  background: color-mix(in srgb, currentColor 10%, #fff) !important;
  box-shadow: 0 0 14px color-mix(in srgb, currentColor 25%, transparent) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button>i svg {
  width: 17px !important;
  height: 17px !important;
  stroke: currentColor !important;
  filter: drop-shadow(0 0 4px currentColor) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(1) {
  color: #2563eb !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(2) {
  color: #9333ea !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(3) {
  color: #d97706 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(4) {
  color: #0f766e !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(5) {
  color: #be185d !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button>span {
  color: #172033 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow small {
  font-size: 9px !important;
  color: #64748b !important
}

body.ws-theme-light #wsp17Root .wsp17-flow b {
  font-size: 12px !important;
  color: #172033 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow em {
  font-size: 10px !important;
  color: #64748b !important
}

/* 4) AÇÕES RÁPIDAS — SOMENTE LIGHT. O DARK ORIGINAL FOI PRESERVADO. */
body.ws-theme-light #wsp17Root .wsp17-quick {
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
  margin-top: 13px !important;
}

body.ws-theme-light #wsp17Root .wsp17-quick button {
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  padding: 10px 15px !important;
  border-radius: 12px !important;
  text-align: left !important;
  background: #fff !important;
  color: #172033 !important;
  border: 1px solid #d8e1ec !important;
  box-shadow: 0 6px 15px rgba(15, 23, 42, .045) !important;
}

body.ws-theme-light #wsp17Root .wsp17-quick button:hover {
  background: #f8fbff !important;
  border-color: #b9cbe0 !important;
  box-shadow: 0 9px 19px rgba(15, 23, 42, .075) !important;
  transform: translateY(-1px) !important;
}

body.ws-theme-light #wsp17Root .wsp17-quick button>svg {
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 21px !important;
  color: #2563eb !important;
  stroke: #2563eb !important;
}

body.ws-theme-light #wsp17Root .wsp17-quick span {
  flex: 0 1 auto !important;
  min-width: 122px !important
}

body.ws-theme-light #wsp17Root .wsp17-quick b {
  font-size: 10px !important;
  line-height: 1.15 !important;
  color: #172033 !important
}

body.ws-theme-light #wsp17Root .wsp17-quick small {
  font-size: 8px !important;
  line-height: 1.2 !important;
  margin-top: 3px !important;
  color: #64748b !important
}

@media(max-width:900px) {
  #wsp17Root .wsp17-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important
  }

  #wsp17Root .wsp17-flow>div>button {
    min-width: 180px !important
  }
}


/* ============================================================
   V14 — CENTRAL DA PROSPECÇÃO: COMPONENTES IDÊNTICOS NOS TEMAS
   Estrutura, tamanho e espaçamento são únicos. Só as cores mudam.
   ============================================================ */

/* FLUXO ÚNICO — padrão oficial compartilhado LIGHT/DARK */
#wsp17Root .wsp17-flow {
  padding: 16px !important;
  border-radius: 15px !important;
}

#wsp17Root .wsp17-flow>div {
  display: flex !important;
  gap: 10px !important;
  margin-top: 12px !important;
  overflow-x: auto !important;
  padding: 1px !important;
}

#wsp17Root .wsp17-flow>div>button {
  flex: 1 1 0 !important;
  min-width: 188px !important;
  min-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 13px !important;
  border: 1px solid color-mix(in srgb, currentColor 42%, #253443) !important;
  border-radius: 15px !important;
  background: color-mix(in srgb, currentColor 5%, #080e14) !important;
  color: #dce6ef !important;
  text-align: left !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .018), 0 8px 20px rgba(0, 0, 0, .08) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

#wsp17Root .wsp17-flow>div>button:hover {
  transform: translateY(-2px) !important;
  border-color: color-mix(in srgb, currentColor 72%, #253443) !important;
  background: color-mix(in srgb, currentColor 9%, #080e14) !important;
  box-shadow: 0 10px 23px rgba(0, 0, 0, .13) !important;
}

#wsp17Root .wsp17-flow>div>button:nth-child(1) {
  color: #22d3ee !important
}

#wsp17Root .wsp17-flow>div>button:nth-child(2) {
  color: #a855f7 !important
}

#wsp17Root .wsp17-flow>div>button:nth-child(3) {
  color: #f59e0b !important
}

#wsp17Root .wsp17-flow>div>button:nth-child(4) {
  color: #2dd4bf !important
}

#wsp17Root .wsp17-flow>div>button:nth-child(5) {
  color: #ec4899 !important
}

#wsp17Root .wsp17-flow>div>button>i {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid color-mix(in srgb, currentColor 64%, transparent) !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, currentColor 13%, #091019) !important;
  color: currentColor !important;
  box-shadow: 0 0 16px color-mix(in srgb, currentColor 18%, transparent), inset 0 1px rgba(255, 255, 255, .06) !important;
}

#wsp17Root .wsp17-flow>div>button>i svg {
  width: 21px !important;
  height: 21px !important;
  stroke: currentColor !important;
  filter: drop-shadow(0 0 5px color-mix(in srgb, currentColor 58%, transparent)) !important;
}

#wsp17Root .wsp17-flow>div>button>span {
  flex: 1 !important;
  min-width: 0 !important;
  color: #dce6ef !important;
}

#wsp17Root .wsp17-flow small {
  font-size: 9px !important;
  color: #71869a !important;
  line-height: 1.05 !important
}

#wsp17Root .wsp17-flow b {
  font-size: 12.5px !important;
  color: #edf4fa !important;
  line-height: 1.15 !important
}

#wsp17Root .wsp17-flow em {
  font-size: 10px !important;
  color: #7d8fa0 !important;
  line-height: 1.2 !important;
  margin-top: 3px !important
}

#wsp17Root .wsp17-flow>div>button>svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
  color: currentColor !important;
  stroke: currentColor !important;
}

/* LIGHT: mesma estrutura acima; muda somente a paleta */
body.ws-theme-light #wsp17Root .wsp17-flow {
  background: #fff !important;
  border-color: #d8e1ec !important;
  box-shadow: 0 10px 27px rgba(15, 23, 42, .07) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div {
  gap: 10px !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button {
  min-width: 188px !important;
  min-height: 76px !important;
  padding: 12px 13px !important;
  border: 1px solid color-mix(in srgb, currentColor 34%, #dbe4ee) !important;
  border-radius: 15px !important;
  background: color-mix(in srgb, currentColor 4%, #fff) !important;
  box-shadow: 0 7px 17px rgba(15, 23, 42, .055) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:hover {
  background: color-mix(in srgb, currentColor 7%, #fff) !important;
  border-color: color-mix(in srgb, currentColor 55%, #cbd5e1) !important;
  box-shadow: 0 11px 23px rgba(15, 23, 42, .085) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(1) {
  color: #0891b2 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(2) {
  color: #9333ea !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(3) {
  color: #d97706 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(4) {
  color: #0f766e !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button:nth-child(5) {
  color: #be185d !important
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button>i {
  width: 40px !important;
  height: 40px !important;
  flex-basis: 40px !important;
  border-radius: 12px !important;
  border-color: color-mix(in srgb, currentColor 44%, #dbe4ee) !important;
  background: color-mix(in srgb, currentColor 10%, #fff) !important;
  box-shadow: 0 7px 16px color-mix(in srgb, currentColor 14%, transparent) !important;
}

body.ws-theme-light #wsp17Root .wsp17-flow>div>button>span {
  color: #172033 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow small {
  color: #64748b !important
}

body.ws-theme-light #wsp17Root .wsp17-flow b {
  color: #172033 !important
}

body.ws-theme-light #wsp17Root .wsp17-flow em {
  color: #64748b !important
}

/* PIPELINE POR ETAPA — tipografia mais legível */
#wsp17Root .wsp17-bars {
  gap: 9px !important
}

#wsp17Root .wsp17-bars>div {
  grid-template-columns: 130px 1fr 26px !important;
  gap: 9px !important
}

#wsp17Root .wsp17-bars span {
  font-size: 10.5px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  color: #b6c3cf !important;
}

#wsp17Root .wsp17-bars b {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  color: #eef5fb !important;
}

body.ws-theme-light #wsp17Root .wsp17-bars span {
  color: #334155 !important
}

body.ws-theme-light #wsp17Root .wsp17-bars b {
  color: #172033 !important
}

/* AÇÕES RÁPIDAS — mesmo formato nos dois temas; apenas cores diferentes */
#wsp17Root .wsp17-quick {
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
  margin-top: 13px !important;
}

#wsp17Root .wsp17-quick button {
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  padding: 10px 14px !important;
  border-radius: 13px !important;
  text-align: left !important;
  border: 1px solid #263847 !important;
  background: #0d1720 !important;
  color: #dfe7ee !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, .08) !important;
}

#wsp17Root .wsp17-quick button:hover {
  transform: translateY(-1px) !important;
  border-color: #3a5d79 !important;
  background: #102033 !important;
}

#wsp17Root .wsp17-quick button>svg {
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 21px !important;
  color: #62a9f2 !important;
  stroke: #62a9f2 !important;
}

#wsp17Root .wsp17-quick span {
  flex: 1 !important;
  min-width: 0 !important
}

#wsp17Root .wsp17-quick b {
  font-size: 10.5px !important;
  line-height: 1.15 !important;
  color: #edf4fa !important
}

#wsp17Root .wsp17-quick small {
  font-size: 8.5px !important;
  line-height: 1.2 !important;
  margin-top: 3px !important;
  color: #74889a !important
}

body.ws-theme-light #wsp17Root .wsp17-quick button {
  min-height: 58px !important;
  padding: 10px 14px !important;
  border-radius: 13px !important;
  justify-content: flex-start !important;
  background: #fff !important;
  color: #172033 !important;
  border-color: #d8e1ec !important;
  box-shadow: 0 6px 15px rgba(15, 23, 42, .045) !important;
}

body.ws-theme-light #wsp17Root .wsp17-quick button:hover {
  background: #f8fbff !important;
  border-color: #b9cbe0 !important;
  box-shadow: 0 9px 19px rgba(15, 23, 42, .075) !important;
}

body.ws-theme-light #wsp17Root .wsp17-quick button>svg {
  color: #2563eb !important;
  stroke: #2563eb !important
}

body.ws-theme-light #wsp17Root .wsp17-quick span {
  flex: 1 !important;
  min-width: 0 !important
}

body.ws-theme-light #wsp17Root .wsp17-quick b {
  font-size: 10.5px !important;
  color: #172033 !important
}

body.ws-theme-light #wsp17Root .wsp17-quick small {
  font-size: 8.5px !important;
  color: #64748b !important
}

@media(max-width:1120px) {

  #wsp17Root .wsp17-flow>div>button,
  body.ws-theme-light #wsp17Root .wsp17-flow>div>button {
    min-width: 205px !important
  }
}

/* ===== BASE DE LEADS V15 — versão oficial única ===== */
/* O menu não sobrepõe mais a busca/tabela durante a rolagem. */
#wsp17Root .wsp17-nav {
  position: relative !important;
  top: auto !important;
  z-index: 12 !important;
}

/* Sem borda nos atalhos inativos; apenas o selecionado ganha contorno e brilho. */
#wsp17Root .wsp17-nav button,
body.ws-theme-light #wsp17Root .wsp17-nav button {
  border-color: transparent !important;
  box-shadow: none !important;
}

#wsp17Root .wsp17-nav button.active {
  border-color: color-mix(in srgb, rgb(var(--rgb)) 72%, #3a4b5b) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, rgb(var(--rgb)) 18%, transparent), 0 8px 20px color-mix(in srgb, rgb(var(--rgb)) 13%, transparent) !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button.active {
  border-color: color-mix(in srgb, rgb(var(--rgb)) 58%, #cbd5e1) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, rgb(var(--rgb)) 12%, transparent), 0 7px 18px rgba(15, 23, 42, .07) !important;
}

/* Cabeçalho: somente dois ícones discretos oficiais. */
#wsp17Root .wsp17-base-head-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-left: auto !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  background: #0c151e !important;
  box-shadow: none !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon svg {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon.danger-soft {
  color: #ff3e57 !important;
  border: 1px solid rgba(255, 62, 87, .58) !important;
  background: rgba(255, 32, 61, .08) !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon.gold-soft {
  color: #ffc400 !important;
  border: 1px solid rgba(255, 196, 0, .55) !important;
  background: rgba(255, 196, 0, .07) !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.18) !important;
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon {
  background: #fff !important;
  box-shadow: 0 5px 13px rgba(15, 23, 42, .055) !important;
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon.danger-soft {
  color: #e11d48 !important;
  border-color: #fda4af !important;
  background: #fff1f3 !important;
}

body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon.gold-soft {
  color: #b77900 !important;
  border-color: #f5c85e !important;
  background: #fff9e9 !important;
}

#wsp17Root .wsp17-leads-count {
  height: 42px !important;
  min-width: 112px !important;
  border-radius: 12px !important
}

/* Pesquisa: camada única, sem fundos sobrepostos. */
#wsp17Root .wsp17-base-toolbar {
  position: relative !important;
  z-index: 2 !important;
  isolation: isolate !important;
  margin-top: 14px !important;
}

#wsp17Root .wsp17-base-toolbar>label {
  position: relative !important;
  overflow: hidden !important;
}

#wsp17Root .wsp17-base-toolbar>label>input {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Tabela e colunas. O número rola; o nome do lead permanece visível. */
#wsp17Root .wsp17-base-table-premium {
  position: relative !important;
  overflow: auto !important;
  max-width: 100% !important
}

#wsp17Root .wsp17-base-table-premium table {
  min-width: 1420px !important
}

#wsp17Root .wsp17-base-table-premium th,
#wsp17Root .wsp17-base-table-premium td {
  white-space: nowrap !important
}

#wsp17Root .wsp17-base-table-premium .wsp17-col-number {
  width: 48px !important;
  min-width: 48px !important;
  text-align: center !important
}

#wsp17Root .wsp17-base-table-premium .wsp17-col-lead {
  position: sticky !important;
  left: 0 !important;
  z-index: 4 !important;
  min-width: 250px !important;
  width: 250px !important;
  box-shadow: none !important;
}

#wsp17Root .wsp17-base-table-premium thead .wsp17-col-lead {
  z-index: 7 !important;
  background: #101b26 !important;
}

#wsp17Root .wsp17-base-table-premium tbody .wsp17-col-lead {
  background: #09131c !important
}

#wsp17Root .wsp17-base-table-premium tbody tr:hover .wsp17-col-lead {
  background: #0d1a25 !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium thead .wsp17-col-lead {
  background: #f3f6fa !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium tbody .wsp17-col-lead {
  background: #fff !important
}

body.ws-theme-light #wsp17Root .wsp17-base-table-premium tbody tr:hover .wsp17-col-lead {
  background: #f8fbff !important
}

/* WhatsApp, e-mail e Instagram com ícones próprios. */
#wsp17Root .wsp17-contact {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  max-width: 230px !important;
  color: #c7d2dc !important
}

#wsp17Root .wsp17-contact svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important
}

#wsp17Root .wsp17-contact span {
  overflow: hidden !important;
  text-overflow: ellipsis !important
}

#wsp17Root .wsp17-contact-wa svg {
  color: #16d889 !important;
  stroke: #16d889 !important
}

#wsp17Root .wsp17-contact-mail svg {
  color: #82a9c9 !important;
  stroke: #82a9c9 !important
}

#wsp17Root .wsp17-contact-ig svg {
  color: #ed4a9d !important;
  stroke: #ed4a9d !important
}

body.ws-theme-light #wsp17Root .wsp17-contact {
  color: #334155 !important
}

body.ws-theme-light #wsp17Root .wsp17-contact-wa svg {
  color: #00a96e !important;
  stroke: #00a96e !important
}

body.ws-theme-light #wsp17Root .wsp17-contact-mail svg {
  color: #5b77a2 !important;
  stroke: #5b77a2 !important
}

body.ws-theme-light #wsp17Root .wsp17-contact-ig svg {
  color: #c13584 !important;
  stroke: #c13584 !important
}

/* Temperaturas: sólidas, vivas e idênticas estruturalmente nos dois temas. */
#wsp17Root .wsp17-base-table-premium .wsp17-temp {
  min-width: 78px !important;
  height: 30px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .12) !important;
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp:before {
  display: none !important
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp.hot,
#wsp17Root .wsp17-base-table-premium .wsp17-temp.quente,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.hot,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.quente {
  background: #ff293f !important;
  color: #fff !important;
  border-color: #ff5264 !important;
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp.warm,
#wsp17Root .wsp17-base-table-premium .wsp17-temp.morno,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.warm,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.morno {
  background: #ffe600 !important;
  color: #352d00 !important;
  border-color: #fff06a !important;
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp.cold,
#wsp17Root .wsp17-base-table-premium .wsp17-temp.frio,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.cold,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.frio {
  background: #1580ff !important;
  color: #fff !important;
  border-color: #54a4ff !important;
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp.green,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.green {
  background: #13b66a !important;
  color: #fff !important;
  border-color: #4bd28f !important;
}

/* Paginação e seletor de itens por página. */
#wsp17Root .wsp17-pagination {
  margin-top: 12px !important;
  min-height: 62px !important;
  padding: 11px 14px !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 1fr) auto minmax(210px, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  border: 1px solid #263746 !important;
  border-radius: 14px !important;
  background: #0a141d !important;
  color: #9fb0c0 !important;
}

#wsp17Root .wsp17-pagination label {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 11px !important
}

#wsp17Root .wsp17-pagination select {
  height: 36px !important;
  min-width: 64px !important;
  border-radius: 9px !important;
  padding: 0 9px !important;
  background: #0c1924 !important;
  color: #e9f2f9 !important;
  border: 1px solid #2a3d4d !important
}

#wsp17Root .wsp17-pagination nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important
}

#wsp17Root .wsp17-pagination button {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 9px !important;
  background: #0d1924 !important;
  color: #cbd7e2 !important;
  border: 1px solid transparent !important
}

#wsp17Root .wsp17-pagination button.active {
  color: #fff !important;
  border-color: #168bff !important;
  background: rgba(22, 139, 255, .18) !important;
  box-shadow: 0 0 0 1px rgba(22, 139, 255, .16) !important
}

#wsp17Root .wsp17-pagination button:disabled {
  opacity: .35 !important;
  cursor: not-allowed !important
}

#wsp17Root .wsp17-pagination .ellipsis {
  padding: 0 5px !important;
  color: #75899b !important
}

#wsp17Root .wsp17-pagination>span {
  text-align: right !important;
  font-size: 11px !important
}

body.ws-theme-light #wsp17Root .wsp17-pagination {
  background: #fff !important;
  color: #475569 !important;
  border-color: #d8e1ec !important;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .045) !important
}

body.ws-theme-light #wsp17Root .wsp17-pagination select {
  background: #fff !important;
  color: #172033 !important;
  border-color: #cbd5e1 !important
}

body.ws-theme-light #wsp17Root .wsp17-pagination button {
  background: #fff !important;
  color: #334155 !important;
  border-color: #e2e8f0 !important
}

body.ws-theme-light #wsp17Root .wsp17-pagination button.active {
  color: #1d4ed8 !important;
  border-color: #77a8ff !important;
  background: #eaf2ff !important
}

@media(max-width:900px) {
  #wsp17Root .wsp17-pagination {
    grid-template-columns: 1fr !important
  }

  #wsp17Root .wsp17-pagination label,
  #wsp17Root .wsp17-pagination nav,
  #wsp17Root .wsp17-pagination>span {
    justify-self: center !important;
    text-align: center !important
  }
}


/* ============================================================
   V16 — BASE DE LEADS: SCORE, TEMPERATURA E DIAGNÓSTICO ESTÁVEL
   Mesma estrutura de botões nos dois temas; apenas cores adaptam.
   ============================================================ */

/* Score com indicador progressivo: vermelho → laranja → amarelo → verde. */
#wsp17Root .wsp17-score-value {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-width: 48px !important;
  color: #e8f0f7 !important;
  font-weight: 900 !important;
}

#wsp17Root .wsp17-score-value>i {
  width: 11px !important;
  height: 11px !important;
  flex: 0 0 11px !important;
  border-radius: 50% !important;
  background: #64748b !important;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, .18), 0 0 12px rgba(100, 116, 139, .55) !important;
}

#wsp17Root .wsp17-score-value.critical>i {
  background: #ff243f !important;
  box-shadow: 0 0 0 3px rgba(255, 36, 63, .18), 0 0 14px rgba(255, 36, 63, .85) !important
}

#wsp17Root .wsp17-score-value.low>i {
  background: #ff7a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .18), 0 0 14px rgba(255, 122, 0, .85) !important
}

#wsp17Root .wsp17-score-value.mid>i {
  background: #ffd500 !important;
  box-shadow: 0 0 0 3px rgba(255, 213, 0, .2), 0 0 14px rgba(255, 213, 0, .9) !important
}

#wsp17Root .wsp17-score-value.high>i {
  background: #19e06f !important;
  box-shadow: 0 0 0 3px rgba(25, 224, 111, .18), 0 0 14px rgba(25, 224, 111, .85) !important
}

body.ws-theme-light #wsp17Root .wsp17-score-value {
  color: #172033 !important
}

/* Temperaturas menores e com a MESMA geometria nos dois temas. */
#wsp17Root .wsp17-base-table-premium .wsp17-temp,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  height: 14px !important;
  padding: 0 10px !important;
  border-radius: 70px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  border: 1px solid transparent !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: .85 !important;
}

/* Cores oficiais únicas (glass) — idênticas nos dois temas, sem variação por módulo. */
#wsp17Root .wsp17-base-table-premium .wsp17-temp.hot,
#wsp17Root .wsp17-base-table-premium .wsp17-temp.quente,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.hot,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.quente {
  background: rgba(220, 38, 38, .12) !important;
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(220, 38, 38, .20) !important;
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp.warm,
#wsp17Root .wsp17-base-table-premium .wsp17-temp.morno,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.warm,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.morno {
  background: rgba(217, 119, 6, .12) !important;
  color: #d97706 !important;
  border-color: rgba(217, 119, 6, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(217, 119, 6, .20) !important;
}

#wsp17Root .wsp17-base-table-premium .wsp17-temp.cold,
#wsp17Root .wsp17-base-table-premium .wsp17-temp.frio,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.cold,
body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-temp.frio {
  background: rgba(22, 163, 74, .12) !important;
  color: #16a34a !important;
  border-color: rgba(22, 163, 74, .25) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12), 0 0 10px rgba(22, 163, 74, .20) !important;
}

/* Lixeira e Gerenciar Dados: o mesmo botão do dark também no light. */
#wsp17Root .wsp17-base-head-actions .wsp17-head-icon,
body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon.danger-soft,
body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon.danger-soft {
  color: #ff3e57 !important;
  border: 1px solid rgba(255, 62, 87, .64) !important;
  background: rgba(255, 32, 61, .09) !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon.gold-soft,
body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon.gold-soft {
  color: #d89d00 !important;
  border: 1px solid rgba(216, 157, 0, .68) !important;
  background: rgba(255, 196, 0, .10) !important;
}

#wsp17Root .wsp17-base-head-actions .wsp17-head-icon:hover,
body.ws-theme-light #wsp17Root .wsp17-base-head-actions .wsp17-head-icon:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.12) !important;
  box-shadow: 0 7px 16px rgba(15, 23, 42, .10) !important;
}

/* Garante que a raiz da Prospecção permaneça visível após troca de subtela. */
#prospeccao.wsp17-section #wsp17Root {
  display: block !important;
  visibility: visible !important;
  min-height: 320px !important
}

/* Navegação: cantos discretos, vidro colorido e contorno somente por interação. */
#wsp17Root .wsp17-nav button {
  border-radius: 10px !important;
  border-color: transparent !important;
  background: rgba(var(--rgb), .06) !important;
}
#wsp17Root .wsp17-nav button:hover,
#wsp17Root .wsp17-nav button.active {
  border-color: rgba(var(--rgb), .44) !important;
  background: rgba(var(--rgb), .15) !important;
}
body.ws-theme-light #wsp17Root .wsp17-nav button {
  background: color-mix(in srgb, rgb(var(--rgb)) 6%, transparent) !important;
  border-color: transparent !important;
}
body.ws-theme-light #wsp17Root .wsp17-nav button:hover,
body.ws-theme-light #wsp17Root .wsp17-nav button.active {
  background: color-mix(in srgb, rgb(var(--rgb)) 15%, #fff) !important;
  border-color: color-mix(in srgb, rgb(var(--rgb)) 48%, #cbd5e1) !important;
}

/* V26 — ícones dos cabeçalhos sincronizados com a cor da respectiva aba. */
#prospeccao[data-wsp17-tab="base"] #wsp17Root .wsp17-pagehead>div>i {
  color: rgb(240, 68, 56) !important;
  background: rgba(240, 68, 56, .11) !important;
  border-color: rgba(240, 68, 56, .28) !important;
}
#prospeccao[data-wsp17-tab="base"] #wsp17Root .wsp17-pagehead>div>i svg {
  color: rgb(240, 68, 56) !important;
  stroke: currentColor !important;
}
#prospeccao[data-wsp17-tab="atividades"] #wsp17Root .wsp17-pagehead>div>i {
  color: rgb(6, 182, 212) !important;
  background: rgba(6, 182, 212, .11) !important;
  border-color: rgba(6, 182, 212, .28) !important;
}
#prospeccao[data-wsp17-tab="atividades"] #wsp17Root .wsp17-pagehead>div>i svg {
  color: rgb(6, 182, 212) !important;
  stroke: currentColor !important;
}
body.ws-theme-light #prospeccao[data-wsp17-tab="base"] #wsp17Root .wsp17-pagehead>div>i {
  background: color-mix(in srgb, rgb(240, 68, 56) 12%, #fff) !important;
}
body.ws-theme-light #prospeccao[data-wsp17-tab="atividades"] #wsp17Root .wsp17-pagehead>div>i {
  background: color-mix(in srgb, rgb(6, 182, 212) 12%, #fff) !important;
}

/* V28 — Base e Atividades usam a mesma caixa e o mesmo tamanho de desenho. */
body.ws-theme-light #prospeccao[data-wsp17-tab="base"] #wsp17Root .wsp17-base-head-premium>div:first-child>i,
#prospeccao[data-wsp17-tab="base"] #wsp17Root .wsp17-base-head-premium>div:first-child>i {
  width: 37px !important;
  height: 37px !important;
  border-radius: 10px !important;
}
#prospeccao[data-wsp17-tab="base"] #wsp17Root .wsp17-base-head-premium>div:first-child>i svg,
#prospeccao[data-wsp17-tab="atividades"] #wsp17Root .wsp17-pagehead>div:first-child>i svg {
  width: 17px !important;
  height: 17px !important;
}

/* Qualificação — um único padrão visual para status e ações em ambos os temas. */
#wsp17Root .wsp17-grid.qualify .wsp17-row>em {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  height: 22px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

#wsp17Root .wsp17-grid.qualify .wsp17-row>em.hot,
#wsp17Root .wsp17-grid.qualify .wsp17-row>em.quente {
  background: rgba(239, 68, 68, .14) !important;
  color: #ff6b76 !important;
  border-color: rgba(239, 68, 68, .38) !important;
}

#wsp17Root .wsp17-grid.qualify .wsp17-row>em.warm,
#wsp17Root .wsp17-grid.qualify .wsp17-row>em.morno {
  background: rgba(245, 158, 11, .14) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, .38) !important;
}

#wsp17Root .wsp17-grid.qualify .wsp17-row>em.cold,
#wsp17Root .wsp17-grid.qualify .wsp17-row>em.frio {
  background: rgba(34, 197, 94, .14) !important;
  color: #4ade80 !important;
  border-color: rgba(34, 197, 94, .38) !important;
}

#wsp17Root .wsp17-grid.qualify .wsp17-pill-action {
  box-sizing: border-box !important;
  min-width: 106px !important;
  height: 34px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  box-shadow: none !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease !important;
}

#wsp17Root .wsp17-grid.qualify .wsp17-pill-action.gold { background: rgba(245, 158, 11, .13) !important; border-color: rgba(245, 158, 11, .48) !important; color: #fcd34d !important; }
#wsp17Root .wsp17-grid.qualify .wsp17-pill-action.blue { background: rgba(59, 130, 246, .13) !important; border-color: rgba(59, 130, 246, .48) !important; color: #93c5fd !important; }
#wsp17Root .wsp17-grid.qualify .wsp17-pill-action.pink { background: rgba(236, 72, 153, .13) !important; border-color: rgba(236, 72, 153, .48) !important; color: #f9a8d4 !important; }
#wsp17Root .wsp17-grid.qualify .wsp17-pill-action:hover { filter: none !important; transform: translateY(-1px) !important; }
#wsp17Root .wsp17-grid.qualify .wsp17-pill-action.gold:hover { background: rgba(245, 158, 11, .22) !important; }
#wsp17Root .wsp17-grid.qualify .wsp17-pill-action.blue:hover { background: rgba(59, 130, 246, .22) !important; }
#wsp17Root .wsp17-grid.qualify .wsp17-pill-action.pink:hover { background: rgba(236, 72, 153, .22) !important; }

body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.hot,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.hot,
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.quente,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.quente { background: #fff1f2 !important; color: #dc2626 !important; border-color: #fecdd3 !important; }
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.warm,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.warm,
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.morno,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.morno { background: #fff8e8 !important; color: #b45309 !important; border-color: #fde2a7 !important; }
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.cold,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.cold,
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.frio,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-row>em.frio { background: #ecfdf3 !important; color: #15803d !important; border-color: #bbf7d0 !important; }

body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-pill-action.gold,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-pill-action.gold { background: #fffbeb !important; border-color: #f6c453 !important; color: #9a5b00 !important; }
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-pill-action.blue,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-pill-action.blue { background: #eff6ff !important; border-color: #8fbcff !important; color: #1d4ed8 !important; }
body.ws-theme-light #wsp17Root .wsp17-grid.qualify .wsp17-pill-action.pink,
body.light #wsp17Root .wsp17-grid.qualify .wsp17-pill-action.pink { background: #fdf2f8 !important; border-color: #f3a5ca !important; color: #be185d !important; }

/* Pipeline: a cor da etapa se repete no traço superior, ponto e contador. */
#wsp17Root .wsp17-col{--stage-color:#3b82f6}
#wsp17Root .wsp17-col.c1{--stage-color:#06b6d4}#wsp17Root .wsp17-col.c2{--stage-color:#a855f7}#wsp17Root .wsp17-col.c3{--stage-color:#f59e0b}#wsp17Root .wsp17-col.c4{--stage-color:#22c55e}#wsp17Root .wsp17-col.c5{--stage-color:#ef4456}#wsp17Root .wsp17-col.c6{--stage-color:#64748b}
#wsp17Root .wsp17-col{border-top-color:var(--stage-color)!important}
#wsp17Root .wsp17-col>header>i{background:var(--stage-color)!important;color:var(--stage-color)!important}
#wsp17Root .wsp17-col>header>em{color:var(--stage-color)!important;background:color-mix(in srgb,var(--stage-color) 12%,transparent)!important;border:1px solid color-mix(in srgb,var(--stage-color) 26%,transparent)!important}
#wsp17Root .wsp17-add-stage{flex:0 0 225px;min-width:225px;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed rgba(148,163,184,.42);border-radius:11px;background:transparent;color:#64748b;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}
#wsp17Root .wsp17-add-stage i{width:38px;height:38px;display:grid;place-items:center;border:1px dashed currentColor;border-radius:50%}#wsp17Root .wsp17-add-stage i svg{width:17px;height:17px}#wsp17Root .wsp17-add-stage b{font-size:11px;color:inherit}#wsp17Root .wsp17-add-stage span{font-size:9px;opacity:.75}
#wsp17Root .wsp17-add-stage:hover{border-color:#3b82f6;background:rgba(59,130,246,.06);color:#3b82f6}
body.ws-theme-light #wsp17Root .wsp17-add-stage,body.light #wsp17Root .wsp17-add-stage{border-color:#cbd5e1;color:#64748b;background:rgba(248,250,252,.55)}body.ws-theme-light #wsp17Root .wsp17-add-stage:hover,body.light #wsp17Root .wsp17-add-stage:hover{border-color:#2563eb;background:rgba(37,99,235,.05);color:#2563eb}

/* Pipeline premium aprovado — cards claros, hierarquia compacta e ações discretas. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-board{
  gap:10px;
  padding:2px 2px 10px;
  align-items:stretch;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col{
  flex-basis:236px;
  min-width:236px;
  border-width:1px;
  border-top-width:3px;
  border-radius:13px;
  background:#0a1219;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header{
  position:relative;
  min-height:48px;
  box-sizing:border-box;
  padding:10px 10px 16px;
  background:rgba(255,255,255,.015);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header::after{
  content:"";
  position:absolute;
  left:10px;
  bottom:7px;
  width:54px;
  height:3px;
  border-radius:99px;
  background:var(--stage-color);
  box-shadow:0 0 10px color-mix(in srgb,var(--stage-color) 30%,transparent);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header>b{
  font-size:10.5px;
  line-height:1.2;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header>em{
  min-width:20px;
  height:20px;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  padding:0 5px;
  border-radius:50%;
  font-size:8px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header>button{
  width:24px;
  height:24px;
  border-color:rgba(148,163,184,.24);
  border-radius:50%;
  background:transparent;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>div{
  min-height:350px;
  padding:3px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card{
  margin:7px;
  padding:11px;
  border-color:rgba(148,163,184,.20);
  border-radius:12px;
  background:#0e1821;
  box-shadow:0 7px 18px rgba(0,0,0,.15);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--stage-color) 48%,rgba(148,163,184,.22));
  box-shadow:0 11px 24px rgba(0,0,0,.2);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop{
  gap:9px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop b{
  font-size:10.5px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop span{
  margin-top:3px;
  font-size:8.5px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  border:2px solid var(--stage-color);
  border-radius:50%;
  background:color-mix(in srgb,var(--stage-color) 8%,transparent);
  color:#eef6ff;
  font-size:9px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp{
  margin:10px 0 8px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp em{
  display:inline-flex;
  align-items:center;
  min-width:50px;
  height:20px;
  box-sizing:border-box;
  padding:0 9px;
  border:1px solid rgba(245,158,11,.28);
  border-radius:99px;
  background:rgba(245,158,11,.11);
  color:#fbbf24;
  font-size:9px;
  font-style:normal;
  font-weight:850;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp em.hot,
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp em.quente{background:rgba(239,68,68,.11);border-color:rgba(239,68,68,.28);color:#fb7185}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp em.cold,
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp em.frio{background:rgba(34,197,94,.11);border-color:rgba(34,197,94,.28);color:#4ade80}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:9px 0;
  border-top:1px solid rgba(148,163,184,.14);
  color:#8ea1b4;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next>svg{
  width:15px;
  height:15px;
  flex:0 0 15px;
  margin-top:1px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next>span{
  min-width:0;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next b,
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next small{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next b{
  color:#b9c7d5;
  font-size:8.5px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next small{
  margin-top:3px;
  color:#72869a;
  font-size:7.5px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer{
  min-height:30px;
  padding-top:8px;
  border-top:1px solid rgba(148,163,184,.14);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer button{
  width:26px;
  height:26px;
  border-radius:50%;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer button[title="Editar"]{
  color:#91a8bc!important;
  border:1px solid rgba(148,163,184,.32)!important;
  background:transparent!important;
  box-shadow:none!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer button[title="Editar"]:hover{
  color:#dbeafe!important;
  border-color:rgba(96,165,250,.62)!important;
  background:rgba(59,130,246,.08)!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty{
  min-height:315px;
  box-sizing:border-box;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:10px;
  padding:30px 10px;
  color:#65788c;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty>i{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(148,163,184,.07);
  color:#7890a8;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty svg{
  width:25px;
  height:25px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty span{
  font-size:9px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer{
  padding:8px;
  background:transparent;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer button{
  height:34px;
  border:1px dashed rgba(148,163,184,.26);
  border-radius:9px;
  color:#7394b2;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer button:hover{
  border-color:color-mix(in srgb,var(--stage-color) 55%,rgba(148,163,184,.25));
  background:color-mix(in srgb,var(--stage-color) 7%,transparent);
  color:var(--stage-color);
}

html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col{
  background:#fbfcfe!important;
  border-color:#dce4ee!important;
  border-top-color:var(--stage-color)!important;
  box-shadow:0 8px 20px rgba(15,23,42,.055)!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>header{
  background:#fff!important;
  border-color:#e4eaf1!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card{
  background:#fff!important;
  border-color:#dfe6ee!important;
  box-shadow:0 7px 18px rgba(15,23,42,.07)!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card:hover,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card:hover,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card:hover{
  border-color:color-mix(in srgb,var(--stage-color) 42%,#cbd5e1)!important;
  box-shadow:0 11px 25px rgba(15,23,42,.11)!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong{
  background:color-mix(in srgb,var(--stage-color) 6%,#fff);
  color:#172033!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next{
  border-color:#e7ecf2;
  color:#718096;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next b,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next b,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next b{color:#52637a!important}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next small,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next small,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next small{color:#718096!important}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer button[title="Editar"],
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer button[title="Editar"],
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card>footer button[title="Editar"]{
  color:#334155!important;
  border-color:rgba(51,65,85,.26)!important;
  background:transparent!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty>i,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty>i,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty>i{
  background:#f2f5f9;
  color:#8da0ba;
}

/* Correção do recolhimento + densidade compacta com detalhes sob demanda. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.collapsed{
  flex:0 0 48px!important;
  min-width:48px!important;
  width:48px!important;
  box-shadow:none!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.collapsed>header{
  min-height:235px!important;
  padding:10px 11px!important;
  writing-mode:vertical-rl!important;
  justify-content:flex-start!important;
  gap:9px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.collapsed>header::after{display:none!important}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.collapsed>header>b{flex:0 1 auto!important}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.collapsed>div,
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.collapsed>footer{display:none!important}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card{
  padding:9px 10px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong{
  width:30px;
  height:30px;
  flex-basis:30px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle{
  position:relative;
  width:100%;
  height:15px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin:6px 0 -3px;
  padding:0;
  border:0;
  border-top:1px solid rgba(148,163,184,.16);
  border-radius:0;
  background:transparent;
  color:#8da0b2;
  cursor:pointer;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle>span{
  width:22px;
  height:14px;
  display:grid;
  place-items:center;
  margin-top:-1px;
  border:0;
  border-radius:0 0 8px 8px;
  background:#0e1821;
  color:inherit;
  font-size:12px;
  line-height:1;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle:hover{
  border-top-color:rgba(96,165,250,.42);
  color:#bfdbfe;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle:hover>span{background:rgba(59,130,246,.08)}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:8px 0 0;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp>span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#73869a;
  font-size:7.5px;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .2s ease,opacity .16s ease;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card.expanded .wsp17-card-details{
  max-height:150px;
  opacity:1;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer{
  display:flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding-top:8px;
  border-top:1px solid rgba(148,163,184,.14);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:50%;
  cursor:pointer;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button svg{width:14px;height:14px}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="WhatsApp"]{color:#25d366;border:1px solid rgba(37,211,102,.38);background:rgba(37,211,102,.08)}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Instagram"]{color:#e4408f;border:1px solid rgba(228,64,143,.38);background:rgba(228,64,143,.08)}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Editar"]{color:#91a8bc;border:1px solid rgba(148,163,184,.32);background:transparent}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer>span{flex:1;text-align:right;color:#8da0b1;font-size:7px}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>div{min-height:280px}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty{min-height:245px}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle{color:#64748b;border-top-color:#e2e8f0;background:transparent}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle>span,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle>span,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle>span{background:#fff}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Editar"],
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Editar"],
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Editar"]{color:#334155;border-color:rgba(51,65,85,.24);background:transparent}

/* Ação pontilhada no pé de cada etapa, com o + dentro de uma bolinha. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer{
  padding:8px!important;
  background:rgba(255,255,255,.012)!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer>button{
  width:100%!important;
  height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px dashed color-mix(in srgb,var(--stage-color) 42%,rgba(148,163,184,.26))!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--stage-color) 4%,transparent)!important;
  color:color-mix(in srgb,var(--stage-color) 72%,#cbd5e1)!important;
  font-size:8.5px!important;
  font-weight:750!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer>button>svg{
  width:20px!important;
  height:20px!important;
  box-sizing:border-box!important;
  padding:5px!important;
  border:1px solid currentColor!important;
  border-radius:50%!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer>button:hover{
  border-color:var(--stage-color)!important;
  background:color-mix(in srgb,var(--stage-color) 9%,transparent)!important;
  color:var(--stage-color)!important;
}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>footer{background:#f8fafc!important}

/* Ajuste fino aprovado: uma divisão, rodapé fixo e ações sem bolinhas. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col:not(.collapsed){
  display:flex!important;
  flex-direction:column!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col:not(.collapsed)>div{
  flex:1 1 auto!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col:not(.collapsed)>footer{
  flex:0 0 auto!important;
  margin-top:auto!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details{
  border-top:1px solid rgba(148,163,184,.16);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card:not(.expanded) .wsp17-card-details{
  border-top-color:transparent;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next{
  border-top:0!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer{
  border-top:0!important;
  padding-top:4px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle{
  height:13px!important;
  margin:3px 0 -3px!important;
  border:0!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle>span{
  width:18px!important;
  height:12px!important;
  background:transparent!important;
  border:0!important;
  font-size:11px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button{
  width:22px!important;
  height:22px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="WhatsApp"]{
  color:#20c96b!important;
  border:0!important;
  background:transparent!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Instagram"]{
  color:#e4408f!important;
  border:0!important;
  background:transparent!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button[title="Editar"]{
  color:#64748b!important;
  border:0!important;
  background:transparent!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button:hover{
  transform:translateY(-1px);
  filter:brightness(.85);
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button svg{
  width:15px!important;
  height:15px!important;
}

/* Pipeline: mais respiro entre temperatura, divisão e ações inferiores. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card.expanded .wsp17-card-details{
  margin-top:8px!important;
  padding-top:5px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer{
  min-height:27px!important;
  margin-top:5px!important;
  padding:0 0 1px!important;
  align-items:flex-end!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer button{
  align-self:flex-end!important;
}

/* O cabeçalho principal acompanha automaticamente a cor da aba ativa. */
#wsp17Root .wsp17{--section-rgb:59,130,246}
#wsp17Root .wsp17-hero .wsp17-brand{
  --accent:rgb(var(--section-rgb))!important;
}
#wsp17Root .wsp17-hero-actions>button.primary{
  color:#fff!important;
  border-color:rgb(var(--section-rgb))!important;
  background:linear-gradient(135deg,rgba(var(--section-rgb),.92),rgb(var(--section-rgb)))!important;
  box-shadow:0 7px 17px rgba(var(--section-rgb),.22)!important;
}
#wsp17Root .wsp17-hero-actions>button.primary svg{color:#fff!important}

/* Card compacto: mantém a leitura, reduz vazios e alinha a área de ações. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card{
  padding:8px 10px 6px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtemp{
  margin:6px 0 4px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card.expanded .wsp17-card-details{
  margin-top:4px!important;
  padding-top:3px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-next{
  padding:4px 0 3px!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-details>footer{
  min-height:21px!important;
  margin-top:1px!important;
  padding:0!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-toggle{
  height:10px!important;
  margin:-2px 0 0!important;
  transform:translateY(-2px)!important;
  width:100%!important;
  position:relative!important;
  z-index:4!important;
}

/* Estados vazios discretos: apenas uma indicação suave no centro da etapa. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty{
  opacity:.28!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty>i{
  background:rgba(148,163,184,.07)!important;
  color:#7890ad!important;
  box-shadow:none!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty>span{
  color:#718096!important;
  opacity:.62!important;
}
/* Coluna sem lead é apenas um estado vazio, nunca uma área de drop alta. */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col>div:has(>.wsp17-col-empty){min-height:76px}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col-empty{min-height:76px!important;padding:12px 10px!important;border:0!important;opacity:.72!important}

/* Score como anel de progresso transparente e animado. */
@property --score-ring{
  syntax:"<number>";
  inherits:false;
  initial-value:0;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong{
  --score-ring:0;
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border:1px solid rgba(148,163,184,.18)!important;
  background:conic-gradient(var(--stage-color) calc(var(--score-ring)*1%),rgba(148,163,184,.12) 0)!important;
  animation:wsp17ScoreRing .75s cubic-bezier(.2,.75,.25,1) both;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong::before{
  content:"";
  position:absolute;
  inset:3px;
  z-index:-1;
  border-radius:50%;
  background:#0e1821;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong>span{
  position:relative!important;
  z-index:1!important;
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
}
@keyframes wsp17ScoreRing{from{--score-ring:0}}
html[data-nortear-theme="light"] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong::before,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong::before,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong::before{background:#fff!important}
@media(prefers-reduced-motion:reduce){
  #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cardtop>strong{animation:none!important}
}
/* Alternador do tipo de diagnóstico */
.wsp17-diag-mode{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.wsp17-diag-mode>div>span,.wsp17-diag-mode>div>small{display:block}.wsp17-diag-mode>div>span{font-size:12px;font-weight:900}.wsp17-diag-mode>div>small{margin-top:3px;color:var(--muted);font-size:10px}
.wsp17-diag-mode nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:min(520px,60%)}
.wsp17-diag-mode button{min-height:48px;padding:8px 12px;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid var(--line);border-radius:11px;background:transparent;color:var(--text);cursor:pointer}
.wsp17-diag-mode button>svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2}.wsp17-diag-mode button span,.wsp17-diag-mode button b,.wsp17-diag-mode button small{display:block}.wsp17-diag-mode button b{font-size:11px}.wsp17-diag-mode button small{margin-top:2px;color:var(--muted);font-size:9px;font-weight:500}
.wsp17-diag-mode button.active.instagram{border-color:#a855f7;background:rgba(168,85,247,.11);color:#a855f7}.wsp17-diag-mode button.active.empresas{border-color:#22c55e;background:rgba(34,197,94,.11);color:#16a34a}
@media(max-width:760px){.wsp17-diag-mode{align-items:stretch;flex-direction:column}.wsp17-diag-mode nav{width:100%;min-width:0}.wsp17-diag-mode button small{display:none}}

/* Aba Empresas (Google Maps via Apify) */
.wsp17-pagehead.green>div>i{background:rgba(34,197,94,.12);color:#4ade80}
.wsp17-empresas-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.wsp17-empresas-toolbar label{flex:1;min-width:200px}
.wsp17-empresas-toolbar .wsp17-empresas-quantity{flex:0 0 170px;min-width:170px;height:40px;padding:0 10px;display:flex;align-items:center;gap:8px}
.wsp17-empresas-quantity>span{font-size:10px;font-weight:800;color:var(--muted);white-space:nowrap}
.wsp17-empresas-quantity select{min-width:0;flex:1;height:100%;border:0;background:transparent;color:inherit;font:inherit;outline:0}
.wsp17-empresas-quantity input[type="number"]{width:62px;height:30px;padding:0 7px;border:1px solid var(--line);border-radius:7px;background:transparent;color:inherit;font:inherit}
.wsp17-empresas-quantity input[hidden]{display:none!important}
.wsp17-empresas-toolbar .wsp17-empresas-search{height:40px;min-width:150px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1}
.wsp17-empresas-search svg{flex:0 0 auto}
.wsp17-empresas-search span{display:inline-flex;align-items:center;line-height:1}
@media(max-width:700px){.wsp17-empresas-toolbar .wsp17-empresas-quantity,.wsp17-empresas-toolbar .wsp17-empresas-search{flex:1 1 100%;width:100%}}
.wsp17-empresa-check{display:flex;align-items:center;justify-content:center;padding:0 4px}
.wsp17-empresa-check input{width:18px;height:18px}
body.light .wsp17-pagehead.green>div>i,body.ws-theme-light .wsp17-pagehead.green>div>i{background:rgba(34,197,94,.14);color:#16a34a}
/* Card Aging + WIP limits */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card.aged{
  border-color:rgba(245,158,11,.55)!important;
  box-shadow:0 0 0 1px rgba(245,158,11,.28),0 7px 18px rgba(0,0,0,.15)!important;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-aging{
  display:flex;align-items:center;gap:5px;margin:-3px -3px 7px;padding:4px 8px;
  border-radius:8px;background:rgba(245,158,11,.16);color:#fbbf24;font-size:9px;font-weight:800;
}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-aging svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2}
html[data-nortear-theme] body #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.wip-over,
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.wip-over,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.wip-over,
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.wip-over{border-top-color:#ef4444!important}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-col.wip-over>header em{color:#ef4444!important;font-weight:900}
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card.aged,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card.aged{
  border-color:rgba(180,83,9,.5)!important;
  box-shadow:0 0 0 1px rgba(180,83,9,.22),0 7px 18px rgba(0,0,0,.08)!important;
}
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-aging,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-aging{
  background:rgba(180,83,9,.14);color:#b45309;
}
/* Barra de Ações do diagnóstico — grupo conectado com chevrons */
.wsp17-diag-actionbar{display:flex;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.wsp17-diag-actionbar-label{font-size:10px;color:#8496a8;font-weight:800;white-space:nowrap}
.wsp17-diag-actionbar-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.wsp17-diag-chevron{display:flex;align-items:center;color:#4b5768}
.wsp17-diag-chevron svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.wsp17-diag-step{height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;border-radius:9px;border:1px solid transparent;font-size:10.5px;font-weight:800;cursor:pointer;white-space:nowrap}
.wsp17-diag-actionbar-group .wsp17-diag-step span{color:inherit}
.wsp17-diag-step svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wsp17-diag-step.step-strong{background:#1b2029;color:#f4f6f8;border-color:#1b2029}
.wsp17-diag-step.step-strong:hover{background:#242a36}
.wsp17-diag-step.step-neutral{background:#161c26;color:#cbd5e1;border-color:#2a3542}
.wsp17-diag-step.step-neutral:hover{border-color:#3a4756}
.wsp17-diag-step.ai{background:rgba(168,85,247,.16);color:#c99cfb;border-color:rgba(168,85,247,.32)}
.wsp17-diag-step.ai:hover{background:rgba(168,85,247,.24)}
.wsp17-diag-step.ai svg{fill:#c99cfb}
.wsp17-diag-trash{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid rgba(239,68,68,.3);background:rgba(239,68,68,.12);color:#f87171;cursor:pointer;margin-left:auto}
.wsp17-diag-trash svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wsp17-diag-trash:hover{background:rgba(239,68,68,.2)}
body.light .wsp17-diag-actionbar-label,body.ws-theme-light .wsp17-diag-actionbar-label{color:#64748b}
body.light .wsp17-diag-chevron,body.ws-theme-light .wsp17-diag-chevron{color:#94a3b8}
body.light .wsp17-diag-step.step-strong,body.ws-theme-light .wsp17-diag-step.step-strong{background:#181c27;color:#fff;border-color:#181c27}
body.light .wsp17-diag-step.step-strong:hover,body.ws-theme-light .wsp17-diag-step.step-strong:hover{background:#252b38}
body.light .wsp17-diag-step.step-neutral,body.ws-theme-light .wsp17-diag-step.step-neutral{background:#fff;color:#1f2937;border-color:#d7dee7}
body.light .wsp17-diag-step.step-neutral:hover,body.ws-theme-light .wsp17-diag-step.step-neutral:hover{border-color:#b7c2cf}
body.light .wsp17-diag-step.ai,body.ws-theme-light .wsp17-diag-step.ai{background:#f1e7fe;color:#7c3aed;border-color:#e4d4fb}
body.light .wsp17-diag-step.ai:hover,body.ws-theme-light .wsp17-diag-step.ai:hover{background:#e9d9fd}
body.light .wsp17-diag-step.ai svg,body.ws-theme-light .wsp17-diag-step.ai svg{fill:#7c3aed}
body.light .wsp17-diag-trash,body.ws-theme-light .wsp17-diag-trash{background:#fdeded;border-color:#f3c6c6;color:#dc2626}
body.light .wsp17-diag-trash:hover,body.ws-theme-light .wsp17-diag-trash:hover{background:#fbdada}
@media(max-width:700px){.wsp17-diag-actionbar{flex-direction:column;align-items:stretch}.wsp17-diag-actionbar-group{justify-content:space-between}.wsp17-diag-trash{margin-left:0}}
/* Cycle time do Pipeline */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:9px 13px;margin:10px 0;border-radius:11px;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.2);font-size:11px}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime b{font-weight:800;white-space:nowrap}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime span{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:99px;background:rgba(255,255,255,.06);white-space:nowrap}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime span em{font-style:normal;font-weight:800;color:#60a5fa}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime.is-empty{color:#8496a8;opacity:.85}
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime{background:#eef4ff;border-color:#c7dcfb}
body.light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime span,
body.ws-theme-light #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime span{background:#fff}
/* Capa visual do card (seção 5 da auditoria — padrão Trello) */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-cover{height:44px;margin:-8px -10px 7px;border-radius:12px 12px 0 0;background-color:var(--stage-color);background-size:cover;background-position:center}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-cover.solid{background:linear-gradient(135deg,var(--stage-color),color-mix(in srgb,var(--stage-color) 55%,#0b141e))}
/* Watch/seguir card (seção 11 da auditoria — baixa prioridade) */
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card{position:relative}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-watch{position:absolute;top:6px;right:6px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:12px;line-height:22px;text-align:center;padding:0;cursor:pointer;opacity:.55;z-index:2}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-watch:hover{opacity:1}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-watch.active{opacity:1;background:#f59e0b}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-hist{position:absolute;top:6px;right:32px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:11px;line-height:22px;text-align:center;padding:0;cursor:pointer;opacity:.55;z-index:2}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-card-hist:hover{opacity:1}

/* Diagnóstico: seletor de quantidades e mídias nos formatos oficiais. */
#wsp17Root .wsp17-media-controls{display:flex;align-items:center;gap:9px;margin-top:9px;padding:9px 11px;border:1px solid rgba(168,85,247,.22);border-radius:10px;background:rgba(168,85,247,.045)}
#wsp17Root .wsp17-media-controls>span{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#a78bfa}
#wsp17Root .wsp17-media-controls label{display:inline-flex;align-items:center;gap:5px;width:auto!important;min-width:0!important;height:28px!important;margin:0!important;padding:0 4px 0 8px!important;border:1px solid rgba(148,163,184,.28)!important;border-radius:8px!important;background:transparent!important;color:#aab7c4;font-size:9px;line-height:1}
#wsp17Root .wsp17-media-controls select{display:block!important;width:43px!important;min-width:43px!important;max-width:43px!important;height:24px!important;min-height:24px!important;margin:0!important;padding:0 16px 0 6px!important;border:0!important;border-left:1px solid rgba(148,163,184,.25)!important;border-radius:0 6px 6px 0!important;background-color:transparent!important;box-shadow:none!important;font-size:10px!important;line-height:24px!important}
#wsp17Root .wsp17-media-controls small{margin-left:auto;color:#718397;font-size:9px}
#wsp17Root .wsp17-media-section .wsp17-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,160px));justify-content:start;gap:10px}
#wsp17Root .wsp17-media-card{min-width:0!important;border-radius:10px;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
#wsp17Root .wsp17-media-card:hover,#wsp17Root .wsp17-media-card:focus-visible{transform:translateY(-2px);border-color:rgba(168,85,247,.48);box-shadow:0 9px 20px rgba(0,0,0,.14);outline:none}
#wsp17Root .wsp17-media-frame{position:relative;width:100%;overflow:hidden;background:#080e14}
#wsp17Root .wsp17-media-card.posts .wsp17-media-frame{aspect-ratio:4/5}
#wsp17Root .wsp17-media-card.reels .wsp17-media-frame,#wsp17Root .wsp17-media-card.stories .wsp17-media-frame{aspect-ratio:9/16}
#wsp17Root .wsp17-media-frame>img,#wsp17Root .wsp17-media-frame>.wsp17-media-failed,#wsp17Root .wsp17-media-frame>.wsp17-post-fallback{width:100%;height:100%;object-fit:cover}
#wsp17Root .wsp17-media-type{position:absolute;top:7px;right:7px;min-height:22px;display:inline-flex;align-items:center;padding:4px 7px;border-radius:99px;background:rgba(3,7,18,.72);color:#fff;font-size:8px;font-weight:800;backdrop-filter:blur(5px)}
#wsp17Root .wsp17-media-card>footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px 7px;padding:7px!important}
#wsp17Root .wsp17-media-card>footer span{grid-column:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#wsp17Root .wsp17-media-card>footer small{grid-column:1;font-size:8px}
#wsp17Root .wsp17-media-card>footer button{grid-column:2;grid-row:1/3;align-self:center;height:27px!important;padding:0 7px!important}
.wsp17-viewer-stage{display:grid;grid-template-columns:34px minmax(0,420px) 34px;justify-content:center;align-items:center;gap:8px}
.wsp17-viewer.reels .wsp17-viewer-stage,.wsp17-viewer.stories .wsp17-viewer-stage{grid-template-columns:34px minmax(0,340px) 34px}
.wsp17-viewer-stage>button{width:34px;height:34px;border:1px solid #334155;border-radius:50%;background:#101923;color:#e2e8f0;font-size:24px;cursor:pointer}
.wsp17-viewer-stage>button[hidden]{visibility:hidden;display:block}
.wsp17-viewer-item{padding:0!important;overflow:hidden}
.wsp17-viewer.posts .wsp17-viewer-item{aspect-ratio:4/5}
.wsp17-viewer.reels .wsp17-viewer-item,.wsp17-viewer.stories .wsp17-viewer-item{aspect-ratio:9/16;max-height:66vh}
.wsp17-viewer-item img,.wsp17-viewer-item video{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}
.wsp17-viewer-caption{max-width:720px;margin:12px auto 0;padding:10px 12px;border:1px solid #273442;border-radius:10px;background:#0a1219}
.wsp17-viewer-caption b{font-size:10px;color:#a78bfa}.wsp17-viewer-caption p{margin:5px 0 0;white-space:pre-wrap;color:#cbd5e1;font-size:11px;line-height:1.5}
body.light #wsp17Root .wsp17-media-controls,body.ws-theme-light #wsp17Root .wsp17-media-controls{background:rgba(124,58,237,.035);border-color:rgba(124,58,237,.18)}
body.light .wsp17-viewer-caption,body.ws-theme-light .wsp17-viewer-caption{background:#f8fafc;border-color:#dce4ee}body.light .wsp17-viewer-caption p,body.ws-theme-light .wsp17-viewer-caption p{color:#334155}
@media(max-width:700px){#wsp17Root .wsp17-media-controls{align-items:flex-start;flex-wrap:wrap}#wsp17Root .wsp17-media-controls small{width:100%;margin-left:0}#wsp17Root .wsp17-media-section .wsp17-posts{grid-template-columns:repeat(2,minmax(0,1fr))}.wsp17-viewer-stage,.wsp17-viewer.reels .wsp17-viewer-stage,.wsp17-viewer.stories .wsp17-viewer-stage{grid-template-columns:28px minmax(0,1fr) 28px}.wsp17-viewer-stage>button{width:28px;height:28px}}



/* Prospecção — menu com ícones em blocos coloridos no padrão Área do Cliente */
#wsp17Root .wsp17-nav {
  gap: 8px !important;
  padding: 8px !important;
  border-radius: 15px !important;
}

#wsp17Root .wsp17-nav button {
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 15px 0 9px !important;
  gap: 9px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: rgba(var(--rgb), .075) !important;
  color: color-mix(in srgb, rgb(var(--rgb)) 62%, #dce7f2) !important;
  box-shadow: none !important;
}

#wsp17Root .wsp17-nav button svg {
  box-sizing: border-box !important;
  width: 28px !important;
  height: 28px !important;
  padding: 6px !important;
  flex: 0 0 28px !important;
  border-radius: 8px !important;
  background: rgba(var(--rgb), .18) !important;
  color: rgb(var(--rgb)) !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
}

#wsp17Root .wsp17-nav button:hover {
  border-color: transparent !important;
  background: rgba(var(--rgb), .12) !important;
  transform: translateY(-1px);
}

#wsp17Root .wsp17-nav button.active {
  border-color: rgba(var(--rgb), .58) !important;
  background: rgba(var(--rgb), .17) !important;
  color: color-mix(in srgb, rgb(var(--rgb)) 72%, #fff) !important;
  box-shadow: 0 7px 18px rgba(var(--rgb), .12) !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button,
body.light #wsp17Root .wsp17-nav button {
  background: color-mix(in srgb, rgb(var(--rgb)) 7%, #fff) !important;
  color: #334155 !important;
  border-color: transparent !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button svg,
body.light #wsp17Root .wsp17-nav button svg {
  background: color-mix(in srgb, rgb(var(--rgb)) 16%, #fff) !important;
  color: rgb(var(--rgb)) !important;
  fill: none !important;
  stroke: currentColor !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button:hover,
body.light #wsp17Root .wsp17-nav button:hover {
  background: color-mix(in srgb, rgb(var(--rgb)) 11%, #fff) !important;
  border-color: transparent !important;
}

body.ws-theme-light #wsp17Root .wsp17-nav button.active,
body.light #wsp17Root .wsp17-nav button.active {
  background: color-mix(in srgb, rgb(var(--rgb)) 15%, #fff) !important;
  border-color: color-mix(in srgb, rgb(var(--rgb)) 52%, #cbd5e1) !important;
  color: color-mix(in srgb, rgb(var(--rgb)) 78%, #172033) !important;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .07) !important;
}

/* Pipeline only: a synchronized upper rail and a non-intrusive card delete action. */
#wsp17Root .wsp17-board-topscroll{height:10px;overflow-x:auto;overflow-y:hidden;margin:8px 0 5px;border-radius:999px;scrollbar-width:thin;scrollbar-color:rgba(214,163,22,.58) transparent}
#wsp17Root .wsp17-board-topscroll>div{height:1px}
#wsp17Root .wsp17-board-topscroll::-webkit-scrollbar{height:5px}
#wsp17Root .wsp17-board-topscroll::-webkit-scrollbar-track{background:rgba(255,255,255,.035);border-radius:999px}
#wsp17Root .wsp17-board-topscroll::-webkit-scrollbar-thumb{background:rgba(214,163,22,.52);border-radius:999px}
#wsp17Root .wsp17-card-delete{color:#9aa7b6!important}
#wsp17Root .wsp17-card-delete:hover,#wsp17Root .wsp17-card-delete:focus-visible{color:#ff6675!important;background:rgba(239,68,68,.12)!important}

/* v14 — abertura imediata da aba Pipeline */
#wsp17Root .wsp17-pipeline-opening{
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:12px;
  border:1px solid var(--wsp17-line,#243444);
  border-radius:14px;
  background:rgba(9,18,28,.62);
  color:#dce7f2;
}
#wsp17Root .wsp17-pipeline-opening>i{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(236,72,153,.15);
  color:#ec4899;
}
#wsp17Root .wsp17-pipeline-opening>i svg{width:21px;height:21px}
#wsp17Root .wsp17-pipeline-opening b{display:block;font-size:13px}
#wsp17Root .wsp17-pipeline-opening span{display:block;margin-top:4px;color:#8fa1b5;font-size:10.5px}
body.light #wsp17Root .wsp17-pipeline-opening,
body.ws-theme-light #wsp17Root .wsp17-pipeline-opening{background:#fff;color:#172033;border-color:#d7e0e8}


/* Resumo rápido da Prospecção ao lado da Lixeira/Gerenciar Dados. */
#wsp17Root .wsp17-base-head-actions{flex-wrap:wrap!important}
#wsp17Root .wsp17-quick-stats{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important;margin-left:auto!important}
#wsp17Root .wsp17-quick-chip{height:42px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;padding:0 12px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(7,14,24,.74)!important;color:#d9e3ee!important;box-shadow:none!important;white-space:nowrap!important}
#wsp17Root .wsp17-quick-chip i{width:22px!important;height:22px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.06)!important;color:#cbd5e1!important;flex:0 0 22px!important}
#wsp17Root .wsp17-quick-chip i svg{width:12px!important;height:12px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#wsp17Root .wsp17-quick-chip small{font-size:11px!important;line-height:1!important;letter-spacing:.01em!important;color:#8ea0b5!important}
#wsp17Root .wsp17-quick-chip b{font-size:14px!important;line-height:1!important;color:#f8fafc!important}
#wsp17Root .wsp17-quick-chip.leads i{color:#7dd3fc!important;background:rgba(14,165,233,.16)!important}
#wsp17Root .wsp17-quick-chip.qualificados i{color:#facc15!important;background:rgba(250,204,21,.14)!important}
#wsp17Root .wsp17-quick-chip.pipeline-count i{color:#f472b6!important;background:rgba(244,114,182,.14)!important}
#wsp17Root .wsp17-quick-chip.arquivados i{color:#c4b5fd!important;background:rgba(168,85,247,.16)!important}
#wsp17Root .wsp17-quick-chip.excluidos i{color:#fb7185!important;background:rgba(244,63,94,.14)!important}
body.ws-theme-light #wsp17Root .wsp17-quick-chip,body.light #wsp17Root .wsp17-quick-chip{background:#fff!important;border-color:#d7e0e9!important;color:#17212c!important;box-shadow:0 6px 16px rgba(15,23,42,.06)!important}
body.ws-theme-light #wsp17Root .wsp17-quick-chip i,body.light #wsp17Root .wsp17-quick-chip i{background:#f4f7fb!important}
body.ws-theme-light #wsp17Root .wsp17-quick-chip small,body.light #wsp17Root .wsp17-quick-chip small{color:#5f7288!important}
body.ws-theme-light #wsp17Root .wsp17-quick-chip b,body.light #wsp17Root .wsp17-quick-chip b{color:#0f172a!important}
@media (max-width: 1180px){#wsp17Root .wsp17-quick-stats{width:100%!important;justify-content:flex-end!important;margin-left:0!important}}
@media (max-width: 760px){#wsp17Root .wsp17-quick-chip{padding:0 10px!important}#wsp17Root .wsp17-quick-chip small{display:none!important}}


/* v15 — métricas rápidas em todas as abas de Prospecção, junto à Lixeira/Gerenciar Dados */
#wsp17Root .wsp17-pagehead>.wsp17-page-ops,
#wsp17Root .wsp17-pagehead>.wsp17-base-head-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important;flex-wrap:nowrap!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-stats{order:-1!important;display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;margin:0 4px 0 0!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip{height:34px!important;padding:0 8px!important;border-radius:9px!important;gap:5px!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip i{width:18px!important;height:18px!important;flex-basis:18px!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip i svg{width:10px!important;height:10px!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip small{font-size:9px!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip b{font-size:12px!important}
@media(max-width:1280px){#wsp17Root .wsp17-pagehead .wsp17-quick-chip small{display:none!important}}
@media(max-width:920px){#wsp17Root .wsp17-pagehead .wsp17-quick-stats{display:none!important}}

/* v19 — estabilização do cabeçalho da Prospecção */
#wsp17Root .wsp17-pagehead>.wsp17-page-ops,
#wsp17Root .wsp17-pagehead>.wsp17-base-head-actions{min-height:34px!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-stats{min-height:34px!important}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip{min-width:84px!important;justify-content:flex-start!important}
#wsp17Root .wsp17-pagehead .wsp17-page-clear,
#wsp17Root .wsp17-pagehead .wsp17-page-trash{flex:0 0 34px!important}

/* v20 — polimento final da Prospecção: cabeçalhos estáveis e ações alinhadas */
#wsp17Root .wsp17-pagehead{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-height:72px!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
}
#wsp17Root .wsp17-pagehead>div:first-child{
  min-width:280px!important;
  flex:1 1 auto!important;
}
#wsp17Root .wsp17-pagehead>div:first-child>i{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:10px!important;
}
#wsp17Root .wsp17-pagehead>.wsp17-page-ops,
#wsp17Root .wsp17-pagehead>.wsp17-base-head-actions{
  flex:0 0 auto!important;
  min-width:566px!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:6px!important;
  margin-left:auto!important;
}
#wsp17Root .wsp17-pagehead .wsp17-quick-stats{
  flex:0 0 auto!important;
  width:auto!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin:0 4px 0 0!important;
}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip{
  width:92px!important;
  min-width:92px!important;
  height:34px!important;
  padding:0 7px!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#wsp17Root .wsp17-pagehead .wsp17-quick-chip small{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#wsp17Root .wsp17-pagehead .wsp17-head-icon,
#wsp17Root .wsp17-pagehead .wsp17-page-trash,
#wsp17Root .wsp17-pagehead .wsp17-page-clear{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  border-radius:9px!important;
  display:grid!important;
  place-items:center!important;
}
#wsp17Root .wsp17-pagehead .wsp17-head-icon svg,
#wsp17Root .wsp17-pagehead .wsp17-page-trash svg,
#wsp17Root .wsp17-pagehead .wsp17-page-clear svg{
  width:15px!important;
  height:15px!important;
}
#wsp17Root .wsp17-pagehead h3{line-height:1.15!important}
#wsp17Root .wsp17-pagehead p{line-height:1.25!important;margin-top:4px!important}
@media(max-width:1280px){
  #wsp17Root .wsp17-pagehead>.wsp17-page-ops,
  #wsp17Root .wsp17-pagehead>.wsp17-base-head-actions{min-width:360px!important}
  #wsp17Root .wsp17-pagehead .wsp17-quick-chip{width:43px!important;min-width:43px!important;justify-content:center!important;padding:0 5px!important}
  #wsp17Root .wsp17-pagehead .wsp17-quick-chip small{display:none!important}
}
@media(max-width:920px){
  #wsp17Root .wsp17-pagehead{align-items:flex-start!important;min-height:72px!important}
  #wsp17Root .wsp17-pagehead>.wsp17-page-ops,
  #wsp17Root .wsp17-pagehead>.wsp17-base-head-actions{min-width:auto!important}
}

#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-board{overflow-anchor:none}

/* Navegação de Prospecção: tipografia e ícones compartilhados com Ativos. */
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button{--nav-tone:#3b82f6;font-family:Inter,Arial,sans-serif!important;font-size:11px!important;font-weight:600!important;letter-spacing:0!important;color:#fff!important;border-radius:10px!important;gap:7px!important;background:color-mix(in srgb,var(--nav-tone) 6%,#0b0e13)!important;border:1px solid transparent!important;box-shadow:none!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(2){--nav-tone:#f97316}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(3){--nav-tone:#a855f7}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(4){--nav-tone:#eab308}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(5){--nav-tone:#ec4899}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(6){--nav-tone:#22c55e}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(7){--nav-tone:#8b5cf6}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:nth-child(8){--nav-tone:#06b6d4}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button b{font-size:11px!important;font-weight:600!important;color:inherit!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button>span:has(svg){display:grid!important;place-items:center;width:16px!important;height:16px!important;flex:0 0 16px!important;padding:0!important;border-radius:0!important;background:transparent!important;color:var(--nav-tone)!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button svg{width:16px!important;height:16px!important;color:var(--nav-tone)!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:is(:hover,.active){background:color-mix(in srgb,var(--nav-tone) 14%,#0b0e13)!important;border-color:color-mix(in srgb,var(--nav-tone) 55%,transparent)!important;color:#fff!important}
:is(body.light,body.ws-theme-light,html[data-nortear-theme="light"]) #prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button{background:color-mix(in srgb,var(--nav-tone) 6%,#fff)!important;color:#111827!important}
:is(body.light,body.ws-theme-light,html[data-nortear-theme="light"]) #prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button:is(:hover,.active){background:color-mix(in srgb,var(--nav-tone) 13%,#fff)!important;color:#111827!important}

/* Mesma geometria do menu de Ativos & Produção, sem caixa externa. */
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav){position:static!important;top:auto!important;z-index:auto!important;display:flex!important;gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;margin:0 0 14px!important;padding:6px 8px 12px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;scrollbar-width:thin!important;scrollbar-color:color-mix(in srgb,var(--muted) 28%,transparent) transparent!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav)::-webkit-scrollbar{height:4px}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav)::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 28%,transparent);border-radius:99px}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav)::-webkit-scrollbar-track{background:transparent}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:180px!important;min-width:180px!important;max-width:none!important;flex:0 0 180px!important;height:44px!important;min-height:44px!important;padding:0 10px!important;white-space:nowrap!important;line-height:normal!important;transition:background .16s,border-color .16s,color .16s!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button svg{flex:0 0 16px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Abas distribuídas na largura disponível, sem rolagem. */
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav){overflow:visible!important;scrollbar-width:none!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav)::-webkit-scrollbar{display:none!important}
#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button{width:auto!important;min-width:0!important;flex:1 1 0!important;padding-inline:8px!important}
@media(max-width:760px){#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav){flex-wrap:wrap!important}#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button{flex:1 1 calc(33.333% - 6px)!important}}

@media(max-width:480px){#prospeccao :is(#wsp17Root,.wsp-shell) :is(.wsp-tabs,.wsp17-nav) button{flex-basis:calc(50% - 6px)!important}}
/* Pendências ficam compactas; os status só mudam pela ação manual existente. */
#wsp17Root .wsp17-unassigned{margin:10px 0;border:1px solid #344457;border-radius:12px;background:#0d1927;color:#dbe6f3}
#wsp17Root .wsp17-unassigned>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:13px;cursor:pointer;font-size:13px}
#wsp17Root .wsp17-unassigned>summary::-webkit-details-marker{display:none}
#wsp17Root .wsp17-unassigned>summary>b{flex:1;min-width:0;line-height:1.4}
#wsp17Root .wsp17-unassigned-arrow{display:inline-flex;flex:none}#wsp17Root .wsp17-unassigned-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
#wsp17Root .wsp17-unassigned[open] .wsp17-unassigned-arrow{transform:rotate(90deg)}
#wsp17Root .wsp17-unassigned-count{padding:3px 9px;border-radius:12px;background:#25374c;white-space:nowrap;font-variant-numeric:tabular-nums}
#wsp17Root .wsp17-unassigned-content{display:grid;gap:10px;padding:0 13px 13px}#wsp17Root .wsp17-unassigned-content>p{margin:0;font-size:12px;line-height:1.5;color:#a6b8ce}
#wsp17Root .wsp17-unassigned-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid #344457;border-radius:9px}
#wsp17Root .wsp17-unassigned-row>div{min-width:0}#wsp17Root .wsp17-unassigned-row b,#wsp17Root .wsp17-unassigned-row span{display:block;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
#wsp17Root .wsp17-unassigned-row span{color:#a6b8ce;font-size:12px;margin-top:4px}
#wsp17Root .wsp17-unassigned-row>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:132px;min-height:38px;width:auto;height:auto;padding:9px 14px;border-radius:8px;border:1px solid #4b7197;background:#172c43;color:#e2edfa;font-size:12px;line-height:1.4;white-space:nowrap;cursor:pointer}
#wsp17Root .wsp17-unassigned summary:focus-visible,#wsp17Root .wsp17-unassigned button:focus-visible{outline:2px solid #60a5fa;outline-offset:3px}
body:is(.light,.ws-theme-light) #wsp17Root .wsp17-unassigned{background:#fff;color:#172c44;border-color:#cbd9e8}
body:is(.light,.ws-theme-light) #wsp17Root .wsp17-unassigned-row{border-color:#cbd9e8}body:is(.light,.ws-theme-light) #wsp17Root .wsp17-unassigned-count{background:#edf3fa}
body:is(.light,.ws-theme-light) #wsp17Root .wsp17-unassigned-content>p,body:is(.light,.ws-theme-light) #wsp17Root .wsp17-unassigned-row span{color:#52677e}
body:is(.light,.ws-theme-light) #wsp17Root .wsp17-unassigned-row>button{background:#eff6ff;border-color:#8fbcff;color:#1d4ed8}
@media(max-width:480px){#wsp17Root .wsp17-unassigned-row{grid-template-columns:minmax(0,1fr)}#wsp17Root .wsp17-unassigned-row>button{justify-self:start}}
#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-cycletime.is-empty span{white-space:normal;overflow-wrap:anywhere;min-width:0;flex:1}
@media(max-width:1000px){
  #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-toolbar>select{width:100%!important;min-width:0!important}
  #prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-toolbar>span{grid-column:1/-1;justify-self:end;min-width:0;white-space:normal}
}
@media(max-width:760px){#prospeccao[data-wsp17-tab="pipeline"] #wsp17Root .wsp17-toolbar{grid-template-columns:minmax(0,1fr)!important}}

/* Diagnóstico: entre 621 e 760 px o container vira coluna, mas flex-basis:190px (regra de 1366) virava altura (botões circulares 190x190). Mesma regra do bloco <=620px. */
@media(max-width:760px){#wsp17Root .wsp17-final-actions>button{flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:none!important;height:44px!important;min-height:42px!important}}
/* Desempenho da navegação: cards e linhas fora da tela não passam por estilo/layout até ficarem visíveis (aparência inalterada). */
#wsp17Root .wsp17-card{content-visibility:auto;contain-intrinsic-size:auto 240px}
#wsp17Root .wsp17-row{content-visibility:auto;contain-intrinsic-size:auto 64px}
/* Base de Leads: o menu "Gerenciar Dados" (absoluto, right:0/top:48px) ancora no contêiner das ações, como no Diagnóstico (.wsp17-page-ops). */
#wsp17Root .wsp17-base-head-actions.wsp17-base-tools-current{position:relative}

/* Submenu da Prospecção: tons por ABA (data-wsp17-tab), não por posição — a cor acompanha a aba após trocar a ordem, trocar de rota ou recarregar.
   --wsp-tone-comunicacao é compartilhada com o ícone do cabeçalho "Comunicação & Vendas" (modules/comunicacao/index.css). */
#prospeccao{--wsp-tone-comunicacao:#22c55e;--wsp-tone-atividades:#38bdf8}
#prospeccao :is(#wsp17Root,.wsp-shell) .wsp17-nav button[data-wsp17-tab="comunicacao"]{--nav-tone:var(--wsp-tone-comunicacao)}
#prospeccao :is(#wsp17Root,.wsp-shell) .wsp17-nav button[data-wsp17-tab="atividades"]{--nav-tone:var(--wsp-tone-atividades)}

/* Atividades: ações por linha, botão Nova atividade e janela de agendamento (somente aba Atividades) */
#wsp17Root .wsp17-row.activity { flex-wrap: wrap }
#wsp17Root .wsp17-row.activity>.wsp17-act-break { flex: 0 0 100%; height: 0; margin: 0; padding: 0; border: 0 }
#wsp17Root .wsp17-row.activity>.wsp17-pill-action:first-of-type { margin-left: auto }
#wsp17Root .wsp17-pagehead.teal { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
#wsp17Root .wsp17-act-new { width: auto !important; height: 34px !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 0 14px !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 800; white-space: nowrap; cursor: pointer }
#wsp17Root .wsp17-act-new svg { width: 14px; height: 14px }
.wsp17-act-fields { display: grid; gap: 12px; padding: 16px 20px }
.wsp17-act-field { display: grid; gap: 6px }
.wsp17-act-field>span { font-size: 11px; font-weight: 800; color: var(--ws-premium-muted) }
.wsp17-act-field select, .wsp17-act-field input { box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--ws-premium-line); border-radius: 10px; background: var(--ws-premium-surface); color: var(--ws-premium-text); font: 600 13px/1 inherit }
.wsp17-act-field select:focus-visible, .wsp17-act-field input:focus-visible { outline: 2px solid #38bdf8; outline-offset: 1px }
.wsp17-act-lead { display: grid; gap: 3px; margin: 0 }
.wsp17-act-lead b { font-size: 14px; color: var(--ws-premium-text) }
.wsp17-act-hint { min-height: 14px; margin: 0; font-size: 11px; color: var(--ws-premium-muted) }
.wsp17-act-hint.err { color: #dc2626; font-weight: 700 }
.wsp17-act-modal>footer { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 18px }
.wsp17-act-modal { width: min(430px, calc(100vw - 80px)) }
.wsp17-act-modal>footer>button { flex: 1 1 auto }
/* Estados de avaliação e versões: restritos ao Diagnóstico Instagram. */
#wsp17Root .wsp17-details .wsp17-criterion-state {
  display: block;
  margin-top: 4px;
  white-space: normal;
  line-height: 1.4;
  opacity: .75;
}
#wsp17Root .wsp17-details label:has(.wsp17-criterion-state)>span {
  white-space: normal;
}
#wsp17Root .wsp17-details .wsp17-score-history {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
}
#wsp17Root .wsp17-score-history select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
