.v6-competencies-dashboard {
  display: grid;
  gap: 12px;
  color: #13223d;
}

.v6-cd-top {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(570px, 1.28fr);
  gap: 12px;
}

.v6-cd-intro,
.v6-cd-overview,
.v6-cd-group {
  background: #fff;
  border: 1px solid rgba(31, 52, 83, .08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(32, 48, 76, .07);
}

.v6-cd-intro {
  min-height: 184px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v6-cd-intro .v6-eyebrow {
  margin: 0 0 8px;
  color: #e73f88;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.v6-cd-intro h1 {
  margin: 0;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}

.v6-cd-intro > p:last-child {
  max-width: 460px;
  margin: 14px 0 0;
  color: #69768c;
  font-size: 14px;
  line-height: 1.45;
}

.v6-cd-overview {
  min-height: 184px;
  padding: 16px 22px;
}

.v6-cd-overview h2,
.v6-cd-all-title {
  margin: 0;
  color: #15233d;
  font-size: 18px;
  line-height: 1.2;
}

.v6-cd-overview-body {
  display: grid;
  grid-template-columns: 220px minmax(280px, 1fr);
  align-items: center;
  gap: 18px;
  height: 146px;
}

.v6-cd-radar {
  width: 210px;
  height: 154px;
  overflow: visible;
}

.v6-cd-radar-ring,
.v6-cd-radar line {
  fill: none;
  stroke: #dfe5ef;
  stroke-width: 1;
}

.v6-cd-radar-values {
  fill: rgba(58, 79, 188, .16);
  stroke: #394fb9;
  stroke-width: 2;
}

.v6-cd-radar circle {
  fill: #fff;
  stroke: #394fb9;
  stroke-width: 2;
}

.v6-cd-legend {
  display: grid;
  gap: 7px;
}

.v6-cd-legend-row {
  display: grid;
  grid-template-columns: 94px minmax(80px, 1fr) 38px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.v6-cd-legend-row > span {
  font-weight: 700;
}

.v6-cd-legend-row > strong {
  text-align: right;
  font-size: 12px;
}

.v6-cd-mini-bar,
.v6-cd-progress {
  overflow: hidden;
  background: #edf0f5;
  border-radius: 999px;
}

.v6-cd-mini-bar {
  height: 5px;
}

.v6-cd-mini-bar i,
.v6-cd-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--cd-accent);
}

.v6-cd-all-title {
  padding: 1px 2px 0;
}

.v6-cd-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.v6-cd-group {
  min-width: 0;
  overflow: hidden;
  border-top: 4px solid var(--cd-accent);
  border-radius: 16px;
}

.v6-cd-group header {
  min-height: 70px;
  padding: 12px 13px 10px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  background: var(--cd-tint);
}

.v6-cd-group-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--cd-accent);
  background: #fff;
}

.v6-cd-group-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.v6-cd-group header h3 {
  margin: 0 0 3px;
  color: #17233b;
  font-size: 14px;
  line-height: 1.1;
}

.v6-cd-group header strong {
  color: var(--cd-accent);
  font-size: 24px;
  line-height: 1;
}

.v6-cd-group-list {
  padding: 7px 12px 10px;
}

.v6-cd-competency {
  min-height: 39px;
  padding: 5px 0;
  border-bottom: 1px solid #edf0f4;
}

.v6-cd-competency:last-child {
  border-bottom: 0;
}

.v6-cd-competency > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 31px;
  align-items: end;
  gap: 5px;
  margin-bottom: 4px;
}

.v6-cd-competency span {
  display: -webkit-box;
  overflow: hidden;
  color: #2c3950;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.v6-cd-competency strong {
  color: var(--cd-accent);
  text-align: right;
  font-size: 10px;
  line-height: 1;
}

.v6-cd-progress {
  height: 4px;
}

.v6-cd-tone-sales { --cd-accent: #e84186; --cd-tint: #fff0f6; }
.v6-cd-tone-client { --cd-accent: #8154d8; --cd-tint: #f4efff; }
.v6-cd-tone-expertise { --cd-accent: #37a478; --cd-tint: #ebfaf3; }
.v6-cd-tone-management { --cd-accent: #f09a36; --cd-tint: #fff5e8; }
.v6-cd-tone-leadership { --cd-accent: #397bc9; --cd-tint: #edf5ff; }

@media (max-width: 1439px) {
  .v6-cd-top { grid-template-columns: minmax(270px, .75fr) minmax(500px, 1.25fr); }
  .v6-cd-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  .v6-cd-top { grid-template-columns: 1fr; }
  .v6-cd-intro { min-height: 150px; }
  .v6-cd-overview-body { grid-template-columns: 210px minmax(250px, 1fr); }
}

@media (max-width: 720px) {
  .v6-competencies-dashboard { gap: 10px; }
  .v6-cd-intro { min-height: 0; padding: 22px 20px; }
  .v6-cd-intro h1 { font-size: 34px; }
  .v6-cd-overview { padding: 17px; }
  .v6-cd-overview-body { height: auto; grid-template-columns: 1fr; justify-items: center; }
  .v6-cd-radar { width: 220px; height: 170px; }
  .v6-cd-legend { width: 100%; }
  .v6-cd-legend-row { grid-template-columns: 90px minmax(80px, 1fr) 36px; }
  .v6-cd-groups { grid-template-columns: 1fr; }
  .v6-cd-competency span { font-size: 12px; }
}

/* Result dots use the same five area colors as cards and legend. */
.v6-cd-radar circle.v6-cd-radar-dot { fill: var(--cd-accent); stroke: var(--cd-accent); }
