.kilo-console .projects-page {
  max-width: 48rem;
  margin: 0 auto;
}

.kilo-console .projects-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.kilo-console .projects-header h1 {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
}

.kilo-console .projects-header p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1rem;
}

.kilo-console .count-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding: 0 0.5rem;
}

.kilo-console .project-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kilo-console .project-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--foreground);
  padding: 0.75rem;
  text-decoration: none;
  transition:
    background 120ms ease,
    border-color 120ms ease;
}

.kilo-console .project-row:hover,
.kilo-console .project-row:focus-visible {
  border-color: var(--ring);
  background: color-mix(in oklab, var(--muted) 40%, transparent);
  outline: 0;
}

.kilo-console .project-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--muted) 60%, transparent);
  color: var(--foreground);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.kilo-console .project-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 0.125rem;
}

.kilo-console .project-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.kilo-console .project-title strong {
  overflow: hidden;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kilo-console .project-title span {
  flex: 0 0 auto;
  color: var(--muted-foreground);
  font-family: var(--font-family-mono, monospace);
  font-size: 0.6875rem;
  line-height: 1rem;
}

.kilo-console .project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--muted-foreground);
  font-size: 0.6875rem;
  line-height: 1rem;
}

.kilo-console .project-git,
.kilo-console .project-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.kilo-console .project-git svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kilo-console .project-folder {
  overflow: hidden;
  min-width: 0;
  font-family: var(--font-family-mono, monospace);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kilo-console .project-arrow {
  margin-left: auto;
}

.kilo-console .project-arrow svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
