.project-overview-page {
  display: flex;
  flex-direction: column;
  gap: var(--ms-space-5);
}

.project-list-page {
  min-width: 0;
  overflow-x: hidden;
}

.project-list-page-layout {
  overflow-x: hidden;
}

.project-overview-status-header,
.project-overview-panel-header,
.project-overview-lane-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ms-space-3);
}

.project-overview-title-group,
.project-overview-entry-content,
.project-overview-lane-content {
  min-width: 0;
}

.project-overview-title-row {
  display: flex;
  align-items: center;
  gap: var(--ms-space-2);
}

.project-overview-body-copy {
  margin: 4px 0 0;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-label);
  line-height: var(--ms-leading-label);
}

.project-overview-metric-grid {
  display: grid;
  gap: var(--ms-space-3);
  margin-top: var(--ms-space-5);
}

.project-overview-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ms-space-3);
  margin-top: var(--ms-space-4);
  font-size: var(--ms-text-label);
  line-height: var(--ms-leading-label);
}

.project-overview-lane-grid {
  display: grid;
  gap: var(--ms-space-3);
}

.project-overview-panel-header {
  margin-bottom: var(--ms-space-4);
}

.project-overview-entry-stack {
  display: grid;
  gap: var(--ms-space-2);
}

.project-overview-entry-content {
  flex: 1 1 auto;
}

.project-overview-entry-title {
  margin: 0;
  overflow: hidden;
  color: var(--ms-color-foreground);
  font-size: var(--ms-text-body);
  font-weight: 500;
  line-height: var(--ms-leading-body);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-overview-entry-detail {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-label);
  line-height: var(--ms-leading-label);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-overview-lane-content {
  margin-top: var(--ms-space-4);
  flex: 1 1 auto;
}

.project-overview-lane-progress,
.project-overview-lane-actions {
  margin-top: var(--ms-space-4);
}

.project-overview-lane-progress {
  display: grid;
  gap: var(--ms-space-2);
}

.project-overview-lane-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ms-space-2);
}

@media (min-width: 640px) {
  .project-overview-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .project-overview-lane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .project-overview-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .project-overview-lane-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.project-page-action-button,
.project-page-empty-state,
.project-page-local-admin-prompt {
  min-width: 0;
}

.project-page-local-admin-prompt {
  margin-bottom: 20px;
  display: block;
  border-left-width: 2px;
  padding: 12px 16px;
  font-size: var(--ms-text-body);
  line-height: var(--ms-leading-body);
}

.project-page-local-admin-prompt__layout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.project-page-local-admin-prompt__icon {
  margin-top: 2px;
  display: flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--ms-color-primary);
}

.project-page-local-admin-prompt__body {
  min-width: 0;
  flex: 1 1 auto;
}

.project-page-local-admin-prompt__title {
  margin: 0;
  color: var(--ms-color-foreground);
  font-weight: 500;
}

.project-page-local-admin-prompt__description {
  margin: 4px 0 0;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-label);
  line-height: 20px;
}

.project-page-local-admin-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.project-page-local-admin-prompt__close {
  color: var(--ms-color-muted-foreground);
}

.project-page-local-admin-prompt__close:hover {
  color: var(--ms-color-foreground);
}
