    /* ── Agent Detail Page ── */
    .detail-page {
      max-width: 900px;
      margin: 0 auto;
      padding: 32px 24px 60px;
    }
    .detail-back {
      display: inline-block;
      color: var(--text-dim);
      font-size: 14px;
      margin-bottom: 24px;
      transition: color .2s;
    }
    .detail-back:hover { color: var(--orange); opacity: 1; }

    .detail-header {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 20px;
    }
    .detail-icon {
      width: 64px;
      height: 64px;
      border-radius: 14px;
      background: rgba(244,114,43,.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      flex-shrink: 0;
    }
    .detail-title h1 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 4px;
      line-height: 1.2;
    }
    .detail-title .detail-fullname {
      font-size: 13px;
      color: var(--text-dim);
      word-break: break-all;
    }
    .detail-desc {
      font-size: 15px;
      color: var(--text-dim);
      line-height: 1.6;
      margin-bottom: 24px;
    }
    .detail-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .detail-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 20px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
      border: none;
    }
    .detail-btn.primary {
      background: var(--orange);
      color: #fff;
    }
    .detail-btn.primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px var(--orange-glow);
      opacity: 1;
    }
    .detail-btn.outline {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
    }
    .detail-btn.outline:hover {
      border-color: var(--orange);
      color: var(--orange);
      opacity: 1;
    }
    .detail-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }
    .detail-tags .tag {
      font-size: 13px;
      padding: 4px 12px;
    }

    /* Detail sections */
    .detail-section {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 20px;
    }
    .detail-section-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .detail-section-title::before {
      content: '';
      display: inline-block;
      width: 3px;
      height: 16px;
      background: var(--orange);
      border-radius: 2px;
    }

    /* Info grid */
    .detail-info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px 24px;
    }
    .detail-info-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .detail-info-label {
      font-size: 12px;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .detail-info-value {
      font-size: 14px;
      color: var(--text);
      font-weight: 500;
    }

    /* Version list */
    .version-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .version-item {
      display: flex;
      gap: 16px;
      position: relative;
      padding-bottom: 20px;
    }
    .version-item:last-child { padding-bottom: 0; }
    .version-timeline {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 20px;
      flex-shrink: 0;
    }
    .version-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--orange);
      flex-shrink: 0;
      margin-top: 4px;
    }
    .version-line {
      width: 2px;
      flex-grow: 1;
      background: var(--border);
      margin-top: 4px;
    }
    .version-item:last-child .version-line { display: none; }
    .version-body { flex-grow: 1; min-width: 0; }
    .version-header {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 4px;
    }
    .version-tag {
      font-size: 15px;
      font-weight: 600;
      color: var(--text);
    }
    .version-status {
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 500;
      background: rgba(16,185,129,.12);
      color: var(--green);
    }
    .version-status.draft {
      background: rgba(138,138,148,.12);
      color: var(--text-dim);
    }
    .version-changelog {
      font-size: 13px;
      color: var(--text-dim);
      margin-bottom: 6px;
      line-height: 1.5;
    }
    .version-meta {
      font-size: 12px;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .version-download {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 10px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 500;
      background: rgba(244,114,43,.1);
      color: var(--orange);
      border: 1px solid rgba(244,114,43,.15);
      text-decoration: none;
      transition: all .2s;
    }
    .version-download:hover {
      background: rgba(244,114,43,.2);
      border-color: var(--orange);
      opacity: 1;
    }

    /* Capabilities list */
    .capabilities-list {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .capability-tag {
      padding: 6px 14px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      background: rgba(59,130,246,.1);
      color: var(--blue);
      border: 1px solid rgba(59,130,246,.15);
    }

    /* Detail error state */
    .detail-error {
      text-align: center;
      padding: 60px 20px;
      color: var(--text-dim);
    }
    .detail-error .emoji { font-size: 48px; margin-bottom: 12px; }

    /* old mobile replaced */
  
    /* Intent-driven conversational search */
    .intent-search-container {
      max-width: 720px;
      margin: 0 auto 24px;
    }
    .intent-input-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .intent-input {
      flex: 1;
      background: #1a1a1f;
      border: 1.5px solid #2a2a30;
      border-radius: 12px;
      color: #e8e8ea;
      padding: 14px 18px;
      font-size: 15px;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .intent-input:focus {
      border-color: #F4722B;
      box-shadow: 0 0 0 3px rgba(244, 114, 43, 0.15);
    }
    .intent-input::placeholder {
      color: #666;
    }
    .intent-send-btn {
      background: linear-gradient(135deg, #F4722B, #FBBF24);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 14px 22px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s, transform 0.1s;
      white-space: nowrap;
    }
    .intent-send-btn:hover {
      opacity: 0.9;
    }
    .intent-send-btn:active {
      transform: scale(0.97);
    }
    .intent-send-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    .intent-suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }
    .intent-suggestion-chip {
      background: #1a1a1f;
      border: 1px solid #2a2a30;
      border-radius: 20px;
      color: #aaa;
      padding: 6px 14px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .intent-suggestion-chip:hover {
      border-color: #F4722B;
      color: #F4722B;
      background: rgba(244, 114, 43, 0.08);
    }
    .intent-results {
      max-width: 720px;
      margin: 0 auto;
    }
    .intent-conversation {
      margin-bottom: 16px;
    }
    .intent-user-msg {
      background: rgba(244, 114, 43, 0.1);
      border: 1px solid rgba(244, 114, 43, 0.2);
      border-radius: 12px;
      padding: 12px 16px;
      margin-bottom: 12px;
      color: #e8e8ea;
      font-size: 14px;
    }
    .intent-user-msg::before {
      content: "🧑 ";
    }
    .intent-result-card {
      background: #141418;
      border: 1px solid #2a2a30;
      border-radius: 12px;
      padding: 16px;
      margin-bottom: 10px;
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
      overflow: hidden;
    }
    .intent-result-card:hover {
      border-color: #F4722B;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(244, 114, 43, 0.1);
    }
    .intent-result-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: linear-gradient(180deg, #F4722B, #FBBF24);
      opacity: 0;
      transition: opacity 0.2s;
    }
    .intent-result-card:hover::before {
      opacity: 1;
    }
    .intent-result-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }
    .intent-result-emoji {
      font-size: 24px;
    }
    .intent-result-name {
      font-size: 16px;
      font-weight: 600;
      color: #e8e8ea;
    }
    .intent-result-type {
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 10px;
      background: rgba(244, 114, 43, 0.15);
      color: #F4722B;
      text-transform: uppercase;
      font-weight: 500;
    }
    .intent-result-score {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .intent-score-bar {
      width: 60px;
      height: 6px;
      background: #2a2a30;
      border-radius: 3px;
      overflow: hidden;
    }
    .intent-score-fill {
      height: 100%;
      background: linear-gradient(90deg, #F4722B, #FBBF24);
      border-radius: 3px;
      transition: width 0.5s ease-out;
    }
    .intent-score-text {
      font-size: 12px;
      color: #FBBF24;
      font-weight: 600;
      min-width: 35px;
    }
    .intent-result-desc {
      font-size: 13px;
      color: #999;
      line-height: 1.5;
      margin-bottom: 8px;
    }
    .intent-result-reason {
      font-size: 12px;
      color: #F4722B;
      opacity: 0.8;
    }
    .intent-result-reason::before {
      content: "💡 ";
    }
    .intent-result-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }
    .intent-result-tag {
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 10px;
      background: #1a1a1f;
      color: #888;
      border: 1px solid #2a2a30;
    }
    .intent-loading {
      text-align: center;
      padding: 30px;
      color: #666;
    }
    .intent-loading .spinner {
      display: inline-block;
      width: 24px;
      height: 24px;
      border: 3px solid #2a2a30;
      border-top-color: #F4722B;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin-bottom: 8px;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    .intent-empty {
      text-align: center;
      padding: 40px;
      color: #666;
    }
    .intent-empty .emoji {
      font-size: 48px;
      margin-bottom: 12px;
    }
    .intent-history {
      max-width: 720px;
      margin: 0 auto;
    }
    .intent-history-item {
      border-bottom: 1px solid #1a1a1f;
      padding: 12px 0;
    }
    .intent-history-query {
      font-size: 13px;
      color: #888;
      margin-bottom: 4px;
      cursor: pointer;
    }
    .intent-history-query:hover {
      color: #F4722B;
    }

    /* ── Agents Story Page ── */
    .agents-page { max-width: 1100px; margin: 0 auto; padding: 60px 24px 80px; }
    .agents-header { text-align: center; margin-bottom: 48px; }
    .agents-header h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; color: #F5F5F5; margin-bottom: 8px; }
    .agents-header p { color: #9CA3AF; font-size: 16px; }
    .agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
    .agent-story-card {
      background: #16161A; border: 1px solid #2A2A2F; border-radius: 16px; padding: 24px;
      transition: transform .25s, box-shadow .25s, border-color .25s;
    }
    .agent-story-card:hover {
      transform: translateY(-4px); border-color: rgba(244,114,43,.3);
      box-shadow: 0 8px 28px rgba(244,114,43,.08);
    }
    .asc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .asc-emoji { font-size: 36px; }
    .asc-info { flex: 1; }
    .asc-name { font-size: 17px; font-weight: 700; color: #F5F5F5; }
    .asc-stage-badge {
      display: inline-block; padding: 3px 10px; border-radius: 12px;
      font-size: 12px; font-weight: 600; margin-top: 4px;
    }
    .asc-stage-birth { background: rgba(156,163,175,.15); color: #9CA3AF; }
    .asc-stage-growth { background: rgba(59,130,246,.15); color: #3B82F6; }
    .asc-stage-maturity { background: rgba(251,191,36,.15); color: #FBBF24; }
    .asc-stage-decline { background: rgba(244,114,43,.15); color: #F4722B; }
    .asc-stage-retired { background: rgba(100,100,110,.15); color: #64646E; }
    .asc-health-ring {
      width: 56px; height: 56px; position: relative; flex-shrink: 0;
    }
    .asc-health-ring svg { transform: rotate(-90deg); }
    .asc-health-ring .ring-bg { fill: none; stroke: #2A2A2F; stroke-width: 4; }
    .asc-health-ring .ring-fill { fill: none; stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
    .asc-health-num {
      position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 700; color: #F5F5F5;
    }
    .asc-metrics { display: flex; gap: 12px; margin: 16px 0; }
    .asc-metric {
      flex: 1; text-align: center; padding: 10px 8px; background: #0D0D0F;
      border: 1px solid #2A2A2F; border-radius: 10px;
    }
    .asc-metric-val { font-size: 18px; font-weight: 700; color: #F5F5F5; }
    .asc-metric-label { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
    .asc-desc { color: #9CA3AF; font-size: 13px; margin-bottom: 14px; font-style: italic; }
    .asc-timeline { border-top: 1px solid #2A2A2F; padding-top: 14px; }
    .asc-tl-title { font-size: 12px; color: #9CA3AF; margin-bottom: 10px; font-weight: 600; }
    .asc-tl-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
    .asc-tl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .asc-tl-text { font-size: 12px; color: #9CA3AF; flex: 1; }
    .asc-tl-time { font-size: 11px; color: #64646E; flex-shrink: 0; }
    .agents-loading { text-align: center; padding: 60px 20px; color: #9CA3AF; }
    .agents-loading .spinner { display: inline-block; width: 32px; height: 32px; border: 3px solid #2A2A2F; border-top-color: #F4722B; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 12px; }


/* Principal Growth Page */
.principal-growth-page { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.principal-growth-header { text-align: center; margin-bottom: 32px; }
.principal-growth-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.principal-growth-header p { color: var(--text-dim); font-size: 14px; }

/* Principal Growth - Enhanced Styles */
.pg-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.pg-stat-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; text-align: center; transition: all .25s; position: relative; overflow: hidden;
}
.pg-stat-card:hover { border-color: rgba(244,114,43,.3); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.pg-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.pg-stat-icon { font-size: 28px; margin-bottom: 8px; }
.pg-stat-value { font-size: 24px; font-weight: 800; color: #F5F5F5; margin-bottom: 2px; }
.pg-stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

.pg-profile-card {
  background: linear-gradient(135deg, rgba(244,114,43,.08), rgba(251,191,36,.04));
  border: 1px solid rgba(244,114,43,.2); border-radius: 16px;
  padding: 28px; margin-bottom: 28px; display: flex; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
}
.pg-profile-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--blue));
}
.pg-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff; font-weight: 700; flex-shrink: 0;
}
.pg-profile-info { flex: 1; }
.pg-profile-name { font-size: 22px; font-weight: 800; color: #F5F5F5; margin-bottom: 4px; }
.pg-profile-email { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.pg-profile-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-tier-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700;
}
.pg-tier-free { background: rgba(138,138,148,.15); color: var(--text-dim); }
.pg-tier-basic { background: rgba(59,130,246,.15); color: var(--blue); }
.pg-tier-pro { background: rgba(244,114,43,.15); color: var(--orange); }
.pg-tier-enterprise { background: rgba(251,191,36,.15); color: var(--gold); }

.pg-section { margin-bottom: 32px; }
.pg-section-title {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.pg-section-title span { font-size: 20px; }

.pg-agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pg-agent-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; transition: all .2s; cursor: pointer;
}
.pg-agent-card:hover { border-color: rgba(59,130,246,.4); background: var(--bg-card); }
.pg-agent-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pg-agent-emoji { font-size: 24px; }
.pg-agent-name { font-size: 14px; font-weight: 600; flex: 1; }
.pg-agent-stage {
  font-size: 11px; padding: 2px 8px; border-radius: 8px; font-weight: 600;
}

.pg-evolution-list { display: flex; flex-direction: column; gap: 10px; }
.pg-evolution-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; display: flex; align-items: center; gap: 12px; transition: all .2s;
}
.pg-evolution-item:hover { border-color: rgba(244,114,43,.3); }
.pg-evo-icon { font-size: 20px; flex-shrink: 0; }
.pg-evo-info { flex: 1; }
.pg-evo-title { font-size: 13px; font-weight: 600; }
.pg-evo-time { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.pg-collab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pg-collab-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; display: flex; align-items: center; gap: 10px;
  transition: all .2s; cursor: pointer;
}
.pg-collab-card:hover { border-color: rgba(16,185,129,.3); }
.pg-collab-emoji { font-size: 20px; }
.pg-collab-name { font-size: 13px; font-weight: 600; }
.pg-collab-role { font-size: 11px; color: var(--text-dim); }

.pg-achievements { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pg-ach-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; text-align: center; transition: all .25s; position: relative;
}
.pg-ach-card.unlocked { border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.04); }
.pg-ach-card.locked { opacity: 0.5; filter: grayscale(0.5); }
.pg-ach-card:hover { transform: translateY(-2px); }
.pg-ach-icon { font-size: 36px; margin-bottom: 8px; }
.pg-ach-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.pg-ach-desc { font-size: 11px; color: var(--text-dim); }
.pg-ach-status { font-size: 10px; margin-top: 6px; font-weight: 700; }
.pg-ach-status.done { color: var(--gold); }
.pg-ach-status.pending { color: var(--text-dim); }

.pg-timeline { position: relative; padding-left: 28px; }
.pg-timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--gold), var(--blue), var(--border));
}
.pg-timeline-entry { position: relative; margin-bottom: 20px; }
.pg-timeline-dot {
  position: absolute; left: -24px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.pg-timeline-dot.milestone { border-color: var(--gold); background: rgba(251,191,36,.15); }
.pg-timeline-dot.lifecycle { border-color: var(--blue); }
.pg-timeline-dot.evolution { border-color: var(--orange); }
.pg-timeline-dot.reputation { border-color: var(--green); }
.pg-timeline-dot.skill { border-color: #8B5CF6; }
.pg-tl-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.pg-tl-time { font-size: 11px; color: var(--text-dim); }
.pg-tl-desc { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.pg-empty {
  text-align: center; padding: 40px; color: var(--text-dim);
  font-size: 14px; background: var(--bg); border-radius: 12px; border: 1px dashed var(--border);
}

@media (max-width: 768px) {
  .pg-profile-card { flex-direction: column; text-align: center; }
  .pg-overview { grid-template-columns: repeat(2, 1fr); }
  .pg-agent-grid { grid-template-columns: 1fr; }
}

  
    /* ── Life Story Section ── */
    .life-story { margin-top: 24px; }
    .life-story-hero {
      background: linear-gradient(135deg, rgba(244,114,43,.08), rgba(251,191,36,.05));
      border: 1px solid rgba(244,114,43,.2);
      border-radius: 16px; padding: 28px; margin-bottom: 24px;
      position: relative; overflow: hidden;
    }
    .life-story-hero::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--orange), var(--gold), var(--blue));
    }
    .ls-hero-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
    .ls-hero-emoji { font-size: 48px; }
    .ls-hero-info { flex: 1; }
    .ls-hero-name { font-size: 24px; font-weight: 800; color: #F5F5F5; }
    .ls-hero-subtitle { font-size: 14px; color: var(--text-dim); margin-top: 4px; }
    .ls-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
    .ls-badge {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 4px 12px; border-radius: 14px; font-size: 12px; font-weight: 600;
    }
    .ls-badge-stage { }
    .ls-badge-health { background: rgba(16,185,129,.12); color: var(--green); }
    .ls-badge-skills { background: rgba(59,130,246,.12); color: var(--blue); }
    .ls-badge-tasks { background: rgba(251,191,36,.12); color: var(--gold); }
    .ls-badge-rep { background: rgba(244,114,43,.12); color: var(--orange); }

    .ls-origin-card {
      background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
      padding: 20px; margin-bottom: 16px;
    }
    .ls-origin-title { font-size: 13px; font-weight: 700; color: var(--orange); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
    .ls-origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ls-origin-item { }
    .ls-origin-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; }
    .ls-origin-value { font-size: 14px; color: var(--text); font-weight: 500; margin-top: 2px; }
    .ls-origin-narrative {
      margin-top: 16px; padding: 14px 18px;
      background: rgba(244,114,43,.04); border-left: 3px solid var(--orange);
      border-radius: 0 8px 8px 0; font-size: 13px; color: var(--text-dim);
      line-height: 1.7; font-style: italic;
    }

    .ls-section-title {
      font-size: 16px; font-weight: 700; color: #F5F5F5; margin: 24px 0 14px;
      display: flex; align-items: center; gap: 8px;
    }
    .ls-section-title::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }

    /* Growth Trajectory */
    .ls-trajectory { position: relative; }
    .ls-traj-item {
      display: flex; gap: 14px; margin-bottom: 16px; position: relative;
    }
    .ls-traj-line {
      width: 2px; background: var(--border); position: absolute;
      left: 11px; top: 24px; bottom: -16px;
    }
    .ls-traj-item:last-child .ls-traj-line { display: none; }
    .ls-traj-dot {
      width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; z-index: 1;
      border: 2px solid var(--border); background: var(--bg-card);
    }
    .ls-traj-dot.milestone { border-color: var(--gold); background: rgba(251,191,36,.15); }
    .ls-traj-dot.lifecycle { border-color: var(--blue); background: rgba(59,130,246,.15); }
    .ls-traj-dot.skill { border-color: var(--green); background: rgba(16,185,129,.15); }
    .ls-traj-dot.task { border-color: var(--gold); background: rgba(251,191,36,.15); }
    .ls-traj-dot.reputation { border-color: var(--orange); background: rgba(244,114,43,.15); }
    .ls-traj-dot.evolution { border-color: #8B5CF6; background: rgba(139,92,246,.15); }
    .ls-traj-body { flex: 1; }
    .ls-traj-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
    .ls-traj-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
    .ls-traj-time { font-size: 11px; color: #64646E; margin-top: 4px; }

    /* Relationship Network */
    .ls-relations {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
    }
    .ls-rel-card {
      background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
      padding: 14px; transition: all .2s; cursor: pointer;
    }
    .ls-rel-card:hover { border-color: var(--orange); transform: translateY(-2px); }
    .ls-rel-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
    .ls-rel-emoji { font-size: 22px; }
    .ls-rel-name { font-size: 13px; font-weight: 600; color: var(--text); }
    .ls-rel-type { font-size: 11px; color: var(--text-dim); }
    .ls-rel-tag {
      display: inline-block; padding: 2px 8px; border-radius: 8px;
      font-size: 10px; font-weight: 600; margin-top: 6px;
    }
    .ls-rel-tag.collab { background: rgba(59,130,246,.12); color: var(--blue); }
    .ls-rel-tag.principal { background: rgba(244,114,43,.12); color: var(--orange); }

    /* Achievements */
    .ls-achievements { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .ls-ach-card {
      background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
      padding: 16px; text-align: center; transition: all .2s;
    }
    .ls-ach-card:hover { border-color: rgba(244,114,43,.3); transform: translateY(-2px); }
    .ls-ach-icon { font-size: 28px; margin-bottom: 8px; }
    .ls-ach-val { font-size: 22px; font-weight: 800; color: #F5F5F5; }
    .ls-ach-label { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

    @media (max-width: 768px) {
      .ls-hero-header { flex-direction: column; align-items: flex-start; }
      .ls-origin-grid { grid-template-columns: 1fr; }
      .ls-relations { grid-template-columns: 1fr; }
      .ls-achievements { grid-template-columns: 1fr 1fr; }
    }


