.dashboard-screen {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: var(--nav-height);
}

.dashboard-media {
  position: absolute;
  top: 0;
  right: -16px;
  width: 482px;
  height: 503px;
  pointer-events: none;
}

.dashboard-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.dashboard-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 42px var(--space-48) var(--space-48);
}

.dashboard-hero {
  padding: 0 0 var(--space-32);
}

.dashboard-hero-content {
  display: flex;
  width: min(664px, 100%);
  flex-direction: column;
  gap: var(--space-24);
}

.dashboard-title {
  margin: 0;
  color: var(--brand\/neutral\/50);
  font-family: var(--font-display);
  font-size: var(--heading\/--h2-size);
  font-weight: 800;
  letter-spacing: 0;
  line-height: var(--heading\/--h2-size);
}

.dashboard-copy,
.panel-subtitle,
.card-description,
.meta-text {
  margin: 0;
  color: var(--brand\/neutral\/600);
  font-family: var(--font-text);
  font-weight: 500;
  letter-spacing: 0;
}

.dashboard-copy {
  width: min(526px, 100%);
  font-size: 17.4px;
  font-weight: 400;
  line-height: 21.6px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.dashboard-primary {
  border-color: var(--brand\/accent\/sapphire\/400);
  background: var(--brand\/accent\/sapphire\/400);
}

.dashboard-secondary {
  border-color: var(--brand\/neutral\/100);
  color: var(--brand\/neutral\/100);
}

.dashboard-panel {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: var(--space-32);
  border: 1px solid var(--brand\/neutral\/850);
  border-radius: 0;
  background: var(--brand\/neutral\/950);
  padding: var(--space-32);
}

.dashboard-progress-panel {
  min-height: 319px;
}

.panel-heading-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.panel-title {
  margin: 0;
  color: var(--brand\/neutral\/50);
  font-family: var(--font-display);
  font-size: var(--heading\/--h3-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 35.204px;
}

.panel-subtitle {
  font-size: 15px;
  line-height: 21.6px;
}

.progress-list {
  display: grid;
  min-height: 158px;
  flex: 1 1 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: flex-start;
}

.progress-item {
  display: flex;
  min-height: 158px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-8);
  text-align: center;
}

.progress-dot {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand\/accent\/sapphire\/200);
  color: var(--brand\/accent\/sapphire\/400);
}

.progress-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.progress-label {
  display: flex;
  width: min(191px, 100%);
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--brand\/neutral\/100);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 21.6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 32px;
  background: var(--brand\/neutral\/800);
  color: var(--brand\/neutral\/600);
  font-family: var(--font-text);
  font-size: var(--paragraph\/--p-s-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 18px;
  padding: 6px var(--space-16);
  white-space: nowrap;
}

.status-pill.status-not-started {
  background: var(--brand\/neutral\/800);
  color: var(--brand\/neutral\/600);
}

.status-pill.status-in-progress {
  border-color: rgba(245, 178, 84, 0.32);
  background: rgba(245, 178, 84, 0.14);
  color: #f5c878;
}

.status-pill.status-completed {
  border-color: rgba(126, 231, 179, 0.34);
  background: rgba(79, 180, 126, 0.16);
  color: #9be7c0;
}

.meta-text {
  font-size: var(--paragraph\/--p-s-size);
  font-weight: 700;
  line-height: 18px;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-top: var(--space-16);
}

.dashboard-summary .dashboard-panel {
  min-height: 617px;
}

.profile-panel {
  gap: var(--space-32);
}

.profile-panel.is-empty {
  min-height: 0;
}

.profile-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
}

.profile-panel-heading > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-overview {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: var(--space-40);
  align-items: center;
}

.profile-overview.is-empty {
  grid-template-columns: 1fr;
  align-items: flex-start;
}

.profile-overview.is-empty .profile-insights {
  display: none;
}

.profile-overview.is-empty .profile-chart-wrap {
  justify-content: flex-start;
}

.profile-overview.is-empty .profile-empty-state {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.profile-overview.is-empty .profile-empty-copy {
  align-items: flex-start;
}

.profile-chart-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.profile-empty-state {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: var(--space-24);
  border: 1px solid var(--brand\/neutral\/850);
  border-radius: 0;
  background: transparent;
  padding: var(--space-32);
  text-align: center;
}

.profile-empty-copy {
  display: flex;
  max-width: 640px;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.profile-empty-state h3,
.profile-empty-state p {
  margin: 0;
}

.profile-empty-state h3 {
  color: var(--brand\/neutral\/100);
  font-family: var(--font-text);
  font-size: 21.75px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 27px;
}

.profile-empty-state p {
  max-width: 620px;
  color: var(--brand\/neutral\/500);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 21.6px;
  text-wrap: balance;
}

.profile-radar {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.profile-radar polygon,
.profile-radar line {
  vector-effect: non-scaling-stroke;
}

.profile-radar-ring,
.profile-radar-spoke {
  fill: none;
  stroke: var(--brand\/neutral\/800);
  stroke-width: 1;
}

.profile-radar-target {
  fill: rgba(255, 151, 164, 0.16);
  stroke: var(--brand\/accent\/cherry\/300);
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-radar-current {
  fill: rgba(142, 160, 255, 0.26);
  stroke: var(--brand\/accent\/sapphire\/300);
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-radar-node {
  display: none;
}

.profile-radar-label {
  fill: var(--brand\/neutral\/500);
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 700;
}

.profile-radar-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  color: var(--brand\/neutral\/500);
  font-family: var(--font-text);
  font-size: var(--paragraph\/--p-s-size);
  font-weight: 700;
  line-height: 18px;
}

.profile-radar-legend span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}

.profile-radar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.profile-radar-legend i.current {
  background: var(--brand\/accent\/sapphire\/300);
}

.profile-radar-legend i.target {
  background: var(--brand\/accent\/cherry\/300);
}

.profile-insights {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--brand\/neutral\/850);
  padding-left: var(--space-40);
}

.profile-insight-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.profile-insight-section + .profile-insight-section {
  margin-top: var(--space-24);
  border-top: 1px solid var(--brand\/neutral\/850);
  padding-top: var(--space-24);
}

.profile-insight-heading {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0;
  color: var(--brand\/neutral\/100);
  font-family: var(--font-display);
  font-size: var(--heading\/--h3-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 27.5px;
}

.profile-insight-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-insight-list li {
  color: var(--brand\/neutral\/300);
  font-family: var(--font-text);
  font-size: 17.4px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 21.6px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
  margin-top: var(--space-16);
}

.capability-card {
  display: flex;
  min-width: 0;
  height: 503px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--brand\/neutral\/850);
  border-radius: 0;
  background: var(--brand\/neutral\/950);
  color: inherit;
  cursor: pointer;
  padding: 11px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.capability-card:focus-visible {
  outline: 0;
  border-color: var(--brand\/accent\/sapphire\/400);
  box-shadow: 0 0 0 2px var(--brand\/accent\/sapphire\/400);
}

.capability-card-media {
  position: relative;
  height: 233px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: var(--brand\/neutral\/850);
}

.capability-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 340ms cubic-bezier(0.45, 0, 0.25, 1);
  will-change: transform;
}

.media-pill {
  position: absolute;
  top: var(--space-12);
  left: 14px;
  z-index: 1;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand\/neutral\/50);
  font-family: var(--font-display);
  font-size: var(--paragraph\/--p-s-size);
  line-height: 1;
  padding: 10px;
}

.capability-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-24);
  text-align: center;
}

.capability-card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 0 var(--space-24);
}

.capability-card-title {
  margin: 0;
  color: var(--brand\/neutral\/100);
  font-family: var(--font-display);
  font-size: var(--heading\/--h3-size);
  font-weight: 700;
  line-height: 1.1;
}

.card-description {
  max-width: 320px;
  font-size: 15px;
  line-height: 21.6px;
}

.capability-card-actions {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding-top: 0;
}

.capability-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-16);
}

.card-arrow {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand\/neutral\/800);
  color: var(--brand\/neutral\/100);
  transition:
    background-color 150ms ease,
    transform 120ms var(--motion-ease-out);
}

.card-arrow:focus-visible {
  background: var(--brand\/neutral\/700);
}

@media (hover: hover) and (pointer: fine) {
  .capability-card:hover {
    border-color: var(--brand\/neutral\/700);
    background: var(--brand\/neutral\/950);
  }

  .capability-card:hover .capability-card-media img {
    transform: translate3d(0, 0, 0) scale(1.025);
  }

  .capability-card:hover .card-arrow {
    background: var(--brand\/neutral\/700);
    transform: scale(1.06);
  }
}

.capability-card:active .card-arrow {
  transform: scale(0.97);
}

@media (max-width: 920px) {
  .dashboard-media {
    width: 52vw;
    opacity: 0.72;
  }

  .dashboard-shell {
    padding-right: var(--space-24);
    padding-left: var(--space-24);
  }

  .dashboard-hero {
    padding-right: 0;
    padding-left: 0;
  }

  .progress-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-overview {
    grid-template-columns: 1fr;
  }

  .profile-insights {
    border-top: 1px solid var(--brand\/neutral\/850);
    border-left: 0;
    padding-top: var(--space-24);
    padding-left: 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-media {
    width: 100%;
    height: 360px;
    opacity: 0.42;
  }

  .dashboard-shell {
    padding: var(--space-24) var(--space-16) var(--space-32);
  }

  .dashboard-hero {
    padding-bottom: var(--space-32);
  }

  .dashboard-copy {
    font-size: 15px;
    line-height: 20px;
  }

  .dashboard-panel {
    padding: var(--space-24);
  }

  .dashboard-progress-panel,
  .dashboard-summary .dashboard-panel,
  .profile-panel.is-empty {
    min-height: 0;
  }

  .progress-list,
  .dashboard-summary,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .profile-radar-legend {
    flex-direction: column;
    gap: var(--space-8);
    align-items: center;
    font-size: var(--paragraph\/--p-s-size);
  }

  .profile-empty-state {
    min-height: 280px;
    align-items: center;
    padding: var(--space-24);
  }

  .progress-list {
    gap: var(--space-16);
    min-height: 0;
  }

  .progress-item {
    display: grid;
    min-height: 0;
    grid-template-columns: 32px 1fr auto auto;
    align-items: center;
    text-align: left;
  }

  .progress-dot {
    width: 32px;
    height: 32px;
  }

  .progress-label {
    justify-content: flex-start;
    min-height: 0;
    text-align: left;
  }

  .capability-card {
    height: auto;
    min-height: 459px;
  }

  .capability-card-title {
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-card,
  .capability-card-media img,
  .card-arrow {
    transition: none;
  }

  .capability-card-media img {
    will-change: auto;
  }

  .capability-card:hover .capability-card-media img,
  .capability-card:active .card-arrow,
  .card-arrow:active {
    transform: none;
  }
}
