#salesDevelopmentView {
  color: #251b20;
}

.sales-development-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(125deg, #670018, #a00532);
  color: #fff;
}

.sales-development-hero .eyebrow { color: #ffccd8; }
.sales-development-hero h2 { margin: 5px 0 8px; color: #fff; font-size: clamp(28px, 3vw, 40px); }
.sales-development-hero p:last-child { margin: 0; color: #ffe8ef; }
.sales-development-hero .ghost-button { color: #fff; border-color: #ffffff77; }

.sales-development-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
}

.sales-development-toolbar label {
  display: grid;
  gap: 7px;
  min-width: min(100%, 350px);
  font-size: 13px;
  font-weight: 700;
}

.sales-development-toolbar input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d8cbd0;
  border-radius: 10px;
  background: #fff;
  color: #251b20;
  font: inherit;
}

#salesDevelopmentStatus { margin: 0; color: #796a70; font-size: 13px; }

.sales-development-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.sales-development-stat,
.sales-development-card,
.sales-development-detail {
  border: 1px solid #eadfe3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px #3d17200b;
}

.sales-development-stat { padding: 17px 18px; }
.sales-development-stat span,
.sales-development-card-meta span { color: #7c6d73; font-size: 12px; }
.sales-development-stat strong { display: block; margin-top: 6px; font-size: 21px; line-height: 1.2; }

.sales-development-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sales-development-card {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 18px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color .15s ease, transform .15s ease;
}

.sales-development-card:hover,
.sales-development-card:focus-visible,
.sales-development-card.is-selected { border-color: #a00532; transform: translateY(-1px); }
.sales-development-card-heading { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sales-development-card-heading strong { font-size: 16px; }
.sales-development-card-heading small { color: #8d7d83; font-size: 11px; }
.sales-development-card-years { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sales-development-card-year { display: grid; gap: 4px; min-width: 0; padding: 10px; border-radius: 10px; background: #faf3f5; }
.sales-development-card-year span { color: #7c6d73; font-size: 11px; }
.sales-development-card-year strong { color: #8c0029; font-size: clamp(12px, 1.1vw, 16px); line-height: 1.2; overflow-wrap: anywhere; }
.sales-development-card-year.is-empty strong { color: #a99ba0; }
.sales-development-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sales-development-card-meta strong { display: block; margin-top: 3px; color: #3c3035; font-size: 12px; }
.sales-development-empty { grid-column: 1 / -1; padding: 32px; text-align: center; }
.sales-development-detail { margin-top: 20px; padding: 24px; scroll-margin-top: 20px; }
.sales-development-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.sales-development-detail-head h3 { margin: 3px 0 5px; font-size: 28px; }
.sales-development-detail-head p:last-child { color: #786a70; }
.sales-development-chart { margin-top: 15px; }
.sales-development-chart svg { display: block; width: 100%; height: auto; max-height: 330px; overflow: visible; }
.sales-development-chart svg text { fill: #8a7c81; font-size: 10px; }
.sales-development-detail h4 { margin: 0 0 14px; font-size: 16px; }
.sales-development-detail-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; margin-top: 25px; }
.sales-development-year { display: grid; grid-template-columns: 45px minmax(0, 1fr) 120px; align-items: center; gap: 12px; margin: 11px 0; font-size: 13px; }
.sales-development-year div { height: 11px; border-radius: 10px; background: #f5e8ed; overflow: hidden; }
.sales-development-year i { display: block; height: 100%; border-radius: inherit; background: #93042b; }
.sales-development-year strong { text-align: right; }
.sales-development-month-scroll { max-height: 245px; overflow: auto; border: 1px solid #efe6e9; border-radius: 10px; }
.sales-development-month-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sales-development-month-table th,
.sales-development-month-table td { padding: 8px 12px; border-bottom: 1px solid #f1e9ec; }
.sales-development-month-table th { text-align: left; font-weight: 500; }
.sales-development-month-table td { text-align: right; font-weight: 700; }
.sales-development-source { margin: 18px 2px; color: #86787d; font-size: 12px; }

@media (max-width: 1100px) {
  .sales-development-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-development-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .sales-development-hero, .sales-development-toolbar, .sales-development-detail-head { flex-direction: column; }
  .sales-development-hero { padding: 22px; }
  .sales-development-list, .sales-development-detail-bottom { grid-template-columns: 1fr; }
  .sales-development-stat strong { font-size: 18px; }
  .sales-development-card-year strong { font-size: 15px; }
  .sales-development-detail { padding: 18px; }
}
