.project-row-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.open-project-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4c644;
  color: #171717;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.workspace-modal {
  overflow: hidden;
}

#project-detail {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.workspace-section {
  overflow: visible;
}

@media (max-width: 480px) {
  .modal-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .workspace-modal {
    height: 100dvh;
    max-height: 100dvh;
    padding: calc(13px + env(safe-area-inset-top)) 13px calc(13px + env(safe-area-inset-bottom));
    border-radius: 0;
  }

  .workspace-tabs,
  .modal-head,
  .modal-actions {
    flex: none;
  }

  .workspace-tabs {
    margin: 8px 0;
  }

  .project-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }

  .project-row-actions {
    justify-content: space-between;
  }

  .open-project-label {
    padding: 10px 13px;
  }
}
