/* Life Paths pilot pages */
:root {
  --path-primary: #2563eb;
  --path-ink: #0f172a;
  --path-muted: #64748b;
  --path-line: #e2e8f0;
  --path-bg: #f1f5f9;
  --path-surface: #ffffff;
  --path-accent: #0ea5e9;
  --path-max: 920px;
  --path-radius: 14px;
}

.vm-path-page {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(14, 165, 233, 0.10), transparent 50%),
    var(--path-bg);
  color: var(--path-ink);
  min-height: 100vh;
}

.vm-path-main {
  max-width: var(--path-max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}

.vm-path-bc {
  font-size: 0.85rem;
  color: var(--path-muted);
  margin-bottom: 1.25rem;
}
.vm-path-bc a { color: var(--path-primary); text-decoration: none; }
.vm-path-bc a:hover { text-decoration: underline; }

.vm-path-hero {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--path-line);
  margin-bottom: 1rem;
}
.vm-pilot {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.vm-path-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}
.vm-path-lead {
  font-size: 1.1rem;
  color: var(--path-muted);
  max-width: 38rem;
  margin: 0 0 0.75rem;
}
.vm-path-flow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--path-primary);
  letter-spacing: 0.02em;
}

.vm-path-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 2rem;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(241, 245, 249, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--path-line);
}
.vm-path-toc a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--path-muted);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.vm-path-toc a:hover {
  color: var(--path-primary);
  border-color: #bfdbfe;
  background: #eff6ff;
}

.vm-path-section {
  margin: 0 0 2.75rem;
  scroll-margin-top: 3.5rem;
}
.vm-path-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.vm-path-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.vm-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.vm-vision-grid > div {
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  padding: 1.1rem 1.15rem;
}
.vm-vision-grid p, .vm-vision-grid li {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
}
.vm-vision-grid ul { margin: 0; padding-left: 1.1rem; }

.vm-muted { color: var(--path-muted); font-size: 0.86rem; line-height: 1.5; margin-top: 0.25rem; }
.vm-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--path-muted); margin: 0.75rem 0 0.35rem; }

.vm-radar-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.vm-radar { width: 100%; max-width: 280px; height: auto; }
.vm-radar-grid { fill: none; stroke: #cbd5e1; stroke-width: 1; }
.vm-radar-area { fill: rgba(37, 99, 235, 0.28); stroke: #2563eb; stroke-width: 2; }
.vm-radar-label { font-size: 9px; fill: #475569; font-weight: 600; }

.vm-table-wrap { overflow-x: auto; }
.vm-skill-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  overflow: hidden;
  font-size: 0.88rem;
}
.vm-skill-table th, .vm-skill-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--path-line);
  vertical-align: top;
}
.vm-skill-table th {
  background: #f8fafc;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--path-muted);
}
.vm-path-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  margin-right: 3px;
}
.vm-path-dot.on { background: var(--path-primary); }

.vm-tree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.vm-tree-group {
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  padding: 1rem 1.1rem;
}
.vm-tree-group ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.vm-tree-group li { margin: 0.4rem 0; }

.vm-skill-chip {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.vm-chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; }

.vm-roadmap { display: flex; flex-direction: column; gap: 0.85rem; }
.vm-stage {
  display: flex;
  gap: 1rem;
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  padding: 1rem 1.15rem;
}
.vm-stage-order {
  flex: 0 0 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--path-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.vm-res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.vm-res-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  padding: 1rem 1.1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.vm-res-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}
.vm-res-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0369a1;
  margin-bottom: 0.35rem;
}
.vm-res-card p { margin: 0.35rem 0 0; font-size: 0.86rem; color: var(--path-muted); }

.vm-practice {
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.85rem;
}
.vm-practice ol, .vm-practice ul { margin: 0; padding-left: 1.2rem; }
.vm-practice li { font-size: 0.9rem; margin: 0.25rem 0; color: #334155; }

.vm-milestones { margin: 0; padding-left: 1.1rem; }
.vm-milestones li { margin-bottom: 0.85rem; }

.vm-coach {
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
  border: 1px dashed #7dd3fc;
  border-radius: var(--path-radius);
  padding: 1.35rem 1.4rem;
}
.vm-coach p { color: var(--path-muted); margin: 0; font-size: 0.95rem; }

.vm-path-error {
  padding: 2rem;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: var(--path-radius);
}

.vm-paths-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--path-surface);
  border: 1px solid var(--path-line);
  border-radius: var(--path-radius);
  padding: 1.35rem 1.4rem;
  margin-top: 1rem;
  transition: border-color 0.15s;
}
.vm-paths-hub-card:hover { border-color: var(--path-primary); }
.vm-paths-hub-card h2 { margin: 0.35rem 0; font-size: 1.25rem; }
.vm-draft-note { font-size: 0.85rem; color: var(--path-muted); margin-top: 1.5rem; }

@media (max-width: 800px) {
  .vm-vision-grid,
  .vm-radar-wrap,
  .vm-tree,
  .vm-res-grid { grid-template-columns: 1fr; }
  .vm-radar-wrap { justify-items: center; }
}
