  /* ── Agent Profile / Index ── */
  .files-panel {
    padding: 16px;
    overflow-y: auto;
  }
  .files-empty {
    color: var(--text-dim);
    text-align: center;
    padding: 24px 12px;
    font-size: 13px;
  }
  .agent-profile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
  }
  .profile-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
  }
  .profile-meta {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .profile-dim {
    font-size: 12px;
    color: var(--text-dim);
  }
  .profile-indicators {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 2px;
  }
  .profile-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .profile-link {
    text-decoration: none;
    transition: border-color 0.15s;
  }
  .profile-link:hover { border-color: var(--accent); }
  .profile-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .profile-link .profile-card-title { color: var(--accent); }
  .profile-card-meta {
    font-size: 11px;
    color: var(--text-dim);
  }
  .profile-message-preview {
    font-size: 12px;
    color: var(--text);
    line-height: 1.4;
    margin-top: 2px;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 80px;
    overflow: hidden;
  }
  .profile-file {
    font-size: 12px;
    color: var(--text);
    padding: 1px 0;
  }
