.rwd-pipeline-board-wrap {
  margin-top: 0.5rem;
}

.rwd-pipeline-search {
  margin: 0.75rem 0 0.5rem;
}

.rwd-pipeline-search-meta {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--stitch-muted);
}

.rwd-pipeline-search-results {
  margin-top: 0.25rem;
}

.rwd-deal-card__stage {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--stitch-primary);
  background: var(--stitch-surface-container-low);
  border: 1px solid var(--stitch-outline-variant);
}

.rwd-pipeline-insights {
  margin-bottom: 0.75rem;
}

.rwd-pipeline-insights:not(.is-open) .rwd-accordion__panel {
  display: none;
}

.rwd-pipeline-health__value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--stitch-primary);
}

.rwd-pipeline-health__label {
  margin: 0.2rem 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stitch-muted);
}

.rwd-pipeline-health__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin: 0;
}

.rwd-pipeline-health__grid > div {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--stitch-surface-container-low);
  border: 1px solid var(--stitch-outline-variant);
}

.rwd-pipeline-health__grid dt {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stitch-muted);
}

.rwd-pipeline-health__grid dd {
  margin: 0.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rwd-funnel__row + .rwd-funnel__row {
  margin-top: 0.75rem;
}

.rwd-funnel__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
}

.rwd-funnel__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--stitch-muted);
  margin: 0.2rem 0 0.35rem;
}

.rwd-funnel__bar {
  height: 0.5rem;
  border-radius: 999px;
  background: var(--stitch-surface-container-low);
  overflow: hidden;
}

.rwd-funnel__bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--stitch-primary);
}

.rwd-deal-card {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--stitch-outline-variant);
  border-radius: 0.75rem;
  background: var(--rwd-card-bg);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px -6px rgba(11, 28, 48, 0.08);
  color: var(--stitch-on-surface);
}

html.dark .rwd-deal-card {
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.45);
}

.rwd-deal-card + .rwd-deal-card {
  margin-top: 0.75rem;
}

.rwd-deal-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.rwd-deal-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.rwd-deal-card__title a {
  color: var(--stitch-on-surface);
  text-decoration: none;
}

.rwd-deal-card__temp {
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rwd-deal-card__temp--cold {
  color: #2563eb;
  background: #eff6ff;
}

.rwd-deal-card__temp--warm {
  color: var(--stitch-secondary);
  background: #fff7ed;
}

.rwd-deal-card__temp--hot {
  color: #fff;
  background: var(--stitch-secondary-container);
}

.rwd-deal-card__company {
  margin: 0;
  font-size: 0.75rem;
  color: var(--stitch-muted);
}

.rwd-deal-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.rwd-deal-card__amount {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stitch-primary);
}

.rwd-deal-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 999px;
  background: var(--stitch-surface-container-high);
  border: 1px solid var(--stitch-outline-variant);
  color: var(--stitch-on-surface-variant);
  font-size: 0.625rem;
  font-weight: 800;
}

.rwd-board-desktop {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.rwd-board-desktop::-webkit-scrollbar {
  display: none;
}

.rwd-board-col {
  flex: 0 0 17.5rem;
  min-width: 17.5rem;
  scroll-snap-align: start;
}

.rwd-board-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.rwd-board-col__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--stitch-on-surface-variant);
}

.rwd-board-col__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--stitch-outline-variant);
}

.rwd-board-col__count {
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 800;
  background: var(--stitch-surface-container-high);
  color: var(--stitch-on-surface-variant);
}

.rwd-board-col__sub {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--stitch-muted);
}

.rwd-board-mobile,
.rwd-stage-tabs {
  display: none !important;
}

.hidden {
  display: none !important;
}
