/* Perceived Skills Advisor — result and athlete-detail styles */

/* Result */
.psa-result.hidden {
  display: none;
}

.psa-result {
  margin-top: 1.1rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
  padding-top: 1rem;
}

.psa-result-section {
  margin-bottom: 0.9rem;
}

.psa-result-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted, #6b7280);
  margin-bottom: 0.3rem;
}

.psa-result-text {
  font-size: 0.88rem;
  line-height: 1.55;
}

.psa-cost-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.psa-cost-value {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

/* Changes list */
.psa-changes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.psa-change-none {
  font-size: 0.87rem;
  color: var(--color-text-muted, #6b7280);
  font-style: italic;
}

.psa-change-item {
  font-size: 0.87rem;
  line-height: 1.4;
}

.psa-change-badge {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 0.1em 0.45em;
  vertical-align: middle;
}

.psa-change-badge--add     { background: #dcfce7; color: #15803d; }
.psa-change-badge--remove  { background: #fef2f2; color: #b91c1c; }
.psa-change-badge--replace { background: #eff6ff; color: #1d4ed8; }

.psa-change-slot {
  font-size: 0.78rem;
  color: var(--color-text-muted, #6b7280);
  vertical-align: middle;
}

.psa-change-desc {
  font-weight: 500;
  vertical-align: middle;
}

.psa-change-rationale {
  margin-top: 0.2rem;
  padding-left: 0.1rem;
  color: var(--color-text-muted, #6b7280);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ── Athlete detail: Perceived Skills section ──────────────── */

.psa-skill-group {
  margin-top: 0.85rem;
}

.psa-skill-group-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted, #6b7280);
  margin-bottom: 0.45rem;
}

.psa-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.psa-skill-pill {
  display: inline-block;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: default;
}

.psa-skill-pill--strength {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.psa-skill-pill--weakness {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.psa-skill-empty {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
  font-style: italic;
}

/* ── Athlete detail: Skill Suggestions section ─────────────── */

.psa-suggestion-summary {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-gray-800, #1f2937);
  margin: 0 0 0.75rem;
}

.psa-suggestion-no-changes {
  font-size: 0.875rem;
  color: var(--color-gray-500, #6b7280);
  font-style: italic;
}
