.sales-page {
  display: grid;
  gap: 8px;
  animation: fadeUp .2s ease both;
}

.sales-hero,
.sales-kpis,
.sales-layout {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.sales-hero {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px;
}

.sales-hero span,
.sales-kpis span,
.sales-funnel > strong,
.sales-row span {
  color: #ff5a1f;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sales-hero h2 {
  margin: 2px 0;
  color: var(--text-strong);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.065em;
}

.sales-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.sales-actions,
.sales-toolbar {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.sales-actions button,
.sales-toolbar select,
.sales-row button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-solid);
  color: var(--text-strong);
  font-size: 9px;
  font-weight: 900;
}

.sales-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.sales-kpis article {
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 8px;
  border-right: 1px solid var(--line);
}

.sales-kpis article:last-child {
  border-right: 0;
}

.sales-kpis strong {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.06em;
}

.sales-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

.sales-funnel {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}

.funnel-bar {
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-solid);
}

.funnel-bar span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 950;
}

.funnel-bar b {
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 950;
}

.w100 { width: 100%; }
.w78 { width: 88%; }
.w52 { width: 76%; }
.w36 { width: 64%; }

.sales-board {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sales-toolbar label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: min(360px, 100%);
  height: 29px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-solid);
}

.sales-toolbar input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--text-strong);
  font-size: 9.5px;
  font-weight: 750;
}

.sales-list {
  display: grid;
  gap: 6px;
}

.sales-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 60px 110px 58px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel-solid);
}

.sales-row:hover {
  background: var(--panel-hover);
}

.sales-row h3 {
  margin: 2px 0 0;
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 950;
}

.sales-row strong {
  color: var(--text-strong);
  font-size: 11px;
  font-weight: 950;
}

.sales-row em,
.sales-row b {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-style: normal;
  font-size: 8px;
  font-weight: 950;
  text-align: center;
}

@media (max-width: 980px) {
  .sales-layout {
    grid-template-columns: 1fr;
  }

  .sales-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .sales-hero {
    flex-direction: column;
  }

  .sales-kpis {
    grid-template-columns: 1fr;
  }

  .sales-actions button,
  .sales-toolbar label,
  .sales-toolbar select {
    width: 100%;
  }
}
